|
@@ -142,7 +142,7 @@
|
|
} from '@/api/safetyCheck/indexDemoOne'
|
|
} from '@/api/safetyCheck/indexDemoOne'
|
|
import { getToken } from "@/utils/auth";
|
|
import { getToken } from "@/utils/auth";
|
|
// V3
|
|
// V3
|
|
- import exportComponent from "@/components/exportComponent/exportComponent.vue";
|
|
|
|
|
|
+ import exportComponent from "@/views/safetyCheck/components/exportComponent/exportComponent.vue";
|
|
import importComponent from "@/components/importComponent/importComponent.vue";
|
|
import importComponent from "@/components/importComponent/importComponent.vue";
|
|
export default {
|
|
export default {
|
|
name: 'index',
|
|
name: 'index',
|
|
@@ -158,6 +158,7 @@
|
|
api:'/security/checkOption/export/', //导出接口地址
|
|
api:'/security/checkOption/export/', //导出接口地址
|
|
ids:'', //勾选导出,勾选的IDS
|
|
ids:'', //勾选导出,勾选的IDS
|
|
fileName:'项目检查库', //导出文件的命名
|
|
fileName:'项目检查库', //导出文件的命名
|
|
|
|
+ screenData:{},
|
|
},
|
|
},
|
|
//导入
|
|
//导入
|
|
importConfig:{
|
|
importConfig:{
|
|
@@ -507,6 +508,8 @@
|
|
/** 查询检查项选项列表 */
|
|
/** 查询检查项选项列表 */
|
|
getList() {
|
|
getList() {
|
|
this.loading = true;
|
|
this.loading = true;
|
|
|
|
+ let obj = JSON.parse(JSON.stringify(this.queryParams))
|
|
|
|
+ this.$set(this.exportConfig,'screenData',obj);
|
|
securityCheckOptionList(this.queryParams).then( response => {
|
|
securityCheckOptionList(this.queryParams).then( response => {
|
|
this.$set(this,'tableData',JSON.parse(JSON.stringify(response.data)));
|
|
this.$set(this,'tableData',JSON.parse(JSON.stringify(response.data)));
|
|
let list = [{
|
|
let list = [{
|