|
@@ -13,6 +13,54 @@
|
|
|
<room-table1></room-table1>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label='配电室低压柜及出线明细表' name='2'>
|
|
|
+ <div class='compute-center'>
|
|
|
+ <Select
|
|
|
+ width='146'
|
|
|
+ @change='Index1'
|
|
|
+ v-model='floor2'
|
|
|
+ tipPlace='top'
|
|
|
+ caption='楼层:'
|
|
|
+ :selectdata='floorSelect'
|
|
|
+ :placeholder='"请选择"'
|
|
|
+ style='margin-right:12px'
|
|
|
+ ></Select>
|
|
|
+ <el-input
|
|
|
+ clearable
|
|
|
+ @change='Index1'
|
|
|
+ v-model='ctbhInput'
|
|
|
+ placeholder='搜索抽屉编号'
|
|
|
+ size='small'
|
|
|
+ prefix-icon='el-icon-search'
|
|
|
+ style='width:192px;margin-right:12px'
|
|
|
+ ></el-input>
|
|
|
+ <el-input
|
|
|
+ clearable
|
|
|
+ @change='Index1'
|
|
|
+ v-model='cxggInput'
|
|
|
+ placeholder='搜索出线规格'
|
|
|
+ size='small'
|
|
|
+ prefix-icon='el-icon-search'
|
|
|
+ style='width:192px;margin-right:12px'
|
|
|
+ ></el-input>
|
|
|
+ <el-input
|
|
|
+ clearable
|
|
|
+ @change='Index1'
|
|
|
+ v-model='djbhInput'
|
|
|
+ placeholder='搜索电井编号'
|
|
|
+ size='small'
|
|
|
+ prefix-icon='el-icon-search'
|
|
|
+ style='width:192px;margin-right:12px'
|
|
|
+ ></el-input>
|
|
|
+ <el-input
|
|
|
+ clearable
|
|
|
+ @change='Index1'
|
|
|
+ v-model='kzhlInput'
|
|
|
+ placeholder='搜索控制回路'
|
|
|
+ size='small'
|
|
|
+ prefix-icon='el-icon-search'
|
|
|
+ style='width:192px;margin-right:12px'
|
|
|
+ ></el-input>
|
|
|
+ </div>
|
|
|
<room-table2
|
|
|
v-if='table2.length>=0'
|
|
|
:table2='table2'
|
|
@@ -24,6 +72,45 @@
|
|
|
></room-table2>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label='机房内核心设备' name='3'>
|
|
|
+ <div class='compute-center'>
|
|
|
+ <Select
|
|
|
+ width='146'
|
|
|
+ @change='Index2'
|
|
|
+ tipPlace='top'
|
|
|
+ v-model='floorChange'
|
|
|
+ caption='楼层:'
|
|
|
+ :selectdata='floorSelect'
|
|
|
+ :placeholder='"请选择"'
|
|
|
+ style='margin-right:12px'
|
|
|
+ ></Select>
|
|
|
+ <el-input
|
|
|
+ clearable
|
|
|
+ placeholder='搜索设备简称'
|
|
|
+ size='small'
|
|
|
+ prefix-icon='el-icon-search'
|
|
|
+ v-model='sbjcInput'
|
|
|
+ @change='Index2'
|
|
|
+ style='width:192px;margin-right:12px'
|
|
|
+ ></el-input>
|
|
|
+ <el-input
|
|
|
+ clearable
|
|
|
+ @change='Index2'
|
|
|
+ placeholder='搜索品牌、型号'
|
|
|
+ size='small'
|
|
|
+ prefix-icon='el-icon-search'
|
|
|
+ v-model='ppxhInput'
|
|
|
+ style='width:192px;margin-right:12px'
|
|
|
+ ></el-input>
|
|
|
+ <el-input
|
|
|
+ clearable
|
|
|
+ @change='Index2'
|
|
|
+ placeholder='搜索生产厂商'
|
|
|
+ size='small'
|
|
|
+ prefix-icon='el-icon-search'
|
|
|
+ v-model='sccsInput'
|
|
|
+ style='width:192px;margin-right:12px'
|
|
|
+ ></el-input>
|
|
|
+ </div>
|
|
|
<room-table3
|
|
|
v-if='table3.length>=0'
|
|
|
:table3='table3'
|
|
@@ -35,6 +122,90 @@
|
|
|
></room-table3>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label='维修记录' name='4'>
|
|
|
+ <div class='compute-center'>
|
|
|
+ <el-date-picker
|
|
|
+ clearable
|
|
|
+ @change='Index3'
|
|
|
+ v-model='tbsjDate'
|
|
|
+ value-format='yyyyMMdd'
|
|
|
+ type='daterange'
|
|
|
+ size='small'
|
|
|
+ style='margin-right:12px;width:320px'
|
|
|
+ range-separator='-'
|
|
|
+ start-placeholder='填报时间开始'
|
|
|
+ end-placeholder='填报时间结束'
|
|
|
+ placeholder='填报时间'
|
|
|
+ ></el-date-picker>
|
|
|
+ <el-date-picker
|
|
|
+ clearable
|
|
|
+ v-model='yssjDate'
|
|
|
+ value-format='yyyyMMdd'
|
|
|
+ type='daterange'
|
|
|
+ @change='Index3'
|
|
|
+ size='small'
|
|
|
+ style='margin-right:12px;width:320px'
|
|
|
+ range-separator='-'
|
|
|
+ start-placeholder='验收时间开始'
|
|
|
+ end-placeholder='验收时间结束'
|
|
|
+ placeholder='验收时间'
|
|
|
+ ></el-date-picker>
|
|
|
+ <Select
|
|
|
+ @change='Index3'
|
|
|
+ width='146'
|
|
|
+ tipPlace='top'
|
|
|
+ caption='是否更换:'
|
|
|
+ v-model='sfghSelect'
|
|
|
+ :selectdata='isReplaceData'
|
|
|
+ :placeholder='"请选择"'
|
|
|
+ style='margin-right:12px'
|
|
|
+ ></Select>
|
|
|
+ <el-input
|
|
|
+ clearable
|
|
|
+ @change='Index3'
|
|
|
+ placeholder='搜索设备名称'
|
|
|
+ size='small'
|
|
|
+ prefix-icon='el-icon-search'
|
|
|
+ v-model='sbmcInput4'
|
|
|
+ style='width:192px;margin-right:12px'
|
|
|
+ ></el-input>
|
|
|
+ <el-input
|
|
|
+ clearable
|
|
|
+ @change='Index3'
|
|
|
+ placeholder='搜索设备编号'
|
|
|
+ size='small'
|
|
|
+ prefix-icon='el-icon-search'
|
|
|
+ v-model='sbbhInput4'
|
|
|
+ style='width:192px;margin-right:12px'
|
|
|
+ ></el-input>
|
|
|
+ <!-- <el-input
|
|
|
+ clearable
|
|
|
+ @change='Index3'
|
|
|
+ placeholder='搜索重要事项记录'
|
|
|
+ size='small'
|
|
|
+ prefix-icon='el-icon-search'
|
|
|
+ v-model='zysxInput4'
|
|
|
+ style='width:192px;margin-right:12px'
|
|
|
+ ></el-input>
|
|
|
+ <el-input
|
|
|
+ clearable
|
|
|
+ @change='Index3'
|
|
|
+ placeholder='搜索描述'
|
|
|
+ size='small'
|
|
|
+ prefix-icon='el-icon-search'
|
|
|
+ v-model='msInput4'
|
|
|
+ style='width:192px;margin-right:12px'
|
|
|
+ ></el-input>
|
|
|
+ <el-input
|
|
|
+ clearable
|
|
|
+ @change='Index3'
|
|
|
+ placeholder='搜索工单编号'
|
|
|
+ size='small'
|
|
|
+ prefix-icon='el-icon-search'
|
|
|
+ v-model='gdbhInput4'
|
|
|
+ style='width:192px;margin-right:12px'
|
|
|
+ ></el-input>-->
|
|
|
+ </div>
|
|
|
+ <!-- <Input-dialog :type='type1' @changeIndex3='changeIndex3'></Input-dialog> -->
|
|
|
<room-table4
|
|
|
v-if='table4.length>=0'
|
|
|
:table4='table4'
|
|
@@ -46,6 +217,128 @@
|
|
|
></room-table4>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label='维保记录' name='5'>
|
|
|
+ <div class='compute-center'>
|
|
|
+ <el-date-picker
|
|
|
+ clearable
|
|
|
+ value-format='yyyyMMdd'
|
|
|
+ type='daterange'
|
|
|
+ size='small'
|
|
|
+ style='margin-right:12px;width:320px'
|
|
|
+ range-separator='-'
|
|
|
+ start-placeholder='开始日期'
|
|
|
+ end-placeholder='结束日期'
|
|
|
+ placeholder='开始时间'
|
|
|
+ ></el-date-picker>
|
|
|
+ <el-date-picker
|
|
|
+ clearable
|
|
|
+ value-format='yyyyMMdd'
|
|
|
+ type='daterange'
|
|
|
+ size='small'
|
|
|
+ style='margin-right:12px;width:320px'
|
|
|
+ range-separator='-'
|
|
|
+ start-placeholder='开始日期'
|
|
|
+ end-placeholder='结束日期'
|
|
|
+ placeholder='完成时间'
|
|
|
+ ></el-date-picker>
|
|
|
+ <el-date-picker
|
|
|
+ clearable
|
|
|
+ value-format='yyyyMMdd'
|
|
|
+ type='daterange'
|
|
|
+ size='small'
|
|
|
+ style='margin-right:12px;width:320px'
|
|
|
+ range-separator='-'
|
|
|
+ start-placeholder='开始日期'
|
|
|
+ end-placeholder='结束日期'
|
|
|
+ placeholder='填报时间'
|
|
|
+ ></el-date-picker>
|
|
|
+ <el-date-picker
|
|
|
+ clearable
|
|
|
+ value-format='yyyyMMdd'
|
|
|
+ type='daterange'
|
|
|
+ size='small'
|
|
|
+ style='margin-right:12px;width:320px'
|
|
|
+ range-separator='-'
|
|
|
+ start-placeholder='开始日期'
|
|
|
+ end-placeholder='结束日期'
|
|
|
+ placeholder='验收时间'
|
|
|
+ ></el-date-picker>
|
|
|
+ <Select
|
|
|
+ @change='Index4'
|
|
|
+ width='146'
|
|
|
+ tipPlace='top'
|
|
|
+ caption='是否正常:'
|
|
|
+ v-if='zt.length>0'
|
|
|
+ :selectdata='zt'
|
|
|
+ v-model='iszcSelect5'
|
|
|
+ :placeholder='"请选择"'
|
|
|
+ style='margin-right:12px'
|
|
|
+ ></Select>
|
|
|
+ <Select
|
|
|
+ @change='Index4'
|
|
|
+ width='146'
|
|
|
+ tipPlace='top'
|
|
|
+ v-model='statuSelect5'
|
|
|
+ caption='任务状态:'
|
|
|
+ v-if='status.length>0'
|
|
|
+ :selectdata='status'
|
|
|
+ :placeholder='"请选择"'
|
|
|
+ style='margin-right:12px'
|
|
|
+ ></Select>
|
|
|
+ <el-input
|
|
|
+ @change='Index4'
|
|
|
+ clearable
|
|
|
+ placeholder='搜索设备名称'
|
|
|
+ size='small'
|
|
|
+ prefix-icon='el-icon-search'
|
|
|
+ v-model='sbmcInput5'
|
|
|
+ style='margin-right:12px;width:192px;'
|
|
|
+ ></el-input>
|
|
|
+ <el-input
|
|
|
+ @change='Index4'
|
|
|
+ clearable
|
|
|
+ placeholder='搜索设备编号'
|
|
|
+ size='small'
|
|
|
+ prefix-icon='el-icon-search'
|
|
|
+ v-model='sbbhInput5'
|
|
|
+ style='margin-right:12px;width:192px;'
|
|
|
+ ></el-input>
|
|
|
+ <el-input
|
|
|
+ @change='Index4'
|
|
|
+ clearable
|
|
|
+ placeholder='搜索核心维保事项记录'
|
|
|
+ size='small'
|
|
|
+ prefix-icon='el-icon-search'
|
|
|
+ v-model='wbsxjlInput5'
|
|
|
+ style='margin-right:12px;width:192px;'
|
|
|
+ ></el-input>
|
|
|
+ <el-input
|
|
|
+ @change='Index4'
|
|
|
+ clearable
|
|
|
+ placeholder='搜索任务编号'
|
|
|
+ size='small'
|
|
|
+ prefix-icon='el-icon-search'
|
|
|
+ v-model='rwbhInput5'
|
|
|
+ style='margin-right:12px;width:192px;'
|
|
|
+ ></el-input>
|
|
|
+ <el-input
|
|
|
+ @change='Index4'
|
|
|
+ clearable
|
|
|
+ placeholder='搜索异常工单编号'
|
|
|
+ size='small'
|
|
|
+ prefix-icon='el-icon-search'
|
|
|
+ v-model='ycgdbhInput5'
|
|
|
+ style='margin-right:12px;width:192px;'
|
|
|
+ ></el-input>
|
|
|
+ <el-input
|
|
|
+ @change='Index4'
|
|
|
+ clearable
|
|
|
+ placeholder='搜索描述'
|
|
|
+ size='small'
|
|
|
+ prefix-icon='el-icon-search'
|
|
|
+ v-model='ssmsInput5'
|
|
|
+ style='margin-right:12px;width:192px;'
|
|
|
+ ></el-input>
|
|
|
+ </div>
|
|
|
<room-table5
|
|
|
v-if='table5.length>=0'
|
|
|
:table5='table5'
|
|
@@ -69,6 +362,9 @@ import roomTable2 from './room2'
|
|
|
import roomTable3 from './room3'
|
|
|
import roomTable4 from './room4'
|
|
|
import roomTable5 from './room5'
|
|
|
+import { mapGetters } from 'vuex'
|
|
|
+import { querySelect } from '@/api/public.js'
|
|
|
+import InputDialog from './inputDialog'
|
|
|
|
|
|
export default {
|
|
|
data() {
|
|
@@ -93,18 +389,53 @@ export default {
|
|
|
total1: 0,
|
|
|
page1: 1,
|
|
|
size1: 10,
|
|
|
+ floor2: '',
|
|
|
+ ctbhInput: '',
|
|
|
+ cxggInput: '',
|
|
|
+ djbhInput: '',
|
|
|
+ kzhlInput: '',
|
|
|
//
|
|
|
total2: 0,
|
|
|
page2: 1,
|
|
|
size2: 10,
|
|
|
+ sccsInput: '',
|
|
|
+ ppxhInput: '',
|
|
|
+ sbjcInput: '',
|
|
|
+ floorChange: '',
|
|
|
//
|
|
|
total3: 0,
|
|
|
page3: 1,
|
|
|
size3: 10,
|
|
|
+ tbsjDate: '',
|
|
|
+ yssjDate: '',
|
|
|
+ // 是否更换配件
|
|
|
+ isReplaceData: [
|
|
|
+ { id: '1', name: '是' },
|
|
|
+ { id: '0', name: '否' }
|
|
|
+ ],
|
|
|
+ sfghSelect: '',
|
|
|
+ sbmcInput4: '',
|
|
|
+ sbbhInput4: '',
|
|
|
+ zysxInput4: '',
|
|
|
+ msInput4: '',
|
|
|
+ gdbhInput4: '',
|
|
|
+ type1: 'wx',
|
|
|
+
|
|
|
//
|
|
|
total4: 0,
|
|
|
page4: 1,
|
|
|
- size4: 10
|
|
|
+ size4: 10,
|
|
|
+ searVal: '',
|
|
|
+ status: [],
|
|
|
+ zt: [],
|
|
|
+ sbmcInput5: '',
|
|
|
+ sbbhInput5: '',
|
|
|
+ wbsxjlInput5: '',
|
|
|
+ rwbhInput5: '',
|
|
|
+ ycgdbhInput5: '',
|
|
|
+ ssmsInput5: '',
|
|
|
+ iszcSelect5: '',
|
|
|
+ statuSelect5: ''
|
|
|
}
|
|
|
},
|
|
|
components: {
|
|
@@ -112,11 +443,14 @@ export default {
|
|
|
roomTable2,
|
|
|
roomTable3,
|
|
|
roomTable4,
|
|
|
- roomTable5
|
|
|
+ roomTable5,
|
|
|
+ InputDialog
|
|
|
+ },
|
|
|
+ computed: {
|
|
|
+ ...mapGetters(['floorSelect'])
|
|
|
},
|
|
|
methods: {
|
|
|
handleClick(tab) {
|
|
|
- console.log(tab.index)
|
|
|
if (tab.index == '0') {
|
|
|
this.Index()
|
|
|
} else if (tab.index == '1') {
|
|
@@ -127,6 +461,7 @@ export default {
|
|
|
this.Index3()
|
|
|
} else if (tab.index == '4') {
|
|
|
this.Index4()
|
|
|
+ this.changeSelect()
|
|
|
}
|
|
|
},
|
|
|
Index() {},
|
|
@@ -138,6 +473,37 @@ export default {
|
|
|
page: this.page1,
|
|
|
size: this.size1
|
|
|
}
|
|
|
+ if (this.floor2) {
|
|
|
+ getParams.floor = this.floor2
|
|
|
+ }
|
|
|
+ if (this.ctbhInput) {
|
|
|
+ if (getParams.keyword) {
|
|
|
+ getParams.keyword = `${getParams.keyword + ';' + this.ctbhInput}:drawernum`
|
|
|
+ } else {
|
|
|
+ getParams.keyword = `${this.ctbhInput}:drawernum`
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (this.cxggInput) {
|
|
|
+ if (getParams.keyword) {
|
|
|
+ getParams.keyword = `${getParams.keyword + ';' + this.cxggInput}:outspec`
|
|
|
+ } else {
|
|
|
+ getParams.keyword = `${this.cxggInput}:outspec`
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (this.djbhInput) {
|
|
|
+ if (getParams.keyword) {
|
|
|
+ getParams.keyword = `${getParams.keyword + ';' + this.djbhInput}:wellnum`
|
|
|
+ } else {
|
|
|
+ getParams.keyword = `${this.djbhInput}:wellnum`
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (this.kzhlInput) {
|
|
|
+ if (getParams.keyword) {
|
|
|
+ getParams.keyword = `${getParams.keyword + ';' + this.kzhlInput}:control`
|
|
|
+ } else {
|
|
|
+ getParams.keyword = `${this.kzhlInput}:control`
|
|
|
+ }
|
|
|
+ }
|
|
|
queryDygjcxline({ getParams }).then(res => {
|
|
|
if (res.result == 'success') {
|
|
|
this.loading1 = false
|
|
@@ -156,6 +522,40 @@ export default {
|
|
|
page: this.page2,
|
|
|
size: this.size2
|
|
|
}
|
|
|
+ if (this.sbjcInput) {
|
|
|
+ if (data.keyword) {
|
|
|
+ data.keyword = `${data.keyword + ';' + this.sbjcInput}:sbjc`
|
|
|
+ } else {
|
|
|
+ data.keyword = `${this.sbjcInput}:sbjc`
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (this.ppxhInput) {
|
|
|
+ if (data.keyword) {
|
|
|
+ data.keyword = `${data.keyword + ';' + this.ppxhInput}:brand,sbxh`
|
|
|
+ } else {
|
|
|
+ data.keyword = `${this.ppxhInput}:brand,sbxh`
|
|
|
+ }
|
|
|
+ }
|
|
|
+ console.log(this.msInput4)
|
|
|
+
|
|
|
+ if (this.msInput4) {
|
|
|
+ console.log(this.msInput4)
|
|
|
+ if (data.keyword) {
|
|
|
+ data.keyword = `${data.keyword + ';' + this.msInput4}:description`
|
|
|
+ } else {
|
|
|
+ data.keyword = `${this.msInput4}:manufacturer`
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (this.sccsInput) {
|
|
|
+ if (data.keyword) {
|
|
|
+ data.keyword = `${data.keyword + ';' + this.sccsInput}:manufacturer`
|
|
|
+ } else {
|
|
|
+ data.keyword = `${this.sccsInput}:manufacturer`
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (this.floorChange) {
|
|
|
+ data.floor = this.floorChange
|
|
|
+ }
|
|
|
queryHxsb({ data, postParams }).then(res => {
|
|
|
console.log('核心设备', res)
|
|
|
this.loading2 = false
|
|
@@ -171,11 +571,42 @@ export default {
|
|
|
Index3() {
|
|
|
let getParams = {
|
|
|
location: '1198',
|
|
|
- plazaId: '1000388',
|
|
|
- // plazaId: this.$store.state.plazaId,
|
|
|
+ // plazaId: '1000388',
|
|
|
+ plazaId: this.$store.state.plazaId,
|
|
|
page: this.page3,
|
|
|
size: this.size3
|
|
|
}
|
|
|
+ if (this.sfghSelect) {
|
|
|
+ getParams.ismodel = this.sfghSelect
|
|
|
+ }
|
|
|
+ if (this.sbmcInput4) {
|
|
|
+ if (getParams.keyword) {
|
|
|
+ getParams.keyword = `${getParams.keyword + ';' + this.sbmcInput4}:sbmc`
|
|
|
+ } else {
|
|
|
+ getParams.keyword = `${this.sbmcInput4}:sbmc`
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (this.sbbhInput4) {
|
|
|
+ if (getParams.keyword) {
|
|
|
+ getParams.keyword = `${getParams.keyword + ';' + this.sbbhInput4}:location`
|
|
|
+ } else {
|
|
|
+ getParams.keyword = `${this.sbbhInput4}:location`
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (this.zysxInput4) {
|
|
|
+ if (getParams.keyword) {
|
|
|
+ getParams.keyword = `${getParams.keyword + ';' + this.zysxInput4}:matters`
|
|
|
+ } else {
|
|
|
+ getParams.keyword = `${this.zysxInput4}:matters`
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (this.gdbhInput4) {
|
|
|
+ if (getParams.keyword) {
|
|
|
+ getParams.keyword = `${getParams.keyword + ';' + this.gdbhInput4}:manufacturer`
|
|
|
+ } else {
|
|
|
+ getParams.keyword = `${this.gdbhInput4}:manufacturer`
|
|
|
+ }
|
|
|
+ }
|
|
|
queryWxjf({ getParams }).then(res => {
|
|
|
console.log('维修', res)
|
|
|
if (res.result == 'success') {
|
|
@@ -185,16 +616,82 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
+ changeIndex3(val) {
|
|
|
+ console.log(val)
|
|
|
+ if (val.type == 'wx') {
|
|
|
+ if (val.msInput4) {
|
|
|
+ this.msInput4 = val.msInput4
|
|
|
+ }
|
|
|
+ if (val.zysxInput4) {
|
|
|
+ this.zysxInput4 = val.zysxInput4
|
|
|
+ }
|
|
|
+ if (val.gdbhInput4) {
|
|
|
+ this.gdbhInput4 = val.gdbhInput4
|
|
|
+ }
|
|
|
+ this.Index3()
|
|
|
+ }
|
|
|
+ },
|
|
|
// 维保
|
|
|
Index4() {
|
|
|
let postParams = {}
|
|
|
let data = {
|
|
|
location: '1198',
|
|
|
- plazaId: '1000288',
|
|
|
+ // plazaId: '1000288',
|
|
|
+ plazaId: this.$store.state.plazaId,
|
|
|
page: this.page4,
|
|
|
size: this.size4
|
|
|
// smsxt: '1001'
|
|
|
}
|
|
|
+ // 是否正常
|
|
|
+ if (this.iszcSelect5) {
|
|
|
+ data.zt = this.iszcSelect5
|
|
|
+ }
|
|
|
+ // 任务状态
|
|
|
+ if (this.statuSelect5) {
|
|
|
+ data.status = this.statuSelect5
|
|
|
+ }
|
|
|
+ if (this.sbmcInput5) {
|
|
|
+ if (data.keyword) {
|
|
|
+ data.keyword = `${data.keyword + ';' + this.sbmcInput5}:sbmc`
|
|
|
+ } else {
|
|
|
+ data.keyword = `${this.sbmcInput5}:sbmc`
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (this.sbbhInput5) {
|
|
|
+ if (data.keyword) {
|
|
|
+ data.keyword = `${data.keyword + ';' + this.sbbhInput5}:assetnum`
|
|
|
+ } else {
|
|
|
+ data.keyword = `${this.sbbhInput5}:assetnum`
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (this.wbsxjlInput5) {
|
|
|
+ if (data.keyword) {
|
|
|
+ data.keyword = `${data.keyword + ';' + this.wbsxjlInput5}:matters`
|
|
|
+ } else {
|
|
|
+ data.keyword = `${this.wbsxjlInput5}:matters`
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (this.rwbhInput5) {
|
|
|
+ if (data.keyword) {
|
|
|
+ data.keyword = `${data.keyword + ';' + this.rwbhInput5}:wb_gzglid`
|
|
|
+ } else {
|
|
|
+ data.keyword = `${this.rwbhInput5}:wb_gzglid`
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (this.ycgdbhInput5) {
|
|
|
+ if (data.keyword) {
|
|
|
+ data.keyword = `${data.keyword + ';' + this.ycgdbhInput5}:wonum`
|
|
|
+ } else {
|
|
|
+ data.keyword = `${this.ycgdbhInput5}:wonum`
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (this.ssmsInput5) {
|
|
|
+ if (data.keyword) {
|
|
|
+ data.keyword = `${data.keyword + ';' + this.ssmsInput5}:description`
|
|
|
+ } else {
|
|
|
+ data.keyword = `${this.ssmsInput5}:description`
|
|
|
+ }
|
|
|
+ }
|
|
|
queryWb({ data, postParams }).then(res => {
|
|
|
console.log('维保', res)
|
|
|
this.loading4 = false
|
|
@@ -202,6 +699,44 @@ export default {
|
|
|
this.table5 = res.data.data ? res.data.data : []
|
|
|
})
|
|
|
},
|
|
|
+ changeSelect() {
|
|
|
+ this.department = []
|
|
|
+ let postParams = [
|
|
|
+ {
|
|
|
+ columnName: { status: 'status', zt: 'zt' },
|
|
|
+ tableName: 'v_glsms_wbzy'
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ let data = {
|
|
|
+ plazaId: '1000288'
|
|
|
+ }
|
|
|
+ querySelect({ data, postParams }).then(res => {
|
|
|
+ console.log('下拉框', res)
|
|
|
+ let status = [],
|
|
|
+ zt = []
|
|
|
+
|
|
|
+ status = res.data.data.v_glsms_wbzy.status ? res.data.data.v_glsms_wbzy.status : []
|
|
|
+ zt = res.data.data.v_glsms_wbzy.zt ? res.data.data.v_glsms_wbzy.zt : []
|
|
|
+ if (status.length > 0) {
|
|
|
+ status.forEach(el => {
|
|
|
+ let obj = {
|
|
|
+ id: el.key,
|
|
|
+ name: el.value
|
|
|
+ }
|
|
|
+ this.status.push(obj)
|
|
|
+ })
|
|
|
+ }
|
|
|
+ if (zt.length > 0) {
|
|
|
+ zt.forEach(el => {
|
|
|
+ let obj = {
|
|
|
+ id: el.key,
|
|
|
+ name: el.value
|
|
|
+ }
|
|
|
+ this.zt.push(obj)
|
|
|
+ })
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
open(name) {
|
|
|
this.visible = true
|
|
|
this.systemName = name
|
|
@@ -218,6 +753,11 @@ export default {
|
|
|
background: rgba(0, 0, 0, 0.06);
|
|
|
margin-bottom: 20px;
|
|
|
}
|
|
|
+ .compute-center {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ margin-bottom: 12px;
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|
|
|
<style lang="less">
|