阅片跟踪反馈弹窗添加确认取消
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)"
|
: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 || form.State === 1"
|
||||||
@change="changeState"
|
@change="visitTaskId ? () => false : changeState"
|
||||||
>
|
>
|
||||||
</el-switch>
|
</el-switch>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" v-if="type !== 'detail'">
|
<div slot="footer" v-if="type !== 'detail' || visitTaskId">
|
||||||
<!-- 取消 -->
|
<!-- 取消 -->
|
||||||
<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="save"
|
@click.stop="visitTaskId ? changeState : save"
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
>
|
>
|
||||||
{{ $t("feedBack:button:save") }}
|
{{ $t("feedBack:button:save") }}
|
||||||
|
@ -290,7 +290,7 @@ export default {
|
||||||
try {
|
try {
|
||||||
let data = {
|
let data = {
|
||||||
IdList: [this.Id],
|
IdList: [this.Id],
|
||||||
State: 1,
|
State: this.form.State,
|
||||||
};
|
};
|
||||||
let res = await batchUpdateFeedBackState(data);
|
let res = await batchUpdateFeedBackState(data);
|
||||||
if (res.IsSuccess) {
|
if (res.IsSuccess) {
|
||||||
|
|
Loading…
Reference in New Issue