阅片跟踪问题反馈
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
132af31c1b
commit
32274c4a37
|
@ -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) {
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue