Browse Source

init

newStyle
lancer 3 years ago
parent
commit
16a65c7a1f
3 changed files with 21 additions and 6 deletions
  1. +7
    -1
      src/views/Equipment/equipmentDetailList.vue
  2. +7
    -1
      src/views/Equipment/equipmentOnlineRecordList.vue
  3. +7
    -4
      src/views/admin/user/index.vue

+ 7
- 1
src/views/Equipment/equipmentDetailList.vue View File

@@ -1,5 +1,5 @@
<template> <template>
<div>
<div class="box-center">
<div class="titlebox"> <div class="titlebox">
<div <div
style=" style="
@@ -1245,6 +1245,12 @@ export default {
</script> </script>


<style lang='less' scoped> <style lang='less' scoped>
.box-center {
width: 100%;
padding: 15px;
min-width: 1200px;
padding-bottom: 100px;
}
.toptimeqhuan { .toptimeqhuan {
width: 230px; width: 230px;
height: 40px; height: 40px;


+ 7
- 1
src/views/Equipment/equipmentOnlineRecordList.vue View File

@@ -1,5 +1,5 @@
<template> <template>
<div>
<div class="box-center">
<div class="toptab"> <div class="toptab">
<div <div
@click="tapclickyab(0)" @click="tapclickyab(0)"
@@ -482,6 +482,12 @@ export default {
</script> </script>


<style scoped > <style scoped >
.box-center {
width: 100%;
padding: 15px;
min-width: 1200px;
padding-bottom: 100px;
}
.toptab { .toptab {
width: 100%; width: 100%;
display: flex; display: flex;


+ 7
- 4
src/views/admin/user/index.vue View File

@@ -426,8 +426,8 @@
</div> </div>
<div class="right" > <div class="right" >
<div v-for="(item,index) in firstList" :key="item.id"> <div v-for="(item,index) in firstList" :key="item.id">
<div style="display:flex;">
<div>{{item.name}}</div>
<div style="display:flex; margin:5px;">
<div style=" line-height: 32px; margin-right: 10px;">{{item.name}}</div>
<el-select v-model="item.cityIds" clearable multiple placeholder="默认为全部" style="width:400px;"> <el-select v-model="item.cityIds" clearable multiple placeholder="默认为全部" style="width:400px;">
<el-option <el-option
v-for="item1 in item.cityAreaList" v-for="item1 in item.cityAreaList"
@@ -782,6 +782,7 @@
}, },
// 删除区域 // 删除区域
delArea(idx,flag){ delArea(idx,flag){
console.log(flag,idx);
// 第一个删除 // 第一个删除
if(flag==0){ if(flag==0){
// 先获取删除数组的内容,将其内容放到第三个数组里面 // 先获取删除数组的内容,将其内容放到第三个数组里面
@@ -796,10 +797,12 @@
// 删除数组的指定项 // 删除数组的指定项
this.firstList.splice(idx,1) this.firstList.splice(idx,1)
}else{ }else{
let obj=this.thirdList[idx]
let obj=this.fourthList[idx]
this.secondList.push(obj) this.secondList.push(obj)
// console.log(this.fourthList);
// 删除数组的指定项 // 删除数组的指定项
this.thirdList.splice(idx,1)
this.fourthList.splice(idx,1)
// console.log(this.fourthList);
} }
}, },
// 点击添加时的操作 // 点击添加时的操作


Loading…
Cancel
Save