bug修复
This commit is contained in:
parent
ae9ddf81d5
commit
fb97af61f2
@ -1,5 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="edit-popup">
|
<div class="edit-popup">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<popup
|
<popup
|
||||||
ref="popupRef"
|
ref="popupRef"
|
||||||
:title="popupTitle"
|
:title="popupTitle"
|
||||||
@ -16,6 +20,8 @@
|
|||||||
:rules="formRules"
|
:rules="formRules"
|
||||||
label-width="120px"
|
label-width="120px"
|
||||||
>
|
>
|
||||||
|
|
||||||
|
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="ID" prop="id">
|
<el-form-item label="ID" prop="id">
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
>
|
>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="12">
|
<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-input readonly v-model="formData.id" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
@ -142,6 +142,7 @@ import feedback from "@/utils/feedback";
|
|||||||
import auditOtherPopup from "./components/audit_other.vue";
|
import auditOtherPopup from "./components/audit_other.vue";
|
||||||
import auditTownMarketPopup from "./components/audit_town_market.vue";
|
import auditTownMarketPopup from "./components/audit_town_market.vue";
|
||||||
import { getTaskApproveTypeList } from "@/api/setting/dict";
|
import { getTaskApproveTypeList } from "@/api/setting/dict";
|
||||||
|
import { show } from "dom7";
|
||||||
|
|
||||||
const auditOtherRef = shallowRef<InstanceType<typeof auditOtherPopup>>();
|
const auditOtherRef = shallowRef<InstanceType<typeof auditOtherPopup>>();
|
||||||
const auditTownMarketRef =
|
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(() => {
|
const showAuditOther = computed(() => {
|
||||||
return showAuditTypeList.value.includes(openType.value);
|
return showAuditTypeList.value.includes(openType.value);
|
||||||
});
|
});
|
||||||
@ -204,11 +205,10 @@ const handleAdd = async () => {
|
|||||||
|
|
||||||
// 编辑
|
// 编辑
|
||||||
const handleEdit = async (data: any, type = "edit") => {
|
const handleEdit = async (data: any, type = "edit") => {
|
||||||
console.log(data.type)
|
|
||||||
openType.value = data.type;
|
openType.value = data.type;
|
||||||
showEdit.value = true;
|
showEdit.value = true;
|
||||||
await nextTick();
|
await nextTick();
|
||||||
if (showAuditOther) {
|
if (showAuditOther.value) {
|
||||||
auditOtherRef.value?.open(type);
|
auditOtherRef.value?.open(type);
|
||||||
auditOtherRef.value?.setFormData(data);
|
auditOtherRef.value?.setFormData(data);
|
||||||
} else if (data.type == 4) {
|
} else if (data.type == 4) {
|
||||||
|
@ -118,6 +118,7 @@
|
|||||||
prop="check_status"
|
prop="check_status"
|
||||||
clearable
|
clearable
|
||||||
:style="{ width: '100%' }"
|
:style="{ width: '100%' }"
|
||||||
|
|
||||||
>
|
>
|
||||||
<el-radio-group
|
<el-radio-group
|
||||||
:disabled="mode == 'details'"
|
:disabled="mode == 'details'"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user