|
@@ -170,17 +170,17 @@
|
|
|
placeholder='搜索任务编号'
|
|
|
size='small'
|
|
|
prefix-icon='el-icon-search'
|
|
|
- v-model='rwbhInput5'
|
|
|
+ v-model='statuSelect5'
|
|
|
style='margin-right:12px;width:220px;'
|
|
|
></el-input>
|
|
|
<Select
|
|
|
@change='Index4Emit(1)'
|
|
|
width='220'
|
|
|
tipPlace='top'
|
|
|
- v-model='statuSelect5'
|
|
|
+ v-model='rwbhInput5'
|
|
|
caption='任务状态:'
|
|
|
v-if='status.length>=0'
|
|
|
- :selectdata='statusOption'
|
|
|
+ :selectdata='status'
|
|
|
:placeholder="''"
|
|
|
style='margin-right:12px'
|
|
|
></Select>
|
|
@@ -910,7 +910,7 @@ export default {
|
|
|
})
|
|
|
})
|
|
|
})
|
|
|
- // 2任务状态
|
|
|
+ // 2维修任务状态
|
|
|
let postParams2 = [
|
|
|
{
|
|
|
columnName: { status: 'status' },
|
|
@@ -935,6 +935,31 @@ export default {
|
|
|
})
|
|
|
})
|
|
|
})
|
|
|
+ // 2维保任务状态
|
|
|
+ let postParams3 = [
|
|
|
+ {
|
|
|
+ columnName: { status: 'status' },
|
|
|
+ params: {
|
|
|
+ smsxt: this.smsxtArr.smsxt,
|
|
|
+ },
|
|
|
+ tableName: 'sms_wbzy', //视图名称
|
|
|
+ },
|
|
|
+ ]
|
|
|
+ querySelect({ data, postParams: postParams3 }).then((res) => {
|
|
|
+ console.log('resrfes', res)
|
|
|
+ let status = res.data && res.data.data && res.data.data.sms_wbzy ? res.data.data.sms_wbzy.status : []
|
|
|
+ this.status = []
|
|
|
+ this.status.push({
|
|
|
+ name: '全部',
|
|
|
+ id: '全部',
|
|
|
+ })
|
|
|
+ status.forEach((el) => {
|
|
|
+ this.status.push({
|
|
|
+ name: el.value,
|
|
|
+ id: el.key,
|
|
|
+ })
|
|
|
+ })
|
|
|
+ })
|
|
|
},
|
|
|
// 查询楼层功能下的机房属于哪类设备
|
|
|
init() {
|