diff --git a/src/api/order.js b/src/api/order.js
index 079fcc6..85ddb4b 100644
--- a/src/api/order.js
+++ b/src/api/order.js
@@ -126,7 +126,6 @@
});
}
-
// /business/deptAssessReport/page 考核报告
export function deptAssessReportPage(query) {
return request({
@@ -136,7 +135,6 @@
});
}
-
// /business/deptAssessReport/{id}
export function getDeptAssessReport(id) {
return request({
@@ -145,4 +143,25 @@
});
}
-// business/deptAssessReport/assessRuleDownload 获取考核评估
\ No newline at end of file
+// business/deptAssessReport/assessRuleDownload 获取考核评估
+export function assessRuleDownload(data) {
+ return request({
+ url: '/business/deptAssessReport/assessRuleDownload',
+ method: 'post',
+ data: data,
+ });
+}
+
+// business/deptAssessReport/export 导出
+
+// business/deptAssessReport/exportDetail?id=1871487440585023490
+export function exportDetail(id) {
+ return request({
+ // url: '/business/deptAssessReport/exportDetail?id=' + id,
+ url: '/business/deptAssessReport/exportDetail',
+ method: 'get',
+ // headers: { 'Content-Type': 'multipart/form-data' },
+ responseType: 'blob',
+ params: { id },
+ });
+}
diff --git a/src/api/order.js b/src/api/order.js
index 079fcc6..85ddb4b 100644
--- a/src/api/order.js
+++ b/src/api/order.js
@@ -126,7 +126,6 @@
});
}
-
// /business/deptAssessReport/page 考核报告
export function deptAssessReportPage(query) {
return request({
@@ -136,7 +135,6 @@
});
}
-
// /business/deptAssessReport/{id}
export function getDeptAssessReport(id) {
return request({
@@ -145,4 +143,25 @@
});
}
-// business/deptAssessReport/assessRuleDownload 获取考核评估
\ No newline at end of file
+// business/deptAssessReport/assessRuleDownload 获取考核评估
+export function assessRuleDownload(data) {
+ return request({
+ url: '/business/deptAssessReport/assessRuleDownload',
+ method: 'post',
+ data: data,
+ });
+}
+
+// business/deptAssessReport/export 导出
+
+// business/deptAssessReport/exportDetail?id=1871487440585023490
+export function exportDetail(id) {
+ return request({
+ // url: '/business/deptAssessReport/exportDetail?id=' + id,
+ url: '/business/deptAssessReport/exportDetail',
+ method: 'get',
+ // headers: { 'Content-Type': 'multipart/form-data' },
+ responseType: 'blob',
+ params: { id },
+ });
+}
diff --git a/src/store/modules/order.js b/src/store/modules/order.js
index 27bf78c..a80a630 100644
--- a/src/store/modules/order.js
+++ b/src/store/modules/order.js
@@ -29,7 +29,6 @@
this.systemDeptList = response.data;
// console.log('🚀 ~ listDept ~ this.systemDeptList:', this.systemDeptList, response);
});
-
},
getUserList(data = {}) {
listWorkOrderHandler(data).then(response => {
@@ -49,7 +48,7 @@
// 自定义存储方式,默认 sessionStorage
storage: sessionStorage,
// 指定要持久化的数据,默认所有 state 都会进行缓存,可以通过 paths 指定要持久化的字段,其他的则不会进行持久化。
- paths: ['deptList'],
+ paths: ['deptList', 'systemDeptList', 'userList'],
},
],
},
diff --git a/src/api/order.js b/src/api/order.js
index 079fcc6..85ddb4b 100644
--- a/src/api/order.js
+++ b/src/api/order.js
@@ -126,7 +126,6 @@
});
}
-
// /business/deptAssessReport/page 考核报告
export function deptAssessReportPage(query) {
return request({
@@ -136,7 +135,6 @@
});
}
-
// /business/deptAssessReport/{id}
export function getDeptAssessReport(id) {
return request({
@@ -145,4 +143,25 @@
});
}
-// business/deptAssessReport/assessRuleDownload 获取考核评估
\ No newline at end of file
+// business/deptAssessReport/assessRuleDownload 获取考核评估
+export function assessRuleDownload(data) {
+ return request({
+ url: '/business/deptAssessReport/assessRuleDownload',
+ method: 'post',
+ data: data,
+ });
+}
+
+// business/deptAssessReport/export 导出
+
+// business/deptAssessReport/exportDetail?id=1871487440585023490
+export function exportDetail(id) {
+ return request({
+ // url: '/business/deptAssessReport/exportDetail?id=' + id,
+ url: '/business/deptAssessReport/exportDetail',
+ method: 'get',
+ // headers: { 'Content-Type': 'multipart/form-data' },
+ responseType: 'blob',
+ params: { id },
+ });
+}
diff --git a/src/store/modules/order.js b/src/store/modules/order.js
index 27bf78c..a80a630 100644
--- a/src/store/modules/order.js
+++ b/src/store/modules/order.js
@@ -29,7 +29,6 @@
this.systemDeptList = response.data;
// console.log('🚀 ~ listDept ~ this.systemDeptList:', this.systemDeptList, response);
});
-
},
getUserList(data = {}) {
listWorkOrderHandler(data).then(response => {
@@ -49,7 +48,7 @@
// 自定义存储方式,默认 sessionStorage
storage: sessionStorage,
// 指定要持久化的数据,默认所有 state 都会进行缓存,可以通过 paths 指定要持久化的字段,其他的则不会进行持久化。
- paths: ['deptList'],
+ paths: ['deptList', 'systemDeptList', 'userList'],
},
],
},
diff --git a/src/views/DialogTabs/component/JC_oldList.vue b/src/views/DialogTabs/component/JC_oldList.vue
index ec2cde1..bfa5576 100644
--- a/src/views/DialogTabs/component/JC_oldList.vue
+++ b/src/views/DialogTabs/component/JC_oldList.vue
@@ -175,7 +175,7 @@
);
} else if (useDialogTabs.mapType == 'ranQi_supervise') {
proxy.download(
- '/business/dockingThorughfareHistory/export ',
+ '/business/dockingThorughfareHistory/export',
{
...queryParams.value,
// st: queryParams.value.stCode,
diff --git a/src/api/order.js b/src/api/order.js
index 079fcc6..85ddb4b 100644
--- a/src/api/order.js
+++ b/src/api/order.js
@@ -126,7 +126,6 @@
});
}
-
// /business/deptAssessReport/page 考核报告
export function deptAssessReportPage(query) {
return request({
@@ -136,7 +135,6 @@
});
}
-
// /business/deptAssessReport/{id}
export function getDeptAssessReport(id) {
return request({
@@ -145,4 +143,25 @@
});
}
-// business/deptAssessReport/assessRuleDownload 获取考核评估
\ No newline at end of file
+// business/deptAssessReport/assessRuleDownload 获取考核评估
+export function assessRuleDownload(data) {
+ return request({
+ url: '/business/deptAssessReport/assessRuleDownload',
+ method: 'post',
+ data: data,
+ });
+}
+
+// business/deptAssessReport/export 导出
+
+// business/deptAssessReport/exportDetail?id=1871487440585023490
+export function exportDetail(id) {
+ return request({
+ // url: '/business/deptAssessReport/exportDetail?id=' + id,
+ url: '/business/deptAssessReport/exportDetail',
+ method: 'get',
+ // headers: { 'Content-Type': 'multipart/form-data' },
+ responseType: 'blob',
+ params: { id },
+ });
+}
diff --git a/src/store/modules/order.js b/src/store/modules/order.js
index 27bf78c..a80a630 100644
--- a/src/store/modules/order.js
+++ b/src/store/modules/order.js
@@ -29,7 +29,6 @@
this.systemDeptList = response.data;
// console.log('🚀 ~ listDept ~ this.systemDeptList:', this.systemDeptList, response);
});
-
},
getUserList(data = {}) {
listWorkOrderHandler(data).then(response => {
@@ -49,7 +48,7 @@
// 自定义存储方式,默认 sessionStorage
storage: sessionStorage,
// 指定要持久化的数据,默认所有 state 都会进行缓存,可以通过 paths 指定要持久化的字段,其他的则不会进行持久化。
- paths: ['deptList'],
+ paths: ['deptList', 'systemDeptList', 'userList'],
},
],
},
diff --git a/src/views/DialogTabs/component/JC_oldList.vue b/src/views/DialogTabs/component/JC_oldList.vue
index ec2cde1..bfa5576 100644
--- a/src/views/DialogTabs/component/JC_oldList.vue
+++ b/src/views/DialogTabs/component/JC_oldList.vue
@@ -175,7 +175,7 @@
);
} else if (useDialogTabs.mapType == 'ranQi_supervise') {
proxy.download(
- '/business/dockingThorughfareHistory/export ',
+ '/business/dockingThorughfareHistory/export',
{
...queryParams.value,
// st: queryParams.value.stCode,
diff --git a/src/views/order/debugging/index.vue b/src/views/order/debugging/index.vue
index 209a63e..ef217b2 100644
--- a/src/views/order/debugging/index.vue
+++ b/src/views/order/debugging/index.vue
@@ -4,12 +4,18 @@