重点工程需求完成
parent
193a1d1d17
commit
5af701d670
|
@ -43,6 +43,7 @@
|
|||
<el-table-column prop="DEPARTMENT_NAME" label="监管部门" show-overflow-tooltip />
|
||||
<el-table-column prop="MANAGE_CORPS_NAME" label="监理单位" show-overflow-tooltip />
|
||||
<el-table-column prop="UNITS_PIC_NAME" label="相关方单位负责人" show-overflow-tooltip />
|
||||
<el-table-column prop="HIDDEN_COUNT" label="隐患数量" show-overflow-tooltip />
|
||||
<el-table-column prop="UNITS_PHONE" label="电话" show-overflow-tooltip />
|
||||
<el-table-column label="操作" align="center" width="100">
|
||||
<template slot-scope="{row}">
|
||||
|
|
|
@ -7,6 +7,13 @@
|
|||
<el-input v-model="KEYWORDS" placeholder="搜索关键字" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="5">
|
||||
<el-form-item label="状态">
|
||||
<el-select v-model="STATE" style="width: 100%;">
|
||||
<el-option v-for="item in stateList" :key="item.ID" :label="item.NAME" :value="item.ID" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
<el-form-item label-width="10px">
|
||||
<el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="getQuery">
|
||||
|
@ -44,6 +51,15 @@
|
|||
<el-table-column prop="MANAGE_CORPS_NAME" label="监理单位" show-overflow-tooltip />
|
||||
<el-table-column prop="UNITS_PIC_NAME" label="相关方单位负责人" show-overflow-tooltip />
|
||||
<el-table-column prop="UNITS_PHONE" label="电话" show-overflow-tooltip />
|
||||
<el-table-column prop="STATE" label="状态" width="100" >
|
||||
<template slot-scope="{row}">
|
||||
<span v-if="row.STATE == 0">未开工</span>
|
||||
<span v-if="row.STATE == 1">进行中</span>
|
||||
<span v-if="row.STATE == 2">已结束</span>
|
||||
<span v-if="row.STATE == -1">开工申请中</span>
|
||||
<span v-if="row.STATE == -2">结束申请中</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="CHECK_COUNT" label="安全环保检查次数" />
|
||||
<el-table-column label="操作" align="center" width="100">
|
||||
<template slot-scope="{row}">
|
||||
|
@ -72,7 +88,15 @@ export default {
|
|||
},
|
||||
total: 0,
|
||||
KEYWORDS: '',
|
||||
varList: []
|
||||
STATE: '',
|
||||
varList: [],
|
||||
stateList: [
|
||||
{ ID: '0', NAME: '未开工' },
|
||||
{ ID: '1', NAME: '进行中' },
|
||||
{ ID: '2', NAME: '已结束' },
|
||||
{ ID: '-1', NAME: '开工申请中' },
|
||||
{ ID: '-2', NAME: '结束申请中' }
|
||||
]
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
@ -89,6 +113,7 @@ export default {
|
|||
},
|
||||
goKeyReset() {
|
||||
this.KEYWORDS = ''
|
||||
this.STATE = ''
|
||||
this.getQuery()
|
||||
},
|
||||
// 获取列表
|
||||
|
@ -97,7 +122,8 @@ export default {
|
|||
requestFN(
|
||||
'/outsourced/list?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page,
|
||||
{
|
||||
KEYWORDS: this.KEYWORDS
|
||||
KEYWORDS: this.KEYWORDS,
|
||||
STATE: this.STATE
|
||||
}
|
||||
).then((data) => {
|
||||
this.listLoading = false
|
||||
|
|
Loading…
Reference in New Issue