阅片跟踪问题反馈
continuous-integration/drone/push Build is passing Details

uat_us
DESKTOP-6C3NK6N\WXS 2024-08-02 13:44:32 +08:00
parent 132af31c1b
commit 32274c4a37
2 changed files with 16 additions and 6 deletions

View File

@ -123,13 +123,13 @@
:inactive-value="0"
:active-text="$fd('FeedBackStatus', 1)"
:inactive-text="$fd('FeedBackStatus', 0)"
:disabled="level < 8 || !isStateChange || form.State === 1"
@change="visitTaskId ? () => false : changeState"
:disabled="level < 8 || !isStateChange"
@change="isImgfail ? () => false : changeState"
>
</el-switch>
</el-form-item>
</el-form>
<div slot="footer" v-if="type !== 'detail' || visitTaskId">
<div slot="footer" v-if="type !== 'detail' || isImgfail">
<!-- 取消 -->
<el-button size="small" @click.stop="cancel">
{{ $t("feedBack:button:cancel") }}
@ -138,7 +138,7 @@
<el-button
type="primary"
size="small"
@click.stop="visitTaskId ? changeState : save"
@click.stop="save"
:loading="loading"
>
{{ $t("feedBack:button:save") }}
@ -167,6 +167,7 @@ export default {
trialId: null, // id
Id: null, // id
visitTaskId: null, // id
isImgfail: false, //
isStateChange: true, //
form: {
Id: null,
@ -246,6 +247,9 @@ export default {
this.trialId = trialId;
this.Id = Id;
this.visitTaskId = visitTaskId;
if (visitTaskId) {
this.isImgfail = true;
}
this.setTypeOption();
if (!Id) {
this.title = this.setTitle();
@ -316,6 +320,9 @@ export default {
if (res.Result.State > 0) {
this.isStateChange = false;
}
if (res.Result.VisitTaskId) {
this.visitTaskId = res.Result.VisitTaskId;
}
let code = this.$fd("UserType", res.Result.UserTypeEnum);
this.title = this.setTitle(code, res.Result.FeedBackFullName);
if (visitTaskId) {

View File

@ -140,7 +140,7 @@
align="center"
>
<template slot-scope="scope">
<i class="el-icon-question fbBox" @click.stop="openFeedBack(scope.row)"></i>
<i class="el-icon-question fbBox" @click.stop="openFeedBack(scope.row)" v-if="scope.row.IsHaveFeedBack"></i>
<!-- <el-tag v-if="scope.row.IsUrgent" type="danger">{{ $fd('YesOrNo', scope.row.IsUrgent) }}</el-tag>
<el-tag v-else type="primary">{{ $fd('YesOrNo', scope.row.IsUrgent) }}</el-tag> -->
<el-tooltip placement="top">
@ -1080,7 +1080,10 @@ export default {
openFeedBack(row){
this.$FB({
type:"detail",
Id:row.Id
visitTaskId:row.Id,
callBack:()=>{
this.getList();
}
})
},
handleExport() {