机构审核-审核历史-变更类型的数据:展示审核状态及驳回原因
This commit is contained in:
parent
eaffde6370
commit
c86db8b08f
|
|
@ -38,6 +38,8 @@
|
|||
</a-table>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<JFormContainer :disabled="izAuditHis">
|
||||
<template #detail>
|
||||
<a-form style="margin-top: 14px;height: 100px;" ref="formRef" layout="horizontal" :model="formData"
|
||||
:label-col="labelCol" :wrapper-col="wrapperCol">
|
||||
<a-row :gutter="16">
|
||||
|
|
@ -57,6 +59,8 @@
|
|||
</a-col>
|
||||
</a-row>
|
||||
</a-form>
|
||||
</template>
|
||||
</JFormContainer>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
@ -65,6 +69,7 @@ import { ref, reactive, computed, onMounted } from 'vue';
|
|||
import { Table as ATable, Input, Row, Col, Form } from 'ant-design-vue';
|
||||
import { applyObj } from '../OrgModifyInfo.data'
|
||||
import JImageUpload from '/@/components/Form/src/jeecg/components/JImageUpload.vue';
|
||||
import JFormContainer from '/@/components/Form/src/container/JFormContainer.vue';
|
||||
import { upInfoAudit, getHisModifyInfo } from '../OrgModifyInfo.api';
|
||||
import { useMessage } from '/@/hooks/web/useMessage';
|
||||
import { initDictOptions } from '/@/utils/dict';
|
||||
|
|
@ -169,9 +174,10 @@ const setRowClassName = (record) => {
|
|||
return record.d2 !== record.d3 && record.d1 !== 'createTime' ? 'highlight-row' : '';
|
||||
};
|
||||
|
||||
function show(data) {
|
||||
console.log("🌊 ~ show ~ data:", data)
|
||||
const izAuditHis = ref(true)
|
||||
|
||||
function show(data) {
|
||||
izAuditHis.value = false
|
||||
// 存储id和pkId到formData
|
||||
const idRecord = data.find(item => item.d1 === 'id');
|
||||
const pkIdRecord = data.find(item => item.d1 === 'pkId');
|
||||
|
|
@ -194,8 +200,8 @@ function show(data) {
|
|||
}
|
||||
|
||||
async function hisShow(record) {
|
||||
izAuditHis.value = true
|
||||
let data = await getHisModifyInfo(record)
|
||||
console.log("🌊 ~ show ~ data:", data)
|
||||
|
||||
// 存储id和pkId到formData
|
||||
const idRecord = data.find(item => item.d1 === 'id');
|
||||
|
|
@ -210,6 +216,9 @@ async function hisShow(record) {
|
|||
}
|
||||
formData.comName = data.find(item => item.d1 === 'comName').d2;
|
||||
formData.openId = data.find(item => item.d1 === 'openId').d2;
|
||||
//审核历史
|
||||
formData.status = data.find(item => item.d1 === 'status').d3;
|
||||
formData.content = data.find(item => item.d1 === 'content').d3;
|
||||
tableData.value = data.map(item => ({
|
||||
...item,
|
||||
// 处理null/undefined显示为空字符串
|
||||
|
|
|
|||
Loading…
Reference in New Issue