监护人变更审核 点击进入审核页面没有任何操作提示请选择审核状态 ,,字段折行 优化一下
This commit is contained in:
parent
beeefca325
commit
720e2f8810
|
|
@ -9,10 +9,12 @@
|
|||
<span>{{ applyObj[record.d1] }}</span>
|
||||
</template>
|
||||
<template v-if="column.dataIndex === 'd2' && isImg(record.d1)">
|
||||
<JImageUpload :fileMax="1" :value="opeMediaAddress + (record.d2?record.d2:mrtxPic)" disabled></JImageUpload>
|
||||
<JImageUpload :fileMax="1" :value="opeMediaAddress + (record.d2 ? record.d2 : mrtxPic)" disabled>
|
||||
</JImageUpload>
|
||||
</template>
|
||||
<template v-if="column.dataIndex === 'd3' && isImg(record.d1)">
|
||||
<JImageUpload :fileMax="1" :value="opeMediaAddress + (record.d3?record.d3:mrtxPic)" disabled></JImageUpload>
|
||||
<JImageUpload :fileMax="1" :value="opeMediaAddress + (record.d3 ? record.d3 : mrtxPic)" disabled>
|
||||
</JImageUpload>
|
||||
</template>
|
||||
<template
|
||||
v-if="column.dataIndex === 'd2' && (record.d1 == 'orgProvince' || record.d1 == 'orgCity' || record.d1 == 'orgDistrict')">
|
||||
|
|
@ -119,7 +121,7 @@ const formData = reactive<Record<string, any>>({
|
|||
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 => ({
|
||||
|
|
|
|||
Loading…
Reference in New Issue