消防点位维护列表新增是否标点字段及是否标点过滤条件

20240528Test
limingyu 2024-04-23 15:22:02 +08:00
parent e92316822a
commit bae82c6352
1 changed files with 24 additions and 1 deletions

View File

@ -26,6 +26,13 @@
style="width: 100%;"/> style="width: 100%;"/>
</el-form-item> </el-form-item>
</el-col> </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-col :span="4">
<el-form-item label-width="10px"> <el-form-item label-width="10px">
<el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="getQuery"> <el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="getQuery">
@ -60,6 +67,12 @@
<el-table-column prop="DEVICE_COUNT" label="点位下消防器材数"/> <el-table-column prop="DEVICE_COUNT" label="点位下消防器材数"/>
<el-table-column prop="DEPARTMENT_NAME" label="负责部门"/> <el-table-column prop="DEPARTMENT_NAME" label="负责部门"/>
<el-table-column prop="USERNAME" 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="操作" width="380"> <el-table-column label="操作" width="380">
<template slot-scope="{row}"> <template slot-scope="{row}">
<el-button <el-button
@ -204,7 +217,17 @@ export default {
USER_ID: [{ required: true, message: '请选择负责人', trigger: 'change' }] USER_ID: [{ required: true, message: '请选择负责人', trigger: 'change' }]
}, },
deptTreeData: [], deptTreeData: [],
userList: [] userList: [],
punctuationStatusList: [
{
value: 0,
label: '是'
},
{
value: 1,
label: '否'
}
]
} }
}, },
watch: { watch: {