diff --git a/src/views/elder/elderinfo/ElderInfo.data.ts b/src/views/elder/elderinfo/ElderInfo.data.ts index 76a6788..25715be 100644 --- a/src/views/elder/elderinfo/ElderInfo.data.ts +++ b/src/views/elder/elderinfo/ElderInfo.data.ts @@ -111,6 +111,11 @@ export const auditHisColumns: BasicColumn[] = [ }, width: 100, }, + { + title: '驳回原因', + align: 'center', + dataIndex: 'auditContent', + }, ]; export const elderColumns: BasicColumn[] = [ diff --git a/src/views/elder/elderinfo/components/ElderUpInfoForm.vue b/src/views/elder/elderinfo/components/ElderUpInfoForm.vue index de54fab..2e297cb 100644 --- a/src/views/elder/elderinfo/components/ElderUpInfoForm.vue +++ b/src/views/elder/elderinfo/components/ElderUpInfoForm.vue @@ -57,6 +57,29 @@ + + + @@ -68,6 +91,7 @@ import JImageUpload from '/@/components/Form/src/jeecg/components/JImageUpload.v import { getModifyInfo, getHisModifyInfo, elderAudit } from '../ElderInfo.api' import { useMessage } from '/@/hooks/web/useMessage'; import { initDictOptions } from '/@/utils/dict'; +import JFormContainer from '/@/components/Form/src/container/JFormContainer.vue'; const props = defineProps({ sndjDicts: null @@ -159,6 +183,7 @@ const setRowClassName = (record) => { const izAudit = ref(false) async function show(record, sign) { + console.log("🌊 ~ show ~ record:", record) let data = null; if (sign == 'audit') { data = await getModifyInfo({ id: record.id, queryModifyType: 'elder' }) @@ -174,6 +199,8 @@ async function show(record, sign) { formData.guardianOpenId = record.guardianOpenId formData.name = record.name formData.sysOrgCode = record.sysOrgCode + formData.status = record.modifyStatus + formData.auditContent = record.auditContent let beforeYblxValue = '' let afterYblxValue = '' let beforeYblx = '' @@ -256,7 +283,6 @@ async function show(record, sign) { // item.d3 = afterJfzt // } }) - console.log(123123, props.sndjDicts) } async function submitForm() {