Compare commits

...

3 Commits

Author SHA1 Message Date
liujun 4a2a2969a0 Merge branch 'pet' into dev 2024-04-13 18:48:17 +08:00
limingyu e370ab4c05 施工相关方 可以通过输入搜索 2024-04-13 09:47:59 +08:00
limingyu 983905d141 较大隐患谁都可以整改 应该只能整改人整改 2024-04-12 08:48:44 +08:00
2 changed files with 6 additions and 4 deletions

View File

@ -135,7 +135,7 @@
<el-table-column label="操作" width="220"> <el-table-column label="操作" width="220">
<template slot-scope="{row}"> <template slot-scope="{row}">
<el-button icon="el-icon-view" size="mini" @click="goView(row.HIDDEN_ID,'view')"></el-button> <el-button icon="el-icon-view" size="mini" @click="goView(row.HIDDEN_ID,'view')"></el-button>
<el-button v-if="row.STATE =='13'" type="primary" icon="el-icon-view" size="mini" @click="goView(row.HIDDEN_ID,'edit')"></el-button> <el-button v-if="row.STATE =='13' && loginUserId == row.RECTIFICATIONOR" type="primary" icon="el-icon-view" size="mini" @click="goView(row.HIDDEN_ID,'edit')"></el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -203,7 +203,8 @@ export default {
keyFindStateTime: '', keyFindStateTime: '',
keyFindEndTime: '', keyFindEndTime: '',
keyConfirmUser: '' keyConfirmUser: ''
} },
loginUserId: JSON.parse(sessionStorage.getItem('user')).USER_ID
} }
}, },
created() { created() {

View File

@ -14,8 +14,8 @@
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="施工相关方"> <el-form-item label="施工相关方">
<el-select v-model="UNITS_ID" placeholder="请选择施工相关方" style="width: 100%;"> <el-select v-model="UNITS_ID" filterable placeholder="请选择施工相关方" style="width: 100%;">
<el-option v-for="item in unitsList" :key="item.UNITS_ID" :label="item.UNITS_NAME" :value="item.UNITS_ID" /> <el-option v-for="(item, index) in unitsList" :key="index" :label="item.UNITS_NAME" :value="item.UNITS_ID" />
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -425,6 +425,7 @@ export default {
{ UNITS_ID: this.form.UNITS_ID } { UNITS_ID: this.form.UNITS_ID }
).then((data) => { ).then((data) => {
this.unitsList = data.varList this.unitsList = data.varList
this.$forceUpdate()
}).catch((e) => { }).catch((e) => {
}) })
}, },