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

View File

@ -140,7 +140,7 @@
align="center" align="center"
> >
<template slot-scope="scope"> <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-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-tag v-else type="primary">{{ $fd('YesOrNo', scope.row.IsUrgent) }}</el-tag> -->
<el-tooltip placement="top"> <el-tooltip placement="top">
@ -1080,7 +1080,10 @@ export default {
openFeedBack(row){ openFeedBack(row){
this.$FB({ this.$FB({
type:"detail", type:"detail",
Id:row.Id visitTaskId:row.Id,
callBack:()=>{
this.getList();
}
}) })
}, },
handleExport() { handleExport() {