Merge branch 'pet' into dev

20240528Test
liujun 2024-04-13 18:48:17 +08:00
commit 4a2a2969a0
2 changed files with 6 additions and 4 deletions

View File

@ -135,7 +135,7 @@
<el-table-column label="操作" width="220">
<template slot-scope="{row}">
<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>
</el-table-column>
</el-table>
@ -203,7 +203,8 @@ export default {
keyFindStateTime: '',
keyFindEndTime: '',
keyConfirmUser: ''
}
},
loginUserId: JSON.parse(sessionStorage.getItem('user')).USER_ID
}
},
created() {

View File

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