阅片跟踪反馈弹窗添加确认取消
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
57f470e219
commit
8a46adf96f
|
@ -124,12 +124,12 @@
|
|||
:active-text="$fd('FeedBackStatus', 1)"
|
||||
:inactive-text="$fd('FeedBackStatus', 0)"
|
||||
:disabled="level < 8 || !isStateChange || form.State === 1"
|
||||
@change="changeState"
|
||||
@change="visitTaskId ? () => false : changeState"
|
||||
>
|
||||
</el-switch>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<div slot="footer" v-if="type !== 'detail'">
|
||||
<div slot="footer" v-if="type !== 'detail' || visitTaskId">
|
||||
<!-- 取消 -->
|
||||
<el-button size="small" @click.stop="cancel">
|
||||
{{ $t("feedBack:button:cancel") }}
|
||||
|
@ -138,7 +138,7 @@
|
|||
<el-button
|
||||
type="primary"
|
||||
size="small"
|
||||
@click.stop="save"
|
||||
@click.stop="visitTaskId ? changeState : save"
|
||||
:loading="loading"
|
||||
>
|
||||
{{ $t("feedBack:button:save") }}
|
||||
|
@ -290,7 +290,7 @@ export default {
|
|||
try {
|
||||
let data = {
|
||||
IdList: [this.Id],
|
||||
State: 1,
|
||||
State: this.form.State,
|
||||
};
|
||||
let res = await batchUpdateFeedBackState(data);
|
||||
if (res.IsSuccess) {
|
||||
|
|
Loading…
Reference in New Issue