bug修复

This commit is contained in:
zmj 2023-11-11 13:46:17 +08:00
parent ae9ddf81d5
commit fb97af61f2
4 changed files with 11 additions and 4 deletions

View File

@ -1,5 +1,9 @@
<template>
<div class="edit-popup">
<popup
ref="popupRef"
:title="popupTitle"
@ -16,6 +20,8 @@
:rules="formRules"
label-width="120px"
>
<el-row>
<el-col :span="12">
<el-form-item label="ID" prop="id">

View File

@ -18,7 +18,7 @@
>
<el-row>
<el-col :span="12">
<el-form-item label="ID" prop="id">
<el-form-item label="IsdD" prop="id">
<el-input readonly v-model="formData.id" />
</el-form-item>
</el-col>

View File

@ -142,6 +142,7 @@ import feedback from "@/utils/feedback";
import auditOtherPopup from "./components/audit_other.vue";
import auditTownMarketPopup from "./components/audit_town_market.vue";
import { getTaskApproveTypeList } from "@/api/setting/dict";
import { show } from "dom7";
const auditOtherRef = shallowRef<InstanceType<typeof auditOtherPopup>>();
const auditTownMarketRef =
@ -173,7 +174,7 @@ const checkStatusList = ref([
]);
//
const showAuditTypeList = ref([1, 5, 6,4]);
const showAuditTypeList = ref([1, 5, 6]);
const showAuditOther = computed(() => {
return showAuditTypeList.value.includes(openType.value);
});
@ -204,11 +205,10 @@ const handleAdd = async () => {
//
const handleEdit = async (data: any, type = "edit") => {
console.log(data.type)
openType.value = data.type;
showEdit.value = true;
await nextTick();
if (showAuditOther) {
if (showAuditOther.value) {
auditOtherRef.value?.open(type);
auditOtherRef.value?.setFormData(data);
} else if (data.type == 4) {

View File

@ -118,6 +118,7 @@
prop="check_status"
clearable
:style="{ width: '100%' }"
>
<el-radio-group
:disabled="mode == 'details'"