| | |
| | | // 查询计划管理列表 |
| | | export function listManage(query: any) { |
| | | return request({ |
| | | url: "/system/manage/list", |
| | | url: "/enforce/order/plan/selectList", |
| | | method: "get", |
| | | params: query, |
| | | }); |
| | |
| | | // 查询计划管理详细 |
| | | export function getManage(id: any) { |
| | | return request({ |
| | | url: "/system/manage/" + id, |
| | | url: "/enforce/order/" + id, |
| | | method: "get", |
| | | }); |
| | | } |
| | |
| | | // 新增计划管理 |
| | | export function addManage(data: any) { |
| | | return request({ |
| | | url: "/system/manage/add", |
| | | url: "/enforce/order/add", |
| | | method: "post", |
| | | data: data, |
| | | }); |
| | |
| | | // 修改计划管理 |
| | | export function updateManage(data: any) { |
| | | return request({ |
| | | url: "/system/manage/upd", |
| | | url: "/enforce/order/upd", |
| | | method: "post", |
| | | data: data, |
| | | }); |
| | |
| | | // 删除计划管理 |
| | | export function delManage(id: any) { |
| | | return request({ |
| | | url: "/system/manage/" + id, |
| | | url: "/enforce/order/" + id, |
| | | method: "delete", |
| | | }); |
| | | } |
| | |
| | | // 下载模板 /system/manage/exportTemplate |
| | | export function exportTemplate(data: any) { |
| | | return request({ |
| | | url: `/system/manage/exportTemplate`, |
| | | url: `/enforce/order/exportTemplate`, |
| | | method: 'get', |
| | | params: data |
| | | }) |
| | |
| | | // 导出计划管理 /system/manage/exportTemplate |
| | | export function exportManage(data: any) { |
| | | return request({ |
| | | url: `/system/manage/export `, |
| | | url: `/enforce/order/export `, |
| | | method: 'get', |
| | | params: data |
| | | }) |
| | |
| | | <template #default="scope">{{ scope.$index + 1 }}</template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="planNo" |
| | | prop="orderNo" |
| | | label="计划编号" |
| | | width="180" |
| | | ></el-table-column> |
| | | <el-table-column |
| | | prop="planName" |
| | | prop="enforceReason" |
| | | label="计划名称" |
| | | width="180" |
| | | ></el-table-column> |
| | | <el-table-column |
| | | prop="makeOrgName" |
| | | prop="applyOrgName" |
| | | label="制定机构" |
| | | width="180" |
| | | ></el-table-column> |
| | | <el-table-column |
| | | prop="checkdObject" |
| | | prop="companyName" |
| | | label="被检查对象" |
| | | width="180" |
| | | ></el-table-column> |
| | | <el-table-column |
| | | prop="unifiedSocialCreditCode" |
| | | prop="companyCode" |
| | | label="统一社会信用代码" |
| | | width="180" |
| | | ></el-table-column> |
| | |
| | | width="180" |
| | | ></el-table-column> |
| | | <el-table-column |
| | | prop="checkdType" |
| | | prop="inspectionMethod" |
| | | label="检查方式" |
| | | width="180" |
| | | ></el-table-column> |
| | | <el-table-column |
| | | prop="checkdContent" |
| | | prop="enforceContent" |
| | | label="检查内容" |
| | | width="180" |
| | | ></el-table-column> |
| | | <el-table-column |
| | | prop="executiveSection" |
| | | prop="applyDeptNames" |
| | | label="执行科室" |
| | | width="180" |
| | | ></el-table-column> |
| | |
| | | width="180" |
| | | ></el-table-column> |
| | | <el-table-column |
| | | prop="planStatus" |
| | | prop="orderStatus" |
| | | label="状态" |
| | | width="180" |
| | | ></el-table-column> |
| | |
| | | planMonth: "", // 计划月份 |
| | | }, |
| | | queryParams: { |
| | | orderType: 1, |
| | | planNo: "", |
| | | planName: "", |
| | | executiveSection: "", |
| | |
| | | // 设置上传的请求头部 |
| | | headers: { Authorization: "Bearer " + getToken() }, |
| | | // 上传的地址 |
| | | url: import.meta.env.VITE_APP_BASE_API + "/system/manage/importData", |
| | | url: import.meta.env.VITE_APP_BASE_API + "/enforce/order/importData", |
| | | }); |
| | | /**文件上传中处理 */ |
| | | const handleFileUploadProgress = (event, file, fileList) => { |
| | |
| | | planFrequency: "", // 计划频次 |
| | | planFrequencyUnit: "", // 计划频次单位 |
| | | planMonth: "", // 计划月份 |
| | | orderType: 1 |
| | | }; |
| | | proxy.resetForm("deptRef"); |
| | | } |
| | |
| | | executiveSection: "", // 执法单位 |
| | | planMonthStart: "", // 计划开始月份 |
| | | planMonthEnd: "", // 计划结束月份 |
| | | orderType: 1 |
| | | }; |
| | | handleQuery(); |
| | | } |
| | |
| | | proxy.$modal |
| | | .confirm("是否确认删除该数据?") |
| | | .then(function () { |
| | | return delManage(row.id); |
| | | return delManage(row.orderId); |
| | | }) |
| | | .then(() => { |
| | | getList(); |