pc端 审核历史 详情 展示审核记录
This commit is contained in:
parent
be0282a1e2
commit
843b63bbd3
|
|
@ -111,6 +111,11 @@ export const auditHisColumns: BasicColumn[] = [
|
||||||
},
|
},
|
||||||
width: 100,
|
width: 100,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: '驳回原因',
|
||||||
|
align: 'center',
|
||||||
|
dataIndex: 'auditContent',
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
export const elderColumns: BasicColumn[] = [
|
export const elderColumns: BasicColumn[] = [
|
||||||
|
|
|
||||||
|
|
@ -57,6 +57,29 @@
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
</a-form>
|
</a-form>
|
||||||
|
<JFormContainer :disabled="true">
|
||||||
|
<template #detail>
|
||||||
|
<a-form style="margin-top: 14px;height: 100px;" ref="formRef" layout="horizontal" :model="formData"
|
||||||
|
:label-col="labelCol" :wrapper-col="wrapperCol" v-if="!izAudit">
|
||||||
|
<a-row :gutter="16">
|
||||||
|
<a-col :span="12">
|
||||||
|
<a-form-item label="审核状态" name="status" v-bind="validateInfos.status">
|
||||||
|
<a-select v-model:value="formData.status" style="width: 200px" placeholder="请选择审核状态">
|
||||||
|
<a-select-option value="2">审核通过</a-select-option>
|
||||||
|
<a-select-option value="3">审核驳回</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :span="12" v-if="formData.status == '3'">
|
||||||
|
<a-form-item label="驳回原因" name="auditContent" v-bind="validateInfos.auditContent">
|
||||||
|
<a-textarea :maxlength="50" show-count v-model:value="formData.auditContent" placeholder="请输入驳回原因(如驳回)"
|
||||||
|
style="width: 100%" />
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
</a-row>
|
||||||
|
</a-form>
|
||||||
|
</template>
|
||||||
|
</JFormContainer>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
@ -68,6 +91,7 @@ import JImageUpload from '/@/components/Form/src/jeecg/components/JImageUpload.v
|
||||||
import { getModifyInfo, getHisModifyInfo, elderAudit } from '../ElderInfo.api'
|
import { getModifyInfo, getHisModifyInfo, elderAudit } from '../ElderInfo.api'
|
||||||
import { useMessage } from '/@/hooks/web/useMessage';
|
import { useMessage } from '/@/hooks/web/useMessage';
|
||||||
import { initDictOptions } from '/@/utils/dict';
|
import { initDictOptions } from '/@/utils/dict';
|
||||||
|
import JFormContainer from '/@/components/Form/src/container/JFormContainer.vue';
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
sndjDicts: null
|
sndjDicts: null
|
||||||
|
|
@ -159,6 +183,7 @@ 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:", record)
|
||||||
let data = null;
|
let data = null;
|
||||||
if (sign == 'audit') {
|
if (sign == 'audit') {
|
||||||
data = await getModifyInfo({ id: record.id, queryModifyType: 'elder' })
|
data = await getModifyInfo({ id: record.id, queryModifyType: 'elder' })
|
||||||
|
|
@ -174,6 +199,8 @@ 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.modifyStatus
|
||||||
|
formData.auditContent = record.auditContent
|
||||||
let beforeYblxValue = ''
|
let beforeYblxValue = ''
|
||||||
let afterYblxValue = ''
|
let afterYblxValue = ''
|
||||||
let beforeYblx = ''
|
let beforeYblx = ''
|
||||||
|
|
@ -256,7 +283,6 @@ async function show(record, sign) {
|
||||||
// item.d3 = afterJfzt
|
// item.d3 = afterJfzt
|
||||||
// }
|
// }
|
||||||
})
|
})
|
||||||
console.log(123123, props.sndjDicts)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async function submitForm() {
|
async function submitForm() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue