监护人变更审核 点击进入审核页面没有任何操作提示请选择审核状态 ,,字段折行 优化一下
This commit is contained in:
parent
beeefca325
commit
720e2f8810
|
|
@ -9,10 +9,12 @@
|
||||||
<span>{{ applyObj[record.d1] }}</span>
|
<span>{{ applyObj[record.d1] }}</span>
|
||||||
</template>
|
</template>
|
||||||
<template v-if="column.dataIndex === 'd2' && isImg(record.d1)">
|
<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>
|
||||||
<template v-if="column.dataIndex === 'd3' && isImg(record.d1)">
|
<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>
|
||||||
<template
|
<template
|
||||||
v-if="column.dataIndex === 'd2' && (record.d1 == 'orgProvince' || record.d1 == 'orgCity' || record.d1 == 'orgDistrict')">
|
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: ''
|
pkId: ''
|
||||||
});
|
});
|
||||||
const validatorRules = reactive({
|
const validatorRules = reactive({
|
||||||
status: [{ required: true, message: '请选择审核状态!' },],
|
status: [{ required: true, message: '请选择审核状态!', rigger: 'change' },],
|
||||||
auditContent: [
|
auditContent: [
|
||||||
{
|
{
|
||||||
validator: async (_rule, value) => {
|
validator: async (_rule, value) => {
|
||||||
|
|
@ -211,7 +213,7 @@ const columns = [
|
||||||
title: '名称',
|
title: '名称',
|
||||||
dataIndex: 'd1',
|
dataIndex: 'd1',
|
||||||
key: 'd1',
|
key: 'd1',
|
||||||
width: 150,
|
width: 170,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '变更前',
|
title: '变更前',
|
||||||
|
|
@ -231,7 +233,6 @@ const setRowClassName = (record) => {
|
||||||
};
|
};
|
||||||
const izAudit = ref(false)
|
const izAudit = ref(false)
|
||||||
async function show(record, sign) {
|
async function show(record, sign) {
|
||||||
console.log("🚀 ~ show ~ record, sign:", record, sign)
|
|
||||||
let data = null;
|
let data = null;
|
||||||
if (sign == 'audit') {
|
if (sign == 'audit') {
|
||||||
data = await getModifyInfo({ id: record.id, queryModifyType: 'gua' })
|
data = await getModifyInfo({ id: record.id, queryModifyType: 'gua' })
|
||||||
|
|
@ -247,7 +248,9 @@ async function show(record, sign) {
|
||||||
formData.guardianOpenId = record.guardianOpenId
|
formData.guardianOpenId = record.guardianOpenId
|
||||||
formData.name = record.name
|
formData.name = record.name
|
||||||
formData.sysOrgCode = record.sysOrgCode
|
formData.sysOrgCode = record.sysOrgCode
|
||||||
formData.status = record.status
|
if (!!record.status) {
|
||||||
|
formData.status = record.status
|
||||||
|
}
|
||||||
formData.auditContent = record.auditContent
|
formData.auditContent = record.auditContent
|
||||||
|
|
||||||
tableData.value = data.map(item => ({
|
tableData.value = data.map(item => ({
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue