提交 e1e2dfae authored 作者: jinrongbin's avatar jinrongbin

市级自规部门审核增加校验接口

上级 7a9c39c0
...@@ -13,6 +13,7 @@ enum Api { ...@@ -13,6 +13,7 @@ enum Api {
exportXls = '/dkgl/dsrwGeoJd/exportXls', exportXls = '/dkgl/dsrwGeoJd/exportXls',
downloadMdb = '/dkgl/dsrwGeoJd/downloadMdb', downloadMdb = '/dkgl/dsrwGeoJd/downloadMdb',
downloadGdb = '/dkgl/dsrwGeoJd/downloadGdb', downloadGdb = '/dkgl/dsrwGeoJd/downloadGdb',
cityZgbmCheck = '/dkgl/dsrwGeoJd/cityZgbmCheck', //市级审核校验
} }
/** /**
* 下载mdb文件 * 下载mdb文件
...@@ -51,6 +52,11 @@ export const findStbmList = (params) => defHttp.get({ url: Api.findStbmList, par ...@@ -51,6 +52,11 @@ export const findStbmList = (params) => defHttp.get({ url: Api.findStbmList, par
* @param params * @param params
*/ */
export const findZrzyjList = (params) => defHttp.get({ url: Api.findZrzyjList, params }); export const findZrzyjList = (params) => defHttp.get({ url: Api.findZrzyjList, params });
/**
* 审核校验接口
* @param params
*/
export const cityZgbmCheck = (params) => defHttp.get({ url: Api.cityZgbmCheck, params });
/** /**
* 删除单个 * 删除单个
* @param params * @param params
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
import { useModal } from '/@/components/Modal'; import { useModal } from '/@/components/Modal';
import { useListPage } from '/@/hooks/system/useListPage'; import { useListPage } from '/@/hooks/system/useListPage';
import { columns, searchFormSchema } from './data'; import { columns, searchFormSchema } from './data';
import { list, getDownloadMdb, getDownloadGdb, deleteOne, getExportUrl, saveCityAuditCheck } from './api'; import { list, getDownloadMdb, getDownloadGdb, deleteOne, getExportUrl, saveCityAuditCheck, cityZgbmCheck } from './api';
import { existDclx, updateDclx, downloadFile, getDkDetail } from '/@/api/common/api'; import { existDclx, updateDclx, downloadFile, getDkDetail } from '/@/api/common/api';
import { useMessage } from '/@/hooks/web/useMessage'; import { useMessage } from '/@/hooks/web/useMessage';
import AddModal from './modules/AddModal.vue' import AddModal from './modules/AddModal.vue'
...@@ -133,19 +133,21 @@ ...@@ -133,19 +133,21 @@
} }
const record: any = arr[0]; const record: any = arr[0];
if (type) { if (type) {
if ((record.cityStatus==2||record.cityStatus==3) ) { //-1 待接收 0待审核 1 退回 2已提交 3待提交 cityZgbmCheck(null).then(res =>{
openModalZgSh(true, { if (res) {
isUpdate: false, openModalZgSh(true, {
showFooter: true, isUpdate: true,
record: record showFooter: true,
}); record: record
} else { });
openModalZgSh(true, { } else {
isUpdate: type, openModalZgSh(true, {
showFooter: true, isUpdate: false,
record: record showFooter: true,
}); record: record
} });
}
})
} else { } else {
openModalZgSh(true, { openModalZgSh(true, {
isUpdate: type, isUpdate: type,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论