机构审核增加传给后台的参数,用于发送通知用
This commit is contained in:
parent
f16864ee55
commit
fbcd256293
|
|
@ -38,7 +38,8 @@
|
|||
</a-table>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<a-form style="margin-top: 14px;height: 100px;" ref="formRef" layout="horizontal" :model="formData" :label-col="labelCol" :wrapper-col="wrapperCol">
|
||||
<a-form style="margin-top: 14px;height: 100px;" ref="formRef" layout="horizontal" :model="formData"
|
||||
:label-col="labelCol" :wrapper-col="wrapperCol">
|
||||
<a-row :gutter="16">
|
||||
<a-col :span="12">
|
||||
<a-form-item label="审核结果" name="status" v-bind="validateInfos.status">
|
||||
|
|
@ -84,7 +85,8 @@ const formData = reactive<Record<string, any>>({
|
|||
status: undefined,
|
||||
content: '',
|
||||
id: '',
|
||||
pkId: ''
|
||||
pkId: '',
|
||||
comName: '',
|
||||
});
|
||||
const validatorRules = reactive({
|
||||
status: [{ required: true, message: '请选择审核结果!' },],
|
||||
|
|
@ -165,6 +167,7 @@ const setRowClassName = (record) => {
|
|||
};
|
||||
|
||||
function show(data) {
|
||||
console.log("🌊 ~ show ~ data:", data)
|
||||
|
||||
// 存储id和pkId到formData
|
||||
const idRecord = data.find(item => item.d1 === 'id');
|
||||
|
|
@ -183,6 +186,8 @@ function show(data) {
|
|||
if (statusRecord?.status == '5') {
|
||||
formData.status = 'modifyFail'
|
||||
}
|
||||
formData.comName = data.find(item => item.d1 === 'comName').d2;
|
||||
formData.openId = data.find(item => item.d1 === 'openId').d2;
|
||||
tableData.value = data.map(item => ({
|
||||
...item,
|
||||
// 处理null/undefined显示为空字符串
|
||||
|
|
|
|||
Loading…
Reference in New Issue