监管端消防安全统计新增是否标点
parent
0fdb05467c
commit
b9a46864b5
|
@ -13,6 +13,13 @@
|
|||
<el-input v-model="FIRE_POINT_CODE" placeholder="请输入关键字"/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="4">
|
||||
<el-form-item label="是否标点" label-width="110px">
|
||||
<el-select v-model="IS_PUNCTUATION" clearable placeholder="请选择" style="width: 100%;">
|
||||
<el-option v-for="item in punctuationStatusList" :key="item.value" :label="item.label" :value="item.value" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="4">
|
||||
<el-form-item label-width="10px">
|
||||
<el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="getQuery">
|
||||
|
@ -47,6 +54,12 @@
|
|||
<el-table-column prop="DEVICE_COUNT" label="点位下消防器材数"/>
|
||||
<el-table-column prop="DEPARTMENT_NAME" label="负责部门"/>
|
||||
<el-table-column prop="USERNAME" label="负责人"/>
|
||||
<el-table-column prop="ISPUNCTUATION" label="是否标点">
|
||||
<template slot-scope="{row}">
|
||||
<el-tag v-if="row.ISPUNCTUATION == 0" type="success">是</el-tag>
|
||||
<el-tag v-else type="danger">否</el-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作">
|
||||
<template slot-scope="{row}">
|
||||
<el-button
|
||||
|
@ -146,7 +159,18 @@ export default {
|
|||
value: 'id',
|
||||
children: 'nodes',
|
||||
label: 'name'
|
||||
}
|
||||
},
|
||||
punctuationStatusList: [
|
||||
{
|
||||
value: 0,
|
||||
label: '是'
|
||||
},
|
||||
{
|
||||
value: 1,
|
||||
label: '否'
|
||||
}
|
||||
],
|
||||
IS_PUNCTUATION: ''
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
|
@ -195,7 +219,8 @@ export default {
|
|||
{
|
||||
FIRE_POINT_NAME: this.FIRE_POINT_NAME,
|
||||
FIRE_POINT_CODE: this.FIRE_POINT_CODE,
|
||||
CORPINFO_ID: this.getInfo().CORPINFO_ID
|
||||
CORPINFO_ID: this.getInfo().CORPINFO_ID,
|
||||
IS_PUNCTUATION: this.IS_PUNCTUATION
|
||||
}
|
||||
).then((data) => {
|
||||
this.listLoading = false
|
||||
|
@ -207,6 +232,7 @@ export default {
|
|||
}, goKeyReset() {
|
||||
this.FIRE_POINT_NAME = ''
|
||||
this.FIRE_POINT_CODE = ''
|
||||
this.IS_PUNCTUATION = ''
|
||||
this.getList()
|
||||
},
|
||||
getDict() {
|
||||
|
|
Loading…
Reference in New Issue