|
|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <BasicModal title="审核管理" @register="registerModal">
|
|
|
+ <BasicModal title="审核管理" @register="registerModal" @ok="handleSubmit">
|
|
|
<div style="height: 80px;">
|
|
|
<BasicForm @register="registerForm">
|
|
|
<template #descinfo>
|
|
|
@@ -20,6 +20,7 @@ import { TOption } from '/@/views/rule/linkedge/config/config.data';
|
|
|
import { PlusOutlined } from '@ant-design/icons-vue';
|
|
|
import { subminExamineResult } from '/@/api/resource/examine';
|
|
|
import { session } from '/@/utils/Memory.js';
|
|
|
+import eventBus from '/@/utils/eventBus';
|
|
|
|
|
|
export default defineComponent({
|
|
|
name: 'AccountModal',
|
|
|
@@ -69,14 +70,16 @@ export default defineComponent({
|
|
|
}
|
|
|
});
|
|
|
const getTitle = '审核';
|
|
|
- async function handleSubmit(bussid) {
|
|
|
+ async function handleSubmit() {
|
|
|
+ var id = bussid.value;
|
|
|
+ console.log('审核', id);
|
|
|
//setModalProps({ confirmLoading: true });
|
|
|
try {
|
|
|
const { createMessage } = useMessage();
|
|
|
const values = await validate(); //validate(['parentId']);
|
|
|
console.log('userinfo', userinfo)
|
|
|
const params = {
|
|
|
- bussInfoId: bussid, //业务id
|
|
|
+ bussInfoId: id, //业务id
|
|
|
ispass: values.ispass, //是否通过
|
|
|
opinion: values.opinion, //意见
|
|
|
}
|
|
|
@@ -84,6 +87,8 @@ export default defineComponent({
|
|
|
if (res && res.resp_code === 0) {
|
|
|
var type = res.resp_code == 0 ? 'success' : 'error';
|
|
|
createMessage[type](res.resp_msg);
|
|
|
+ closeModal()
|
|
|
+ eventBus.emit('sjscshsj');
|
|
|
return true
|
|
|
} else {
|
|
|
return false
|