bug修复
This commit is contained in:
parent
ae9ddf81d5
commit
fb97af61f2
@ -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">
|
||||
|
@ -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>
|
||||
|
@ -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) {
|
||||
|
@ -118,6 +118,7 @@
|
||||
prop="check_status"
|
||||
clearable
|
||||
:style="{ width: '100%' }"
|
||||
|
||||
>
|
||||
<el-radio-group
|
||||
:disabled="mode == 'details'"
|
||||
|
Loading…
x
Reference in New Issue
Block a user