公告任务名单

This commit is contained in:
chenxf 2026-02-27 17:01:55 +08:00
parent 71c5c61c62
commit f030d25a12
4 changed files with 1128 additions and 14 deletions

View File

@ -1686,6 +1686,24 @@ export function addressAssignGetAddressList(data) {
})
}
/**
* @typedef {Object}
*/
/**
* 检查市场主体是否存在
* an-modify-permit-controller
* @param {string} params.uniscid - uniscid
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/an-modify-permit-controller/checkEBaseInfoUsingGET
* @return {Promise<>}
*/
export function anModifyCheckEBaseInfo(params) {
return request({
method: 'get',
url: `/anModify/checkEBaseInfo`,
params
})
}
/**
* @typedef {Object}
*/
@ -1712,8 +1730,13 @@ export function anModifyDelete(params) {
* @property {string} createId - 添加用户id
* @property {string} createTime - 添加时间
* @property {string} endtime - 结束时间
* @property {string} entname - 主体名称
* @property {string} id - 主键
* @property {string} isync - 同步标志
* @property {string} pripid - 企业主键
* @property {string} regno - 注册号
* @property {string} regorg - 操作人的机关码值
* @property {string} regorgCn - 操作人的机关中文
* @property {string} uniscid - 统一社会信用代码
* @property {string} updateId - 修改用户id
* @property {string} updateTime - 更新时间
@ -1753,8 +1776,13 @@ export function anModifyGet(params) {
* @property {string} createId - 添加用户id
* @property {string} createTime - 添加时间
* @property {string} endtime - 结束时间
* @property {string} entname - 主体名称
* @property {string} id - 主键
* @property {string} isync - 同步标志
* @property {string} pripid - 企业主键
* @property {string} regno - 注册号
* @property {string} regorg - 操作人的机关码值
* @property {string} regorgCn - 操作人的机关中文
* @property {string} uniscid - 统一社会信用代码
* @property {string} updateId - 修改用户id
* @property {string} updateTime - 更新时间
@ -1792,8 +1820,13 @@ export function anModifyList(data) {
* @property {string} createId - 添加用户id
* @property {string} createTime - 添加时间
* @property {string} endtime - 结束时间
* @property {string} entname - 主体名称
* @property {string} id - 主键
* @property {string} isync - 同步标志
* @property {string} pripid - 企业主键
* @property {string} regno - 注册号
* @property {string} regorg - 操作人的机关码值
* @property {string} regorgCn - 操作人的机关中文
* @property {string} uniscid - 统一社会信用代码
* @property {string} updateId - 修改用户id
* @property {string} updateTime - 更新时间
@ -1806,8 +1839,13 @@ export function anModifyList(data) {
* @property {string} createId - 添加用户id
* @property {string} createTime - 添加时间
* @property {string} endtime - 结束时间
* @property {string} entname - 主体名称
* @property {string} id - 主键
* @property {string} isync - 同步标志
* @property {string} pripid - 企业主键
* @property {string} regno - 注册号
* @property {string} regorg - 操作人的机关码值
* @property {string} regorgCn - 操作人的机关中文
* @property {string} uniscid - 统一社会信用代码
* @property {string} updateId - 修改用户id
* @property {string} updateTime - 更新时间
@ -1835,8 +1873,13 @@ export function anModifySave(data) {
* @property {string} createId - 添加用户id
* @property {string} createTime - 添加时间
* @property {string} endtime - 结束时间
* @property {string} entname - 主体名称
* @property {string} id - 主键
* @property {string} isync - 同步标志
* @property {string} pripid - 企业主键
* @property {string} regno - 注册号
* @property {string} regorg - 操作人的机关码值
* @property {string} regorgCn - 操作人的机关中文
* @property {string} uniscid - 统一社会信用代码
* @property {string} updateId - 修改用户id
* @property {string} updateTime - 更新时间
@ -1859,6 +1902,372 @@ export function anModifyUpdate(data) {
})
}
/**
* @typedef {Object} 公告任务名单
* @property {string} createTime - 名单创建时间
* @property {string} createUnitCode - 名单创建人机构编码
* @property {string} createUnitId - 名单创建人单位id
* @property {string} createUnitName - 名单创建人单位名称
* @property {string} createUserId - 名单创建人id
* @property {string} delFlag - 逻辑删除标记(0否1是)
* @property {string} id - 主键ID
* @property {string} taskName - 任务名称
* @property {string} updateTime - 名单更新时间
* @property {string} updateUserId - 名单更新人id
*/
/**
* @typedef {Object}
*/
/**
* 新增公告任务名单
* 公告任务名单相关接口
* @param {公告任务名单} data
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/公告任务名单相关接口/addUsingPOST
* @return {Promise<>}
*/
export function announcementTaskAdd(data) {
return request({
method: 'post',
url: `/announcement/task/add`,
data
})
}
/**
* @typedef {Object}
*/
/**
* 删除公告任务名单
* 公告任务名单相关接口
* @param {string} pathParams.id - 主键ID
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/公告任务名单相关接口/deleteUsingPOST
* @return {Promise<>}
*/
export function announcementTaskDeleteId(pathParams) {
return request({
method: 'post',
url: `/announcement/task/delete/${pathParams.id}`
})
}
/**
* @typedef {Object} 新增公告任务名单详细名录dto
* @property {Array<string>} pripidList - 市场主体主键列表
* @property {string} taskListId - 任务id
*/
/**
* @typedef {Object}
*/
/**
* 新增公告任务名单详细名录
* 公告任务名单详细名录相关接口
* @param {新增公告任务名单详细名录dto} data
* @required @param {array} data.pripidList - 市场主体主键列表
* @required @param {string} data.taskListId - 任务id
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/公告任务名单详细名录相关接口/addUsingPOST_1
* @return {Promise<>}
*/
export function announcementTaskDetailAdd(data) {
return request({
method: 'post',
url: `/announcement/task/detail/add`,
data
})
}
/**
* @typedef {Object}
*/
/**
* 删除公告任务名单详细名录
* 公告任务名单详细名录相关接口
* @param {string} pathParams.id - 主键ID
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/公告任务名单详细名录相关接口/deleteUsingPOST_1
* @return {Promise<>}
*/
export function announcementTaskDetailDeleteId(pathParams) {
return request({
method: 'post',
url: `/announcement/task/detail/delete/${pathParams.id}`
})
}
/**
* @typedef {Object}
*/
/**
* 根据ID查询公告任务名单详细名录
* 公告任务名单详细名录相关接口
* @param {string} pathParams.id - 主键ID
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/公告任务名单详细名录相关接口/getByIdUsingGET_1
* @return {Promise<>}
*/
export function announcementTaskDetailGetId(pathParams) {
return request({
method: 'get',
url: `/announcement/task/detail/get/${pathParams.id}`
})
}
/**
* @typedef {Object}
*/
/**
* 通过Excel导入公告任务名单详细名录
* 公告任务名单详细名录相关接口
* @required @param {string} params.taskListId - taskListId
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/公告任务名单详细名录相关接口/importByExcelUsingPOST
* @return {Promise<>}
*/
export function announcementTaskDetailImport(params, formData) {
return request({
method: 'post',
url: `/announcement/task/detail/import`,
requestType: 'formData',
params,
data: formData
})
}
/**
* @typedef {Object}
*/
/**
* 查询所有公告任务名单详细名录列表
* 公告任务名单详细名录相关接口
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/公告任务名单详细名录相关接口/listUsingGET_1
* @return {Promise<>}
*/
export function announcementTaskDetailList() {
return request({
method: 'get',
url: `/announcement/task/detail/list`
})
}
/**
* @typedef {Object}
*/
/**
* 根据任务名单ID查询详细名录列表
* 公告任务名单详细名录相关接口
* @param {string} pathParams.taskListId - 任务名单ID
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/公告任务名单详细名录相关接口/listByTaskListIdUsingGET
* @return {Promise<>}
*/
export function announcementTaskDetailListTaskListId(pathParams) {
return request({
method: 'get',
url: `/announcement/task/detail/list/${pathParams.taskListId}`
})
}
/**
* @typedef {Object} 公告任务名单详细名录查询参数
* @property {string} entname - 市场主体名称
* @property {string} enttype - 市场主体类型
* @property {string} industry - 所属行业
* @property {string} isAbnormal - 是否列异0否1是
* @property {string} isSeriousIllegal - 是否列严0否1是
* @property {string} regno - 注册号
* @property {string} revoketimeEnd - 吊销时间结束
* @property {string} revoketimeStart - 吊销时间起始
* @property {string} taskListId - 任务名单id
* @property {string} uniscid - 市场主体统一社会信用代码
*/
/**
* @typedef {Object} 分页查询参数_公告任务名单详细名录查询参数_
* @property {number} current - 当前页
* @property {object} custom - 不推荐使用动态自定义查询字段
* @property {公告任务名单详细名录查询参数} entity
* @property {string} orderField - 已过期请使用orderFields
* @property {Array<string>} orderFields - 排序字段多个则以数组方式传输
* @property {string} orderSort - 已过期请使用orderSorts
* @property {Array<string>} orderSorts - 排序规则多个则以数组方式传输asc升序desc降序
* @property {number} size - 每页显示条数
*/
/**
* @typedef {Object} 公告任务名单详细名录
* @property {string} createTime - 创建人时间
* @property {string} createUserId - 创建人id
* @property {string} delFlag - 是否删除标记0否1是
* @property {string} entname - 市场主体名称
* @property {string} enttype - 市场主体类型
* @property {string} id - 主键ID
* @property {string} industryco - 所属行业子类
* @property {string} industryphy - 所属行业门类
* @property {string} pripid - 市场主体主键
* @property {string} regno - 注册号
* @property {string} revoketime - 吊销时间
* @property {string} taskListId - 任务名单id
* @property {string} uniscid - 市场主体统一社会信用代码
* @property {string} updateTime - 更新时间
* @property {string} updateUserId - 更新人id
*/
/**
* @typedef {Object} IPage_公告任务名单详细名录_
* @property {number} current
* @property {boolean} hitCount
* @property {number} pages
* @property {Array<公告任务名单详细名录>} records
* @property {boolean} searchCount
* @property {number} size
* @property {number} total
*/
/**
* 分页查询公告任务名单详细名录列表
* 公告任务名单详细名录相关接口
* @param {分页查询参数_公告任务名单详细名录查询参数_} data
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/公告任务名单详细名录相关接口/pageUsingPOST_1
* @return {Promise<IPage_公告任务名单详细名录_>}
*/
export function announcementTaskDetailPage(data) {
return request({
method: 'post',
url: `/announcement/task/detail/page`,
data
})
}
/**
* @typedef {Object} 公告任务名单详细名录
* @property {string} createTime - 创建人时间
* @property {string} createUserId - 创建人id
* @property {string} delFlag - 是否删除标记0否1是
* @property {string} entname - 市场主体名称
* @property {string} enttype - 市场主体类型
* @property {string} id - 主键ID
* @property {string} industryco - 所属行业子类
* @property {string} industryphy - 所属行业门类
* @property {string} pripid - 市场主体主键
* @property {string} regno - 注册号
* @property {string} revoketime - 吊销时间
* @property {string} taskListId - 任务名单id
* @property {string} uniscid - 市场主体统一社会信用代码
* @property {string} updateTime - 更新时间
* @property {string} updateUserId - 更新人id
*/
/**
* @typedef {Object}
*/
/**
* 更新公告任务名单详细名录
* 公告任务名单详细名录相关接口
* @param {公告任务名单详细名录} data
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/公告任务名单详细名录相关接口/updateUsingPOST_1
* @return {Promise<>}
*/
export function announcementTaskDetailUpdate(data) {
return request({
method: 'post',
url: `/announcement/task/detail/update`,
data
})
}
/**
* @typedef {Object}
*/
/**
* 根据ID查询公告任务名单
* 公告任务名单相关接口
* @param {string} pathParams.id - 主键ID
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/公告任务名单相关接口/getByIdUsingGET
* @return {Promise<>}
*/
export function announcementTaskGetId(pathParams) {
return request({
method: 'get',
url: `/announcement/task/get/${pathParams.id}`
})
}
/**
* @typedef {Object}
*/
/**
* 查询所有公告任务名单列表
* 公告任务名单相关接口
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/公告任务名单相关接口/listUsingGET
* @return {Promise<>}
*/
export function announcementTaskList() {
return request({
method: 'get',
url: `/announcement/task/list`
})
}
/**
* @typedef {Object} 公告任务名单查询参数
* @property {string} createTimeEnd - 创建时间结束
* @property {string} createTimeStart - 创建时间开始
* @property {string} createUnitCode - 创建人机构编码
* @property {string} createUnitId - 创建人单位id
* @property {string} createUnitName - 创建人单位名称
* @property {string} createUserId - 创建人id
* @property {string} taskName - 任务名称
*/
/**
* @typedef {Object} 分页查询参数_公告任务名单查询参数_
* @property {number} current - 当前页
* @property {object} custom - 不推荐使用动态自定义查询字段
* @property {公告任务名单查询参数} entity
* @property {string} orderField - 已过期请使用orderFields
* @property {Array<string>} orderFields - 排序字段多个则以数组方式传输
* @property {string} orderSort - 已过期请使用orderSorts
* @property {Array<string>} orderSorts - 排序规则多个则以数组方式传输asc升序desc降序
* @property {number} size - 每页显示条数
*/
/**
* @typedef {Object}
*/
/**
* 分页查询公告任务名单列表
* 公告任务名单相关接口
* @param {分页查询参数_公告任务名单查询参数_} data
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/公告任务名单相关接口/pageUsingPOST
* @return {Promise<>}
*/
export function announcementTaskPage(data) {
return request({
method: 'post',
url: `/announcement/task/page`,
data
})
}
/**
* @typedef {Object} 公告任务名单
* @property {string} createTime - 名单创建时间
* @property {string} createUnitCode - 名单创建人机构编码
* @property {string} createUnitId - 名单创建人单位id
* @property {string} createUnitName - 名单创建人单位名称
* @property {string} createUserId - 名单创建人id
* @property {string} delFlag - 逻辑删除标记(0否1是)
* @property {string} id - 主键ID
* @property {string} taskName - 任务名称
* @property {string} updateTime - 名单更新时间
* @property {string} updateUserId - 名单更新人id
*/
/**
* @typedef {Object}
*/
/**
* 更新公告任务名单
* 公告任务名单相关接口
* @param {公告任务名单} data
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/公告任务名单相关接口/updateUsingPOST
* @return {Promise<>}
*/
export function announcementTaskUpdate(data) {
return request({
method: 'post',
url: `/announcement/task/update`,
data
})
}
/**
* @typedef {Object}
*/
@ -9748,7 +10157,7 @@ export function correctionsIllegalNextProcess(params) {
* 1.通过主键查询
* 行政处罚信息
* @required @param {string} params.caseId - caseId
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/行政处罚信息/getByIdUsingGET
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/行政处罚信息/getByIdUsingGET_2
* @return {Promise<CppenaltyInfoGs对象>}
*/
export function crgsCppenaltyInfoGsGetById(params) {
@ -10551,7 +10960,7 @@ export function eBaseinfoGetEntBaseWithStatus(params) {
* 企业信息相关接口
* @param {string} params.entName - entName
* @param {string} params.uscc - uscc
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/企业信息相关接口/listUsingGET
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/企业信息相关接口/listUsingGET_2
* @return {Promise<Array<EBaseinfo>>}
*/
export function eBaseinfoList(params) {
@ -12176,7 +12585,7 @@ export function eNateOperRegDecDeleteNateOperRegDecPersonatresId(pathParams) {
* 3.通过id查询冒用他人身份取得公司登记处理决定表
* 2.冒用他人身份取得公司登记处理决定表
* @required @param {string} pathParams.id - ID
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/2.冒用他人身份取得公司登记处理决定表/getByIdUsingGET_1
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/2.冒用他人身份取得公司登记处理决定表/getByIdUsingGET_3
* @return {Promise<ENATEOPERREGDEC对象>}
*/
export function eNateOperRegDecGetByIdId(pathParams) {
@ -14360,7 +14769,7 @@ export function eSusNateOperRegGet(params) {
* 3.通过id查询涉嫌冒用他人身份取得登记信息表
* 1.涉嫌冒用他人身份取得登记信息表
* @required @param {string} pathParams.id - ID
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/1.涉嫌冒用他人身份取得登记信息表/getByIdUsingGET_2
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/1.涉嫌冒用他人身份取得登记信息表/getByIdUsingGET_4
* @return {Promise<ESUSNATEOPERREG对象>}
*/
export function eSusNateOperRegGetByIdId(pathParams) {
@ -17810,7 +18219,7 @@ export function forceLogoutNoticeGetByBizSeqId(params) {
* 根据ID查询拟强制注销公告信息
* force-logout-notice-controller
* @required @param {string} params.forceId - forceId
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/force-logout-notice-controller/getByIdUsingGET_3
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/force-logout-notice-controller/getByIdUsingGET_5
* @return {Promise<>}
*/
export function forceLogoutNoticeGetById(params) {
@ -17953,7 +18362,7 @@ export function forceLogoutNoticeList(data) {
* @param {integer} params.page - page
* @param {integer} params.rows - rows
* @param {ForceLogoutNotice} data
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/force-logout-notice-controller/pageUsingPOST
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/force-logout-notice-controller/pageUsingPOST_2
* @return {Promise<>}
*/
export function forceLogoutNoticePage(params, data) {
@ -18524,7 +18933,7 @@ export function forceLogoutServNoticeGetByBizSeqId(params) {
* 根据ID查询强制注销登记决定书送达公告
* force-logout-serv-notice-controller
* @required @param {string} params.noticeId - noticeId
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/force-logout-serv-notice-controller/getByIdUsingGET_4
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/force-logout-serv-notice-controller/getByIdUsingGET_6
* @return {Promise<>}
*/
export function forceLogoutServNoticeGetById(params) {
@ -18689,7 +19098,7 @@ export function forceLogoutServNoticeList(data) {
* @param {integer} params.page - page
* @param {integer} params.rows - rows
* @param {ForceLogoutServNotice} data
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/force-logout-serv-notice-controller/pageUsingPOST_1
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/force-logout-serv-notice-controller/pageUsingPOST_3
* @return {Promise<>}
*/
export function forceLogoutServNoticePage(params, data) {
@ -18892,7 +19301,7 @@ export function forIllListRemoveForIllList(data) {
* add
* fraud-batch-baseinfo-controller
* @param {FraudBatchBaseinfo} data
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/fraud-batch-baseinfo-controller/addUsingPOST
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/fraud-batch-baseinfo-controller/addUsingPOST_2
* @return {Promise<>}
*/
export function fraudBatchBaseinfoAdd(data) {
@ -19091,7 +19500,7 @@ export function fraudBatchBaseinfoExportExcel_patch(data) {
* page
* fraud-batch-baseinfo-controller
* @param {分页请求体} data
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/fraud-batch-baseinfo-controller/pageUsingPOST_2
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/fraud-batch-baseinfo-controller/pageUsingPOST_4
* @return {Promise<>}
*/
export function fraudBatchBaseinfoPage(data) {
@ -21659,7 +22068,7 @@ export function licenseCancellationDeclareGetByEntName(params) {
* 根据ID查询营业执照作废声明
* license-cancellation-declare-controller
* @required @param {string} params.recId - recId
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/license-cancellation-declare-controller/getByIdUsingGET_5
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/license-cancellation-declare-controller/getByIdUsingGET_7
* @return {Promise<>}
*/
export function licenseCancellationDeclareGetById(params) {
@ -21902,7 +22311,7 @@ export function licenseCancellationDeclareList(data) {
* @param {integer} params.page - page
* @param {integer} params.rows - rows
* @param {LicenseCancellationDeclare} data
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/license-cancellation-declare-controller/pageUsingPOST_3
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/license-cancellation-declare-controller/pageUsingPOST_5
* @return {Promise<>}
*/
export function licenseCancellationDeclarePage(params, data) {
@ -24431,7 +24840,7 @@ export function nateOperCombinedDeleteNateOperCombined(data) {
* 3.融合通过id查询冒用身份登记信息
* 3.冒用身份登记信息融合
* @required @param {string} pathParams.id - ID
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/3.冒用身份登记信息融合/getByIdUsingGET_6
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/3.冒用身份登记信息融合/getByIdUsingGET_8
* @return {Promise<冒用身份登记信息融合结果>}
*/
export function nateOperCombinedGetByIdId(pathParams) {
@ -35035,9 +35444,12 @@ export function tsbizrevlistGetNoOpenRevListPage(data) {
/**
* @typedef {Object} 案件信息查询DTO
* @property {string} caseid - 案件编号精确
* @property {string} caseidlike - 案件编号模糊
* @property {string} caseintroduction - 案由
* @property {string} casename - 案件名称
* @property {string} illegality - 违法行为
* @property {string} isDeal - 是否已办0否1是
* @property {string} penaltydateEnd - 处罚决定日期-结束
* @property {string} penaltydateStart - 处罚决定日期-开始
* @property {string} penaltyorg - 处罚决定机关
@ -35380,6 +35792,7 @@ export function tsbizrevlistTempSave(params) {
* @property {string} caseid - 案件id
* @property {string} entname - 企业名称模糊查询
* @property {string} enttype - 市场主体类型
* @property {string} isDeal - 是否已办0否1是
* @property {string} regno - 注册号
* @property {string} regorg - 登记机关
* @property {string} uniscid - 统一社会信用代码
@ -40887,13 +41300,25 @@ export function xrForceDeregisterSpeList(data) {
* @property {string} updateTime - 更新时间
* @property {boolean} userIsRegOrg - 用于标识当前用户是否处于登记机关 1: 0:
*/
/**
* @typedef {Object} IPage_XrForceDeregisterSpeVo对象_
* @property {number} current
* @property {boolean} hitCount
* @property {number} pages
* @property {Array<XrForceDeregisterSpeVo对象>} records
* @property {boolean} searchCount
* @property {number} size
* @property {number} total
*/
/**
* 4.业务号批量查询拟强制注销业务
* 拟强制注销公告表
* @param {string} params.bizSeqNo - id
* @param {integer} params.current - current
* @param {string} params.forceType - forceType
* @param {integer} params.size - size
* @link http://192.168.100.233:8080/doc.html#/1.basisApi/拟强制注销公告表/listByBizSeqNoUsingGET
* @return {Promise<Array<XrForceDeregisterSpeVo对象>>}
* @return {Promise<IPage_XrForceDeregisterSpeVo对象_>}
*/
export function xrForceDeregisterSpeListByBizSeqNo(params) {
return request({

View File

@ -3258,6 +3258,47 @@ export const constantRoutes = [{
title: '强制注销'
},
children: [
{
path: '/forceNotice/taskList',
name: 'ForceNoticeTaskList',
redirect: '/forceNotice/taskList/index',
component: Empty,
meta: {
title: '公告任务名单'
},
children: [
{
path: '/forceNotice/taskList/index',
name: 'ForceNoticeTaskListIndex',
component: () => import('@/views/forceNotice/taskList/list.vue'),
meta: {
title: '公告任务名单'
},
hidden: true
},
{
path: '/forceNotice/taskList/_detail',
redirect: '/forceNotice/taskList/index',
name: 'ForceNoticeTaskListDetail_',
component: Empty,
meta: {
title: '公告任务名单'
},
hidden: true,
children: [
{
path: '/forceNotice/taskList/detail',
name: 'ForceNoticeTaskListDetail',
component: () => import('@/views/forceNotice/taskList/detail.vue'),
meta: {
title: '名单详情'
},
hidden: true
}
]
}
]
},
{
path: '/forceNotice/inclusion',
name: 'ForceNoticeInclusion',

View File

@ -0,0 +1,394 @@
<template>
<div class="page">
<easy-form
ref="EasyForm"
v-model="data"
:fields="fields"
:form-config="formConfig"
:buttons="buttons"
>
<template v-slot:divider="scope">
<div class="divider">
<span class="text">{{ scope.getPropValue(scope.field.label) }}</span>
</div>
</template>
<template v-slot:entListTable>
<!-- 按钮组 -->
<div class="button-group" style="margin-bottom: 10px; text-align: right;">
<el-button type="primary" @click="$refs.entlist.open()">条件添加企业</el-button>
<el-button type="primary" @click="importDialog = true">批量导入</el-button>
<el-button type="danger" :disabled="selectedEnts.length === 0" @click="batchDelete">批量删除</el-button>
</div>
<easy-table
ref="EntListTable"
v-model="entListTableData"
:fields="entListFields"
:table-config="entListTableConfig"
:emit-load-on-create="true"
:on-load="loadEntListData"
:selected.sync="selectedEnts"
/>
</template>
</easy-form>
<!-- 批量导入弹窗 -->
<el-dialog title="批量导入" :visible.sync="importDialog" width="30%">
<el-upload
:action="uploadPath"
:data="{ taskListId: taskId }"
:on-success="uploadCallback"
:on-error="errorCallback"
:before-upload="beforeUpload"
accept=".xls,.xlsx"
:show-file-list="false"
>
<el-button type="primary">上传文件</el-button>
</el-upload>
<div style="margin-top: 10px; color: #999;">支持 .xls.xlsx 格式文件大小不超过 10MB</div>
<FakeProgress v-if="showFakeProgress" ref="FakeProgress" style="margin-top: 10px;" />
<span slot="footer" class="dialog-footer">
<el-button @click="importDialog = false"> </el-button>
</span>
</el-dialog>
<!-- 复用 EntList 组件 -->
<EntList ref="entlist" type="todo" @confirm="onSelectEnt" />
</div>
</template>
<script>
import EntList from '../component/EntList.vue'
import FakeProgress from '@/components/FakeProgress'
import {
announcementTaskAdd,
announcementTaskGetId,
announcementTaskUpdate,
announcementTaskDetailAdd,
announcementTaskDetailDeleteId,
announcementTaskDetailPage
} from '@/api/auto-baseapi'
export default {
components: {
EntList,
FakeProgress
},
data() {
return {
isAddMode: this.$route.query.mode === 'add',
taskId: this.$route.query.id || '',
data: {},
entListTableData: [],
selectedEnts: [],
importDialog: false,
showFakeProgress: false,
uploadPath: process.env.VUE_APP_BASE_API + '/announcement/task/detail/import',
formConfig: {
labelPosition: 'right',
buttonPosition: 'right',
gutter: 0
},
fields: [
{
type: 'divider',
label: '任务名单信息'
},
{
type: 'input',
label: '任务名称',
prop: 'taskName',
required: true,
span: 24
},
{
type: 'input',
label: '创建单位',
prop: 'createUnitName',
span: 12,
isView: true,
showInForm: () => !this.isAddMode
},
{
type: 'input',
label: '创建时间',
prop: 'createTime',
span: 12,
isView: true,
showInForm: () => !this.isAddMode
},
{
type: 'input',
label: '更新时间',
prop: 'updateTime',
span: 12,
isView: true,
showInForm: () => !this.isAddMode
},
{
type: 'divider',
label: '企业名录列表',
showInForm: () => !this.isAddMode
},
{
type: 'slot',
slotName: 'entListTable',
label: '企业名录列表',
hiddenLabel: true,
prop: 'entList',
span: 24,
showInForm: () => !this.isAddMode
}
],
entListFields: [
{
type: 'input',
label: '统一社会信用代码/注册号',
prop: 'uniscid',
tableProps: {
showOverflowTooltip: true,
width: '220px',
formatter: (row) => {
return `${row.uniscid || row.regno || ''}`
}
}
},
{
type: 'input',
label: '主体名称',
prop: 'entname',
tableProps: {
showOverflowTooltip: true,
width: '300px'
}
},
{
type: 'input',
label: '所属行业',
prop: 'industryphy',
optionsBaseCode: 'CA05',
tableProps: {
showOverflowTooltip: true
}
},
{
type: 'input',
label: '吊销时间',
prop: 'revoketime',
tableProps: {
showOverflowTooltip: true,
width: '120px'
}
}
],
entListTableConfig: {
selection: true,
tableSelectionProps: {
reserveSelection: true
},
showIndex: true,
indexWidth: '80px',
showPagination: true,
rowKey: 'id',
tableProps: {
headerCellStyle: { background: '#F5F5F5!important', color: '#333333!important', padding: '0px' },
headerRowStyle: { height: '48px' },
rowStyle: { height: '48px' },
cellStyle: { padding: '16px 0', color: '#333' }
},
onSelectionChange: (selection) => {
this.selectedEnts = selection
},
buttons: [
{
label: '删除',
type: 'text',
handler: (scope, { row }) => {
this.deleteDetail(row)
}
}
]
},
buttons: [
{
label: '返回',
type: 'primary',
show: true,
buttonProps: {
plain: true
},
handler: () => {
this.$router.back()
}
},
{
label: '保存',
type: 'primary',
show: true,
handler: ({ formInstance }) => {
return formInstance.submitForm().then((formData) => {
if (this.isAddMode) {
return announcementTaskAdd({
taskName: formData.taskName
}).then((res) => {
if (res.code === 0) {
this.$message.success('任务名单创建成功')
const newId = res.data.id || res.data
this.$router.replace({
path: '/forceNotice/taskList/detail',
query: { id: newId }
})
this.taskId = newId
this.isAddMode = false
this.loadTaskInfo()
}
})
} else {
return announcementTaskUpdate({
id: this.taskId,
taskName: formData.taskName
}).then((res) => {
if (res.code === 0) {
this.$message.success('保存成功')
}
})
}
})
}
}
]
}
},
created() {
if (!this.isAddMode && this.taskId) {
this.loadTaskInfo()
}
},
methods: {
loadTaskInfo() {
announcementTaskGetId({ id: this.taskId }).then((res) => {
if (res.code === 0) {
this.data = {
...this.data,
...res.data
}
}
})
},
loadEntListData(pageParam) {
if (!this.taskId) {
return Promise.resolve({ tableData: [], total: 0 })
}
return announcementTaskDetailPage({
size: pageParam.size,
current: pageParam.current,
entity: {
taskListId: this.taskId
}
}).then((res) => {
return {
tableData: res.data.records,
total: res.data.total
}
})
},
onSelectEnt(entlist) {
if (entlist.length === 0) {
this.$message.warning('请选择至少一个主体')
return
}
announcementTaskDetailAdd({
taskListId: this.taskId,
pripidList: entlist.map(item => item.pripid)
}).then((res) => {
if (res.code === 0) {
this.$message.success(`成功添加 ${entlist.length} 个主体`)
this.$refs.EntListTable.reset()
}
})
},
deleteDetail(row) {
this.$confirm('是否确定删除该企业?', '提示', {
type: 'warning',
confirmHandlerPromise: () => {
return announcementTaskDetailDeleteId({ id: row.id }).then((res) => {
if (res.code === 0) {
this.$message.success('删除成功')
this.$refs.EntListTable.reset()
}
})
}
})
},
batchDelete() {
this.$confirm(`是否确定删除选中的 ${this.selectedEnts.length} 个企业?`, '提示', {
type: 'warning',
confirmHandlerPromise: () => {
const promises = this.selectedEnts.map(item =>
announcementTaskDetailDeleteId({ id: item.id })
)
return Promise.all(promises).then((resList) => {
if (resList.every(res => res.code === 0)) {
this.$message.success('批量删除成功')
}
this.selectedEnts = []
this.$refs.EntListTable.reset()
})
}
})
},
beforeUpload(file) {
this.showFakeProgress = true
return new Promise((resolve, reject) => {
const testmsg = file.name.substring(file.name.lastIndexOf('.') + 1)
const extension = testmsg === 'xls'
const extension2 = testmsg === 'xlsx'
if (!extension && !extension2) {
this.$message.warning('上传文件只能是 xls、xlsx 格式!')
this.showFakeProgress = false
reject()
} else {
const isLt10M = file.size / 1024 / 1024 < 10
if (!isLt10M) {
this.$message.warning('上传文件大小不能超过 10MB')
this.showFakeProgress = false
reject()
} else {
resolve()
}
}
})
},
uploadCallback(res) {
if (res.code === 0) {
this.$refs.FakeProgress && this.$refs.FakeProgress.success()
setTimeout(() => {
this.importDialog = false
this.showFakeProgress = false
this.$message.success('导入成功')
this.$refs.EntListTable.reset()
}, 1000)
} else {
this.$refs.FakeProgress && this.$refs.FakeProgress.error()
this.showFakeProgress = false
this.$message.error(res.msg || '导入失败')
}
},
errorCallback() {
this.$refs.FakeProgress && this.$refs.FakeProgress.error()
this.showFakeProgress = false
this.$message.warning('上传文件失败,请检查文件格式或数据')
}
}
}
</script>
<style lang="scss" scoped>
@import "~@/styles/abnormal-handle";
.button-group {
margin-bottom: 10px;
text-align: right;
.el-button {
margin-left: 10px;
}
}
</style>

View File

@ -0,0 +1,254 @@
<template>
<div class="page">
<edit-table
ref="EditTable"
v-model="data"
:table-prop="tableProp"
:fields="fields"
:show-search-form="true"
row-key="id"
:search-form-prop="searchFormProp"
:search-loader="searchLoader"
@update:selected="(value)=>{selected = value}"
>
<template v-slot:table-top>
<div style="margin-bottom: 16px;">
<el-button
type="primary"
@click="addTask"
>
添加任务名单
</el-button>
<el-button
type="primary"
:disabled="selected.length === 0"
@click="startForceNotice"
>
发起拟强制注销公告
</el-button>
</div>
</template>
</edit-table>
</div>
</template>
<script>
import {
announcementTaskDeleteId,
announcementTaskPage,
announcementTaskDetailListTaskListId
} from '@/api/auto-baseapi'
import { xrForceDeregisterSpeSaveIvdAcceptNew } from '@/api/force'
export default {
data() {
return {
data: [],
selected: [],
searchFormProp: {
formConfig: {
labelWidth: '100px',
labelPosition: 'right',
gutter: 32
}
},
tableProp: {
emitLoadOnCreate: true,
tableConfig: {
selection: true,
tableSelectionProps: {
reserveSelection: true
},
showIndex: true,
indexWidth: '80px',
handlerWidth: '150px',
showPagination: true,
rowKey: 'id',
tableProps: {
headerCellStyle: { background: '#F5F5F5!important', color: '#333333!important', padding: '0px' },
headerRowStyle: { height: '48px' },
rowStyle: { height: '48px' },
cellStyle: { padding: '16px 0', color: '#333' }
}
},
buttons: [
{
label: '查看',
type: 'text',
handler: (scope, { row }) => {
this.viewDetail(row)
}
},
{
label: '删除',
type: 'text',
handler: (scope, { row }) => {
this.deleteTask(row)
}
}
]
},
fields: [
{
type: 'input',
label: '任务名称',
prop: 'taskName',
span: 6,
tableProps: {
showOverflowTooltip: true
}
},
{
type: 'input',
label: '创建单位',
prop: 'createUnitName',
span: 6,
tableProps: {
showOverflowTooltip: true
}
},
{
type: 'buttons',
showInTable: false,
hiddenLabel: true,
label: '搜索操作',
prop: '搜索操作',
span: 6,
formItemProp: {
labelWidth: '0px'
},
buttons: [
{
label: '查询',
type: 'primary',
handler: (scope) => {
const { meta } = scope
const { _editTable } = meta
const { editTableInstance } = _editTable
editTableInstance.search()
}
},
{
label: '重置',
type: 'primary',
buttonProps: {
plain: true
},
handler: (scope) => {
const { meta } = scope
const { _editTable } = meta
const { editTableInstance } = _editTable
editTableInstance.search({
reset: true
})
}
}
]
},
{
type: 'input',
label: '名单创建人',
prop: 'createByName',
showInForm: false,
tableProps: {
width: '120px',
showOverflowTooltip: true
}
},
{
type: 'input',
label: '名单创建时间',
prop: 'createTime',
showInForm: false,
tableProps: {
width: '180px',
showOverflowTooltip: true
}
}
]
}
},
beforeRouteEnter(to, from, next) {
next((vm) => {
vm.$refs.EditTable.search({ reset: true })
})
},
methods: {
searchLoader(pageParam, parseSearchFormData) {
return announcementTaskPage({
size: pageParam.size,
current: pageParam.current,
entity: {
...parseSearchFormData
}
}).then((res) => {
return {
tableData: res.data.records,
total: res.data.total
}
})
},
addTask() {
this.$router.push({
path: '/forceNotice/taskList/detail',
query: { mode: 'add' }
})
},
viewDetail(row) {
this.$router.push({
path: '/forceNotice/taskList/detail',
query: { id: row.id }
})
},
deleteTask(row) {
this.$confirm('是否确定删除该任务名单?', '提示', {
type: 'warning',
confirmHandlerPromise: () => {
return announcementTaskDeleteId({ id: row.id }).then((res) => {
if (res.code === 0) {
this.$message.success('删除成功')
this.$refs.EditTable.search()
}
})
}
})
},
startForceNotice() {
if (this.selected.length === 0) {
this.$message.warning('请至少勾选一个任务名单')
return
}
this.$confirm(`已选择 ${this.selected.length} 个任务名单,是否发起拟强制注销公告?`, '提示', {
type: 'info',
customClass: 'type-1',
confirmHandlerPromise: () => {
const promises = this.selected.map(task =>
announcementTaskDetailListTaskListId({ taskListId: task.id })
)
return Promise.all(promises).then((results) => {
const allEntList = results.filter(res => res.code === 0).map(res => res.data).flat()
if (allEntList.length === 0) {
this.$message.warning('所选名单中没有企业,无法发起')
return Promise.reject()
}
return xrForceDeregisterSpeSaveIvdAcceptNew({
pripIdList: allEntList.map(item => item.pripid),
busType: 'inclusion'
}).then((data) => {
this.$message.success('发起拟强制注销公告成功')
return this.$router.push({
path: '/forceNotice/inclusion/todo/handle',
query: { bizSeqNo: data.bizSeqId }
})
})
})
}
})
}
}
}
</script>
<style lang="scss" scoped>
@import "~@/styles/abnormal-list";
</style>