Merge branch 'develop' into FOTON
# Conflicts: # package-lock.json # src/components/navMenu/index.vue
This commit is contained in:
Generated
+176
@@ -4541,6 +4541,182 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"vue-loader-v16": {
|
||||
"version": "npm:vue-loader@16.5.0",
|
||||
"resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.5.0.tgz",
|
||||
"integrity": "sha512-WXh+7AgFxGTgb5QAkQtFeUcHNIEq3PGVQ8WskY5ZiFbWBkOwcCPRs4w/2tVyTbh2q6TVRlO3xfvIukUtjsu62A==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"chalk": "^4.1.0",
|
||||
"hash-sum": "^2.0.0",
|
||||
"loader-utils": "^2.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"ansi-styles": {
|
||||
"version": "4.3.0",
|
||||
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
|
||||
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"color-convert": "^2.0.1"
|
||||
}
|
||||
},
|
||||
"big.js": {
|
||||
"version": "5.2.2",
|
||||
"resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz",
|
||||
"integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"chalk": {
|
||||
"version": "4.1.2",
|
||||
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
|
||||
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"ansi-styles": "^4.1.0",
|
||||
"supports-color": "^7.1.0"
|
||||
}
|
||||
},
|
||||
"emojis-list": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz",
|
||||
"integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"has-flag": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
|
||||
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"json5": {
|
||||
"version": "2.2.0",
|
||||
"resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz",
|
||||
"integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"minimist": "^1.2.5"
|
||||
}
|
||||
},
|
||||
"loader-utils": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.0.tgz",
|
||||
"integrity": "sha512-rP4F0h2RaWSvPEkD7BLDFQnvSf+nK+wr3ESUjNTyAGobqrijmW92zc+SO6d4p4B1wh7+B/Jg1mkQe5NYUEHtHQ==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"big.js": "^5.2.2",
|
||||
"emojis-list": "^3.0.0",
|
||||
"json5": "^2.1.2"
|
||||
}
|
||||
},
|
||||
"supports-color": {
|
||||
"version": "7.2.0",
|
||||
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
|
||||
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"has-flag": "^4.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"vue-loader-v16": {
|
||||
"version": "npm:vue-loader@16.3.3",
|
||||
"resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.3.3.tgz",
|
||||
"integrity": "sha512-/1GzCuQ6MRORbC+leKTKoTGtpQt60bYe0gDGEextSteA2OM+v201FPha5jzmjQzVhRcwieZeUvezAtG5a/e5cw==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"chalk": "^4.1.0",
|
||||
"hash-sum": "^2.0.0",
|
||||
"loader-utils": "^2.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"ansi-styles": {
|
||||
"version": "4.3.0",
|
||||
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
|
||||
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"color-convert": "^2.0.1"
|
||||
}
|
||||
},
|
||||
"big.js": {
|
||||
"version": "5.2.2",
|
||||
"resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz",
|
||||
"integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"chalk": {
|
||||
"version": "4.1.1",
|
||||
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz",
|
||||
"integrity": "sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"ansi-styles": "^4.1.0",
|
||||
"supports-color": "^7.1.0"
|
||||
}
|
||||
},
|
||||
"emojis-list": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz",
|
||||
"integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"has-flag": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
|
||||
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"json5": {
|
||||
"version": "2.2.0",
|
||||
"resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz",
|
||||
"integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"minimist": "^1.2.5"
|
||||
}
|
||||
},
|
||||
"loader-utils": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.0.tgz",
|
||||
"integrity": "sha512-rP4F0h2RaWSvPEkD7BLDFQnvSf+nK+wr3ESUjNTyAGobqrijmW92zc+SO6d4p4B1wh7+B/Jg1mkQe5NYUEHtHQ==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"big.js": "^5.2.2",
|
||||
"emojis-list": "^3.0.0",
|
||||
"json5": "^2.1.2"
|
||||
}
|
||||
},
|
||||
"supports-color": {
|
||||
"version": "7.2.0",
|
||||
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
|
||||
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"has-flag": "^4.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"vue-style-loader": {
|
||||
"version": "4.1.2",
|
||||
"resolved": "https://registry.npmjs.org/vue-style-loader/-/vue-style-loader-4.1.2.tgz",
|
||||
|
||||
+94
-29
@@ -1,56 +1,121 @@
|
||||
import axios from '@/common/axiosV2'
|
||||
import axios from "@/common/axiosV2";
|
||||
|
||||
// 查询未整改项列表接口
|
||||
export function standUnqualified (data) {
|
||||
export function standUnqualified(data) {
|
||||
return axios({
|
||||
url: '/api/sarStandUnqualified/sar-stand-unqualified',
|
||||
method: 'get',
|
||||
url: "/api/sarStandUnqualified/sar-stand-unqualified",
|
||||
method: "get",
|
||||
params: data
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
// 人员菜单列表获取
|
||||
export function roleTreeData (data) {
|
||||
export function roleTreeData(data) {
|
||||
return axios({
|
||||
url: '/api/SarInstitution/institution/institutionAndUser',
|
||||
method: 'get',
|
||||
url: "/api/SarInstitution/institution/institutionAndUser",
|
||||
method: "get",
|
||||
params: data
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
// 上传文件
|
||||
export function uploadFileText (data) {
|
||||
export function uploadFileText(data) {
|
||||
return axios({
|
||||
url: 'api/att/attFile/upload',
|
||||
method: 'get',
|
||||
url: "api/att/attFile/upload",
|
||||
method: "get",
|
||||
params: data
|
||||
})
|
||||
});
|
||||
}
|
||||
export function dicTypeData (data) {
|
||||
|
||||
export function dicTypeData(data) {
|
||||
return axios({
|
||||
url: 'api/sys/dictype/getDicTypeListCode',
|
||||
method: 'get',
|
||||
url: "api/sys/dictype/getDicTypeListCode",
|
||||
method: "get",
|
||||
params: data
|
||||
})
|
||||
});
|
||||
}
|
||||
export function StandardsInfoPage (data) {
|
||||
|
||||
export function StandardsInfoPage(data) {
|
||||
return axios({
|
||||
url: 'api/sarStandardsInfo/sar-standards-info/getSarStandardsInfoPageBak',
|
||||
method: 'get',
|
||||
url: "api/sarStandardsInfo/sar-standards-info/getSarStandardsInfoPageBak",
|
||||
method: "get",
|
||||
params: data
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
// 车型库清单的下拉列表
|
||||
export function solostarData (data) {
|
||||
export function solostarData(data) {
|
||||
return axios({
|
||||
url: 'api/sarStandProjectLibrary/solostar',
|
||||
method: 'get',
|
||||
url: "api/sarStandProjectLibrary/solostar",
|
||||
method: "get",
|
||||
params: data
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
// 活动日历查询接口
|
||||
export function meetingByMonth (params) {
|
||||
export function meetingByMonth(params) {
|
||||
return axios({
|
||||
url: 'api/sapMeetInfo/getMeetingsByMonthType',
|
||||
method: 'get',
|
||||
url: "api/sapMeetInfo/getMeetingsByMonthType",
|
||||
method: "get",
|
||||
params
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
//未符合项模块新增
|
||||
export function addUn(
|
||||
closeState, standSerialNumber, standName,
|
||||
itemsNum, itemsName, productType,
|
||||
productLine, productName, reason, responsibleUnit,
|
||||
dutyEngineer, authEngineer, qaEngineer, planCloseTime) {
|
||||
const data = {
|
||||
closeState,
|
||||
standSerialNumber, //标准号
|
||||
standName, //标准名称
|
||||
itemsNum, //条款号
|
||||
itemsName, //条款名称
|
||||
productType,
|
||||
productLine, //产品线
|
||||
productName, //项目名称
|
||||
reason, //不合规项目
|
||||
responsibleUnit, //责任部门
|
||||
dutyEngineer, //责任工程师
|
||||
authEngineer, //认证工程师
|
||||
qaEngineer, //质量工程师
|
||||
planCloseTime //计划关闭时间
|
||||
};
|
||||
return axios({
|
||||
url: "api/sarStandUnqualified/sar-stand-unqualified/addOne",
|
||||
method: "post",
|
||||
data
|
||||
});
|
||||
}
|
||||
|
||||
//未符合项模块编辑
|
||||
export function editUn(
|
||||
closeState, standSerialNumber, standName,
|
||||
itemsNum, itemsName, productType,
|
||||
productLine, productName, reason, responsibleUnit,
|
||||
dutyEngineer, authEngineer, qaEngineer, planCloseTime, id) {
|
||||
const data = {
|
||||
closeState,
|
||||
standSerialNumber, //标准号
|
||||
standName, //标准名称
|
||||
itemsNum, //条款号
|
||||
itemsName, //条款名称
|
||||
productType,
|
||||
productLine, //产品线
|
||||
productName, //项目名称
|
||||
reason, //不合规项目
|
||||
responsibleUnit, //责任部门
|
||||
dutyEngineer, //责任工程师
|
||||
authEngineer, //认证工程师
|
||||
qaEngineer, //质量工程师
|
||||
planCloseTime, //计划关闭时间
|
||||
id
|
||||
};
|
||||
return axios({
|
||||
url: "api/sarStandUnqualified/sar-stand-unqualified/updateOne",
|
||||
method: "post",
|
||||
data
|
||||
});
|
||||
}
|
||||
|
||||
@@ -58,9 +58,9 @@
|
||||
</el-menu-item>
|
||||
</el-submenu>
|
||||
<el-menu-item
|
||||
:key="index"
|
||||
:index="item.path"
|
||||
v-if="item.isChildren && (!item.menuId || $hasPermission(item.menuId))"
|
||||
:key="index"
|
||||
:index="item.path"
|
||||
v-if="item.isChildren && (!item.menuId || $hasPermission(item.menuId))"
|
||||
>
|
||||
<i class="shangqi-icon" :class="item['icon-class']"></i>
|
||||
<span slot="title">{{ item.title }}</span>
|
||||
@@ -132,6 +132,384 @@
|
||||
menuId: '2b25c67f10abbbadf37d60daaaec54d3'
|
||||
},
|
||||
|
||||
{
|
||||
title: '国内外政策',
|
||||
path: '/foreignRegulationsDatabase',
|
||||
menuId: 'ef02a3b0af9a4b3ede460456a9591ebc'
|
||||
},
|
||||
// // // {
|
||||
// // // title: '标准制修订管理',
|
||||
// // // path: '/demo2One'
|
||||
// // // },
|
||||
{
|
||||
title: '法规清单',
|
||||
path: '/accessStandardsAndRegulations',
|
||||
menuId: '08dbd417864b08426034ca56d1fa3d02'
|
||||
},
|
||||
// // {
|
||||
// // title: '标准法规清单详情',
|
||||
// // path: '/details'
|
||||
// // }
|
||||
// // // {
|
||||
// // // title: '试验项目库',
|
||||
// // // path: '/demo2One'
|
||||
// // // },
|
||||
// // // {
|
||||
// // // title: '本地产品/项目库',
|
||||
// // // path: '/localProductsOrProjectLibrary'
|
||||
// // // },
|
||||
{
|
||||
title: '企业标准',
|
||||
path: '/enterpriseStandardDatabase',
|
||||
menuId: '01ed8f752748227777b3572d56ee9ab5'
|
||||
},
|
||||
// {
|
||||
// title: '企标制修订计划',
|
||||
// path: '/enterBSysRevPlanManaLib',
|
||||
// menuId: 'WW7YDHQ9Z679TGMDZMUS'
|
||||
// },
|
||||
// // {
|
||||
// // title: '子公司标准库',
|
||||
// // path: '/subsidiaryStandardLibrary'
|
||||
// // }
|
||||
/* {
|
||||
title: '车型/项目库',
|
||||
path: '/localProductsOrProjectLibrary',
|
||||
menuId: '42ce39c9f953be65a3e5643a4a2c786f'
|
||||
},*/
|
||||
{
|
||||
title: '未符合项',
|
||||
path: '/nonConfomity',
|
||||
menuId: '0119abd677e0204e061eb0f0b8cafda0'
|
||||
},
|
||||
{
|
||||
title: '工作组',
|
||||
path: '/workingGroup',
|
||||
},
|
||||
// {
|
||||
// title: '备案产品标准库',
|
||||
// path: '/enterpriseStandardFiling',
|
||||
// menuId: 'MQBAGJQMSRZDRX3X5AVR'
|
||||
// },
|
||||
{
|
||||
title: '合规评估', // 把 标准涉及项目 这几个字 改成 标准合规评估结果
|
||||
path: '/standInvolveProject',
|
||||
menuId: '8a9c87fe06244fb9d55e78fb281f625b'
|
||||
},
|
||||
// {
|
||||
// title: '企标制修订计划',
|
||||
// path: '/enterpriseStandardPlan',
|
||||
// // menuId: '8a9c87fe06244fb9d55e78fb281f625b'
|
||||
// }
|
||||
// {
|
||||
// title: '动态信息',
|
||||
// path: '/information',
|
||||
// menuId: 'ULUBXHYQB8M3XQ9HS9QG'
|
||||
// }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: '我的工作',
|
||||
path: '/processCenter',
|
||||
'icon-class': 'el-icon-s-platform',
|
||||
menuId: '3fadf',
|
||||
children: [
|
||||
{
|
||||
title: '流程中心',
|
||||
path: '/processCenter',
|
||||
menuId: '7455dc97eac2933341e18be659f07e89'
|
||||
},
|
||||
{
|
||||
title: '新建流程',
|
||||
path: '/createProcessNew',
|
||||
menuId: 'b53e6722b33a37c0fa2d87a9b06cca40'
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
title: '本地工具',
|
||||
path: '/localTool',
|
||||
'icon-class': 'el-icon-s-tools',
|
||||
menuId: 'afsd12',
|
||||
children: [
|
||||
// {
|
||||
// title: '标准预警',
|
||||
// path: '/standardWarning'
|
||||
// },
|
||||
{
|
||||
title: 'OCR识别',
|
||||
path: '/standardRecognition',
|
||||
menuId: '3db80f62af9d96d6dfc6d429eea4b29b'
|
||||
},
|
||||
{
|
||||
title: '标准拆分',
|
||||
path: '/standAutoSplit',
|
||||
menuId: '0062e261bc65e27e0a968dac67e16a3c'
|
||||
},
|
||||
{
|
||||
title: '标准比对',
|
||||
path: '/standContrast',
|
||||
menuId: '1d83a6278f781419f628e9f5560f5c86'
|
||||
},
|
||||
{
|
||||
title: '标准化活动日历',
|
||||
path: '/standCalendar',
|
||||
menuId: ''
|
||||
},
|
||||
// {
|
||||
// title: '标准比对库',
|
||||
// path: '/standardComparisonLibrary',
|
||||
// menuId: 'AH56UDHHBVF5V7WZFWJQ'
|
||||
// }
|
||||
// {
|
||||
// title: '预警管理',
|
||||
// path: '/warningManage'
|
||||
// },
|
||||
// {
|
||||
// title: '动态&通知管理',
|
||||
// path: '/dynamicInformationManage'
|
||||
// },
|
||||
// {
|
||||
// title: '标准编号申领',
|
||||
// path: '/applicationStandardNumber'
|
||||
// },
|
||||
]
|
||||
},
|
||||
{
|
||||
title: '标准预警',
|
||||
path: '/standardWarning',
|
||||
'icon-class': 'el-icon-warning',
|
||||
menuId: 'asfdew33',
|
||||
isChildren: true // 判断没有子菜单
|
||||
},
|
||||
// {
|
||||
// title: '技术要求清单',
|
||||
// path: '/skillReq',
|
||||
// children: [
|
||||
// {
|
||||
// title: '技术要求清单查看',
|
||||
// path: '/SkillReqSee'
|
||||
// },
|
||||
// {
|
||||
// title: '技术要求清单管理',
|
||||
// path: '/SkillReqAdd'
|
||||
// }
|
||||
// ]
|
||||
// },
|
||||
{
|
||||
title: '配置管理',
|
||||
path: '/config',
|
||||
'icon-class': 'el-icon-s-operation',
|
||||
menuId: 'adff323',
|
||||
children: [
|
||||
{
|
||||
title: '属性管理',
|
||||
path: '/standLawsAttrManage',
|
||||
menuId: '72a24657972d286b8b5d80735cf4eee2'
|
||||
},
|
||||
// {
|
||||
// title: '资料中心管理',
|
||||
// path: '/dynamicInformationManage',
|
||||
// menuId: '6V2QZ9STRZ'
|
||||
// },
|
||||
{
|
||||
title: '机构管理',
|
||||
path: '/MechanismManage',
|
||||
menuId: '5a09164da97760846509c5c9dd86b80c'
|
||||
},
|
||||
{
|
||||
title: '角色管理',
|
||||
path: '/roleManage',
|
||||
menuId: 'd73d0e230eafdb2ddefe1c97daf657ea'
|
||||
},
|
||||
{
|
||||
title: '岗位管理',
|
||||
path: '/postManage',
|
||||
menuId: 'd2954be3abaaf2de3dc79add4c8ab8cd'
|
||||
},
|
||||
// {
|
||||
// title: '用户管理',
|
||||
// path: '/userManage',
|
||||
// menuId: 'YRJUEVJVUJ'
|
||||
// },
|
||||
// {
|
||||
// title: '系统配置管理',
|
||||
// path: '/warningTimeSetting',
|
||||
// menuId: 'H2KC6P3PPM'
|
||||
// },
|
||||
// {
|
||||
// title: '文档转换监控',
|
||||
// path: '/convertDocView',
|
||||
// menuId: '3F52K25546'
|
||||
// },
|
||||
// {
|
||||
// title: '菜单管理',
|
||||
// path: '/menuManage',
|
||||
// menuId: '87b8b4f5817a7829696e63185c744d52'
|
||||
// },
|
||||
{
|
||||
title: '链接管理',
|
||||
path: '/linkManage',
|
||||
menuId: 'd3ff92078c53a4d9d1f1a94450fee91e'
|
||||
},
|
||||
// // {
|
||||
// // title: '保密管理',
|
||||
// // path: '/convertDocView'
|
||||
// // },
|
||||
// {
|
||||
// title: '动态信息管理',
|
||||
// path: '/DynamicInformations',
|
||||
// menuId: '3C87BSHJUF'
|
||||
// },
|
||||
{
|
||||
title: '属性配置',
|
||||
path: '/attributeCustom',
|
||||
menuId: '9cdb9b40157dd967b664b9af462b960b'
|
||||
},
|
||||
// // {
|
||||
// // title: '流程分类管理',
|
||||
// // path: '/processClassificationManage',
|
||||
// // menuId: 'N323F2UB9FTUV5SD3GTD'
|
||||
// // },
|
||||
// // {
|
||||
// // title: '流程管理',
|
||||
// // path: '/processManage',
|
||||
// // menuId: 'K5KXSS3X9CF7CS8AMFJ5'
|
||||
// // },
|
||||
// {
|
||||
// title: 'SVPPS',
|
||||
// path: '/svpps',
|
||||
// menuId: 'AR52RX586LQHVZSVV83K'
|
||||
// },
|
||||
// {
|
||||
// title: '企标编号管理体系',
|
||||
// path: '/enterpriseStandardNumberManagement',
|
||||
// menuId: '9YSFG39S3CBFUJCEU3QX'
|
||||
// }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: '个人中心',
|
||||
path: '/personal',
|
||||
'icon-class': 'el-icon-s-check',
|
||||
menuId: '32143ffasdf',
|
||||
children: [
|
||||
// {
|
||||
// title: '我的消息',
|
||||
// path: '/dynamics',
|
||||
// menuId: 'JCEV4AEV32'
|
||||
// },
|
||||
// {
|
||||
// title: '我的企标',
|
||||
// path: '/MyEnterpriseStandard',
|
||||
// menuId: 'LKU3W23UMEHDM9VLDHGK'
|
||||
// },
|
||||
{
|
||||
title: '我的收藏',
|
||||
path: '/collection',
|
||||
menuId: '63e999c65b1f2b1339119a00eb1d50cf'
|
||||
},
|
||||
// {
|
||||
// title: '我的浏览',
|
||||
// path: '/browsing',
|
||||
// menuId: 'HAEY2A4LMX'
|
||||
// },
|
||||
// {
|
||||
// title: '已收分享',
|
||||
// path: '/push',
|
||||
// menuId: '9F8T7DPYHE'
|
||||
// },
|
||||
// {
|
||||
// title: '已发分享',
|
||||
// path: '/forward',
|
||||
// menuId: 'K45Y9TGKZV2K4XP4CETD'
|
||||
// },
|
||||
// {
|
||||
// title: '我的问答',
|
||||
// path: '/questionsAndAnswers',
|
||||
// menuId: '8VKLZATQQG4NQHXV9UDS'
|
||||
// },
|
||||
{
|
||||
title: '我的板块',
|
||||
path: '/plate',
|
||||
menuId: 'e4a94f03223df6f4ad70732b96f07221'
|
||||
}
|
||||
// {
|
||||
// title: '个人信息',
|
||||
// path: '/info',
|
||||
// menuId: '8K7FDHG89G'
|
||||
// }
|
||||
]
|
||||
},
|
||||
// {
|
||||
// title: '搜索中心',
|
||||
// path: '/advancedSearch',
|
||||
// 'icon-class': 'search',
|
||||
// menuId: '1332FSFAD',
|
||||
// isChildren: true // 判断没有子菜单
|
||||
// },
|
||||
// {
|
||||
// title: '标准比对库',
|
||||
// path: '/standardComparisonLibrary',
|
||||
// 'icon-class': 'search',
|
||||
// menuId: 'Q32VBYVGCAE4XXN3XZ8T',
|
||||
// isChildren: true // 判断没有子菜单
|
||||
// }
|
||||
// {
|
||||
// title: '自定义报表',
|
||||
// path: '/customReport',
|
||||
// 'icon-class': 'baobiao',
|
||||
// isChildren: true // 判断没有子菜单
|
||||
// }
|
||||
]
|
||||
}
|
||||
},
|
||||
created () {
|
||||
// 获取当前页的path,赋值没左侧菜单,并展开
|
||||
if (this.$route.meta.parentPath) {
|
||||
this.defaultActive = this.$route.meta.parentPath
|
||||
} else {
|
||||
this.defaultActive = this.$route.path
|
||||
}
|
||||
},
|
||||
mounted () {
|
||||
},
|
||||
methods: {
|
||||
handleSelect (key, keyPath) {
|
||||
if (this.$route.path === key) {
|
||||
this.$router.go(0)
|
||||
}
|
||||
},
|
||||
handleToggleSideBar () {
|
||||
this.toggleSideBar(!this.isCollapse)
|
||||
},
|
||||
// 收展按钮
|
||||
collapseIcon() {
|
||||
return this.sideClose ? 'el-icon-arrow-left' : 'el-icon-arrow-right'
|
||||
// return 'el-icon-arrow-left'
|
||||
},
|
||||
...mapMutations(['toggleSideBar'])
|
||||
},
|
||||
computed: {
|
||||
logo () {
|
||||
// background: url("~@/assets/images/shangqi/home/logo2.png") no-repeat;
|
||||
// return this.isCollapse ? require('assets/images/shangqi/img/logo4.png') : require('assets/images/shangqi/img/logo5.png')
|
||||
return this.isCollapse ? require('assets/images/shangqi/img/logo4.png') : require('assets/images/shangqi/img/logo2.png')
|
||||
},
|
||||
...mapGetters(['getDynamicTotal', 'isCollapse'])
|
||||
},
|
||||
watch: {
|
||||
// 监听路由 重新渲染面包屑
|
||||
$route () {
|
||||
// 获取当前页的path,赋值没左侧菜单,并展开
|
||||
if (this.$route.meta.parentPath) {
|
||||
this.defaultActive = this.$route.meta.parentPath
|
||||
} else {
|
||||
this.defaultActive = this.$route.path
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// {
|
||||
// title: '国内外政策',
|
||||
// path: '/foreignRegulationsDatabase',
|
||||
|
||||
@@ -43,6 +43,12 @@
|
||||
return "";
|
||||
}
|
||||
},
|
||||
type: {
|
||||
type: String,
|
||||
default () {
|
||||
return "";
|
||||
}
|
||||
},
|
||||
urlChild: {
|
||||
type: String,
|
||||
default () {
|
||||
@@ -169,7 +175,7 @@
|
||||
|
||||
if (node.level >= 1) {
|
||||
setTimeout(() => {
|
||||
this.getChildByList(node.data.id, resolve);
|
||||
this.getChildByList(node.data.level,node.data.vppsCode, resolve);
|
||||
}, 500);
|
||||
return resolve([]); // 加上这个,防止在该节点没有子节点时一直转圈的问题发生。
|
||||
}
|
||||
@@ -186,8 +192,8 @@
|
||||
}
|
||||
})
|
||||
},
|
||||
getChildByList( _parentID,resolve) { // 获取子节点请求
|
||||
let params = {ids : _parentID};
|
||||
getChildByList( level,vppsCode,resolve) { // 获取子节点请求
|
||||
let params = {level : level,vppsCode :vppsCode,type : this.type};
|
||||
this.$http.get(this.urlChild, params, {
|
||||
_this: this
|
||||
}, res => {
|
||||
@@ -200,7 +206,7 @@
|
||||
},
|
||||
loadTreeData(resolve) {
|
||||
// 获取loadtreeData 就是父节点数据,getChildByList就是异步获取子节点数据
|
||||
this.$http.get(this.url, '', {
|
||||
this.$http.get(this.url, {type : this.type}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
if(res.data){
|
||||
|
||||
@@ -54,15 +54,10 @@ import { mapMutations, mapActions } from 'vuex'
|
||||
|
||||
// 路由拦截
|
||||
router.beforeEach(function (to, from, next) {
|
||||
console.log("auth : to =>", to);
|
||||
console.log(webLoginType)
|
||||
let toName = to.name
|
||||
let token = store.state.token
|
||||
let path = to.path;
|
||||
let requireAuth = to.meta.requireAuth;
|
||||
console.log("auth : path =>" + path);
|
||||
console.log("token : token =>" + token);
|
||||
console.log("requireAuth : requireAuth =>" + requireAuth);
|
||||
let taskId = to.query.taskIds;
|
||||
let prcId = to.query.prcId;
|
||||
let prcNum = to.query.prcNum;
|
||||
@@ -71,7 +66,6 @@ router.beforeEach(function (to, from, next) {
|
||||
let routerType = to.query.routerType;
|
||||
let param = "taskIds=" + taskId + "&prcId=" + prcId
|
||||
+ "&prcNum=" + prcNum + "&prcName=" + prcName + "&prcType=" + prcType;
|
||||
console.log(store)
|
||||
let url = window.location.search
|
||||
let code = "";
|
||||
if(url){
|
||||
@@ -232,7 +226,6 @@ router.beforeEach(function (to, from, next) {
|
||||
next({path: routerPath + '?' + param2})
|
||||
}
|
||||
}
|
||||
console.log("res : res =>", res);
|
||||
})
|
||||
}
|
||||
if(path === '/loginVerify'){
|
||||
|
||||
@@ -1194,7 +1194,6 @@ export default {
|
||||
methods: {
|
||||
child1Func(child1){
|
||||
const list = []
|
||||
console.log(child1)
|
||||
if(child1 && child1.length > 1){
|
||||
list.push(child1[0])
|
||||
return list
|
||||
@@ -2157,7 +2156,6 @@ export default {
|
||||
const [displayLocation, {attrInfoMap: dynamicFormField}, formFieldList] = values
|
||||
// const relatedPlansRes = await this.queryRelatedPlans()
|
||||
// const relatedPlans = relatedPlansRes.list
|
||||
console.log(formFieldList)
|
||||
formFieldList.forEach((field) => {
|
||||
displayLocation.forEach((location) => {
|
||||
location.isShowImp = '0'
|
||||
@@ -2194,16 +2192,12 @@ export default {
|
||||
displayLocation.forEach(location => {
|
||||
// 动态属性字段-FBGBJBD 单独添加至基础信息
|
||||
const list = displayLocation.filter ( item => item.label === '过程稿件');
|
||||
console.log(list)
|
||||
if(location.label === '基础信息' && list && list.length > 0){
|
||||
if (!list[0].child) {
|
||||
location['child1'] = []
|
||||
}else {
|
||||
const childList = list[0].child.filter ( item => item.attrField === 'FBGBUSS');
|
||||
console.log(childList)
|
||||
console.log(childList.length)
|
||||
location['child1'] = childList
|
||||
console.log(location['child1'])
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -148,7 +148,6 @@
|
||||
}
|
||||
let list
|
||||
list = res.data.slice(0, c)
|
||||
console.log(list)
|
||||
this.linkList = list
|
||||
})
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
<div class="action-bar">
|
||||
<el-button v-btn-permission="'SRE2ZRX3MJSSH5YYLRGH'" size="mini" @click="importItemInfo" ><i class="iconfont"></i>导入</el-button>
|
||||
<el-button v-btn-permission="''" size="mini" @click="exportItemInfo"><i class="iconfont"></i>导出</el-button>
|
||||
<!-- <el-button v-btn-permission="''" size="mini" @click="judgebatchDeleteItem"><i class="iconfont"></i>删除</el-button>-->
|
||||
<el-button v-btn-permission="''" size="mini" @click="judgebatchDeleteItem"><i class="iconfont"></i>删除</el-button>
|
||||
<el-button v-btn-permission="'QULWGFSB3NMP84REU7BP'" size="mini" @click="uploadImportModal"><i class="iconfont"></i>模板下载</el-button>
|
||||
<el-button v-btn-permission="''" size="mini" @click="batchCopy">批量复制</el-button>
|
||||
<el-button v-btn-permission="'TE39XUT4KRTPZGQH5KLF'" size="mini" @click="combineItems">合并条款</el-button>
|
||||
|
||||
@@ -372,6 +372,7 @@ export default {
|
||||
}, res => {
|
||||
this.spinShow = false
|
||||
this.$message.warning(res.data)
|
||||
this.$router.push('/standContrast')
|
||||
}, e => {
|
||||
})
|
||||
})
|
||||
|
||||
@@ -182,7 +182,7 @@ export default {
|
||||
},
|
||||
page () {
|
||||
this.spinShow = true
|
||||
this.$http.get('lawss/sarItemsCompareHis/page', {
|
||||
this.$http.get('lawss/sarStandItemsCompareHis/page', {
|
||||
page: this.splitInfoPage,
|
||||
pageSize: this.splitInfoPageSize,
|
||||
standHisId: JSON.parse(this.$route.query.row).id
|
||||
|
||||
@@ -93,7 +93,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<el-dialog :visible.sync="resultModal" title="比对结果" width="80%" class="standerModal">
|
||||
<div class="standerModal-content">
|
||||
<div class="content-header">
|
||||
@@ -109,7 +108,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</el-dialog>
|
||||
|
||||
<loading :loading="spinShow">数据加载中……</loading>
|
||||
</div>
|
||||
</template>
|
||||
@@ -517,7 +515,7 @@ export default {
|
||||
return el.offsetTop - el.parentNode.offsetTop;
|
||||
}
|
||||
const offsetTop = getElementTop(domId)
|
||||
/*$('#contentLeft').children('.wrap-right').animate({scrollTop: offsetTop},500)*/
|
||||
$('#contentLeft').children('.wrap-right').animate({scrollTop: offsetTop},500)
|
||||
},
|
||||
|
||||
handleRightTreeClick(treeId, treeNode) {
|
||||
@@ -530,7 +528,7 @@ export default {
|
||||
return el.offsetTop - el.parentNode.offsetTop;
|
||||
}
|
||||
const offsetTop = getElementTop(domId)
|
||||
/*$('#contentRight').children('.wrap-right').animate({scrollTop: offsetTop},500)*/
|
||||
$('#contentRight').children('.wrap-right').animate({scrollTop: offsetTop},500)
|
||||
}
|
||||
},
|
||||
components: {
|
||||
|
||||
@@ -65,22 +65,22 @@
|
||||
align="center"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column :label="this.$t('m.textState')" width="150" align="center">
|
||||
<template slot-scope="scope">
|
||||
{{
|
||||
scope.row.fileType === "STAND_FILE"
|
||||
? "标准文本"
|
||||
: scope.row.fileType === "DRAFT_FILE"
|
||||
? "草案"
|
||||
: scope.row.fileType === "OPINION_FILE"
|
||||
? "征求意见稿"
|
||||
: scope.row.fileType === "SENT_SCREEN_FILE"
|
||||
? "送审稿"
|
||||
: scope.row.fileType === "APPROVAL_FILE"
|
||||
? "报批稿"
|
||||
: "关联文件"
|
||||
}}
|
||||
</template>
|
||||
<el-table-column :label="this.$t('m.textState')" width="150" align="center" prop="fileType">
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- {{-->
|
||||
<!-- scope.row.fileType === "STAND_FILE"-->
|
||||
<!-- ? "标准文本"-->
|
||||
<!-- : scope.row.fileType === "DRAFT_FILE"-->
|
||||
<!-- ? "草案"-->
|
||||
<!-- : scope.row.fileType === "OPINION_FILE"-->
|
||||
<!-- ? "征求意见稿"-->
|
||||
<!-- : scope.row.fileType === "SENT_SCREEN_FILE"-->
|
||||
<!-- ? "送审稿"-->
|
||||
<!-- : scope.row.fileType === "APPROVAL_FILE"-->
|
||||
<!-- ? "报批稿"-->
|
||||
<!-- : "关联文件"-->
|
||||
<!-- }}-->
|
||||
<!-- </template>-->
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="resultContent"
|
||||
@@ -203,9 +203,9 @@
|
||||
<el-select class="bead-input" v-model="uploadFilesdfEo.fileType">
|
||||
<el-option
|
||||
v-for="item in options"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
:value="item.value"
|
||||
:key="item.id"
|
||||
:label="item.attrName"
|
||||
:value="item.attrName"
|
||||
>
|
||||
</el-option>
|
||||
</el-select>
|
||||
@@ -713,6 +713,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import axios from 'axios'
|
||||
export default {
|
||||
name: "StandardRecognition",
|
||||
components: {},
|
||||
@@ -784,30 +785,30 @@ export default {
|
||||
]
|
||||
},
|
||||
options: [
|
||||
{
|
||||
value: "STAND_FILE",
|
||||
label: "标准文本",
|
||||
},
|
||||
{
|
||||
value: "DRAFT_FILE",
|
||||
label: "草案",
|
||||
},
|
||||
{
|
||||
value: "OPINION_FILE",
|
||||
label: "征求意见稿",
|
||||
},
|
||||
{
|
||||
value: "SENT_SCREEN_FILE",
|
||||
label: "送审稿",
|
||||
},
|
||||
{
|
||||
value: "APPROVAL_FILE",
|
||||
label: "报批稿",
|
||||
},
|
||||
{
|
||||
value: "RELEVANCE_FILE",
|
||||
label: "关联文件",
|
||||
},
|
||||
// {
|
||||
// value: "STAND_FILE",
|
||||
// label: "标准文本",
|
||||
// },
|
||||
// {
|
||||
// value: "DRAFT_FILE",
|
||||
// label: "草案",
|
||||
// },
|
||||
// {
|
||||
// value: "OPINION_FILE",
|
||||
// label: "征求意见稿",
|
||||
// },
|
||||
// {
|
||||
// value: "SENT_SCREEN_FILE",
|
||||
// label: "送审稿",
|
||||
// },
|
||||
// {
|
||||
// value: "APPROVAL_FILE",
|
||||
// label: "报批稿",
|
||||
// },
|
||||
// {
|
||||
// value: "RELEVANCE_FILE",
|
||||
// label: "关联文件",
|
||||
// },
|
||||
],
|
||||
/* standRecoColumn: [
|
||||
{
|
||||
@@ -1340,8 +1341,8 @@ export default {
|
||||
).standName;
|
||||
// this.uploadFilesdfEo.fileType = JSON.parse(JSON.stringify(row)).fileType
|
||||
this.options.map((item) => {
|
||||
if (item.value === JSON.parse(JSON.stringify(row)).fileType) {
|
||||
this.uploadFilesdfEo.fileType = item.label;
|
||||
if (item.attrName === JSON.parse(JSON.stringify(row)).fileType) {
|
||||
this.uploadFilesdfEo.fileType = item.attrName;
|
||||
}
|
||||
});
|
||||
this.uploadFilesdfEo.id = JSON.parse(JSON.stringify(row)).id;
|
||||
@@ -1528,6 +1529,12 @@ export default {
|
||||
computed: {},
|
||||
created() {},
|
||||
mounted() {
|
||||
this.$http.get('lawss/sarStandAttrDetails/getListData', '', {
|
||||
_this: this
|
||||
}, res => {
|
||||
this.options = res.data
|
||||
console.log(this.options);
|
||||
})
|
||||
this.getTableData();
|
||||
},
|
||||
destroyed() {},
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<div class="dynamic-content">
|
||||
<!-- 实施预警 -->
|
||||
<div class="dynamic" style="overflow-y: auto;">
|
||||
<div class="container" :style="containerStyle">
|
||||
<div class="container" >
|
||||
<!-- <el-tabs v-model="activeName" @tab-click="handleClick">-->
|
||||
<!-- <el-tab-pane label="标准预警" name="STANDARD">-->
|
||||
<div class="dynamic-content">
|
||||
@@ -14,7 +14,7 @@
|
||||
<div class="more">
|
||||
<el-form :inline="true" :model="dynamic" class="demo-form-inline">
|
||||
<el-row :gutter="24">
|
||||
<el-col span="24">
|
||||
<el-col>
|
||||
<el-form-item label="标准编号">
|
||||
<el-input clearable size="mini"
|
||||
v-model="dynamic.standCode"
|
||||
@@ -57,12 +57,12 @@
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row :gutter="24">
|
||||
<el-col span="24">
|
||||
<el-col>
|
||||
<el-form-item label="实施日期" style="margin-right: 10px" class="choose-time-area">
|
||||
<el-date-picker
|
||||
size="mini"
|
||||
clearable
|
||||
v-model="dynamic.putTime"
|
||||
v-model="dynamic.SSRQ"
|
||||
value-format="yyyy-MM-dd"
|
||||
type="daterange"
|
||||
range-separator="-"
|
||||
@@ -74,7 +74,7 @@
|
||||
<el-date-picker
|
||||
size="mini"
|
||||
clearable
|
||||
v-model="dynamic.putTime"
|
||||
v-model="dynamic.XCXSSRQ"
|
||||
value-format="yyyy-MM-dd"
|
||||
type="daterange"
|
||||
range-separator="-"
|
||||
@@ -86,7 +86,7 @@
|
||||
<el-date-picker
|
||||
size="mini"
|
||||
clearable
|
||||
v-model="dynamic.putTime"
|
||||
v-model="dynamic.ZCCSSRQ"
|
||||
value-format="yyyy-MM-dd"
|
||||
type="daterange"
|
||||
range-separator="-"
|
||||
@@ -116,13 +116,13 @@
|
||||
<div class="content">
|
||||
<!-- <el-divider content-position="left" class="dynamic-child-title">实施日期预警</el-divider>-->
|
||||
<el-table
|
||||
:data="newItems"
|
||||
:data="warningTableDatas"
|
||||
style="overflow-y: auto;"
|
||||
:height="warningTableHeight"
|
||||
height="100%"
|
||||
border
|
||||
:resizable="false"
|
||||
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}"
|
||||
v-loading="loading.newItems"
|
||||
v-loading="warningTableLoading"
|
||||
>
|
||||
<el-table-column prop="standType" label="类型" width="100" align="center">
|
||||
<template slot-scope="scope">
|
||||
@@ -143,34 +143,34 @@
|
||||
<a @click="handlePreview(scope.row)">{{ scope.row.standName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="standCode" label="条款编号" width="200" align="center">
|
||||
<el-table-column prop="itemsNum" label="条款编号" width="200" align="center">
|
||||
<template slot-scope="scope">
|
||||
<a @click="handlePreview(scope.row)">{{ scope.row.standCode }}</a>
|
||||
<a @click="handlePreview(scope.row)">{{ scope.row.itemsNum }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="standName" width="320" label="条款名称" align="center">
|
||||
<el-table-column prop="itemsName" width="320" label="条款名称" align="center">
|
||||
<template slot-scope="scope">
|
||||
<a @click="handlePreview(scope.row)">{{ scope.row.standName }}</a>
|
||||
<a @click="handlePreview(scope.row)">{{ scope.row.itemsName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="putTime" label="发布日期" width="120" align="center" sortable>
|
||||
<template slot-scope="scope">
|
||||
<span>{{ scope.row.putTime ? $moment(scope.row.putTime).format('YYYY-MM-DD') : '' }}</span>
|
||||
<span>{{ scope.row.putTime ? scope.row.putTime.substring(0, 10) : '' }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="putTime" label="实施日期" width="120" align="center" sortable>
|
||||
<el-table-column prop="ssrq" label="实施日期" width="120" align="center" sortable>
|
||||
<template slot-scope="scope">
|
||||
<span>{{ scope.row.putTime ? $moment(scope.row.putTime).format('YYYY-MM-DD') : '' }}</span>
|
||||
<span>{{ scope.row.ssrq ? scope.row.ssrq.substring(0,10) : '' }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="putTime" label="新车型实施日期" width="150" align="center" sortable>
|
||||
<el-table-column prop="xcxssrq" label="新车型实施日期" width="150" align="center" sortable>
|
||||
<template slot-scope="scope">
|
||||
<span>{{ scope.row.putTime ? $moment(scope.row.putTime).format('YYYY-MM-DD') : '' }}</span>
|
||||
<span>{{ scope.row.xcxssrq ? scope.row.xcxssrq.substring(0,10) : '' }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="putTime" label="在产车实施日期" width="150" align="center" sortable>
|
||||
<el-table-column prop="zccssrq" label="在产车实施日期" width="150" align="center" sortable>
|
||||
<template slot-scope="scope">
|
||||
<span>{{ scope.row.putTime ? $moment(scope.row.putTime).format('YYYY-MM-DD') : '' }}</span>
|
||||
<span>{{ scope.row.zccssrq ? scope.row.zccssrq.substring(0,10) : '' }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="applyType" label="适用车型" align="center">
|
||||
@@ -187,173 +187,12 @@
|
||||
</el-table>
|
||||
<pagination
|
||||
style="position: static;"
|
||||
:page="pageConfig.newItemsPage"
|
||||
:pageSize="pageConfig.newItemsPageSize"
|
||||
:total="pageConfig.count1"
|
||||
:page="pageConfig.page"
|
||||
:pageSize="pageConfig.pageSize"
|
||||
:total="pageConfig.total"
|
||||
autoSize
|
||||
@pageChange="page => handlePageChange('newItems', page)"
|
||||
@pageSizeChange="pageSize => handlePageSizeChange('newItems', pageSize)"></pagination>
|
||||
<!-- <el-divider content-position="left" class="dynamic-child-title">在产车实施日期预警</el-divider>-->
|
||||
<!-- <el-table-->
|
||||
<!-- :data="oldItems"-->
|
||||
<!-- :height="height"-->
|
||||
<!-- border-->
|
||||
<!-- :resizable="false"-->
|
||||
<!-- :header-cell-style="{background: '#f8f8f9', color: '#515a6e'}"-->
|
||||
<!-- v-loading="loading.oldItems"-->
|
||||
<!-- >-->
|
||||
<!-- <el-table-column prop="sortName" label="类型" align="center">-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <div v-if="scope.row.sortName === 'BUSINESS_STAND'">企业标准</div>-->
|
||||
<!-- <div v-if="scope.row.standType === 'FOREIGN'">海外标准法规</div>-->
|
||||
<!-- <div v-if="scope.row.standType === 'INLAND'">国内标准法规</div>-->
|
||||
<!-- <div v-if="scope.row.sortName === 'INLAND_LAWS'">国内政策</div>-->
|
||||
<!-- <div v-if="scope.row.sortName === 'FOREIGN_LAWS'">国外政策</div>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column prop="standCode" label="标准编号" align="center">-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <a @click="handlePreview(scope.row)">{{ scope.row.standCode }}</a>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column prop="standName" width="320" label="标准名称" align="center">-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <a @click="handlePreview(scope.row)">{{ scope.row.standName }}</a>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column prop="putTime" label="在产车实施日期" align="center" sortable>-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <span>{{ scope.row.putTime ? $moment(scope.row.putTime).format('YYYY-MM-DD') : '' }}</span>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column prop="applyType" label="适用车型" align="center">-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column label="操作" align="center" v-if="isShowBtn">-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <el-button-->
|
||||
<!-- size="mini"-->
|
||||
<!-- type="danger"-->
|
||||
<!-- @click="cancelWarning(scope.$index, scope.row)">取消预警-->
|
||||
<!-- </el-button>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- </el-table>-->
|
||||
<!-- <pagination-->
|
||||
<!-- style="position: static;"-->
|
||||
<!-- :page="pageConfig.oldItemsPage"-->
|
||||
<!-- :pageSize="pageConfig.oldItemsPageSize"-->
|
||||
<!-- :total="pageConfig.count2"-->
|
||||
<!-- autoSize-->
|
||||
<!-- @pageChange="page => handlePageChange('oldItems', page)"-->
|
||||
<!-- @pageSizeChange="pageSize => handlePageSizeChange('oldItems', pageSize)"></pagination>-->
|
||||
<!-- <el-divider content-position="left" class="dynamic-child-title">新车型条款预警</el-divider>-->
|
||||
<!-- <el-table-->
|
||||
<!-- :data="newStand"-->
|
||||
<!-- :height="height"-->
|
||||
<!-- border-->
|
||||
<!-- :resizable="false"-->
|
||||
<!-- :header-cell-style="{background: '#f8f8f9', color: '#515a6e'}"-->
|
||||
<!-- v-loading="loading.newStand"-->
|
||||
<!-- >-->
|
||||
<!-- <el-table-column prop="standCode" label="标准编号" align="center">-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <a @click="handlePreview(scope.row)">{{ scope.row.standCode }}</a>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column prop="standName" width="320" label="标准名称" align="center">-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <a @click="handlePreview(scope.row)">{{ scope.row.standName }}</a>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column prop="itemsNum" label="条款号" align="center">-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <div>{{ scope.row.itemsNum }}</div>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column prop="itemsName" label="条款要求" align="center">-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <div>{{ scope.row.itemsName }}</div>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column prop="putTime" label="实施日期" align="center" sortable>-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <span>{{ scope.row.putTime ? $moment(scope.row.putTime).format('YYYY-MM-DD') : '' }}</span>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column prop="applyType" label="适用车型" align="center">-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column label="操作" align="center" v-if="isShowBtn">-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <el-button-->
|
||||
<!-- size="mini"-->
|
||||
<!-- type="danger"-->
|
||||
<!-- @click="cancelWarning(scope.$index, scope.row)">取消预警-->
|
||||
<!-- </el-button>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- </el-table>-->
|
||||
<!-- <pagination-->
|
||||
<!-- style="position: static;"-->
|
||||
<!-- :page="pageConfig.newStandPage"-->
|
||||
<!-- :pageSize="pageConfig.newStandPageSize"-->
|
||||
<!-- :total="pageConfig.count3"-->
|
||||
<!-- autoSize-->
|
||||
<!-- @pageChange="page => handlePageChange('newStand', page)"-->
|
||||
<!-- @pageSizeChange="pageSize => handlePageSizeChange('newStand', pageSize)"></pagination>-->
|
||||
<!-- <el-divider content-position="left" class="dynamic-child-title">在产车条款预警</el-divider>-->
|
||||
<!-- <el-table-->
|
||||
<!-- :data="oldStand"-->
|
||||
<!-- :height="height"-->
|
||||
<!-- border-->
|
||||
<!-- :resizable="false"-->
|
||||
<!-- :header-cell-style="{background: '#f8f8f9', color: '#515a6e'}"-->
|
||||
<!-- v-loading="loading.oldStand"-->
|
||||
<!-- >-->
|
||||
<!-- <el-table-column prop="standCode" label="标准编号" align="center">-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <a @click="handlePreview(scope.row)">{{ scope.row.standCode }}</a>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column prop="standName" width="320" label="标准名称" align="center">-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <a @click="handlePreview(scope.row)">{{ scope.row.standName }}</a>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column prop="itemsNum" label="条款号" align="center">-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <div>{{ scope.row.itemsNum }}</div>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column prop="itemsName" label="条款要求" align="center">-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <div>{{ scope.row.itemsName }}</div>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column prop="putTime" label="实施日期" align="center" sortable>-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <span>{{ scope.row.putTime ? $moment(scope.row.putTime).format('YYYY-MM-DD') : '' }}</span>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column prop="applyType" label="适用车型" align="center">-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column label="操作" align="center" v-if="isShowBtn">-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <el-button-->
|
||||
<!-- size="mini"-->
|
||||
<!-- type="danger"-->
|
||||
<!-- @click="cancelWarning(scope.$index, scope.row)">取消预警-->
|
||||
<!-- </el-button>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- </el-table>-->
|
||||
<!-- <pagination-->
|
||||
<!-- style="position: static;"-->
|
||||
<!-- :page="pageConfig.oldStandPage"-->
|
||||
<!-- :pageSize="pageConfig.oldStandPageSize"-->
|
||||
<!-- :total="pageConfig.count4"-->
|
||||
<!-- autoSize-->
|
||||
<!-- @pageChange="page => handlePageChange('oldStand', page)"-->
|
||||
<!-- @pageSizeChange="pageSize => handlePageSizeChange('oldStand', pageSize)"></pagination>-->
|
||||
@pageChange="page => handlePageChange('page', page)"
|
||||
@pageSizeChange="pageSize => handlePageSizeChange('pageSize', pageSize)"></pagination>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -370,6 +209,8 @@ export default {
|
||||
name: "standardWarning",
|
||||
data() {
|
||||
return {
|
||||
//
|
||||
warningTableDatas:[],
|
||||
warningTableHeight: '',
|
||||
applyArcticOptions: [], // 适用车型下拉框
|
||||
isShowBtn: true,
|
||||
@@ -380,8 +221,14 @@ export default {
|
||||
standCode: "",
|
||||
//标准名称
|
||||
standName: "",
|
||||
//发布日期
|
||||
putTime: [],
|
||||
//实施日期
|
||||
putTime: "",
|
||||
SSRQ: [],
|
||||
//新车型实施日期
|
||||
XCXSSRQ: [],
|
||||
//在产车实施日期
|
||||
ZCCSSRQ: [],
|
||||
//适用车型
|
||||
applyType: "",
|
||||
},
|
||||
@@ -402,33 +249,11 @@ export default {
|
||||
oldPolicy: [],
|
||||
tableHeight: 0,
|
||||
pageConfig: {
|
||||
newItemsPage: 1,
|
||||
newItemsPageSize: 10,
|
||||
count1: 0,
|
||||
newStandPage: 1,
|
||||
newStandPageSize: 10,
|
||||
count2: 0,
|
||||
oldItemsPage: 1,
|
||||
oldItemsPageSize: 10,
|
||||
count3: 0,
|
||||
oldStandPage: 1,
|
||||
oldStandPageSize: 10,
|
||||
count4: 0,
|
||||
newPolicyPage: 1,
|
||||
newPolicyPageSize: 10,
|
||||
count5: 0,
|
||||
oldPolicyPage: 1,
|
||||
oldPolicyPageSize: 10,
|
||||
count6: 0,
|
||||
},
|
||||
loading: {
|
||||
newItems: false,
|
||||
oldItems: false,
|
||||
newStand: false,
|
||||
oldStand: false,
|
||||
newPolicy: false,
|
||||
oldPolicy: false,
|
||||
page: 1,
|
||||
pageSize: 10,
|
||||
total: 0,
|
||||
},
|
||||
warningTableLoading: false,
|
||||
// 记录当前分页器是哪个预警信息触发
|
||||
field: ''
|
||||
};
|
||||
@@ -436,8 +261,8 @@ export default {
|
||||
methods: {
|
||||
// 获取标准预警数据 (type用于区别分页器切换)
|
||||
getEarlyDate() {
|
||||
this.loading[this.field] = true
|
||||
this.$http.get('sys/EarlyWarning/StandWarning', {
|
||||
this.warningTableLoading = true
|
||||
this.$http.get('sys/EarlyWarning/getStandWarning', {
|
||||
applyType: '',
|
||||
...this.pageConfig
|
||||
}, {
|
||||
@@ -516,9 +341,7 @@ export default {
|
||||
break
|
||||
}
|
||||
}
|
||||
for (const loading in this.loading) {
|
||||
this.loading[loading] = false
|
||||
}
|
||||
this.warningTableLoading = false
|
||||
}, e => {
|
||||
});
|
||||
},
|
||||
@@ -579,30 +402,56 @@ export default {
|
||||
},
|
||||
//查找适用车型
|
||||
searchBtnClick() {
|
||||
this.$http.get('sys/EarlyWarning/StandWarning', {
|
||||
this.warningTableLoading = true
|
||||
this.$http.get('sys/EarlyWarning/getStandWarning', {
|
||||
...this.pageConfig,
|
||||
//标准编号
|
||||
standCode: this.dynamic.standCode,
|
||||
//标准名称
|
||||
standName: this.dynamic.standName,
|
||||
//发布日期
|
||||
startPutTime: this.dynamic.putTime[0],
|
||||
endPutTime: this.dynamic.putTime[1],
|
||||
//实施日期
|
||||
putTime: this.dynamic.putTime[0],
|
||||
lastTime: this.dynamic.putTime[1],
|
||||
startSSRQ: this.dynamic.SSRQ[0],
|
||||
endSSRQ: this.dynamic.SSRQ[1],
|
||||
//新车型实施日期
|
||||
startXCXSSRQ: this.dynamic.XCXSSRQ[0],
|
||||
endXCXSSRQ: this.dynamic.XCXSSRQ[1],
|
||||
//在产车实施日期
|
||||
startZCCSSRQ: this.dynamic.ZCCSSRQ[0],
|
||||
endZCCSSRQ: this.dynamic.ZCCSSRQ[1],
|
||||
//适用车型
|
||||
applyType: this.dynamic.applyType
|
||||
}, {
|
||||
_this: this,
|
||||
}, res => {
|
||||
const result = res.data[0]
|
||||
for (const type in result) {
|
||||
this[type] = result[type].records
|
||||
console.log('608',res)
|
||||
// 适用车型转换
|
||||
for (let a = 0; a < res.data.records.length; a++) {
|
||||
if (res.data.records[a].applyType !== null) {
|
||||
let k = (res.data.records[a].applyType || "").split(",");
|
||||
for (let i in this.energyKindOptions) {
|
||||
for (let m = 0; m < k.length; m++) {
|
||||
if (this.energyKindOptions[i].value === k[m]) {
|
||||
k[m] = this.energyKindOptions[i].label;
|
||||
}
|
||||
res.data.records[a].applyType = k.join(",");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
this.newItemsPage = 1
|
||||
this.oldItemsPage = 1
|
||||
this.newStandPage = 1
|
||||
this.oldStandPage = 1
|
||||
this.newPolicyPage = 1
|
||||
this.oldPolicypage = 1
|
||||
this.warningTableDatas = res.data.records
|
||||
this.pageConfig.page = res.data.current
|
||||
if ((this.warningTableDatas.length === 0 || this.warningTableDatas === []) && this.pageConfig.page !== 1) {
|
||||
this.warningTableLoading = true
|
||||
this.handlePageChange('page', 1)
|
||||
}else {
|
||||
this.warningTableLoading = false
|
||||
}
|
||||
this.pageConfig.pageSize = res.data.size
|
||||
this.pageConfig.total = res.data.total
|
||||
// this.warningTableLoading = false
|
||||
}, e => {
|
||||
})
|
||||
},
|
||||
@@ -612,11 +461,18 @@ export default {
|
||||
standCode: "",
|
||||
//标准名称
|
||||
standName: "",
|
||||
//发布日期
|
||||
putTime: [],
|
||||
//实施日期
|
||||
putTime: "",
|
||||
SSRQ: [],
|
||||
//新车型实施日期
|
||||
XCXSSRQ: [],
|
||||
//在产车实施日期
|
||||
ZCCSSRQ: [],
|
||||
//适用车型
|
||||
applyType: "",
|
||||
}
|
||||
this.pageConfig.page = 1
|
||||
this.searchBtnClick()
|
||||
},
|
||||
//取消预警
|
||||
@@ -631,12 +487,10 @@ export default {
|
||||
this.$http.get('sys/EarlyWarning/ChangePermissions', {
|
||||
id: row.id,
|
||||
}, {}, res => {
|
||||
this.pageConfig.newItemsPage = 1
|
||||
this.pageConfig.oldItemsPage = 1
|
||||
this.pageConfig.newStandPage = 1
|
||||
this.pageConfig.oldStandPage = 1
|
||||
this.pageConfig.page = 1
|
||||
this.pageConfig.newPolicyPage = 1
|
||||
this.pageConfig.oldPolicyPage = 1
|
||||
this.searchBtnClick()
|
||||
this.getEarlyDate()
|
||||
}
|
||||
)
|
||||
@@ -714,41 +568,21 @@ export default {
|
||||
return date !== undefined && date != null ? date.split(" ")[0] : "";
|
||||
},
|
||||
handlePageChange(field, page) {
|
||||
switch (field) {
|
||||
// 新车型实施日期预警
|
||||
case 'newItems':
|
||||
this.pageConfig.newItemsPage = page
|
||||
break
|
||||
// 新车型条款预警
|
||||
case 'newStand':
|
||||
this.pageConfig.newStandPage = page
|
||||
break
|
||||
// 在产车实施日期预警
|
||||
case 'oldItems':
|
||||
this.pageConfig.oldItemsPage = page
|
||||
break
|
||||
// 在产车条款预警
|
||||
case 'oldStand':
|
||||
this.pageConfig.oldStandPage = page
|
||||
break
|
||||
// 政策新车型实施日期预警
|
||||
case 'newPolicy':
|
||||
this.pageConfig.newPolicyPage = page
|
||||
break
|
||||
//政策 在产车实施日期预警
|
||||
case 'oldPolicy':
|
||||
this.pageConfig.oldPolicyPage = page
|
||||
break
|
||||
}
|
||||
this.pageConfig.page = page
|
||||
this.searchBtnClick()
|
||||
console.log('735',this.warningTableDatas)
|
||||
this.activeName === 'STANDARD' ? this.getEarlyDate() : this.getPolicyDate()
|
||||
this.field = field
|
||||
},
|
||||
//分页每页显示数改变后方法
|
||||
handlePageSizeChange(field, pageSize) {
|
||||
const _pageSize = field + 'PageSize'
|
||||
this.pageConfig[_pageSize] = pageSize
|
||||
this.activeName === 'STANDARD' ? this.getEarlyDate() : this.getPolicyDate()
|
||||
this.field = field
|
||||
// const _pageSize = field + 'PageSize'
|
||||
// this.pageConfig[_pageSize] = pageSize
|
||||
this.pageConfig.pageSize = pageSize
|
||||
this.searchBtnClick()
|
||||
console.log('771',this.warningTableDatas)
|
||||
// this.activeName === 'STANDARD' ? this.getEarlyDate() : this.getPolicyDate()
|
||||
// this.field = field
|
||||
},
|
||||
...mapMutations(["setDetailMap"])
|
||||
},
|
||||
@@ -759,22 +593,27 @@ export default {
|
||||
},
|
||||
computed: {
|
||||
containerStyle() {
|
||||
return this.activeName === 'POLICY' ? {
|
||||
height: '100%'
|
||||
} : {}
|
||||
this.$nextTick(() => {
|
||||
return this.activeName === 'POLICY' ? {
|
||||
height: '100%'
|
||||
} : {}
|
||||
})
|
||||
}
|
||||
},
|
||||
watch: {},
|
||||
mounted() {
|
||||
this.warningTableHeight = $(window).height()*0.54
|
||||
window.onresize = () => {
|
||||
this.warningTableHeight = $(window).height()*0.54;
|
||||
};
|
||||
this.warningTableLoading = true
|
||||
// this.$nextTick(() => {
|
||||
// this.warningTableHeight = $(window).height()*0.54
|
||||
// window.onresize = () => {
|
||||
// this.warningTableHeight = $(window).height()*0.54;
|
||||
// };
|
||||
// })
|
||||
// alert(this.warningTableHeight)
|
||||
this.height = $(".content").height();
|
||||
window.onresize = () => {
|
||||
this.height = $(".content").height();
|
||||
};
|
||||
// this.height = $(".content").height();
|
||||
// window.onresize = () => {
|
||||
// this.height = $(".content").height();
|
||||
// };
|
||||
//从数据库中查询下拉框数据
|
||||
this.$http.get("sys/dictype/getDicTypeListCode", {}, {
|
||||
_this: this
|
||||
@@ -782,101 +621,25 @@ export default {
|
||||
this.energyKindOptions = res.data.ENERGYTYPES; // 文本状态
|
||||
this.applyArcticOptions = res.data.ENERGYTYPES // 适用车型
|
||||
this.zrgcs = res.data.ZRGCSCLASS;
|
||||
this.loading[this.field] = true
|
||||
this.$http.get('sys/EarlyWarning/StandWarning', {
|
||||
this.warningTableLoading = true
|
||||
this.$http.get('sys/EarlyWarning/getStandWarning', {
|
||||
applyType: '',
|
||||
...this.pageConfig
|
||||
}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
const result = res.data[0]
|
||||
for (const field in result) {
|
||||
this[field] = result[field].records
|
||||
this[field].forEach(item => {
|
||||
// 适用车型转换
|
||||
if (item.applyType !== null) {
|
||||
let k = (item.applyType || "").split(",");
|
||||
for (let i in this.energyKindOptions) {
|
||||
for (let m = 0; m < k.length; m++) {
|
||||
if (this.energyKindOptions[i].value === k[m]) {
|
||||
k[m] = this.energyKindOptions[i].label;
|
||||
}
|
||||
item.applyType = k.join(",");
|
||||
}
|
||||
}
|
||||
}
|
||||
// 责任工程师转换
|
||||
if (item.dutyEngineer !== null) {
|
||||
let k = (item.dutyEngineer || "").split(",");
|
||||
for (let i in this.zrgcs) {
|
||||
for (let m = 0; m < k.length; m++) {
|
||||
if (this.zrgcs[i].value === k[m]) {
|
||||
k[m] = this.zrgcs[i].label;
|
||||
}
|
||||
item.dutyEngineer = k.join(",");
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
let arr = result.newItems.records
|
||||
arr.forEach(item => {
|
||||
console.log(item.applyType)
|
||||
// 适用车型转换
|
||||
if (item.applyType !== null) {
|
||||
let k = (item.applyType || "").split(",");
|
||||
for (let i in this.energyKindOptions) {
|
||||
for (let m = 0; m < k.length; m++) {
|
||||
if (this.energyKindOptions[i].value === k[m]) {
|
||||
k[m] = this.energyKindOptions[i].label;
|
||||
}
|
||||
item.applyType = k.join(",");
|
||||
}
|
||||
}
|
||||
}
|
||||
// 责任工程师转换
|
||||
if (item.dutyEngineer !== null) {
|
||||
let k = (item.dutyEngineer || "").split(",");
|
||||
for (let i in this.zrgcs) {
|
||||
for (let m = 0; m < k.length; m++) {
|
||||
if (this.zrgcs[i].value === k[m]) {
|
||||
k[m] = this.zrgcs[i].label;
|
||||
}
|
||||
item.dutyEngineer = k.join(",");
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
this.newItems = arr
|
||||
//可能还需要调整一下条款或标准的顺序(zyh)
|
||||
switch (field) {
|
||||
case 'newItems':
|
||||
this.pageConfig.count1 = result.newItems.total
|
||||
break
|
||||
case 'oldItems':
|
||||
this.pageConfig.count2 = result.oldItems.total
|
||||
break
|
||||
case 'newStand':
|
||||
this.pageConfig.count3 = result.newStand.total
|
||||
break
|
||||
case 'oldStand':
|
||||
this.pageConfig.count4 = result.oldStand.total
|
||||
break
|
||||
}
|
||||
}
|
||||
for (const loading in this.loading) {
|
||||
this.loading[loading] = false
|
||||
}
|
||||
console.log('805',res)
|
||||
this.warningTableDatas = res.data.records
|
||||
this.pageConfig.page = res.data.current
|
||||
this.pageConfig.pageSize = res.data.size
|
||||
this.pageConfig.total = res.data.total
|
||||
this.getEarlyDate();
|
||||
this.warningTableLoading = false
|
||||
}, e => {
|
||||
});
|
||||
|
||||
});
|
||||
// this.queryNewTypeByPage();
|
||||
// this.queryProductionVehicleByPage();
|
||||
// 四个预警同时查询,loading全部打开
|
||||
for (const loading in this.loading) {
|
||||
this.loading[loading] = true
|
||||
}
|
||||
this.getEarlyDate();
|
||||
|
||||
|
||||
}
|
||||
};
|
||||
@@ -999,6 +762,7 @@ export default {
|
||||
}
|
||||
|
||||
.container {
|
||||
height: calc(100% - 139px);
|
||||
/deep/ .el-tabs__header {
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
@@ -1337,6 +1337,54 @@ export default {
|
||||
})
|
||||
}
|
||||
break
|
||||
case '17':
|
||||
if (row.taskInfo === '法规认证部副部长审核') {
|
||||
this.$router.push({
|
||||
name: 'zcrhStep2',
|
||||
query: {
|
||||
taskIds: row.taskIds,
|
||||
prcId: row.prcId,
|
||||
prcNum: row.prcNum,
|
||||
prcName: row.prcName,
|
||||
prcType: row.prcType
|
||||
}
|
||||
})
|
||||
}else if (row.taskInfo === '法规认证部副总监批准') {
|
||||
this.$router.push({
|
||||
name: 'zcrhStep3',
|
||||
query: {
|
||||
taskIds: row.taskIds,
|
||||
prcId: row.prcId,
|
||||
prcNum: row.prcNum,
|
||||
prcName: row.prcName,
|
||||
prcType: row.prcType
|
||||
}
|
||||
})
|
||||
} else if (row.taskInfo === '公司副总批准') {
|
||||
this.$router.push({
|
||||
name: 'zcrhStep4',
|
||||
query: {
|
||||
taskIds: row.taskIds,
|
||||
prcId: row.prcId,
|
||||
prcNum: row.prcNum,
|
||||
prcName: row.prcName,
|
||||
prcType: row.prcType
|
||||
}
|
||||
})
|
||||
} else if (row.taskInfo === '修订入会信息') {
|
||||
this.$router.push({
|
||||
name: 'zcrhStep1-1',
|
||||
query: {
|
||||
taskIds: row.taskIds,
|
||||
prcId: row.prcId,
|
||||
prcNum: row.prcNum,
|
||||
prcName: row.prcName,
|
||||
prcType: row.prcType
|
||||
}
|
||||
})
|
||||
}
|
||||
break
|
||||
// 政策入会流程
|
||||
case '18':
|
||||
if (row.taskInfo === '法规认证部副部长批准') {
|
||||
this.$router.push({
|
||||
@@ -1373,7 +1421,7 @@ export default {
|
||||
})
|
||||
}
|
||||
break
|
||||
// 政策参会流程
|
||||
// 政策参会流程
|
||||
case '19':
|
||||
if (row.taskInfo === '申请人填写表单') {
|
||||
this.$router.push({
|
||||
@@ -1410,7 +1458,6 @@ export default {
|
||||
})
|
||||
}
|
||||
break
|
||||
|
||||
case '21':
|
||||
if (row.taskInfo === '分委会主任/部门中心主任提名入会代表') {
|
||||
this.$router.push({
|
||||
|
||||
@@ -295,7 +295,6 @@ export default {
|
||||
}, e => {
|
||||
})
|
||||
} else {
|
||||
console.log(this.formShowData.meetTime)
|
||||
meetEdit(this.formShowData).then(res => {
|
||||
if (res.ok) {
|
||||
this.$message.success('编辑成功')
|
||||
|
||||
@@ -632,60 +632,60 @@
|
||||
</template>
|
||||
</template>
|
||||
|
||||
<template v-else-if="field.attrType === 'INPUT_NUM'">
|
||||
<custom-input-num
|
||||
:key="field.attrField"
|
||||
:config="field"
|
||||
v-model="sarStandardsInfoEO[field.attrField]"
|
||||
:disabled="formdisableflag"
|
||||
></custom-input-num>
|
||||
</template>
|
||||
<template v-else-if="field.attrType === 'DATE_PICKER'">
|
||||
<custom-date-pick
|
||||
v-if="field.attrField !== 'ZCCSSRQGJ' && field.attrField !== 'XCXSSRQGJ' && field.attrField !== 'SSRQGJ' "
|
||||
:key="field.attrField"
|
||||
:config="field"
|
||||
v-model="sarStandardsInfoEO[field.attrField]"
|
||||
:disabled="formdisableflag"
|
||||
:class="field.attrName === '在产车实施日期(国家)' || field.attrName === '新车型实施日期(国家)'|| field.attrName === '实施日期(国际)' ? 'classDisplay' : ''"
|
||||
></custom-date-pick>
|
||||
</template>
|
||||
<template v-else-if="field.attrType === 'FILE'">
|
||||
<custom-file
|
||||
:key="field.attrField"
|
||||
:config="field"
|
||||
v-model="sarStandardsInfoEO[field.attrField]"
|
||||
:disabled="formdisableflag"
|
||||
@fileSuccess="fileSuccess"
|
||||
></custom-file>
|
||||
</template>
|
||||
<template v-else-if="field.attrType === 'TEXTAREA'">
|
||||
<custom-textarea
|
||||
:key="field.attrField"
|
||||
:config="field"
|
||||
v-model="sarStandardsInfoEO[field.attrField]"
|
||||
:disabled="formdisableflag"
|
||||
></custom-textarea>
|
||||
</template>
|
||||
<!-- 起草单位-->
|
||||
<template v-else-if="field.attrType === 'SEL_OPTION' || field.attrType === 'SEL_OPTS' ">
|
||||
<template>
|
||||
<custom-select
|
||||
:key="field.attrField"
|
||||
:config="field"
|
||||
v-model="sarStandardsInfoEO[field.attrField]"
|
||||
:disabled="formdisableflag"
|
||||
></custom-select>
|
||||
</template>
|
||||
</template>
|
||||
<template v-else-if="field.attrType === 'SEL_OPTS' && field.attrField !== 'ZRLX'">
|
||||
<template v-if="field.attrField === 'ZRBM'">
|
||||
<el-form-item
|
||||
prop="ZRBM"
|
||||
label-width="150px"
|
||||
class="add-form-item"
|
||||
>
|
||||
<template slot="label">责任部门</template>
|
||||
<template v-else-if="field.attrType === 'INPUT_NUM'">
|
||||
<custom-input-num
|
||||
:key="field.attrField"
|
||||
:config="field"
|
||||
v-model="sarStandardsInfoEO[field.attrField]"
|
||||
:disabled="formdisableflag"
|
||||
></custom-input-num>
|
||||
</template>
|
||||
<template v-else-if="field.attrType === 'DATE_PICKER'">
|
||||
<custom-date-pick
|
||||
v-if="field.attrField !== 'ZCCSSRQGJ' && field.attrField !== 'XCXSSRQGJ' && field.attrField !== 'SSRQGJ' "
|
||||
:key="field.attrField"
|
||||
:config="field"
|
||||
v-model="sarStandardsInfoEO[field.attrField]"
|
||||
:disabled="formdisableflag"
|
||||
:class="field.attrName === '在产车实施日期(国家)' || field.attrName === '新车型实施日期(国家)'|| field.attrName === '实施日期(国际)' ? 'classDisplay' : ''"
|
||||
></custom-date-pick>
|
||||
</template>
|
||||
<template v-else-if="field.attrType === 'FILE'">
|
||||
<custom-file
|
||||
:key="field.attrField"
|
||||
:config="field"
|
||||
v-model="sarStandardsInfoEO[field.attrField]"
|
||||
:disabled="formdisableflag"
|
||||
@fileSuccess="fileSuccess"
|
||||
></custom-file>
|
||||
</template>
|
||||
<template v-else-if="field.attrType === 'TEXTAREA'">
|
||||
<custom-textarea
|
||||
:key="field.attrField"
|
||||
:config="field"
|
||||
v-model="sarStandardsInfoEO[field.attrField]"
|
||||
:disabled="formdisableflag"
|
||||
></custom-textarea>
|
||||
</template>
|
||||
<!-- 起草单位-->
|
||||
<template v-else-if="field.attrType === 'SEL_OPTION'">
|
||||
<template>
|
||||
<custom-select
|
||||
:key="field.attrField"
|
||||
:config="field"
|
||||
v-model="sarStandardsInfoEO[field.attrField]"
|
||||
:disabled="formdisableflag"
|
||||
></custom-select>
|
||||
</template>
|
||||
</template>
|
||||
<template v-else-if="field.attrType === 'SEL_OPTS' && field.attrField !== 'ZRLX'">
|
||||
<template v-if="field.attrField === 'ZRBM'">
|
||||
<el-form-item
|
||||
prop="ZRBM"
|
||||
label-width="150px"
|
||||
class="add-form-item"
|
||||
>
|
||||
<template slot="label">责任部门</template>
|
||||
|
||||
<el-input
|
||||
:key="field.attrField"
|
||||
@@ -1171,6 +1171,7 @@
|
||||
:modalShowFlag="modalShowFlag2"
|
||||
:drawerTitle="drawerTitle"
|
||||
:url="url"
|
||||
:type="'car'"
|
||||
:urlChild="urlChild"
|
||||
:defaultProps="defaultCodeProps" :checkedKeys="defaultCheckedKeys1"
|
||||
:nodeKey="nodeKeyCode" @popoverHide="popoverHideBusVs" @popoverHideCancel="popoverHideBusVsCancel"></tree-select-new>
|
||||
@@ -1182,6 +1183,7 @@
|
||||
:modalShowFlag="modalShowFlag3"
|
||||
:drawerTitle="drawerTitle"
|
||||
:url="url"
|
||||
:type="'truck'"
|
||||
:urlChild="urlChild"
|
||||
:defaultProps="defaultCodeProps" :checkedKeys="defaultCheckedKeys2"
|
||||
:nodeKey="nodeKeyCode" @popoverHide="popoverHideCarVs" @popoverHideCancel="popoverHideCarVsCancel()"></tree-select-new>
|
||||
@@ -2590,7 +2592,7 @@
|
||||
standName: this.ocrList[0].standName,
|
||||
attId: this.OCRDatas[0].attId,
|
||||
fileName: this.OCRDatas[0].fileName,
|
||||
fileType: this.OCRDatas[0].useModel,
|
||||
fileType: this.setWBType(this.OCRDatas[0].standFileClassify),
|
||||
}
|
||||
this.$http.post(
|
||||
"ocr/OCRRestful/addOcrRecord",
|
||||
@@ -2610,7 +2612,7 @@
|
||||
} else if (this.OCRType === '1') {
|
||||
let splitEo = {}
|
||||
splitEo.standId = this.OCRDatas[0].standId
|
||||
splitEo.fileType = this.OCRDatas[0].standFileClassify
|
||||
splitEo.fileType = this.setWBType(this.OCRDatas[0].standFileClassify)
|
||||
splitEo.attId = this.OCRDatas[0].attId
|
||||
splitEo.fileName = this.OCRDatas[0].fileName
|
||||
this.$http.postData('lawss/sarFileSplitInfo/fileSplit', splitEo, {
|
||||
@@ -5320,7 +5322,6 @@
|
||||
_this: this
|
||||
}, res => {
|
||||
this.OCRoptions = res.data
|
||||
console.log(res.data);
|
||||
})
|
||||
this.$http.get('sys/dictype/getDicTypeListCode', '', {
|
||||
_this: this
|
||||
|
||||
@@ -228,12 +228,12 @@
|
||||
</el-form-item>
|
||||
<!-- 项目名称-->
|
||||
<el-form-item label="项目名称" class="serch-form-item">
|
||||
<el-input v-model="projectLibrarySearch.projectName" placeholder="根据项目名称" clearable :maxlength="500"
|
||||
<el-input v-model="localProTableSearch.projectName" placeholder="根据项目名称" clearable :maxlength="500"
|
||||
@keyup.enter.native="getLocalProductTableBtn"></el-input>
|
||||
</el-form-item>
|
||||
<!-- 项目分类-->
|
||||
<el-form-item label="项目分类" class="serch-form-item">
|
||||
<el-select v-model="projectLibrarySearch.projectClassification" placeholder="根据项目分类" clearable
|
||||
<el-select v-model="localProTableSearch.projectClassification" placeholder="根据项目分类" clearable
|
||||
@keyup.enter.native="getLocalProductTableBtn">
|
||||
<el-option v-for="opt in productTypeOptions" :value="opt.value === undefined ? '' :opt.label"
|
||||
:key="opt.label" :label="opt.label">{{ opt.label }}
|
||||
@@ -242,7 +242,7 @@
|
||||
</el-form-item>
|
||||
<!-- 项目状态-->
|
||||
<el-form-item label="项目状态" class="serch-form-item">
|
||||
<el-select v-model="projectLibrarySearch.projectStatus" placeholder="根据项目状态" clearable
|
||||
<el-select v-model="localProTableSearch.projectStatus" placeholder="根据项目状态" clearable
|
||||
@keyup.enter.native="getLocalProductTableBtn">
|
||||
<el-option v-for="opt in xmztOptions" :value="opt.value === undefined ? '' :opt.label" :key="opt.label"
|
||||
:label="opt.label">{{ opt.label }}
|
||||
@@ -485,6 +485,8 @@ export default {
|
||||
pageSize: this.$store.getters.userInfo.configContent,
|
||||
// 查询条件
|
||||
localProTableSearch: {
|
||||
projectClassification: '',
|
||||
projectStatus: '',
|
||||
validFlag: 0,
|
||||
// 项目编号
|
||||
projectNumber: "",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user