日志审核

This commit is contained in:
liuye
2022-10-27 14:13:57 +08:00
parent ccea7494e6
commit f09c27abb2

View File

@@ -72,6 +72,16 @@
</ai-uploader>
</ai-info-item>
</ai-wrapper>
<div v-if="userInfo.logStatus==1">
<p style="display: inline-block;">审核结果</p>
<el-radio-group v-model="logCheck">
<el-radio label="2">合格</el-radio>
<el-radio label="3">不合格</el-radio>
</el-radio-group>
</div>
<div slot="footer" style="text-align: center;" v-if="userInfo.logStatus==1">
<el-button style="width:92px" size="small" type="primary" @click="logCheckFn()">提交</el-button>
</div>
</ai-dialog>
</div>
</template>
@@ -105,7 +115,8 @@ export default {
],
userList: [],
showDialog: false,
userInfo: {}
userInfo: {},
logCheck: '2'
}
},
@@ -148,6 +159,7 @@ export default {
if (res.code == 0) {
this.userInfo = {...res.data}
this.userInfo.userName = row.partyName
this.userInfo.logStatus = row.logStatus
this.showDialog = true
}
});
@@ -155,6 +167,18 @@ export default {
cancel() {
this.$emit("goBack")
},
logCheckFn(){
this.instance.post(`/app/apppartyreport/log-check`, {
id: this.userInfo.id,
logStatus: this.logCheck
}).then(res => {
if (res.code == 0) {
this.showDialog = false
this.getList()
this.logCheck = '2'
}
});
},
},
};
</script>