diff --git a/src/views/elder/elderinfo/components/GuaUpInfoForm.vue b/src/views/elder/elderinfo/components/GuaUpInfoForm.vue
index 4684cdb..ec12fc5 100644
--- a/src/views/elder/elderinfo/components/GuaUpInfoForm.vue
+++ b/src/views/elder/elderinfo/components/GuaUpInfoForm.vue
@@ -9,10 +9,12 @@
{{ applyObj[record.d1] }}
-
+
+
-
+
+
@@ -119,7 +121,7 @@ const formData = reactive>({
pkId: ''
});
const validatorRules = reactive({
- status: [{ required: true, message: '请选择审核状态!' },],
+ status: [{ required: true, message: '请选择审核状态!', rigger: 'change' },],
auditContent: [
{
validator: async (_rule, value) => {
@@ -211,7 +213,7 @@ const columns = [
title: '名称',
dataIndex: 'd1',
key: 'd1',
- width: 150,
+ width: 170,
},
{
title: '变更前',
@@ -231,7 +233,6 @@ const setRowClassName = (record) => {
};
const izAudit = ref(false)
async function show(record, sign) {
- console.log("🚀 ~ show ~ record, sign:", record, sign)
let data = null;
if (sign == 'audit') {
data = await getModifyInfo({ id: record.id, queryModifyType: 'gua' })
@@ -247,7 +248,9 @@ async function show(record, sign) {
formData.guardianOpenId = record.guardianOpenId
formData.name = record.name
formData.sysOrgCode = record.sysOrgCode
- formData.status = record.status
+ if (!!record.status) {
+ formData.status = record.status
+ }
formData.auditContent = record.auditContent
tableData.value = data.map(item => ({