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>
<div>
<div class="box-center">
<div class="titlebox">
<div
style="
@@ -1245,6 +1245,12 @@ export default {
</script>

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


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

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

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


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

@@ -426,8 +426,8 @@
</div>
<div class="right" >
<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-option
v-for="item1 in item.cityAreaList"
@@ -782,6 +782,7 @@
},
// 删除区域
delArea(idx,flag){
console.log(flag,idx);
// 第一个删除
if(flag==0){
// 先获取删除数组的内容,将其内容放到第三个数组里面
@@ -796,10 +797,12 @@
// 删除数组的指定项
this.firstList.splice(idx,1)
}else{
let obj=this.thirdList[idx]
let obj=this.fourthList[idx]
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