flx:注释违章人员

This commit is contained in:
X_Rian 2024-08-02 18:22:27 +08:00
parent 9e56dd82d0
commit e7f1d02ac5
2 changed files with 59 additions and 5 deletions

View File

@ -1846,6 +1846,10 @@
}}</span
><span class="value">{{ item.createUserName }}</span>
</p>
<!-- <p class="grid-content" v-if="item.type == 1">
<span class="label">违章人员</span
><span class="value">{{ item.createUserName }}</span>
</p> -->
<p class="grid-content" v-if="item.type == 1">
<span class="label">整改状态</span
><span class="value">{{
@ -1938,6 +1942,38 @@
</div>
</el-col>
</el-row>
<!-- <el-row :gutter="20" v-if="detailData.status == 2">
<el-col :span="24">
<div class="grid-content">
<span
class="label"
style="line-height: 30px; width: 90px"
>
<span style="color: red">*&nbsp;</span>违章人员</span
>
<span
class="value"
style="width: calc(100% - 90px); margin-left: 0px"
>
<el-select
v-model="replyData.violationId"
filterable
size="mini"
placeholder="请选择"
>
<el-option
v-for="item in violationList"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-select>
</span>
</div>
</el-col>
</el-row> -->
<el-row :gutter="20">
<el-col :span="24">
<div class="grid-content">
@ -2102,7 +2138,14 @@ export default {
fileUrl: "",
additionalRemarks: "",
qualityId: "",
violationId: "",
}, //
violationList: [
{
value: "选项1",
label: "黄金糕",
},
],
dialogDetil: false,
detailData: {},
fileListRectification: [],

View File

@ -2001,10 +2001,10 @@
}}</span
><span class="value">{{ item.createUserName }}</span>
</p>
<p class="grid-content" v-if="item.type == 1">
<span class="label">违章人员</span
<!-- <p class="grid-content" v-if="item.type == 1">
<span class="label">违章人员</span
><span class="value">{{ item.createUserName }}</span>
</p>
</p> -->
<p class="grid-content" v-if="item.type == 1">
<span class="label">整改状态</span
><span class="value">{{
@ -2109,7 +2109,7 @@
</div>
</el-col>
</el-row>
<el-row :gutter="20" v-if="detailData.status == 2">
<!-- <el-row :gutter="20" v-if="detailData.status == 2">
<el-col :span="24">
<div class="grid-content">
<span
@ -2140,7 +2140,7 @@
</span>
</div>
</el-col>
</el-row>
</el-row> -->
<el-row :gutter="20">
<el-col :span="24">
<div class="grid-content">
@ -2507,6 +2507,17 @@ export default {
},
mounted() {},
methods: {
//
getViolationList() {
let data = {
projectSn: this.projectSn,
};
getSubdivisionProjectApi(data).then((res) => {
if (res.code == 200) {
this.violationList = res.result;
}
});
},
backQuestion(obj) {
console.log("删除", obj);
this.$confirm(