Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
super_liu
2022-04-13 19:31:58 +08:00
235 changed files with 9139 additions and 7447 deletions
+60 -19
View File
@@ -2665,7 +2665,7 @@
}, },
"@popperjs/core": { "@popperjs/core": {
"version": "2.11.0", "version": "2.11.0",
"resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.0.tgz", "resolved": "https://registry.npmmirror.com/@popperjs/core/download/@popperjs/core-2.11.0.tgz",
"integrity": "sha512-zrsUxjLOKAzdewIDRWy9nsV1GQsKBCWaGwsZQlCgr6/q+vjyZhFgqedLfFBuI9anTPEUT4APq9Mu0SZBTzIcGQ==" "integrity": "sha512-zrsUxjLOKAzdewIDRWy9nsV1GQsKBCWaGwsZQlCgr6/q+vjyZhFgqedLfFBuI9anTPEUT4APq9Mu0SZBTzIcGQ=="
}, },
"@probe.gl/stats": { "@probe.gl/stats": {
@@ -6563,6 +6563,11 @@
"integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=",
"dev": true "dev": true
}, },
"copy-text-to-clipboard": {
"version": "3.0.1",
"resolved": "https://registry.npmmirror.com/copy-text-to-clipboard/-/copy-text-to-clipboard-3.0.1.tgz",
"integrity": "sha512-rvVsHrpFcL4F2P8ihsoLdFHmd404+CMg71S756oRSeQgqk51U3kicGdnvfkrxva0xXH92SjGS62B0XIJsbh+9Q=="
},
"core-js": { "core-js": {
"version": "3.8.3", "version": "3.8.3",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.8.3.tgz", "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.8.3.tgz",
@@ -10385,6 +10390,11 @@
"integrity": "sha1-iZ8R2WhuXgXLkbNdXw5jt3PPyQE=", "integrity": "sha1-iZ8R2WhuXgXLkbNdXw5jt3PPyQE=",
"dev": true "dev": true
}, },
"mutation-observer": {
"version": "1.0.3",
"resolved": "https://registry.npmmirror.com/mutation-observer/-/mutation-observer-1.0.3.tgz",
"integrity": "sha512-M/O/4rF2h776hV7qGMZUH3utZLO/jK7p8rnNgGkjKUw8zCGjRQPxB8z6+5l8+VjRUQ3dNYu4vjqXYLr+U8ZVNA=="
},
"mz": { "mz": {
"version": "2.7.0", "version": "2.7.0",
"resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz", "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz",
@@ -13490,6 +13500,37 @@
"integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=", "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=",
"dev": true "dev": true
}, },
"vconsole": {
"version": "3.14.5",
"resolved": "https://registry.npmmirror.com/vconsole/-/vconsole-3.14.5.tgz",
"integrity": "sha512-ZfBsaRloRU7eJXH2z2YiNSF5Yb7AblwdPx0c8YcT/RO0ShqfUGrDqRuAmysfLUO+oJ8fC+ZPTgB4r5+rr6msQw==",
"requires": {
"@babel/runtime": "^7.17.2",
"copy-text-to-clipboard": "^3.0.1",
"core-js": "^3.11.0",
"mutation-observer": "^1.0.3"
},
"dependencies": {
"@babel/runtime": {
"version": "7.17.9",
"resolved": "https://registry.npmmirror.com/@babel/runtime/-/runtime-7.17.9.tgz",
"integrity": "sha512-lSiBBvodq29uShpWGNbgFdKYNiFDo5/HIYsaCEY9ff4sb10x9jizo2+pRrSyF4jKZCXqgzuqBOQKbUm90gQwJg==",
"requires": {
"regenerator-runtime": "^0.13.4"
}
},
"core-js": {
"version": "3.21.1",
"resolved": "https://registry.npmmirror.com/core-js/-/core-js-3.21.1.tgz",
"integrity": "sha512-FRq5b/VMrWlrmCzwRrpDYNxyHP9BcAZC+xHJaqTgIE5091ZV1NTmyh0sGOg5XqpnHvR0svdy0sv1gWA1zmhxig=="
},
"regenerator-runtime": {
"version": "0.13.9",
"resolved": "https://registry.npmmirror.com/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz",
"integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA=="
}
}
},
"vendors": { "vendors": {
"version": "1.0.4", "version": "1.0.4",
"resolved": "https://registry.npmjs.org/vendors/-/vendors-1.0.4.tgz", "resolved": "https://registry.npmjs.org/vendors/-/vendors-1.0.4.tgz",
@@ -13549,8 +13590,8 @@
}, },
"vue-loader-v16": { "vue-loader-v16": {
"version": "npm:vue-loader@16.8.3", "version": "npm:vue-loader@16.8.3",
"resolved": "https://registry.npmmirror.com/vue-loader/download/vue-loader-16.8.3.tgz?cache=0&sync_timestamp=1636034706501&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fvue-loader%2Fdownload%2Fvue-loader-16.8.3.tgz", "resolved": "https://registry.npmmirror.com/vue-loader/-/vue-loader-16.8.3.tgz",
"integrity": "sha1-1D5nXe9bqTRdbH8FkUwT2GGZcIc=", "integrity": "sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA==",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@@ -13561,8 +13602,8 @@
"dependencies": { "dependencies": {
"ansi-styles": { "ansi-styles": {
"version": "4.3.0", "version": "4.3.0",
"resolved": "https://registry.nlark.com/ansi-styles/download/ansi-styles-4.3.0.tgz", "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha1-7dgDYornHATIWuegkG7a00tkiTc=", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@@ -13571,8 +13612,8 @@
}, },
"chalk": { "chalk": {
"version": "4.1.2", "version": "4.1.2",
"resolved": "https://registry.npmmirror.com/chalk/download/chalk-4.1.2.tgz", "resolved": "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha1-qsTit3NKdAhnrrFr8CqtVWoeegE=", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@@ -13582,8 +13623,8 @@
}, },
"color-convert": { "color-convert": {
"version": "2.0.1", "version": "2.0.1",
"resolved": "https://registry.nlark.com/color-convert/download/color-convert-2.0.1.tgz", "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha1-ctOmjVmMm9s68q0ehPIdiWq9TeM=", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@@ -13592,29 +13633,29 @@
}, },
"color-name": { "color-name": {
"version": "1.1.4", "version": "1.1.4",
"resolved": "https://registry.nlark.com/color-name/download/color-name-1.1.4.tgz", "resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha1-wqCah6y95pVD3m9j+jmVyCbFNqI=", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"has-flag": { "has-flag": {
"version": "4.0.0", "version": "4.0.0",
"resolved": "https://registry.nlark.com/has-flag/download/has-flag-4.0.0.tgz", "resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz",
"integrity": "sha1-lEdx/ZyByBJlxNaUGGDaBrtZR5s=", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"hash-sum": { "hash-sum": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.nlark.com/hash-sum/download/hash-sum-2.0.0.tgz", "resolved": "https://registry.npmmirror.com/hash-sum/-/hash-sum-2.0.0.tgz",
"integrity": "sha1-gdAbtd6OpKIUrV1urRtSNGCwtFo=", "integrity": "sha512-WdZTbAByD+pHfl/g9QSsBIIwy8IT+EsPiKDs0KNX+zSHhdDLFKdZu0BQHljvO+0QI/BasbMSUa8wYNCZTvhslg==",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"loader-utils": { "loader-utils": {
"version": "2.0.2", "version": "2.0.2",
"resolved": "https://registry.npmmirror.com/loader-utils/download/loader-utils-2.0.2.tgz?cache=0&sync_timestamp=1636687947060&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Floader-utils%2Fdownload%2Floader-utils-2.0.2.tgz", "resolved": "https://registry.npmmirror.com/loader-utils/-/loader-utils-2.0.2.tgz",
"integrity": "sha1-1uO0+4GHByGuTghoqxHdY4NowSk=", "integrity": "sha512-TM57VeHptv569d/GKh6TAYdzKblwDNiumOdkFnejjD0XwTH87K90w3O7AiJRqdQoXygvi1VQTJTLGhJl7WqA7A==",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@@ -13625,8 +13666,8 @@
}, },
"supports-color": { "supports-color": {
"version": "7.2.0", "version": "7.2.0",
"resolved": "https://registry.npmmirror.com/supports-color/download/supports-color-7.2.0.tgz", "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz",
"integrity": "sha1-G33NyzK4E4gBs+R4umpRyqiWSNo=", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
+1
View File
@@ -22,6 +22,7 @@
"sortablejs": "^1.14.0", "sortablejs": "^1.14.0",
"v-charts": "^1.19.0", "v-charts": "^1.19.0",
"vant": "^2.12.36", "vant": "^2.12.36",
"vconsole": "^3.14.5",
"vue": "^2.6.11", "vue": "^2.6.11",
"vue-clipboard2": "^0.3.1", "vue-clipboard2": "^0.3.1",
"vue-contextmenujs": "^1.3.13", "vue-contextmenujs": "^1.3.13",
+5
View File
@@ -10,6 +10,11 @@
<meta http-equiv="expires" content="0"> <meta http-equiv="expires" content="0">
<title>标准法规管理系统</title> <title>标准法规管理系统</title>
<script src = "https://cdn.jsdelivr.net/npm/proxy-polyfill@0.3.0/proxy.min.js"></script> <script src = "https://cdn.jsdelivr.net/npm/proxy-polyfill@0.3.0/proxy.min.js"></script>
<!-- vconsole调试工具-->
<script src="https://cdn.bootcss.com/vConsole/3.3.4/vconsole.min.js"></script>
<script type="text/javascript">
var vConsole = new VConsole();
</script>
</head> </head>
<body class="el-drawer-body"> <body class="el-drawer-body">
<div id="app"></div> <div id="app"></div>
+11
View File
@@ -0,0 +1,11 @@
import axios from '@/common/axiosV2'
// 流程发起
export function checkPage(params) {
return axios({
url: '/api/checkPage',
method: 'get',
params
})
}
+9
View File
@@ -1024,3 +1024,12 @@ export function importAllZcbs(data) {
data data
}) })
} }
// 未符合项重点问题项管控产品规划部查询列表
export function productDeptIssue(params) {
return axios({
url: '/api/sarStandUnqualified/productDeptIssue',
method: 'get',
params
})
}
+8
View File
@@ -43,6 +43,14 @@ export function StandardsInfoPage(data) {
}); });
} }
export function selectHighLawsById(data) {
return axios({
url: "api/sarStandardsInfo/sar-standards-info/selectHighLawsById",
method: "get",
params: data
});
}
// 车型库清单的下拉列表 // 车型库清单的下拉列表
export function solostarData(data) { export function solostarData(data) {
return axios({ return axios({
+1
View File
@@ -260,6 +260,7 @@ export const m = {
findByTheResponsibilityDepartment: '根据责任部门查找', findByTheResponsibilityDepartment: '根据责任部门查找',
findByNormativeReferenceStandard: '根据规范性引用标准查找', findByNormativeReferenceStandard: '根据规范性引用标准查找',
lookupByStandardStatus: '根据标准状态查找', lookupByStandardStatus: '根据标准状态查找',
lookupByStandardStatusText: '根据文本状态查找',
findByPrincipalCompiler: '根据主要编制者查找', findByPrincipalCompiler: '根据主要编制者查找',
contentInThisPaper: '内容摘要', contentInThisPaper: '内容摘要',
substituteForStandNumber: '代替标准号', substituteForStandNumber: '代替标准号',
+2 -2
View File
@@ -245,7 +245,7 @@ export default {
if (this.value != null && this.value !== '') { if (this.value != null && this.value !== '') {
let paramefile = this.value let paramefile = this.value
if (paramefile.charAt(paramefile.length - 1) === ',') { if (paramefile.charAt(paramefile.length - 1) === ',') {
paramefile = paramefile.substring(0, paramefile.length - 1) paramefile = paramefile.substring(0, paramefile.length - 1).replaceAll(",,",",")
} }
this.$http.get('att/attFile/getMultiFileInfos', { this.$http.get('att/attFile/getMultiFileInfos', {
fileIds: paramefile fileIds: paramefile
@@ -272,7 +272,7 @@ export default {
obj.response.data = file.response.data obj.response.data = file.response.data
this.showFileList.push(obj) this.showFileList.push(obj)
// this.value += res.data.id + ',' // this.value += res.data.id + ','
this.$emit('input', this.value ? this.value + ','+ res.data.id + ',' : this.value+ res.data.id + ',') this.$emit('input', this.value ? (this.value + ','+ res.data.id + ',').replaceAll(",,",',') : (this.value+ res.data.id + ',').replaceAll(',,',','))
this.$emit('success') this.$emit('success')
this.$message({ this.$message({
message: '文件上传成功', message: '文件上传成功',
@@ -61,21 +61,20 @@
:maxlength="100"></el-input> :maxlength="100"></el-input>
</el-form-item> </el-form-item>
<el-form-item class="search-item btn-box"> <el-form-item class="search-item btn-box">
<el-button <el-button
icon="el-icon-search" type="primary"
type="primary" class="common-button-primary"
class="common-button-primary" size="small"
round @click="getReplaceLawsNumRowSearch">
@click="getReplaceLawsNumRowSearch"> 查询
</el-button> </el-button>
</el-form-item> </el-form-item>
<el-form-item class="search-item btn-box"> <el-form-item class="search-item btn-box">
<el-button <el-button
class="common-button-default" class="common-button-default"
icon="el-icon-refresh-left" size="small"
round @click="getResetLawsNumRow">清空
type="default" </el-button>
@click="getResetLawsNumRow"></el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
+33 -5
View File
@@ -161,11 +161,11 @@
// path: '/dataStatisComments', // path: '/dataStatisComments',
// menuId: '' // menuId: ''
// }, // },
{ // {
title: '国内外政策', // title: '国内外政策',
path: '/foreignRegulationsDatabase', // path: '/foreignRegulationsDatabase',
menuId: 'ef02a3b0af9a4b3ede460456a9591ebc' // menuId: 'ef02a3b0af9a4b3ede460456a9591ebc'
}, // },
// // // { // // // {
// // // title: '标准制修订管理', // // // title: '标准制修订管理',
// // // path: '/demo2One' // // // path: '/demo2One'
@@ -208,6 +208,34 @@
// } // }
] ]
}, },
{
title: '政策法规库',
path: '/policyRegulation',
'icon-class': 'el-icon-s-management',
menuId: 'asdzcfgk',
children: [
{
title: '问题项管控',
path: '/problemControl',
menuId: '50d7a0c0af4740c486100c257ae6068e'
},
{
title: '国内外政策',
path: '/nationalPolicy',
menuId: '6557e9c4ce672af71be5807052da126b'
},
{
title: '标准跟踪清单',
path: '/standardTrackingList',
menuId: 'a26b92e156f68dbfe0d73b0dc068ebe4'
},
{
title: '政策工作组',
path: '/policyWorkGroup',
menuId: 'f1a4b33a498e58a8a87c954ce5ce6ad6'
}
]
},
{ {
title: '工作中心', title: '工作中心',
path: '/processCenter', path: '/processCenter',
+7 -5
View File
@@ -11,38 +11,40 @@
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}"> :header-cell-style="{background: '#f8f8f9', color: '#515a6e'}">
<el-table-column <el-table-column
prop="name" prop="name"
min-width="100"
label="任务步骤" label="任务步骤"
align="center" align="center"
sortable="custom"
> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="assignee" prop="assignee"
min-width="100"
label="任务受理人" label="任务受理人"
align="center" align="center"
sortable="custom"
> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="createTime" prop="createTime"
label="创建时间" label="创建时间"
sortable="custom" min-width="100"
align="center"> align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.createTime ? $moment(scope.row.createTime).format('YYYY-MM-DD HH:mm:ss') : '' }}</span> <span>{{ scope.row.createTime ? $moment(scope.row.createTime).format('YYYY-MM-DD') : '' }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="endTime" prop="endTime"
label="完成时间" label="完成时间"
min-width="100"
align="center"> align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.endTime ? $moment(scope.row.endTime).format('YYYY-MM-DD HH:mm:ss') : '' }}</span> <span>{{ scope.row.endTime ? $moment(scope.row.endTime).format('YYYY-MM-DD') : '' }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="comment" prop="comment"
label="流程信息" label="流程信息"
min-width="100"
align="center"> align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.commentText }}</span> <span>{{ scope.row.commentText }}</span>
+1
View File
@@ -141,6 +141,7 @@ export default {
async getPhoneData() { async getPhoneData() {
this.phoneForm.page = 1 this.phoneForm.page = 1
this.roleList = [] this.roleList = []
this.result = []
phoneUser(this.phoneForm).then(res => { phoneUser(this.phoneForm).then(res => {
if (res.ok) { if (res.ok) {
this.roleList = res.data this.roleList = res.data
+20 -1
View File
@@ -120,11 +120,16 @@
default: () => { default: () => {
return [] return []
} }
},
type: {
type: Number,
default: 0
} }
}, },
data () { data () {
return { return {
visible: false, visible: false,
selectList: [],
nodeList2: [], nodeList2: [],
delList: [], delList: [],
roleList: [], roleList: [],
@@ -300,7 +305,21 @@
this.delList = [data] this.delList = [data]
} }
} else { // 多选 } else { // 多选
this.roleList = this.$refs.tree.getCheckedNodes().concat(this.$refs.tree.getHalfCheckedNodes()) if (this.roleList.length === 0) {
this.roleList.push(data)
} else {
let delFlag = true
this.roleList.forEach((item, index) => {
if (item.id === data.id) {
this.roleList.splice(index, 1)
delFlag = false
}
})
if (delFlag) {
this.roleList.push(data)
}
}
// this.roleList = this.$refs.tree.getCheckedNodes().concat(this.$refs.tree.getHalfCheckedNodes())
} }
}, },
loadNode(node, resolve) { loadNode(node, resolve) {
+32 -3
View File
@@ -58,6 +58,8 @@ import hwh5 from 'api/hwh5-cloudonline.js';
import { ssoLoginUrlDev,ssoLoginUrl,webLoginType,devWebUrl } from '@/sysConfig' import { ssoLoginUrlDev,ssoLoginUrl,webLoginType,devWebUrl } from '@/sysConfig'
import { mapMutations, mapActions } from 'vuex' import { mapMutations, mapActions } from 'vuex'
import VConsole from 'vuex'
import isMobile from "./store/isMobile"; import isMobile from "./store/isMobile";
// 路由拦截 // 路由拦截
@@ -113,7 +115,20 @@ router.beforeEach(function (to, from, next) {
/** 判断是不是在手机端操作 */ /** 判断是不是在手机端操作 */
if (isMobile()) { if (isMobile()) {
if(toName === 'processCenter'){ if(toName === 'processCenter'){
hwh5.close(); // hwh5.close();
//关闭当前窗口
let userAgent = navigator.userAgent;
if (userAgent.indexOf("Firefox") !== -1 || userAgent.indexOf("Chrome") !==-1) {
window.location.href="about:blank";
}else if(userAgent.indexOf('Android') > -1 || userAgent.indexOf('Linux') > -1){
window.opener=null;window.open('about:blank','_self','').close();
}else {
window.opener = null;
window.open("about:blank", "_self");
window.close();
}
//如果是微信打开,关闭当前微信窗口
weixinClosePage()
}else { }else {
if ((token === null || token === '' ) && toName !== 'Login') { if ((token === null || token === '' ) && toName !== 'Login') {
if(toName !== 'phoneIndex'){ if(toName !== 'phoneIndex'){
@@ -177,7 +192,21 @@ router.beforeEach(function (to, from, next) {
extractedVerify(token) extractedVerify(token)
} }
} }
function weixinClosePage() {
if (typeof WeixinJSBridge == "undefined") {
if (document.addEventListener) {
document.addEventListener('WeixinJSBridgeReady', weixin_ClosePage, false);
} else if (document.attachEvent) {
document.attachEvent('WeixinJSBridgeReady', weixin_ClosePage);
document.attachEvent('onWeixinJSBridgeReady', weixin_ClosePage);
}
} else {
weixin_ClosePage();
}
}
function weixin_ClosePage() {
WeixinJSBridge.call('closeWindow');
}
function extractedVerify() { function extractedVerify() {
if (taskId !== undefined && taskId !== null && prcId !== undefined && prcId !== null) { if (taskId !== undefined && taskId !== null && prcId !== undefined && prcId !== null) {
get_verify_by_instance({ get_verify_by_instance({
@@ -187,7 +216,6 @@ router.beforeEach(function (to, from, next) {
let hisCount = res.hisCount === undefined ? 0 : res.hisCount; let hisCount = res.hisCount === undefined ? 0 : res.hisCount;
let commitStatus = res.commitStatus === undefined ? 0 : res.commitStatus; let commitStatus = res.commitStatus === undefined ? 0 : res.commitStatus;
let isNotFinished = res.isNotFinished === undefined ? 0 : res.isNotFinished; let isNotFinished = res.isNotFinished === undefined ? 0 : res.isNotFinished;
if ((hisCount && hisCount > 0)) { // 业务系统 当前节点已完成 if ((hisCount && hisCount > 0)) { // 业务系统 当前节点已完成
if(isMobile()){ if(isMobile()){
next('/processedPage') next('/processedPage')
@@ -379,6 +407,7 @@ const i18n = new VueI18n({
}) })
/* eslint-disable no-new */ /* eslint-disable no-new */
window.vm = new Vue({ window.vm = new Vue({
VConsole,
router, router,
store, store,
i18n, i18n,
@@ -4,7 +4,7 @@
<!--title 标题--> <!--title 标题-->
<div class="details-header"> <div class="details-header">
<span>{{sarStandardsInfoEO.standCode}} {{sarStandardsInfoEO.standName}} 企标详情</span> <span>{{sarStandardsInfoEO.standCode}} {{sarStandardsInfoEO.standName}} 企标详情</span>
<b style="float:right;font-size: 25px;color: #ff9900">{{ ((qualityCommentScore*2*0.9)+(dynamicCommentScore*2*0.1)).toFixed(3) }}</b> <b style="float:right;font-size: 25px;color: #ff9900">{{ ((qualityCommentScore*2*0.9)+(dynamicCommentScore*2*0.1)).toFixed(1) }}</b>
<!-- 之前的先注掉--> <!-- 之前的先注掉-->
<!-- <span>{{sarStandardsInfoEO.standCode}}-{{sarStandardsInfoEO.standYear}} {{sarStandardsInfoEO.standName}} 企标详情</span>--> <!-- <span>{{sarStandardsInfoEO.standCode}}-{{sarStandardsInfoEO.standYear}} {{sarStandardsInfoEO.standName}} 企标详情</span>-->
</div> </div>
@@ -27,7 +27,7 @@
<el-dialog title="企业标准评价" :visible.sync="businessCommentDialog" :width="(commentAverageScoreTag === '1' && commentActiveName !== 'dynamicComment')?'90%':'65%'" :close-on-click-modal="false"> <el-dialog title="企业标准评价" :visible.sync="businessCommentDialog" :width="(commentAverageScoreTag === '1' && commentActiveName !== 'dynamicComment')?'90%':'65%'" :close-on-click-modal="false">
<el-tabs v-model="commentActiveName" @tab-click="tabsClickBtn"> <el-tabs v-model="commentActiveName" @tab-click="tabsClickBtn">
<el-tab-pane label="动态评价" name="dynamicComment"> <el-tab-pane label="动态评价" name="dynamicComment">
<el-table ref="businessCommentTable" :data="businessCommentTable" border style="width: 100%; flex: auto;margin-bottom: 2%" <el-table ref="businessCommentTable" :data="businessCommentTable.filter((v) => v.code !== '3U9lb')" border style="width: 100%; flex: auto;margin-bottom: 2%"
class="comment-table" class="comment-table"
:header-cell-style="{background: '#E8E8E8', color: '#333333', fontSize: '16px', :header-cell-style="{background: '#E8E8E8', color: '#333333', fontSize: '16px',
fontWeight: 'bold', height: '48px'}"> fontWeight: 'bold', height: '48px'}">
@@ -294,7 +294,7 @@
</el-table-column> </el-table-column>
<el-table-column property="reason" label="简述理由"> <el-table-column property="reason" label="简述理由">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.commentReason">{{scope.row.commentReason}}</span> <span v-if="scope.row.commentReason">{{scope.row.commentReason ? (scope.row.commentReason === '-'? '':scope.row.commentReason) : scope.row.commentReason}}</span>
<span v-else style="color: #c0c4cc">该用户没有填写评分理由</span> <span v-else style="color: #c0c4cc">该用户没有填写评分理由</span>
</template> </template>
</el-table-column> </el-table-column>
@@ -352,69 +352,70 @@
<div class="details-content-modular basic-information" style="margin-bottom: 0"> <div class="details-content-modular basic-information" style="margin-bottom: 0">
<div class="basic-information-content"> <div class="basic-information-content">
<p class=""><label style=" margin-right: 171px;">企标号</label><span>{{ sarStandardsInfoEO.standCode }}</span></p> <p class=""><label style=" margin-right: 171px;">企标号</label><span>{{ sarStandardsInfoEO.standCode }}</span></p>
<template v-for="(child, childIndex) in item.child1"> <p><template v-for="(child, childIndex) in item.child1" >
<div class="files-title" style="border-bottom: 1px solid #E5E5E5"> <div class="files-title">
<label style="float: left;min-height: 43px;line-height: 43px;">{{ child.attrName }}</label> <label style="float: left;min-height: 43px;line-height: 43px;" >{{ child.attrName }}</label>
<template style="margin-left: 220px;"> <template style="margin-left: 220px;">
<div style="position: relative;margin-left: 214px;"> <div style="position: relative;margin-left: 219px; line-height: 43px">
<div v-if="child.value && child.value.length > 0" v-for="(file, fileIndex) in child1Func(child.value)" style="display: flex"> <div v-if="child.value && child.value.length > 0" v-for="(file, fileIndex) in child1Func(child.value)" style="display: flex">
<!-- 单个文件--> <!-- 单个文件-->
<span v-if="child.value && child.value.length > 0 && child.value.length === 1"> <span v-if="child.value && child.value.length > 0 && child.value.length === 1">
<a style="font-size: 16px;color: #409EFF;cursor: pointer" @click="openFileInPdf(file.id, file.oldFileName)" target="_blank" :title="file.oldFileName">{{ file.oldFileName | ellipsis50 }}</a> <a style="font-size: 16px;color: #409EFF;cursor: pointer" @click="openFileInPdf(file.id, file.oldFileName)" target="_blank" :title="file.oldFileName">{{ file.oldFileName | ellipsis50 }}</a>
<i <i
title="下载" title="下载"
@click="downloadFile(file.id)" @click="downloadFile(file.id)"
class="icon-download" class="icon-download"
v-btn-permission="QFTP ? '7f13a22a53f9f76f56f5193f9a04389d' : '9882f477aad895ec56a7464f3e9c0b11'" v-btn-permission="QFTP ? '7f13a22a53f9f76f56f5193f9a04389d' : '9882f477aad895ec56a7464f3e9c0b11'"
/> />
<i <i
title="下载带水印" title="下载带水印"
v-show="file.fileSuffix === 'pdf' || file.fileSuffix === 'PDF'" v-show="file.fileSuffix === 'pdf' || file.fileSuffix === 'PDF'"
@click="downloadFileByWater(file.id, file.fileSuffix)" @click="downloadFileByWater(file.id, file.fileSuffix)"
class="icon-download2" class="icon-download2"
v-btn-permission="QFTP ? '6dbbd2d6b808cc0f02b22c97e9d34c54' : '9bab2662fbd9d0507b39be813371a597'" v-btn-permission="QFTP ? '6dbbd2d6b808cc0f02b22c97e9d34c54' : '9bab2662fbd9d0507b39be813371a597'"
/> />
<!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>--> <!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>-->
</span> </span>
<!-- 多个文件--> <!-- 多个文件-->
<div v-else-if="child.value && child.value.length > 0" style="line-height: 50px;"> <div v-else-if="child.value && child.value.length > 0" style="line-height: 43px;">
<span> <span>
<a style="font-size: 16px;color: #409EFF;cursor: pointer" <a style="font-size: 16px;color: #409EFF;cursor: pointer"
@click="openFileInPdf(file.id, file.oldFileName)" target="_blank" @click="openFileInPdf(file.id, file.oldFileName)" target="_blank"
:title="file.oldFileName">{{ file.oldFileName | ellipsis50}}</a> :title="file.oldFileName">{{ file.oldFileName | ellipsis50}}</a>
<i <i
title="下载" title="下载"
@click="downloadFile(file.id)" @click="downloadFile(file.id)"
class="icon-download" class="icon-download"
v-btn-permission="QFTP ? '7f13a22a53f9f76f56f5193f9a04389d' : '9882f477aad895ec56a7464f3e9c0b11'" v-btn-permission="QFTP ? '7f13a22a53f9f76f56f5193f9a04389d' : '9882f477aad895ec56a7464f3e9c0b11'"
/> />
<i <i
title="下载带水印" title="下载带水印"
@click="downloadFileByWater(file.id, file.fileSuffix)" @click="downloadFileByWater(file.id, file.fileSuffix)"
class="icon-download2" class="icon-download2"
v-btn-permission="QFTP ? '6dbbd2d6b808cc0f02b22c97e9d34c54' : '9bab2662fbd9d0507b39be813371a597'" v-btn-permission="QFTP ? '6dbbd2d6b808cc0f02b22c97e9d34c54' : '9bab2662fbd9d0507b39be813371a597'"
/> />
</span> </span>
<!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>--> <!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>-->
</div>
<!-- <el-button-->
<!-- v-if="child.attrField === itemNam "-->
<!-- v-for="(itemNam,index) in itemExistList"-->
<!-- :key="index"-->
<!-- @click="showItemsModel(child.attrField)"-->
<!-- class="decomposition-btn"-->
<!-- style="right:62px"-->
<!-- icon="icon-separate"-->
<!-- >标准分解单-->
<!-- </el-button>-->
<!-- <el-button v-if="child.value.length > 1" style="color:#409EFF;border: 1px solid #409EFF;background: rgba(64, 158, 255, 0.1);"-->
<!-- class="decomposition-btn" icon="icon-relation" @click="relateEvent1(child.value)">更多</el-button>-->
</div> </div>
<!-- <el-button-->
<!-- v-if="child.attrField === itemNam "-->
<!-- v-for="(itemNam,index) in itemExistList"-->
<!-- :key="index"-->
<!-- @click="showItemsModel(child.attrField)"-->
<!-- class="decomposition-btn"-->
<!-- style="right:62px"-->
<!-- icon="icon-separate"-->
<!-- >标准分解单-->
<!-- </el-button>-->
<!-- <el-button v-if="child.value.length > 1" style="color:#409EFF;border: 1px solid #409EFF;background: rgba(64, 158, 255, 0.1);"-->
<!-- class="decomposition-btn" icon="icon-relation" @click="relateEvent1(child.value)">更多</el-button>-->
</div>
</div> </div>
</template> </template>
<template v-if="child.value === null" >-</template> <template v-if="child.value === null">
<span style="position: relative;margin-left: 174px; line-height: 43px">-</span></template>
</div> </div>
</template> </template></p>
<p><label style="margin-right: 157px;">中文名称</label><span>{{ sarStandardsInfoEO.standName || '-' }}</span></p> <p><label style="margin-right: 157px;">中文名称</label><span>{{ sarStandardsInfoEO.standName || '-' }}</span></p>
<p v-if="activeState" style="border-bottom: none;"><label style=" margin-right: 157px;">英文名称</label><span>{{ sarStandardsInfoEO.standEnName || '-' }}</span></p> <p v-if="activeState" style="border-bottom: none;"><label style=" margin-right: 157px;">英文名称</label><span>{{ sarStandardsInfoEO.standEnName || '-' }}</span></p>
<p class="half"> <p class="half">
@@ -1612,7 +1613,7 @@ export default {
this.dynamicHistoryCommentTable = res.data this.dynamicHistoryCommentTable = res.data
this.historyCommentForm.revise = res.data[0].targetScore this.historyCommentForm.revise = res.data[0].targetScore
this.historyCommentForm.reviseReason = res.data[0].commentReason this.historyCommentForm.reviseReason = res.data[0].commentReason ? (res.data[0].commentReason === '-'? '':res.data[0].commentReason) : res.data[0].commentReason
let averageScore = 0 let averageScore = 0
res.data.forEach(item => { res.data.forEach(item => {
@@ -1630,90 +1631,92 @@ export default {
}, },
tabsClickBtn(tab, event){ tabsClickBtn(tab, event){
// if (this.commentActiveName === 'dynamicComment'){ if (this.commentActiveName === 'dynamicComment'){
// this.indexType = 'dynamic' this.indexType = 'dynamic'
// //查询评分表 //查询评分表
// const allData = { const allData = {
// lawId: this.$route.params.id, lawId: this.$route.params.id,
// userId: this.qualityFirstHistoryPeopleId, userId: this.qualityFirstHistoryPeopleId,
// evaluationType: this.indexType, evaluationType: this.indexType,
// } }
// this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getEvaluationForm', allData , { this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getEvaluationForm', allData , {
// _this: this _this: this
// }, res => { }, res => {
// this.qualityHistoryCommentTable = res.data this.qualityHistoryCommentTable = res.data
// this.historyInfoLoading = false this.historyInfoLoading = false
//
// }, e => { }, e => {
// this.historyInfoLoading = false this.historyInfoLoading = false
// }) })
// } }else if (this.commentActiveName === 'historyComment'){
// else if (this.commentActiveName === 'historyComment'){ this.commentAverageScoreTag = '1'
// this.historyInfoLoading = true this.tabsClick()
// this.indexType = 'quality' this.dynamicHistoryCommentTable = []
// //查询评分表 this.historyInfoLoading = true
// const allData = { this.indexType = 'quality'
// lawId: this.$route.params.id, //查询评分表
// userId: this.dynamicFirstHistoryPeopleId, const allData = {
// evaluationType: this.indexType lawId: this.$route.params.id,
// } userId: this.dynamicFirstHistoryPeopleId,
// this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getEvaluationForm', allData , { evaluationType: this.indexType
// _this: this }
// }, res => { this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getEvaluationForm', allData , {
// this.dynamicHistoryCommentTable = res.data _this: this
// this.historyCommentForm.revise = res.data[0].targetScore }, res => {
// this.historyCommentForm.reviseReason = res.data[0].commentReason this.dynamicHistoryCommentTable = res.data
// this.historyCommentForm.revise = res.data[0].targetScore
// let averageScore = 0 this.historyCommentForm.reviseReason = res.data[0].commentReason
// res.data.forEach(item => {
// if (item.valueType === 'number'){ let averageScore = 0
// averageScore += parseInt(item.targetScore) res.data.forEach(item => {
// } if (item.valueType === 'number'){
// }) averageScore += parseInt(item.targetScore)
// averageScore = averageScore / 4 }
// this.historyCommentForm.averageScore = averageScore })
// this.historyInfoLoading = false averageScore = averageScore / 4
// }, e => { this.historyCommentForm.averageScore = averageScore
// this.historyInfoLoading = false this.historyInfoLoading = false
// }) }, e => {
// } this.historyInfoLoading = false
// })
// //查询动态评价总平均分和质量评价总平均分 }
// let standId = this.$route.params.id
// this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getScore', {lawId:standId}, { //查询动态评价总平均分和质量评价总平均分
// _this: this let standId = this.$route.params.id
// }, res => { this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getScore', {lawId:standId}, {
// this.qualityCommentScore = res.data.quality.toFixed(3)/2 _this: this
// this.dynamicCommentScore = res.data.dynamic.toFixed(3)/2 }, res => {
// this.qualityCommentScore = res.data.quality.toFixed(3)/2
// }, e => { this.dynamicCommentScore = res.data.dynamic.toFixed(3)/2
// })
// }, e => {
// // 刷新质量评价评分人表格和动态评价评分人表格 })
// const qualityRequest = {
// lawId: standId, // 刷新质量评价评分人表格和动态评价评分人表格
// evaluationType: 'quality' const qualityRequest = {
// } lawId: standId,
// this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getHistory', qualityRequest, { evaluationType: 'quality'
// _this: this }
// }, res => { this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getHistory', qualityRequest, {
// this.qualityHistoryPeopleTable = res.data.records _this: this
// this.qualityFirstHistoryPeopleId = res.data.records[0].userId }, res => {
// this.qualityHistoryPeopleTable = res.data.records
// }, e => { this.qualityFirstHistoryPeopleId = res.data.records[0].userId
// })
// const dynamicRequest = { }, e => {
// lawId: standId, })
// evaluationType: 'dynamic' const dynamicRequest = {
// } lawId: standId,
// this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getHistory', dynamicRequest, { evaluationType: 'dynamic'
// _this: this }
// }, res => { this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getHistory', dynamicRequest, {
// this.dynamicHistoryPeopleTable = res.data.records _this: this
// this.dynamicFirstHistoryPeopleId = res.data.records[0].userId }, res => {
// this.dynamicHistoryPeopleTable = res.data.records
// }, e => { this.dynamicFirstHistoryPeopleId = res.data.records[0].userId
// })
}, e => {
})
}, },
tabsClick(tab, event){ tabsClick(tab, event){
@@ -1739,6 +1742,7 @@ export default {
} }
else if (this.commentAverageScoreTag === '2'){ else if (this.commentAverageScoreTag === '2'){
this.indexType = 'dynamic' this.indexType = 'dynamic'
this.dynamicHistoryCommentTable = []
//查询评分表 //查询评分表
const allData = { const allData = {
lawId: this.$route.params.id, lawId: this.$route.params.id,
@@ -1748,19 +1752,23 @@ export default {
this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getEvaluationForm', allData , { this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getEvaluationForm', allData , {
_this: this _this: this
}, res => { }, res => {
this.dynamicHistoryCommentTable = res.data if(res.data && res.data.length > 0){
this.historyCommentForm.revise = res.data[0].targetScore this.dynamicHistoryCommentTable = res.data
this.historyCommentForm.reviseReason = res.data[0].commentReason this.historyCommentForm.revise = res.data[0].targetScore
this.historyCommentForm.reviseReason = res.data[0].commentReason
let averageScore = 0 let averageScore = 0
res.data.forEach(item => { res.data.forEach(item => {
if (item.valueType === 'number'){ if (item.valueType === 'number'){
averageScore += parseInt(item.targetScore) averageScore += parseInt(item.targetScore)
} }
}) })
averageScore = averageScore / 4 averageScore = averageScore / 4
this.historyCommentForm.averageScore = averageScore this.historyCommentForm.averageScore = averageScore
this.historyInfoLoading = false }else {
this.historyCommentForm.averageScore = 0
}
this.historyInfoLoading = false
}, e => { }, e => {
this.historyInfoLoading = false this.historyInfoLoading = false
}) })
@@ -2287,7 +2295,7 @@ export default {
_this: this _this: this
}, res => { }, res => {
this.sarStandardsInfoEO = res.data || {} this.sarStandardsInfoEO = res.data || {}
if (this.sarStandardsInfoEO.standCode && this.sarStandardsInfoEO.standCode.indexOf('Q/FT P') !== -1) { if (this.sarStandardsInfoEO.standCode && this.sarStandardsInfoEO.standCode.indexOf('Q/QCBFC') !== -1) {
this.QFTP = true this.QFTP = true
} }
// this.textOptions.forEach(item => { // this.textOptions.forEach(item => {
@@ -3029,18 +3037,8 @@ export default {
this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getEvaluationForm', allData , { this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getEvaluationForm', allData , {
_this: this _this: this
}, res => { }, res => {
if(res.data && res.data.length > 0){
let averageScore = 0
res.data.forEach(item=>{
item.targetScore = Number(item.targetScore)/2
averageScore += item.targetScore
})
this.businessCommentForm.averageScore = averageScore/4
this.businessCommentTable = res.data
this.historyInfoLoading = false this.historyInfoLoading = false
this.$forceUpdate() this.$forceUpdate()
}
}, e => { }, e => {
this.historyInfoLoading = false this.historyInfoLoading = false
}) })
@@ -3141,9 +3139,11 @@ export default {
this.$http.get('sarEnterpriseStandardEvaluation/evaluation-index/getEvaluationIndex', {indexType:this.indexType}, { this.$http.get('sarEnterpriseStandardEvaluation/evaluation-index/getEvaluationIndex', {indexType:this.indexType}, {
_this: this _this: this
}, res => { }, res => {
this.businessCommentTable = res.data
console.log(this.businessCommentTable) if(res.data){
this.$forceUpdate() this.businessCommentTable = res.data
this.$forceUpdate()
}
}, e => { }, e => {
}) })
this.sarStandardsInfoEO.id = this.$route.params.id this.sarStandardsInfoEO.id = this.$route.params.id
@@ -3445,8 +3445,8 @@ export default {
width: calc(~'100% - 225px'); width: calc(~'100% - 225px');
& > .files-title{ & > .files-title{
width: calc(~'100% - 120px'); width: calc(~'100% - 120px');
min-height: 50px; min-height: 32px;
line-height: 50px; line-height: 32px;
font-size: 16px; font-size: 16px;
color: #409EFF; color: #409EFF;
& > a{ & > a{
@@ -3,7 +3,7 @@
<div class="other-standard-details v-class" :class="{'hidden': !isMoreAwayBtn}"> <div class="other-standard-details v-class" :class="{'hidden': !isMoreAwayBtn}">
<!--title 标题--> <!--title 标题-->
<div class="details-header"> <div class="details-header">
<span>{{sarStandardsInfoEO.lawsNumber}}-{{sarStandardsInfoEO.lawsYear}} {{sarStandardsInfoEO.lawsName}} 企标详情</span> <span>{{sarStandardsInfoEO.lawsNumber}}-{{sarStandardsInfoEO.lawsYear}} {{sarStandardsInfoEO.lawsName}} 政策详情</span>
</div> </div>
<!--主体内容--> <!--主体内容-->
<div class="details-content" style="position: relative"> <div class="details-content" style="position: relative">
@@ -40,27 +40,27 @@
<template v-if = "item.label === '基础信息'"> <template v-if = "item.label === '基础信息'">
<div class="details-content-modular basic-information" style="margin-bottom: 0;border: none"> <div class="details-content-modular basic-information" style="margin-bottom: 0;border: none">
<div class="basic-information-content"> <div class="basic-information-content">
<p style="color: #C42626;" class="half"><label style=" margin-right: 157px;">政策编号</label><span>{{ sarStandardsInfoEO.lawsNumber }}</span></p> <p style="" class="half"><label style=" margin-right: 157px;">政策分类</label><span>{{ sarStandardsInfoEO.lawsType }}</span></p>
<p class="half"><label style=" margin-right: 157px;">政策</label><span>{{ sarStandardsInfoEO.lawsNo || '-' }}</span></p> <p style="" class="half"><label style=" margin-right: 157px;">政策</label><span>{{ sarStandardsInfoEO.lawsNumber }}</span></p>
<p><label style=" margin-right: 157px;">中文名称</label><span>{{ sarStandardsInfoEO.lawsName || '-' }}</span></p> <p><label style=" margin-right: 157px;">政策名称</label><span>{{ sarStandardsInfoEO.lawsName || '-' }}</span></p>
<p v-if="activeState" style=""><label style=" margin-right: 157px;">英文名称</label><span>{{ sarStandardsInfoEO.lawsEnName || '-' }}</span></p> <p v-if="activeState" style=""><label style=" margin-right: 157px;">英文名称</label><span>{{ sarStandardsInfoEO.lawsEnName || '-' }}</span></p>
<p class="half"><label style=" margin-right: 157px;">发文日期</label><span>{{ sarStandardsInfoEO.issueTime || '-' }}</span></p> <p class="half"><label style=" margin-right: 157px;">发文日期</label><span>{{ sarStandardsInfoEO.issueTime || '-' }}</span></p>
<p class="half"><label style=" margin-right: 157px;">发文单位</label><span>{{ sarStandardsInfoEO.issueCompany || '-' }}</span></p> <p class="half"><label style=" margin-right: 157px;">发文单位</label><span>{{ sarStandardsInfoEO.issueCompany || '-' }}</span></p>
<p class="half"><label style=" margin-right: 157px;">发文单位</label><span>{{ sarStandardsInfoEO.issueCompany || '-' }}</span></p> <p class="half"><label style=" margin-right: 125px;">征集意见周期</label><span>{{ formatDateFunc(sarStandardsInfoEO.commentCycleStart) || '' }} - {{formatDateFunc(sarStandardsInfoEO.commentCycleEnd) || ''}}</span></p>
<p class="half"><label style=" margin-right: 120px;">征集意见周期</label><span>{{ sarStandardsInfoEO.commentCycleStart || '' }} - {{sarStandardsInfoEO.commentCycleEnd || ''}}</span></p>
<p class="half"> <p class="half">
<label style=" margin-right: 156px;" <label style=" margin-right: 156px;"
title="“修订中”为现行有效版本;“已修订”标准的有效性需根据实际实施情况判定" title=""
>文本状态</label><span style="color: #409EFF;">{{ sarStandardsInfoEO.standStatusShow || '-' }}</span> >文本状态</label><span style="">{{ sarStandardsInfoEO.standStatusShow || '-' }}</span>
</p> </p>
<p class="half"><label style=" margin-right: 157px;">信息简报</label><span>{{ sarStandardsInfoEO.lawsBulletin || '-' }}</span></p> <p class="half"><label style=" margin-right: 157px;">信息简报</label><span>{{ sarStandardsInfoEO.lawsBulletin || '-' }}</span></p>
<p class="half"><label style=" margin-right: 157px;">适用区域</label><span>{{ sarStandardsInfoEO.lawsSyqy || '-' }}</span></p> <p class="half"><label style=" margin-right: 157px;">适用区域</label><span>{{ sarStandardsInfoEO.lawsSyqy || '-' }}</span></p>
<p class="half"><label style=" margin-right: 157px;">适用车型</label><span>{{ sarStandardsInfoEO.lawsSycx || '-' }}</span></p> <p class="half"><label style=" margin-right: 157px;">适用车型</label><span>{{ sarStandardsInfoEO.lawsSycx || '-' }}</span></p>
<p class="half"><label style=" margin-right: 97px;">是否纳入认证清单</label><span>{{ sarStandardsInfoEO.isRelateAccess === '1' ? '是' : (sarStandardsInfoEO.isRelateAccess ? '否':'-')}}</span></p> <p class="half"><label style=" margin-right: 95px;">是否纳入认证清单</label><span>{{ sarStandardsInfoEO.isRelateAccess === '1' ? '是' : (sarStandardsInfoEO.isRelateAccess ? '否':'-')}}</span></p>
<p class="half"><label style=" margin-right: 97px;">福田转发通知文号</label><span>{{ sarStandardsInfoEO.lawsNotisyncNum || '-' }}</span></p> <p class="half"><label style=" margin-right: 95px;">福田转发通知文号</label><span>{{ sarStandardsInfoEO.lawsNotisyncNum || '-' }}</span></p>
<p class="half"><label style=" margin-right: 192px;">年度</label><span>{{ sarStandardsInfoEO.lawsYear || '-' }}</span></p> <p class="half"><label style=" margin-right: 157px;">政策文号</label><span>{{ sarStandardsInfoEO.lawsNo || '-' }}</span></p>
<p class="half"><label style=" margin-right: 192px;">标签</label><span>{{ sarStandardsInfoEO.lawsLabel || '-' }}</span></p> <p class="half"><label style=" margin-right: 190px;">年度</label><span>{{ sarStandardsInfoEO.lawsYear || '-' }}</span></p>
<p class="half"><label style=" margin-right: 192px;">备注</label><span>{{ sarStandardsInfoEO.lawsRemark || '-' }}</span></p> <p class="half"><label style=" margin-right: 190px;">标签</label><span>{{ sarStandardsInfoEO.lawsLabel || '-' }}</span></p>
<p class="half"><label style=" margin-right: 62px;">备注最终政策发布</label><span>{{ sarStandardsInfoEO.lawsRemark || '-' }}</span></p>
<template v-for="(child, childIndex) in item.child2"> <template v-for="(child, childIndex) in item.child2">
<p class="half"> <p class="half">
<label style=" margin-right: 156px;">{{child.attrName}}</label> <label style=" margin-right: 156px;">{{child.attrName}}</label>
@@ -112,6 +112,15 @@
</span> </span>
</p> </p>
</template> </template>
<template v-else-if="child.attrField === 'DTWJHLAWS'|| child.attrField === 'BDTWJHLAWS'">
<p class="modular-content-p-val" v-if="child.value">
<span v-for="(item, index) in child.value.split(',')" :key="index">
<a @click="showReplaceStandInfo(item)" style="cursor: pointer;color: #0c91e5;margin-right: 5px;"
class="span-line" :title="item">{{ item }}</a>
</span>
</p>
<span class="modular-content-p-val" v-else>-</span>
</template>
<!--相关计划--> <!--相关计划-->
<template v-else-if="child.attrField === 'XGJH' && child.value"> <template v-else-if="child.attrField === 'XGJH' && child.value">
<span <span
@@ -1119,6 +1128,13 @@ export default {
watch: { watch: {
}, },
methods: { methods: {
formatDateFunc(date){
let result = ""
if(date){
result = this.$moment(date).format('YYYY-MM-DD')
}
return result
},
handleChange(val) { handleChange(val) {
console.log(val) console.log(val)
}, },
@@ -1647,29 +1663,14 @@ export default {
// 请求标准id和类型 // 请求标准id和类型
showReplaceStandInfo (item) { showReplaceStandInfo (item) {
// this.replaceStandInfoEO.standType = this.sarStandardsInfoEO.standType // this.replaceStandInfoEO.standType = this.sarStandardsInfoEO.standType
this.$http.get('sarStandardsInfo/sar-standards-info/queryInfoByStandNum', { this.$http.get('/lawss/sarLawsInfo/queryInfoByStandNum', {
standNumber: item lawsNumber: item
}, { }, {
_this: this _this: this
}, res => { }, res => {
if (res.ok) { if (res.ok && res.data) {
let name = '' let name = 'OtherLawsStandDetails'
let pageType = '' let pageType = 'FOREIGN_LAWS'
const standType = res.data.standType || 'BUSINESS'
switch (standType) {
case 'INLAND':
name = 'OtherStandardDetails'
pageType = 'INLAND_STAND'
break
case 'FOREIGN':
name = 'OtherStandardDetails'
pageType = 'FOREIGN_STAND'
break
case 'BUSINESS':
name = 'OtherBussStandardDetails'
pageType = 'BUSINESS_STAND'
break
}
let routeUrl = this.$router.resolve({ let routeUrl = this.$router.resolve({
name: name, name: name,
params: { params: {
@@ -1678,8 +1679,6 @@ export default {
} }
}) })
window.open(routeUrl.href, '_blank') window.open(routeUrl.href, '_blank')
} else {
this.$message.error(res.message)
} }
}, e => { }, e => {
}) })
@@ -2015,7 +2014,7 @@ export default {
relateEvent () { relateEvent () {
this.$http.get('lawss/sarUpdLog/getLogList', { this.$http.get('lawss/sarUpdLog/getLogList', {
sarId: this.$route.params.id, sarId: this.$route.params.id,
sarType: 'BUSINESS' sarType: 'FOREIGN_LAWS'
}, { }, {
_this: this _this: this
}, res => { }, res => {
@@ -2392,7 +2391,7 @@ export default {
min-height: 50px; min-height: 50px;
line-height: 50px; line-height: 50px;
font-size: 16px; font-size: 16px;
color: #999999; /*color: #999999;*/
word-break: break-all; word-break: break-all;
//overflow: hidden; //overflow: hidden;
//white-space: nowrap; //white-space: nowrap;
@@ -64,15 +64,15 @@
sarStandardsInfoEO.standEnName || '-' sarStandardsInfoEO.standEnName || '-'
}}</span></p> }}</span></p>
<!--发布稿必读--> <!--发布稿必读-->
<template v-for="(child, childIndex) in item.child1"> <template v-for="(child, childIndex) in item.child1" v-if="child.value && child.value.length > 0">
<div class="files-titles" style="border-bottom: 1px solid #E5E5E5"> <p class="files-titles" style="border-bottom: 1px solid #E5E5E5">
<label style="float: left">{{ child.attrName }}</label> <label style="float: left">{{ child.attrName }}</label>
<template v-if="child.value && child.value.length > 0"> <template v-if="child.value && child.value.length > 0">
<!-- 单个文件时--> <!-- 单个文件时-->
<div style="position: relative;margin-left: 214px;"> <div style="position: relative;margin-left: 214px; line-height: 32px">
<div v-for="(file, fileIndex) in child1Func(child.value)" style="display: flex;"> <div v-for="(file, fileIndex) in child1Func(child.value)" style="display: flex;">
<span v-if="child.value && child.value.length > 0 && child.value.length === 1" style="display: flex; align-items: center;"> <span v-if="child.value && child.value.length > 0 && child.value.length === 1" style="display: flex; align-items: center;">
<a style="font-size: 16px;color: #409EFF;cursor: pointer;" <a style="font-size: 16px;color: #409EFF;cursor: pointer;display: inline-block"
@click="openFileInPdf(file.id, file.oldFileName)" target="_blank" @click="openFileInPdf(file.id, file.oldFileName)" target="_blank"
:title="file.oldFileName">{{ file.oldFileName | ellipsis50}}</a> :title="file.oldFileName">{{ file.oldFileName | ellipsis50}}</a>
<i <i
@@ -251,7 +251,13 @@
<template v-if="child.value === null">-</template> <template v-if="child.value === null">-</template>
</p> </p>
</template> </template>
</div> </p>
<p class="half"> <p class="half">
<label style=" margin-right: 150px;" <label style=" margin-right: 150px;"
title="“计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。" title="“计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。"
@@ -3907,7 +3913,7 @@ export default {
a { a {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
width: calc(~'100% - 40px'); max-width: 780px;
white-space: nowrap; white-space: nowrap;
display: block; display: block;
} }
@@ -4272,6 +4278,7 @@ export default {
} }
.modular-content-p-val { .modular-content-p-val {
line-height: 32px;
display: inline-block; display: inline-block;
width: calc(~'100% - 225px'); width: calc(~'100% - 225px');
//min-height: 50px; //min-height: 50px;
@@ -4285,6 +4292,7 @@ export default {
} }
.modular-content-p-flies { .modular-content-p-flies {
line-height: 32px;
//position: relative; //position: relative;
display: inline-block; display: inline-block;
width: calc(~'100% - 225px'); width: calc(~'100% - 225px');
@@ -4363,7 +4371,7 @@ export default {
.basic-information-content { .basic-information-content {
& > p { & > p {
min-height: 42px; min-height: 43px;
line-height: 43px; line-height: 43px;
border-bottom: 1px solid #E5E5E5; border-bottom: 1px solid #E5E5E5;
} }
@@ -105,6 +105,31 @@ export default {
}) })
} }
break break
case 'laws1':
if (row.taskInfo === '政策入库审批') {
this.$router.push({
name: 'zcrkStep2',
query: {
taskIds: row.taskIds,
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
prcType: row.prcType
}
})
}else if (row.taskInfo === '重新发起入库流程'){
this.$router.push({
name: 'zcrkStep3',
query: {
taskIds: row.taskIds,
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
prcType: row.prcType
}
})
}
break
case 'buss1': case 'buss1':
if (row.taskInfo === '企标编写') { if (row.taskInfo === '企标编写') {
this.$router.push({ this.$router.push({
@@ -1256,6 +1256,7 @@ export default {
}, },
standSelectChange (data) { standSelectChange (data) {
this.selectedList = [] this.selectedList = []
this.selectedList1 = []
this.selectedAllList = data this.selectedAllList = data
for (let i = 0; i < data.length; i++) { for (let i = 0; i < data.length; i++) {
this.selectedList.push(data[i].id) this.selectedList.push(data[i].id)
@@ -1431,6 +1432,7 @@ export default {
this.parentNode = cur[i] this.parentNode = cur[i]
} }
this.zNodes = str this.zNodes = str
console.log(this.zNodes);
} }
// 查完左侧目录后,如果没有选中的,设置最外层选中 // 查完左侧目录后,如果没有选中的,设置最外层选中
if (JSON.stringify(this.selectSarMenu) === '{}') { if (JSON.stringify(this.selectSarMenu) === '{}') {
@@ -1506,6 +1508,8 @@ export default {
}, res => { }, res => {
if (res.data) { if (res.data) {
this.batchDeleteItem() this.batchDeleteItem()
} else if(this.selectedList != null){
this.$message.warning('请选择要删除的数据')
} else { } else {
this.deleteItemsModal = true this.deleteItemsModal = true
} }
@@ -689,6 +689,10 @@ export default {
if (data.length > 0) { if (data.length > 0) {
this.editForm.fillPeopleId = data[0].id this.editForm.fillPeopleId = data[0].id
this.editForm.fillPeople = data[0].name this.editForm.fillPeople = data[0].name
this.editForm.fillUnit = data[0].unit
this.editForm.fillDept = data[0].institutionName
this.editForm.fillTel = data[0].phone
this.editForm.fillMail = data[0].email
} }
this.roleShowflag = false this.roleShowflag = false
}, },
+137
View File
@@ -0,0 +1,137 @@
<template>
<div class="checkPage">
</div>
</template>
<script>
import { mapMutations, mapActions } from 'vuex'
import { checkPage } from '@/api/login'
import { Loading } from 'element-ui';
export default {
name: 'CheckPage',
data() {
return {
loading: ''
}
},
created() {
const data = {
lock: true,
text: 'Loading',
spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.7)'
}
this.loading = Loading.service(data)
},
mounted() {
let Base64 = require('js-base64').Base64
const str = Base64.encode(this.$route.query.username)
const params = {
username: this.$route.query.username
}
checkPage(params).then(res => {
if (res.ok) {
this.loginNew(res)
this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
this.loading.close();
});
} else if (res.respCode === 'r0012') {
this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
this.loading.close();
});
this.$router.go(-1)
this.$message.error(res.message)
} else {
this.$router.go(-1)
this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
this.loading.close();
});
}
}).catch(err => {
this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
this.loading.close();
});
})
},
methods: {
getMenu () {
return new Promise((resolve, reject) => {
this.$http.get('sarUser/user/menu', {
userId: this.$store.getters.userInfo.userId,
}, {
_this: this,
}, res => {
if (res.ok) {
resolve(res.data)
}
}, e => {
reject(e)
})
})
},
loginNew (res) {
console.log(res)
if (res.data.orgId === null || res.data.orgId === '') {
this.$message.warning('未分配组织机构,请联系管理员分配后重新登录')
return
}
let Base64 = require('js-base64').Base64
let userInfoStr = Base64.decode(res.data)
let userInfo2 = decodeURIComponent(userInfoStr)
let userInfoObj = JSON.parse(userInfo2)
userInfoObj.userId = userInfoObj.usid
console.log(1)
window.sessionStorage.setItem('userInfoObj', userInfoObj); // del
this.setToken(userInfoObj.token) // vuex存储token
let userInfo = {}
for (let key in userInfoObj) {
if (key !== 'uname') {
userInfo[key] = userInfoObj[key]
} else {
userInfo.uName = userInfoObj[key]
}
}
this.setUserInfo(JSON.stringify((userInfo)))
// this.resetTime()
// 获取用户菜单
console.log(2)
window.sessionStorage.setItem('userInfo', userInfo); // del
console.log('寄')
this.getMenu().then((menuList) => {
let hasHomeMenu = false
menuList.map((menuItem) => {
if (menuItem.id === 'asdfadf') {
hasHomeMenu = true
}
})
console.log(3)
window.sessionStorage.setItem('hasHomeMenu', hasHomeMenu); // del
window.sessionStorage.setItem('menuList', menuList); // del
if (hasHomeMenu) {
this.setMenu(JSON.stringify(menuList)).then(res => {
if (this.showIETips) {//判断是否IE浏览器
alert('为了最佳显示效果 请使用google chrome')
}
console.log(4)
this.$router.push('/home2')
}, e => {
this.$message.warning('未获取到菜单')
})
} else {
alert('无系统权限')
// window.location.href = 'http://testsso1.foton.com.cn/oauth2.0/authorize?client_id=app_slrs&redirect_uri=http://127.0.0.1:9090&response_type=code';
}
})
},
...mapMutations(['setToken', 'setUserInfo', 'resetTime', 'rememberPwd', 'setJESSCookie']),
...mapActions(['setMenu'])
}
}
</script>
<style lang="less" scoped>
.checkPage {
}
</style>
+45 -45
View File
@@ -148,53 +148,53 @@
}) })
}, },
loginNew (res) { loginNew (res) {
if (res.data.orgId === null || res.data.orgId === '') { if (res.data.orgId === null || res.data.orgId === '') {
this.$message.warning('未分配组织机构,请联系管理员分配后重新登录') this.$message.warning('未分配组织机构,请联系管理员分配后重新登录')
return return
}
let Base64 = require('js-base64').Base64
let userInfoStr = Base64.decode(res.data)
let userInfo2 = decodeURIComponent(userInfoStr)
let userInfoObj = JSON.parse(userInfo2)
userInfoObj.userId = userInfoObj.usid
window.sessionStorage.setItem('userInfoObj', userInfoObj); // del
this.setToken(userInfoObj.token) // vuex存储token
let userInfo = {}
for (let key in userInfoObj) {
if (key !== 'uname') {
userInfo[key] = userInfoObj[key]
} else {
userInfo.uName = userInfoObj[key]
}
}
this.setUserInfo(JSON.stringify((userInfo)))
// this.resetTime()
// 获取用户菜单
window.sessionStorage.setItem('userInfo', userInfo); // del
this.getMenu().then((menuList) => {
let hasHomeMenu = false
menuList.map((menuItem) => {
if (menuItem.id === 'asdfadf') {
hasHomeMenu = true
} }
let Base64 = require('js-base64').Base64 })
let userInfoStr = Base64.decode(res.data) window.sessionStorage.setItem('hasHomeMenu', hasHomeMenu); // del
let userInfo2 = decodeURIComponent(userInfoStr) window.sessionStorage.setItem('menuList', menuList); // del
let userInfoObj = JSON.parse(userInfo2) if (hasHomeMenu) {
userInfoObj.userId = userInfoObj.usid this.setMenu(JSON.stringify(menuList)).then(res => {
window.sessionStorage.setItem('userInfoObj', userInfoObj); // del if (this.showIETips) {//判断是否IE浏览器
this.setToken(userInfoObj.token) // vuex存储token alert('为了最佳显示效果 请使用google chrome')
let userInfo = {} }
for (let key in userInfoObj) { this.$router.push('/home2')
if (key !== 'uname') { }, e => {
userInfo[key] = userInfoObj[key] this.$message.warning('未获取到菜单')
} else {
userInfo.uName = userInfoObj[key]
}
}
this.setUserInfo(JSON.stringify((userInfo)))
// this.resetTime()
// 获取用户菜单
window.sessionStorage.setItem('userInfo', userInfo); // del
this.getMenu().then((menuList) => {
let hasHomeMenu = false
menuList.map((menuItem) => {
if (menuItem.id === 'asdfadf') {
hasHomeMenu = true
}
})
window.sessionStorage.setItem('hasHomeMenu', hasHomeMenu); // del
window.sessionStorage.setItem('menuList', menuList); // del
if (hasHomeMenu) {
this.setMenu(JSON.stringify(menuList)).then(res => {
if (this.showIETips) {//判断是否IE浏览器
alert('为了最佳显示效果 请使用google chrome')
}
this.$router.push('/home2')
}, e => {
this.$message.warning('未获取到菜单')
})
} else {
alert('无系统权限')
// window.location.href = 'http://testsso1.foton.com.cn/oauth2.0/authorize?client_id=app_slrs&redirect_uri=http://127.0.0.1:9090&response_type=code';
}
}) })
}, } else {
alert('无系统权限')
// window.location.href = 'http://testsso1.foton.com.cn/oauth2.0/authorize?client_id=app_slrs&redirect_uri=http://127.0.0.1:9090&response_type=code';
}
})
},
...mapMutations(['setToken', 'setUserInfo', 'resetTime', 'rememberPwd', 'setJESSCookie']), ...mapMutations(['setToken', 'setUserInfo', 'resetTime', 'rememberPwd', 'setJESSCookie']),
...mapActions(['setMenu']) ...mapActions(['setMenu'])
}, },
+28 -23
View File
@@ -30,7 +30,7 @@
getMenu () { getMenu () {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
this.$http.get('sarUser/user/menu', { this.$http.get('sarUser/user/menu', {
userId: this.$store.getters.userInfo.userId, userId: this.$store.getters.userInfo.userId,
}, { }, {
_this: this, _this: this,
}, res => { }, res => {
@@ -81,7 +81,7 @@
let routerUrl = localStorage.getItem("routerUrl"); let routerUrl = localStorage.getItem("routerUrl");
let routerParam = localStorage.getItem("routerParam"); let routerParam = localStorage.getItem("routerParam");
// 路由跳转 // 路由跳转
if(routerParam && routerParam != ''){ if(routerParam && routerParam !== ''){
const UA = navigator.userAgent.toLocaleLowerCase() const UA = navigator.userAgent.toLocaleLowerCase()
if (UA.match(/msie/) != null || UA.match(/trident/) != null) { if (UA.match(/msie/) != null || UA.match(/trident/) != null) {
alert('为了最佳显示效果 请使用google chrome') alert('为了最佳显示效果 请使用google chrome')
@@ -117,7 +117,7 @@
mounted () { mounted () {
let url = window.location.search let url = window.location.search
let code = ""; let code = "";
if(url){ if(url && url.indexOf("code") !== -1){
url = url.substr(1); url = url.substr(1);
url = url.split('&'); url = url.split('&');
let info = []; let info = [];
@@ -129,27 +129,32 @@
} }
code = url[0].code code = url[0].code
} }
let _formData = new FormData() if(code !== undefined && code !== ""){
_formData.append('code', code === undefined ? "" : code) let _formData = new FormData()
loginIdm(_formData).then(res => { _formData.append('code', code === undefined ? "" : code)
if (res.ok) { loginIdm(_formData).then(res => {
this.loginNew(res) if (res.ok) {
} else { this.loginNew(res)
if(res.respCode && res.respCode === 'r0011'){ } else {
this.$message.warning('系统无权限访问') if(res.respCode && res.respCode === 'r0011'){
this.$store.dispatch('logout') this.$message.warning('系统无权限访问')
this.$alert('您没有系统访问权限,请联系管理员进行授权', '提示', { this.$store.dispatch('logout')
confirmButtonText: '确定', this.$alert('您没有系统访问权限,请联系管理员进行授权', '提示', {
type: 'warning', confirmButtonText: '确定',
showClose: false, type: 'warning',
showCancelButton: false, showClose: false,
}).then(() => { showCancelButton: false,
window.location.href = ssoLogoutUrlDev }).then(() => {
}) window.location.href = ssoLogoutUrlDev
// window.location.href = 'http://sso.foton.com.cn/logout?service=' })
// window.location.href = 'http://sso.foton.com.cn/logout?service='
}
} }
} })
}) }else {
this.$router.push('/home2')
// window.location.href = ssoLogoutUrlDev
}
if (this.$store.state.laws_urm !== '') { if (this.$store.state.laws_urm !== '') {
this.isRemember = true this.isRemember = true
@@ -42,7 +42,7 @@
<div @click="detailsLaws(item)" > <div @click="detailsLaws(item)" >
<el-col :span="5" :offset="1"> <el-col :span="5" :offset="1">
<i class="el-icon-collection-tag" style="position: relative; left: -15px" /> <i class="el-icon-collection-tag" style="position: relative; left: -15px" />
所属板块{{ item.collectType === 'INLAND_LAWS' ? '国内政策' : '国外政策' }} 所属板块{{ '国外政策' }}
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-tooltip class="item" effect="dark" :content="item.collectTitle" placement="top"> <el-tooltip class="item" effect="dark" :content="item.collectTitle" placement="top">
@@ -52,8 +52,7 @@
<el-col :span="4" :offset="3"> 创建时间{{getDate(item.creationTime)}}</el-col> <el-col :span="4" :offset="3"> 创建时间{{getDate(item.creationTime)}}</el-col>
</div> </div>
<el-col :span="4"> <el-col :span="4">
<el-button size="mini" style="margin-top: -5px; border: 1px dashed #dcdee2" @click="cancelLaws(item.id)" v-btn-permission="'2dee468b4139ac3f26ebe8ac498b9da6'">{{$t('m.cancelCollection')}}</el-button> <el-button size="mini" style="margin-top: -5px; border: 1px dashed #dcdee2" @click="cancelLaws(item.id)" v-btn-permission="'015f4508c4c5066b90f23d752b43a9df'">取消收藏</el-button>
<!-- <el-button size="mini" style="margin-top: -5px; border: 1px dashed #dcdee2" @click="writeLawsNotes(item,index1)">{{item.seeBtn}}</el-button>-->
</el-col> </el-col>
</el-row> </el-row>
</div> </div>
@@ -273,7 +272,7 @@ export default {
this.$http.get('person/personCollect/page', { this.$http.get('person/personCollect/page', {
pageNo: this.page, pageNo: this.page,
pageSize: this.$store.getters.userInfo.configContent, pageSize: this.$store.getters.userInfo.configContent,
modeType: 'LAWS_STAND', modeType: 'FOREIGN_LAWS',
collectTitle: this.search.collectionLaws, collectTitle: this.search.collectionLaws,
userId: this.$store.getters.userInfo.userId userId: this.$store.getters.userInfo.userId
}, { }, {
@@ -139,7 +139,8 @@ export default {
pageNo: this.page, pageNo: this.page,
pageSize: this.$store.getters.userInfo.configContent, pageSize: this.$store.getters.userInfo.configContent,
userId: this.$store.getters.userInfo.userId, userId: this.$store.getters.userInfo.userId,
collectTitle: this.search.name collectTitle: this.search.name,
modeType: 'INLAND_STAND,FOREIGN_STAND,BUSINESS_STAND'
}, { }, {
_this: this, _this: this,
loading: 'loading' loading: 'loading'
+23
View File
@@ -0,0 +1,23 @@
<template>
<div class="policyRegulation">
<router-view />
</div>
</template>
<script>
export default {
name: 'PolicyRegulation',
data() {
return {
}
},
methods: {
}
}
</script>
<style lang="less" scoped>
.policyRegulation{
height: 100%;
}
</style>
@@ -0,0 +1,27 @@
<template>
<div class="nationalPolicy">
<foreignRegulationsDatabase></foreignRegulationsDatabase>
</div>
</template>
<script>
import foreignRegulationsDatabase from '@/pages/regulatoryRepository/foreignRegulationsDatabase/index'
export default {
name: 'NationalPolicy',
components: {
foreignRegulationsDatabase
},
data() {
return {
}
},
methods: {
}
}
</script>
<style lang="less" scoped>
.nationalPolicy{
height: 100%;
}
</style>
@@ -0,0 +1,74 @@
<template>
<div class="policyWorkGroup">
<el-tabs
v-model="activeName"
class="home-tabs"
>
<!-- <el-tab-pane name="workingGroup1">-->
<!-- <span slot="label"><i class="el-icon-s-order"></i> 标准法规工作组</span>-->
<!-- <workingGroup1 v-if="activeName === 'workingGroup1'"></workingGroup1>-->
<!-- </el-tab-pane>-->
<el-tab-pane name="workingGroup2">
<span slot="label"><i class="el-icon-s-promotion"></i> 政策工作组</span>
<workingGroup2 v-if="activeName === 'workingGroup2'"></workingGroup2>
</el-tab-pane>
</el-tabs>
<el-button size="mini" type="primary" @click="statisticsBtn" v-btn-permission="'2331baafd7d298b87ab3c0b5430d608d'" class="statistics">工作组统计</el-button>
</div>
</template>
<script>
import workingGroup1 from '@/pages/regulatoryRepository/workingGroup/components/workingGroup1'
import workingGroup2 from '@/pages/regulatoryRepository/workingGroup/components/workingGroup2'
export default {
name: 'PolicyWorkGroup',
components: {
workingGroup1,
workingGroup2
},
data() {
return {
activeName: 'workingGroup2',
}
},
methods: {
statisticsBtn(){
this.$router.push({
name: 'dataStatisComments'
})
}
}
}
</script>
<style lang="less" scoped>
.policyWorkGroup{
position: relative;
height: 100%;
.statistics{
position: absolute;
top: 0;
right: 0;
margin: 5px;
}
.home-tabs {
height: 100%;
/deep/.el-tabs__content {
height: calc(~'100% - 55px');
margin: 0 10px;
}
::v-deep.el-tabs__header{
margin: 0 10px 15px 10px;
border-bottom: 1px solid #F4F4F4;
}
::v-deep {
.el-tabs__item {
font-size: 16px;
font-weight: 600;
}
}
.el-tab-pane {
height: 100%;
}
}
}
</style>
@@ -0,0 +1,100 @@
<template>
<div class="problemControl">
<div class="non-content">
<el-tabs v-model="tabValue" @tab-click="handleClick" style="height: 100%">
<!-- <el-tab-pane label="未符合项整改数据库" name="database" v-if="database">-->
<!-- <rectification-database></rectification-database>-->
<!-- </el-tab-pane>-->
<el-tab-pane label="重点问题项管控" name="keynote" v-if="keynote">
<key-issues :keynoteActiveName="keynoteActiveName"></key-issues>
</el-tab-pane>
</el-tabs>
</div>
</div>
</template>
<script>
import keyIssues from "@/pages/regulatoryRepository/nonConfomity/pages/keyIssues";
import rectificationDatabase from "@/pages/regulatoryRepository/nonConfomity/pages/rectificationDatabase";
export default {
name: 'ProblemControl',
components: {
keyIssues,
rectificationDatabase,
},
data() {
return {
keynote: false,
database: false,
menuName: ["未符合项整改数据库", "重点问题项管控"],
tabValue: 'keynote',
keynoteActiveName: 'cause'
}
},
methods: {
handleClick(tab, event) {
},
// getActiveName() {
// if (this.$route.query.activeName) {
// this.activeName = this.$route.query.activeName
// }
// if (this.$route.query.keynoteActiveName) {
// this.keynoteActiveName = this.$route.query.keynoteActiveName
// }
// console.log('35', this.keynoteActiveName)
// }
},
created() {
// this.getActiveName()
},
mounted () {
var list = [];
const menuList = this.$store.getters.getMenuList;
let menuData = [];
let menuID = ["ff7bc984c8115204bba04090f350b19c", "e02897e9ab6b1a72f49c47c07b5be9a5"];
this.menuName.forEach(item => {
for (let i = 0; i < menuList.length; i++) {
let entity = menuList[i];
if (item !== entity.menuName) continue;
if (menuID.indexOf(entity.id) >= 0 && menuData.indexOf(entity.id) === -1) {
menuData.push(entity.id);
if (entity.id === "ff7bc984c8115204bba04090f350b19c") {
this.database = true
} else if (entity.id === "e02897e9ab6b1a72f49c47c07b5be9a5") {
this.keynote = true
}
}
}
});
// this.tabValue = this.database ? 'database' : (this.keynote ? 'keynote' : (this.tracking ? 'listTracking' : (this.other ? 'listOther' : (this.library ? 'localProductsOrProjectLibrary' : ''))))
},
watch: {},
}
</script>
<style lang="less" scoped>
.problemControl {
height: inherit;
display: flex;
flex-direction: column;
background-color: #FFFFFF;
.non-content {
padding: 0 10px;
height: 100%;
/deep/ .el-tabs {
display: flex;
flex-direction: column;
height: 100%;
.el-tabs__content {
flex: 1;
overflow: hidden;
.el-tab-pane {
height: 100%;
}
}
}
}
.el-tabs__nav {
margin-left:20px;
}
}
</style>
@@ -0,0 +1,27 @@
<template>
<div class="standardTrackingList">
<listTracking></listTracking>
</div>
</template>
<script>
import listTracking from "@/pages/regulatoryRepository/accessStandardsAndRegulations/page/listTracking";
export default {
name: 'StandardTrackingList',
components: {
listTracking
},
data() {
return {
}
},
methods: {
}
}
</script>
<style lang="less" scoped>
.standardTrackingList {
height: 100%;
}
</style>
@@ -575,7 +575,14 @@
if (valid) { if (valid) {
this.isSubmit = true this.isSubmit = true
this.$http.post('lawss/activiti/startProcessRollBack', { this.$http.post('lawss/activiti/startProcessRollBack', {
type: '2' createUser: this.$store.getters.userInfo.userId,
createUserName: this.$store.getters.userInfo.userName,
type: '2',
json: JSON.stringify({
form: this.form,
roleForm: this.roleForm,
commentText1: this.commentText1
})
}, {}, res => { }, {}, res => {
if (res.ok) { if (res.ok) {
var json = Object.assign(this.form, this.roleForm) var json = Object.assign(this.form, this.roleForm)
@@ -14,6 +14,7 @@
<el-form <el-form
ref="bzzqyjForm" ref="bzzqyjForm"
:model="form" :model="form"
:rules="formRules"
class="label-input-form" class="label-input-form"
label-width="210px" label-width="210px"
> >
@@ -568,14 +569,17 @@
itemsName1: '', itemsName1: '',
oldNumber: '' oldNumber: ''
}, },
formRules: { formRules: {
itemsNum: [ itemsNum: [
{ required: true, message: '请输入标准号/政策号', trigger: 'change' }, {required: true, message: '请输入标准号/政策号', trigger: 'change'},
], ],
itemsName: [ itemsName: [
{ required: true, message: '请输入标准名称/政策名称', trigger: 'change' }, {required: true, message: '请输入标准名称/政策名称', trigger: 'change'},
], ],
}, endTime: [
{required: true, message: '请输入截止时间', trigger: 'change'},
],
},
// //
standCommonlySearch: { standCommonlySearch: {
numOrName: '', numOrName: '',
@@ -1103,7 +1107,16 @@
} else { } else {
this.isSubmit = true this.isSubmit = true
this.$http.post('lawss/activiti/startProcessRollBack', { this.$http.post('lawss/activiti/startProcessRollBack', {
type: '9' createUser: this.$store.getters.userInfo.userId,
createUserName: this.$store.getters.userInfo.userName,
type: '9',
json: JSON.stringify({
form: this.form,
roleForm: this.roleForm,
commentText1: this.commentText1,
itemList: this.itemList,
sarType: this.sarType
})
}, {}, res => { }, {}, res => {
if (res.ok) { if (res.ok) {
var json = Object.assign(this.form, this.roleForm) var json = Object.assign(this.form, this.roleForm)
@@ -1112,7 +1112,6 @@ export default {
} else { } else {
this.isSubmit = true this.isSubmit = true
this.$http.post('lawss/activiti/startProcessRollBack', { this.$http.post('lawss/activiti/startProcessRollBack', {
id: this.bpnId || '',
createUser: this.$store.getters.userInfo.userId, createUser: this.$store.getters.userInfo.userId,
createUserName: this.$store.getters.userInfo.userName, createUserName: this.$store.getters.userInfo.userName,
type: '9', type: '9',
@@ -500,7 +500,10 @@
pId: this.pId pId: this.pId
}).then(res => { }).then(res => {
let data = JSON.parse(res.mesg) let data = JSON.parse(res.mesg)
console.log(data);
this.form.itemsNum = data.itemsNum || data.form.itemsNum this.form.itemsNum = data.itemsNum || data.form.itemsNum
this.form.deptUserId = data.form ? data.form.deptUserId : data.deptUserId
this.form.deptUserIdName = data.form ? data.form.deptUserIdName : data.deptUserIdName
this.form.itemsName = data.itemsName || data.form.itemsName this.form.itemsName = data.itemsName || data.form.itemsName
this.commentText2 = data.commentText2 || '' this.commentText2 = data.commentText2 || ''
this.form.endTime = data.endTime || data.form.endTime this.form.endTime = data.endTime || data.form.endTime
@@ -905,6 +905,8 @@
this.AOLIGEI = data.AOLIGEI this.AOLIGEI = data.AOLIGEI
this.commentText3 = data.commentText3 || '' this.commentText3 = data.commentText3 || ''
this.todoId = res.id this.todoId = res.id
this.form.deptUserId = data.form ? data.form.deptUserId : data.deptUserId
this.form.deptUserIdName = data.form ? data.form.deptUserIdName : data.deptUserIdName
this.form.itemsNum = data.itemsNum || data.form.itemsNum this.form.itemsNum = data.itemsNum || data.form.itemsNum
this.form.itemsName = data.itemsName || data.form.itemsName this.form.itemsName = data.itemsName || data.form.itemsName
if (data.form) { if (data.form) {
@@ -486,6 +486,8 @@
}).then(res => { }).then(res => {
let data = JSON.parse(res.mesg) let data = JSON.parse(res.mesg)
this.form.endTime = data.endTime || data.form.endTime this.form.endTime = data.endTime || data.form.endTime
this.form.deptUserId = data.form ? data.form.deptUserId : data.deptUserId
this.form.deptUserIdName = data.form ? data.form.deptUserIdName : data.deptUserIdName
this.form.itemsNum = data.itemsNum || data.form.itemsNum this.form.itemsNum = data.itemsNum || data.form.itemsNum
this.form.itemsName = data.itemsName || data.form.itemsName this.form.itemsName = data.itemsName || data.form.itemsName
this.commentText4 = data.commentText4 || '' this.commentText4 = data.commentText4 || ''
@@ -442,6 +442,8 @@
var json = this.json var json = this.json
json.zrApplyFlag = 1 json.zrApplyFlag = 1
json.commentText = this.commentText5 json.commentText = this.commentText5
json.deptUserId = this.form.deptUserId
json.deptUserIdName = this.form.deptUserIdName
this.$http.post('lawss/activiti/completeTask', { this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json), json: JSON.stringify(json),
taskId: this.taskIds, taskId: this.taskIds,
@@ -482,9 +484,12 @@
pId: this.pId pId: this.pId
}).then(res => { }).then(res => {
let data = JSON.parse(res.mesg) let data = JSON.parse(res.mesg)
console.log(data);
this.form.endTime = data.endTime || data.form.endTime this.form.endTime = data.endTime || data.form.endTime
this.form.itemsNum = data.itemsNum || data.form.itemsNum this.form.itemsNum = data.itemsNum || data.form.itemsNum
this.form.itemsName = data.itemsName || data.form.itemsName this.form.itemsName = data.itemsName || data.form.itemsName
this.form.deptUserId = data.form ? data.form.deptUserId : data.deptUserId
this.form.deptUserIdName = data.form ? data.form.deptUserIdName : data.deptUserIdName
this.commentText5 = data.commentText5 || '' this.commentText5 = data.commentText5 || ''
if (data.form) { if (data.form) {
this.form.itemsName1 = data.form.itemsName1 || '' this.form.itemsName1 = data.form.itemsName1 || ''
@@ -486,6 +486,8 @@
this.form.endTime = data.endTime || data.form.endTime this.form.endTime = data.endTime || data.form.endTime
this.form.itemsNum = data.itemsNum || data.form.itemsNum this.form.itemsNum = data.itemsNum || data.form.itemsNum
this.form.itemsName = data.itemsName || data.form.itemsName this.form.itemsName = data.itemsName || data.form.itemsName
this.form.deptUserId = data.form ? data.form.deptUserId : data.deptUserId
this.form.deptUserIdName = data.form ? data.form.deptUserIdName : data.deptUserIdName
this.commentText6 = data.commentText6 || '' this.commentText6 = data.commentText6 || ''
if (data.form) { if (data.form) {
this.form.itemsName1 = data.form.itemsName1 || '' this.form.itemsName1 = data.form.itemsName1 || ''
@@ -533,6 +533,10 @@ export default {
drawerTitle: "", //drawer drawerTitle: "", //drawer
// //
searching: false, searching: false,
qualityEngineer: '',
qualityEngineerName: '',
certifiedEngineer: '',
certifiedEngineerName: '',
fileType: "", fileType: "",
subFlag: 0, subFlag: 0,
projectSearch: { projectSearch: {
@@ -698,11 +702,16 @@ export default {
* @description: 动态表单读取 * @description: 动态表单读取
*/ */
getFormFieldList (item) { getFormFieldList (item) {
item.commentText = '' console.log(item);
this.$nextTick(() => { this.$nextTick(() => {
if(item.form){ if(item.form){
this.hisListForm = JSON.parse(JSON.stringify(item.form)) this.hisListForm = JSON.parse(JSON.stringify(item.form))
this.listForm = JSON.parse(JSON.stringify(item.form)) this.listForm = JSON.parse(JSON.stringify(item.form))
if(item.taskInfo === '被驳回之后的保存'){
this.commentText = item.commentText
}else{
this.commentText = ''
}
this.listForm.prcNum = this.prcNum this.listForm.prcNum = this.prcNum
this.listForm.prcName = this.prcName this.listForm.prcName = this.prcName
this.listForm['id'] = item.id this.listForm['id'] = item.id
@@ -731,6 +740,10 @@ export default {
this.roleForm.dockUserName = item.dockUserName this.roleForm.dockUserName = item.dockUserName
this.roleForm.ministerUser = item.ministerUser this.roleForm.ministerUser = item.ministerUser
this.roleForm.ministerUserName = item.ministerUserName this.roleForm.ministerUserName = item.ministerUserName
this.certifiedEngineer = item.certifiedEngineer
this.certifiedEngineerName = item.certifiedEngineerName
this.qualityEngineerName = item.qualityEngineerName
this.qualityEngineer = item.qualityEngineer
this.submitFlag = '修改节点' this.submitFlag = '修改节点'
this.dataList.distributePerson = this.listForm.dataList[0].distributePerson this.dataList.distributePerson = this.listForm.dataList[0].distributePerson
this.$http.get("SarStandItems/sar-stand-items/getFileType", { this.$http.get("SarStandItems/sar-stand-items/getFileType", {
@@ -897,6 +910,7 @@ export default {
this.saveLoading = true; this.saveLoading = true;
this.listForm.dataList = this.dataList this.listForm.dataList = this.dataList
let _formData = new FormData(); let _formData = new FormData();
_formData.append("id", this.bpnId || "");
_formData.append("createUser", this.$store.getters.userInfo.userId); _formData.append("createUser", this.$store.getters.userInfo.userId);
_formData.append("createUserName", this.$store.getters.userInfo.uName); _formData.append("createUserName", this.$store.getters.userInfo.uName);
_formData.append("prcType", "5"); _formData.append("prcType", "5");
@@ -920,7 +934,7 @@ export default {
_formData.append("taskIds", this.taskIds); _formData.append("taskIds", this.taskIds);
_formData.append("prcType", "5"); _formData.append("prcType", "5");
_formData.append("json", JSON.stringify({ _formData.append("json", JSON.stringify({
taskInfo: "选择已拆分标准", taskInfo: "被驳回之后的保存",
form: this.listForm, form: this.listForm,
roleForm: this.roleForm, roleForm: this.roleForm,
commentText: this.commentText commentText: this.commentText
@@ -1020,7 +1034,12 @@ export default {
commentText: this.commentText commentText: this.commentText
} }
}; };
let json = this.hisListForm this.listForm.dataList = this.dataList
this.listForm.qualityEngineer = this.qualityEngineer ? this.qualityEngineer : this.listForm.qualityEngineer
this.listForm.qualityEngineerName = this.qualityEngineerName ? this.qualityEngineerName : this.listForm.qualityEngineerName
this.listForm.certifiedEngineer = this.certifiedEngineer ? this.certifiedEngineer : this.listForm.certifiedEngineer
this.listForm.certifiedEngineerName = this.certifiedEngineerName ? this.certifiedEngineerName : this.listForm.certifiedEngineerName
let json = this.listForm
this.$http.post("lawss/activiti/completeTaskNew", { this.$http.post("lawss/activiti/completeTaskNew", {
taskIds: this.$route.query.taskIds, taskIds: this.$route.query.taskIds,
userId: this.$store.getters.userInfo.userId, userId: this.$store.getters.userInfo.userId,
@@ -262,6 +262,9 @@
</el-form> </el-form>
</div> </div>
<div style="height: calc(100% - 65px); overflow: auto"> <div style="height: calc(100% - 65px); overflow: auto">
<div style="font-size: 16px; color: #FF7F50; padding-bottom: 10px; margin-left: 10px">
<p>如果各项目符合法规情况相同,可同时勾选,第一个勾选项目合规排查结果,将代表所有勾选项目合规排查结果</p>
</div>
<el-table <el-table
:data="productData" :data="productData"
tooltip-effect="dark" tooltip-effect="dark"
@@ -317,6 +317,7 @@ export default {
data(){ data(){
return { return {
active: '1', active: '1',
changePoint: false,
projectName: '', projectName: '',
activeName: '', activeName: '',
fileType: '', // fileType: '', //
@@ -383,6 +384,9 @@ export default {
if(!this.projectTabName.includes(item.projectName)){ if(!this.projectTabName.includes(item.projectName)){
this.projectTabName.push(item.projectName) this.projectTabName.push(item.projectName)
} }
if(item.changePoint){
this.changePoint = true
}
}) })
this.projectName = this.activeName = this.projectTabName[Object.keys(this.projectTabName)[0]] this.projectName = this.activeName = this.projectTabName[Object.keys(this.projectTabName)[0]]
this.listForm.resDats = [] this.listForm.resDats = []
@@ -553,6 +553,7 @@ export default {
return { return {
//truefalse //truefalse
foldFormFlag: false, foldFormFlag: false,
changePoint: false,
comFlag: 0, comFlag: 0,
nodeList:[], nodeList:[],
drawerTitle:'', drawerTitle:'',
@@ -769,7 +770,11 @@ export default {
this.listForm = item.form; this.listForm = item.form;
this.dataList = item.form.dataList; this.dataList = item.form.dataList;
} }
this.dataList.forEach(item => {
if(item.changePoint){
this.changePoint = true
}
})
}); });
}, },
@@ -807,13 +812,22 @@ export default {
this.isSubmit = false this.isSubmit = false
}) })
}, },
handlePrice(){ handlePrice() {
for (let i = 0; i < this.dataList.length; i++) { this.dataList.forEach(item =>{
if (this.dataList[i].complianceReasons|| (this.dataList[i].noCompliance && this.dataList[i].countermeasures && this.dataList[i].completionTime) || (this.dataList[i].complianceReasons === '' && this.dataList[i].noCompliance === '' && this.dataList[i].countermeasures === '' && this.dataList[i].completionTime === '')){ if(item.complianceReasons){
}else { this.comFlag = 0;
this.comFlag ++ return
}else{
for (let i = 0; i < this.dataList.length; i++) {
if (this.dataList[i].noCompliance && this.dataList[i].countermeasures && this.dataList[i].completionTime !== undefined || (this.dataList[i].complianceReasons === "" && this.dataList[i].noCompliance && this.dataList[i].countermeasures && this.dataList[i].completionTime === undefined)) {
this.comFlag = 0;
return;
} else {
this.comFlag++;
}
}
} }
} })
}, },
// //
handleSubmit() { handleSubmit() {
@@ -842,8 +856,6 @@ export default {
this.listForm.dataList = this.dataList; this.listForm.dataList = this.dataList;
const json = JSON.stringify(this.listForm); const json = JSON.stringify(this.listForm);
this.isSubmit = true this.isSubmit = true
console.log('可以提交');
return
this.$http.post("lawss/activiti/completeTask", { this.$http.post("lawss/activiti/completeTask", {
taskIds: this.taskIds, taskIds: this.taskIds,
userId: this.userId, userId: this.userId,
@@ -391,6 +391,7 @@ export default {
return { return {
//truefalse //truefalse
foldFormFlag: false, foldFormFlag: false,
changePoint: false,
comFlag: 0, comFlag: 0,
nodeList:[], nodeList:[],
drawerTitle:'', drawerTitle:'',
@@ -591,7 +592,11 @@ export default {
this.listForm = item.form; this.listForm = item.form;
this.dataList = item.form.dataList; this.dataList = item.form.dataList;
} }
this.dataList.forEach(item => {
if(item.changePoint){
this.changePoint = true
}
})
}); });
}, },
@@ -399,6 +399,7 @@ export default {
//truefalse //truefalse
activeName: '', activeName: '',
foldFormFlag: false, foldFormFlag: false,
changePoint: false,
projectTabName: [], projectTabName: [],
comFlag: 0, comFlag: 0,
nodeList:[], nodeList:[],
@@ -610,7 +611,11 @@ export default {
this.listForm = item.form; this.listForm = item.form;
this.dataList = item.form.dataList; this.dataList = item.form.dataList;
} }
this.dataList.forEach(item => {
if(item.changePoint){
this.changePoint = true
}
})
}); });
}, },
@@ -399,6 +399,7 @@ export default {
//truefalse //truefalse
activeName: '', activeName: '',
foldFormFlag: false, foldFormFlag: false,
changePoint: false,
projectTabName: [], projectTabName: [],
comFlag: 0, comFlag: 0,
nodeList:[], nodeList:[],
@@ -610,6 +611,11 @@ export default {
this.listForm = item.form; this.listForm = item.form;
this.dataList = item.form.dataList; this.dataList = item.form.dataList;
} }
this.dataList.forEach(item => {
if(item.changePoint){
this.changePoint = true
}
})
}); });
}, },
@@ -399,6 +399,7 @@ export default {
//truefalse //truefalse
activeName: '', activeName: '',
foldFormFlag: false, foldFormFlag: false,
changePoint: false,
projectTabName: [], projectTabName: [],
comFlag: 0, comFlag: 0,
nodeList:[], nodeList:[],
@@ -610,7 +611,11 @@ export default {
this.listForm = item.form; this.listForm = item.form;
this.dataList = item.form.dataList; this.dataList = item.form.dataList;
} }
this.dataList.forEach(item => {
if(item.changePoint){
this.changePoint = true
}
})
}); });
}, },
@@ -9,7 +9,7 @@
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div> <div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
<div class="headerTabsItem" :class="active === '3' ? 'active' : ''" @click="handleTabs('3')">审批历史</div> <div class="headerTabsItem" :class="active === '3' ? 'active' : ''" @click="handleTabs('3')">审批历史</div>
</div> </div>
<div class="content" v-show="active == '1'"> <div class="content" v-show="active === '1'">
<div style="flex: auto; overflow: auto"> <div style="flex: auto; overflow: auto">
<process-title> <process-title>
<template slot="title">基础信息</template> <template slot="title">基础信息</template>
@@ -817,7 +817,7 @@ export default {
this.listForm.commentText = this.commentText this.listForm.commentText = this.commentText
this.listForm.dataList = this.dataList this.listForm.dataList = this.dataList
const json = JSON.stringify(this.listForm); const json = JSON.stringify(this.listForm);
// this.isSubmit = true this.isSubmit = true
this.$http.post('lawss/activiti/completeTask', { this.$http.post('lawss/activiti/completeTask', {
taskIds: this.taskIds, taskIds: this.taskIds,
userId: this.userId, userId: this.userId,
@@ -43,7 +43,7 @@
</el-form-item> </el-form-item>
<el-form-item label="标准编号" prop="standNumber" class="add-form-item form-item-disabled"> <el-form-item label="标准编号" prop="standNumber" class="add-form-item form-item-disabled">
<el-input <el-input
v-model="form.standNumber" v-model.trim="form.standNumber"
placeholder="请输入标准编号" placeholder="请输入标准编号"
clearable clearable
></el-input> ></el-input>
@@ -161,12 +161,12 @@
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item v-if="verifySarStandard" label="归档位置" class="add-form-item form-item-disabled"> <el-form-item v-if="verifySarStandard" label="归档位置" prop="treeListName" class="add-form-item form-item-disabled">
<el-input
style="display: none"
v-model="form.treeListId"
></el-input>
<el-tooltip effect="dark" :content=form.treeListName placement="top-start"> <el-tooltip effect="dark" :content=form.treeListName placement="top-start">
<el-input
v-show="false"
v-model="form.treeListId"
></el-input>
<el-input <el-input
v-model="form.treeListName" v-model="form.treeListName"
clearable clearable
@@ -289,7 +289,7 @@
clearable clearable
></el-input> ></el-input>
<div style="display: flex;justify-content: space-between"> <div style="display: flex;justify-content: space-between">
<div style="width: 80%;"> <div style="width: 80%; line-height: 40px">
<div v-for="(item,index) in xgdFileList" :key="index" @click="filePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass"> <div v-for="(item,index) in xgdFileList" :key="index" @click="filePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass">
{{ item.name }} {{ item.name }}
</div> </div>
@@ -314,7 +314,7 @@
clearable clearable
></el-input> ></el-input>
<div style="display: flex;justify-content: space-between"> <div style="display: flex;justify-content: space-between">
<div style="width: 80%;"> <div style="width: 80%;line-height: 40px">
<div v-for="(item,index) in FBGBJBDFileList" :key="index" @click="filePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass"> <div v-for="(item,index) in FBGBJBDFileList" :key="index" @click="filePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass">
{{ item.name }} {{ item.name }}
</div> </div>
@@ -339,7 +339,7 @@
clearable clearable
></el-input> ></el-input>
<div style="display: flex;justify-content: space-between"> <div style="display: flex;justify-content: space-between">
<div style="width: 80%;"> <div style="width: 80%; line-height: 40px">
<div v-for="(item,index) in ssgFileList" :key="index" @click="filePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass"> <div v-for="(item,index) in ssgFileList" :key="index" @click="filePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass">
{{ item.name }} {{ item.name }}
</div> </div>
@@ -364,7 +364,7 @@
clearable clearable
></el-input> ></el-input>
<div style="display: flex;justify-content: space-between"> <div style="display: flex;justify-content: space-between">
<div style="width: 80%;"> <div style="width: 80%;line-height: 40px">
<div v-for="(item,index) in caFileList" :key="index" @click="filePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass"> <div v-for="(item,index) in caFileList" :key="index" @click="filePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass">
{{ item.name }} {{ item.name }}
</div> </div>
@@ -389,7 +389,7 @@
clearable clearable
></el-input> ></el-input>
<div style="display: flex;justify-content: space-between"> <div style="display: flex;justify-content: space-between">
<div style="width: 80%;"> <div style="width: 80%;line-height: 40px">
<div v-for="(item,index) in zbjbdFileList" :key="index" @click="filePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass"> <div v-for="(item,index) in zbjbdFileList" :key="index" @click="filePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass">
{{ item.name }} {{ item.name }}
</div> </div>
@@ -416,7 +416,7 @@
clearable clearable
></el-input> ></el-input>
<div style="display: flex;justify-content: space-between"> <div style="display: flex;justify-content: space-between">
<div style="width: 80%;"> <div style="width: 80%;line-height: 40px">
<div v-for="(item,index) in xdbFileList" :key="index" @click="filePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass"> <div v-for="(item,index) in xdbFileList" :key="index" @click="filePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass">
{{ item.name }} {{ item.name }}
</div> </div>
@@ -441,7 +441,7 @@
clearable clearable
></el-input> ></el-input>
<div style="display: flex;justify-content: space-between"> <div style="display: flex;justify-content: space-between">
<div style="width: 80%;"> <div style="width: 80%;line-height: 40px">
<div v-for="(item,index) in kwjFileList" :key="index" @click="filePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass"> <div v-for="(item,index) in kwjFileList" :key="index" @click="filePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass">
{{ item.name }} {{ item.name }}
</div> </div>
@@ -468,7 +468,7 @@
clearable clearable
></el-input> ></el-input>
<div style="display: flex;justify-content: space-between"> <div style="display: flex;justify-content: space-between">
<div style="width: 80%;"> <div style="width: 80%;line-height: 40px">
<div v-for="(item,index) in jdwjFileList" :key="index" @click="filePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass"> <div v-for="(item,index) in jdwjFileList" :key="index" @click="filePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass">
{{ item.name }} {{ item.name }}
</div> </div>
@@ -493,7 +493,7 @@
clearable clearable
></el-input> ></el-input>
<div style="display: flex;justify-content: space-between"> <div style="display: flex;justify-content: space-between">
<div style="width: 80%;"> <div style="width: 80%;line-height: 40px">
<div v-for="(item,index) in bpgFileList" :key="index" @click="filePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass"> <div v-for="(item,index) in bpgFileList" :key="index" @click="filePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass">
{{ item.name }} {{ item.name }}
</div> </div>
@@ -518,7 +518,7 @@
clearable clearable
></el-input> ></el-input>
<div style="display: flex;justify-content: space-between"> <div style="display: flex;justify-content: space-between">
<div style="width: 80%;"> <div style="width: 80%;line-height: 40px">
<div v-for="(item,index) in zqyjgFileList" :key="index" @click="filePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass"> <div v-for="(item,index) in zqyjgFileList" :key="index" @click="filePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass">
{{ item.name }} {{ item.name }}
</div> </div>
@@ -1059,6 +1059,8 @@
<el-upload <el-upload
multiple multiple
drag drag
:limit="8"
:on-exceed="handleExceed"
:file-list="fileList" :file-list="fileList"
:action="fileUrl" :action="fileUrl"
ref="importfile" ref="importfile"
@@ -1667,6 +1669,12 @@ export default {
], ],
}, },
rules: { rules: {
standSystem: [
{required: true, message: '请选择标准体系', trigger: 'change'}
],
treeListName: [
{required: true, message: '请选择归档位置', trigger: 'blur'}
],
standSort: [ standSort: [
{required: true, message: '请选择标准类别', trigger: 'change'} {required: true, message: '请选择标准类别', trigger: 'change'}
], ],
@@ -1748,6 +1756,9 @@ export default {
} }
}, },
watch: { watch: {
'form.treeListName'(val) {
console.log(this.form.treeListName)
},
'form.country': { 'form.country': {
handler(val) { handler(val) {
if (val !== '' && val !== null && typeof (val) !== 'undefined') { if (val !== '' && val !== null && typeof (val) !== 'undefined') {
@@ -1921,6 +1932,10 @@ export default {
// }, // },
}, },
methods: { methods: {
//
handleExceed (files, fileList) {
this.$message.warning(`当前限制选择 8 个文件,本次选择了 ${files.length} 个文件,共选择了 ${files.length + fileList.length} 个文件`)
},
// //
standInChange(val) { standInChange(val) {
this.verifySarStandard = false this.verifySarStandard = false
@@ -2195,6 +2210,7 @@ export default {
glwj: '', // glwj: '', //
xglc: '', // xglc: '', //
chjl: '', // chjl: '', //
treeListName: ''
} // } //
}, },
handleProcessStandardNext(status) { handleProcessStandardNext(status) {
@@ -2366,8 +2382,8 @@ export default {
treeList += item.menuName treeList += item.menuName
treeListId += item.menuId treeListId += item.menuId
}) })
this.form.treeListName = treeList this.$set(this.form, 'treeListName', treeList)
this.form.treeListId = treeListId this.$set(this.form, 'treeListId', treeListId)
} }
}) })
}else{ }else{
@@ -2382,8 +2398,8 @@ export default {
treeList += item.menuName treeList += item.menuName
treeListId += item.menuId treeListId += item.menuId
}) })
this.form.treeListName = treeList this.$set(this.form, 'treeListName', treeList)
this.form.treeListId = treeListId this.$set(this.form, 'treeListId', treeListId)
} }
} }
}) })
@@ -3075,6 +3091,9 @@ export default {
this.form.treeListName = checkedData.menuName this.form.treeListName = checkedData.menuName
this.form.treeListId = checkedData.id this.form.treeListId = checkedData.id
} }
this.$nextTick(_ => {
this.$refs.form.validateField('treeListName')
})
this.modalShowTree = false this.modalShowTree = false
} }
@@ -128,8 +128,8 @@
</el-radio-group> </el-radio-group>
<el-button @click="form.isRelateAccess = ''" v-show="form.isRelateAccess !== null>0" size="mini" type="primary" circle icon="el-icon-close" style="margin-left: 10px;margin-bottom: 3px"></el-button> <el-button @click="form.isRelateAccess = ''" v-show="form.isRelateAccess !== null>0" size="mini" type="primary" circle icon="el-icon-close" style="margin-left: 10px;margin-bottom: 3px"></el-button>
</el-form-item> </el-form-item>
<el-form-item v-show="form.standInData=='1'" label="标准体系" prop="standSystem" class="add-form-item form-item-disabled"> <el-form-item label="标准体系" prop="standSystem" class="add-form-item form-item-disabled">
<el-input v-model="form.standSystem" placeholder="选择标准体系" @click.native="choiceZRR1('standSystem', '标准体系', form.standSystem)"></el-input> <el-input v-model="form.standSystem" clearable placeholder="选择标准体系" @click.native="choiceZRR1('standSystem', '标准体系', form.standSystem)"></el-input>
<tree-select-new <tree-select-new
:key="key" :key="key"
:multiple=false :multiple=false
@@ -148,9 +148,9 @@
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="归档位置" class="add-form-item form-item-disabled"> <el-form-item label="归档位置" prop="treeListName" class="add-form-item form-item-disabled">
<el-input <el-input
style="display: none" v-show="false"
v-model="form.treeListId" v-model="form.treeListId"
></el-input> ></el-input>
<el-tooltip effect="dark" :content=form.treeListName placement="top-start"> <el-tooltip effect="dark" :content=form.treeListName placement="top-start">
@@ -1375,6 +1375,8 @@
<el-upload <el-upload
multiple multiple
drag drag
:limit="8"
:on-exceed="handleExceed"
:file-list="fileList" :file-list="fileList"
:action="fileUrl" :action="fileUrl"
ref="importfile" ref="importfile"
@@ -1660,6 +1662,12 @@ export default {
replaceLoading: true, replaceLoading: true,
replacePage: 1, replacePage: 1,
rules: { rules: {
standSystem: [
{required: true, message: '请选择标准体系', trigger: 'change'}
],
treeListName: [
{required: true, message: '请选择归档位置', trigger: 'blur'}
],
standSort: [ standSort: [
{required: true, message: '请选择标准类别', trigger: 'change'} {required: true, message: '请选择标准类别', trigger: 'change'}
], ],
@@ -1837,6 +1845,10 @@ export default {
}, },
}, },
methods: { methods: {
//
handleExceed (files, fileList) {
this.$message.warning(`当前限制选择 8 个文件,本次选择了 ${files.length} 个文件,共选择了 ${files.length + fileList.length} 个文件`)
},
// //
standInChange(val) { standInChange(val) {
this.verifySarStandard = false this.verifySarStandard = false
@@ -2495,6 +2507,9 @@ export default {
this.form.treeListName = checkedData.menuName this.form.treeListName = checkedData.menuName
this.form.treeListId = checkedData.id this.form.treeListId = checkedData.id
} }
this.$nextTick(_ => {
this.$refs.form.validateField('treeListName')
})
this.modalShowTree = false this.modalShowTree = false
} }
@@ -2934,7 +2949,9 @@ export default {
this.modelFunc() this.modelFunc()
}, },
watch: { watch: {
'form.treeListName'(val) {
console.log(this.form.treeListName)
},
'form.country': { 'form.country': {
handler(val) { handler(val) {
if (val !== '' && val !== null && typeof (val) !== 'undefined') { if (val !== '' && val !== null && typeof (val) !== 'undefined') {
@@ -39,7 +39,6 @@
<el-date-picker <el-date-picker
v-model="form.endTime" v-model="form.endTime"
type="date" type="date"
value-format="yyyy-MM-dd"
:picker-options="pickerOptions" :picker-options="pickerOptions"
placeholder="请选择结束日期"> placeholder="请选择结束日期">
</el-date-picker> </el-date-picker>
@@ -662,13 +661,14 @@ export default {
bpnId: this.$route.query.bpnId bpnId: this.$route.query.bpnId
}).then(res => { }).then(res => {
let mes = JSON.parse(res.mes) let mes = JSON.parse(res.mes)
console.log(mes);
this.bpnId = this.$route.query.bpnId this.bpnId = this.$route.query.bpnId
if (mes.form.endTime) { if (mes.form.endTime) {
mes.form.endTime = new Date(this.$moment(mes.form.endTime).format('YYYY-MM-DD')) mes.form.endTime = new Date(this.$moment(mes.form.endTime).format('YYYY-MM-DD'))
} else { } else {
mes.form.endTime = '' mes.form.endTime = ''
} }
this.addFjList = mes.filesId this.addFjList = mes.filesId || mes.form.filesId || ''
this.form.fjListName = mes.filesName this.form.fjListName = mes.filesName
this.form = mes.form this.form = mes.form
this.roleForm = mes.roleForm this.roleForm = mes.roleForm
@@ -879,6 +879,7 @@ export default {
handleSave () { handleSave () {
this.saveLoading = true this.saveLoading = true
let _formData = new FormData() let _formData = new FormData()
this.form.filesId = this.addFjList
_formData.append('id', this.bpnId || '') _formData.append('id', this.bpnId || '')
_formData.append('createUser', this.$store.getters.userInfo.userId) _formData.append('createUser', this.$store.getters.userInfo.userId)
_formData.append('createUserName', this.$store.getters.userInfo.userName) _formData.append('createUserName', this.$store.getters.userInfo.userName)
@@ -169,19 +169,6 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
<el-collapse accordion>
<el-collapse-item title="审批意见">
<div style="margin: 10px 0;">
<el-input
type="textarea"
:rows="3"
resize="none"
placeholder="请输入意见"
v-model="commentText">
</el-input>
</div>
</el-collapse-item>
</el-collapse>
</div> </div>
<div class="content" v-show="active === '2'"> <div class="content" v-show="active === '2'">
<el-table <el-table
@@ -38,9 +38,7 @@
<el-form-item label="征求意见结束日期" prop="endTime" class="add-form-item form-item-disabled"> <el-form-item label="征求意见结束日期" prop="endTime" class="add-form-item form-item-disabled">
<el-date-picker <el-date-picker
v-model="form.endTime" v-model="form.endTime"
:picker-options="pickerOptions"
type="date" type="date"
value-format="yyyy-MM-dd"
placeholder="请选择结束日期"> placeholder="请选择结束日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
@@ -37,7 +37,6 @@
disabled disabled
v-model="form.endTime" v-model="form.endTime"
type="date" type="date"
value-format="yyyy-MM-dd"
placeholder="请选择结束日期"> placeholder="请选择结束日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
@@ -206,6 +205,7 @@ export default {
data() { data() {
return { return {
commentText2: '', commentText2: '',
onlyKey: '',
drawerModal: false, drawerModal: false,
histortData: [], histortData: [],
commentText: "", commentText: "",
@@ -330,6 +330,7 @@ export default {
handleSave() { handleSave() {
this.saveLoading = true; this.saveLoading = true;
let _formData = new FormData(); let _formData = new FormData();
this.form.onlyKey = this.onlyKey
_formData.append("id", this.bpnId || ""); _formData.append("id", this.bpnId || "");
_formData.append("prcType", "3"); _formData.append("prcType", "3");
_formData.append("taskIds", this.taskIds); _formData.append("taskIds", this.taskIds);
@@ -350,9 +351,12 @@ export default {
if (valid) { if (valid) {
this.isSubmit = true; this.isSubmit = true;
var json = this.json; var json = this.json;
json.onlyKey = this.onlyKey
json.commentText = this.commentText2; json.commentText = this.commentText2;
json.responUserList = this.form.responUserList; json.responUserList = this.form.responUserList;
json.responUserListName = this.form.responUserListName; json.responUserListName = this.form.responUserListName;
json.presidentUser = this.form.presidentUser
json.presidentUserName = this.form.presidentUserName
json.introduce = false; json.introduce = false;
this.$http.post("lawss/activiti/completeTask", { this.$http.post("lawss/activiti/completeTask", {
json: JSON.stringify(json), json: JSON.stringify(json),
@@ -377,7 +381,12 @@ export default {
pId: this.pId pId: this.pId
}).then(res => { }).then(res => {
let data = JSON.parse(res.mesg) let data = JSON.parse(res.mesg)
this.onlyKey = data.form ? data.form.onlyKey : data.onlyKey
this.commentText2 = data.commentText2 || '' this.commentText2 = data.commentText2 || ''
this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser
this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName
this.form.startUserName = data.form ? data.form.startUserName : data.startUserName
this.form.startUser = data.form ? data.form.startUser : data.startUser
this.form.cid = data.form ? data.form.cid : data.cid this.form.cid = data.form ? data.form.cid : data.cid
this.form.endTime = data.form ? data.form.endTime : data.endTime this.form.endTime = data.form ? data.form.endTime : data.endTime
this.form.fjList = data.form ? data.form.fjList : data.fjList this.form.fjList = data.form ? data.form.fjList : data.fjList
@@ -35,7 +35,6 @@
<el-form-item label="征求意见结束日期" prop="endTime" class="add-form-item form-item-disabled"> <el-form-item label="征求意见结束日期" prop="endTime" class="add-form-item form-item-disabled">
<el-date-picker <el-date-picker
disabled disabled
value-format="yyyy-MM-dd"
v-model="form.endTime" v-model="form.endTime"
type="date" type="date"
placeholder="请选择结束日期"> placeholder="请选择结束日期">
@@ -701,9 +700,13 @@
this.submitShow = true this.submitShow = true
} }
this.commentText3 = data.commentText3 || '' this.commentText3 = data.commentText3 || ''
this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser
this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName
this.form.fjList = data.form ? data.form.fjList : (data.fjList ? data.fjList : [] ) this.form.fjList = data.form ? data.form.fjList : (data.fjList ? data.fjList : [] )
this.form.modelList = data.form ? data.form.modelList : (data.modelList ? data.modelList : [] ) this.form.modelList = data.form ? data.form.modelList : (data.modelList ? data.modelList : [] )
this.form.textType = data.form ? data.form.textType : data.textType this.form.textType = data.form ? data.form.textType : data.textType
this.form.startUser = data.form ? data.form.startUser : data.startUser
this.form.startUserName = data.form ? data.form.startUserName : data.startUserName
this.form.cid = data.form ? data.form.cid : data.cid this.form.cid = data.form ? data.form.cid : data.cid
this.form.endTime = data.form ? data.form.endTime : data.endTime this.form.endTime = data.form ? data.form.endTime : data.endTime
this.todoId = res.id this.todoId = res.id
@@ -34,7 +34,6 @@
</el-form-item> </el-form-item>
<el-form-item label="征求意见结束日期" prop="endTime" class="add-form-item form-item-disabled"> <el-form-item label="征求意见结束日期" prop="endTime" class="add-form-item form-item-disabled">
<el-date-picker <el-date-picker
value-format="yyyy-MM-dd"
disabled disabled
v-model="form.endTime" v-model="form.endTime"
type="date" type="date"
@@ -407,7 +406,8 @@
this.$refs['bzzqyjForm'].validate((valid) => { this.$refs['bzzqyjForm'].validate((valid) => {
if (valid) { if (valid) {
this.isSubmit = true this.isSubmit = true
var json = this.json let json = this.json
json.info = this.data
json.commentText = this.commentText41 json.commentText = this.commentText41
json.bzfgId = this.form.bzfgId json.bzfgId = this.form.bzfgId
json.bzfgName = this.form.bzfgName json.bzfgName = this.form.bzfgName
@@ -455,14 +455,16 @@
pId: this.pId pId: this.pId
}).then(res => { }).then(res => {
let data = JSON.parse(res.mesg) let data = JSON.parse(res.mesg)
this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser
this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName
this.form.fjList = data.fjList || data.form.fjList this.form.fjList = data.fjList || data.form.fjList
this.form.cid = data.cid || data.form.cid this.form.cid = data.cid || data.form.cid
this.form.endTime = data.endTime || data.form.endTime this.form.endTime = data.endTime || data.form.endTime
this.form.textType = data.textType || data.form.textType this.form.textType = data.textType || data.form.textType
this.form.modelList = data.modelList || data.form.modelList this.form.modelList = data.modelList || data.form.modelList
this.commentText41 = data.commentText41 || '' this.commentText41 = data.commentText41 || ''
this.form.bzfgId = data.startUser this.form.bzfgId = data.startUser || data.form.startUser
this.form.bzfgName = data.startUserName this.form.bzfgName = data.startUserName || data.form.startUserName
this.json = data this.json = data
this.data = data.info || data.data this.data = data.info || data.data
}).catch(e => { }).catch(e => {
@@ -37,7 +37,6 @@
disabled disabled
v-model="form.endTime" v-model="form.endTime"
type="date" type="date"
value-format="yyyy-MM-dd"
placeholder="请选择结束日期"> placeholder="请选择结束日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
@@ -397,7 +396,8 @@
}, },
handleSubmit() { handleSubmit() {
this.isSubmit = true this.isSubmit = true
var json = this.json let json = this.json
json.info = this.data
json.commentText = this.commentText42 json.commentText = this.commentText42
json.bzFlag = '0' json.bzFlag = '0'
this.$http.post('lawss/activiti/completeTask', { this.$http.post('lawss/activiti/completeTask', {
@@ -440,6 +440,8 @@
}).then(res => { }).then(res => {
let data = JSON.parse(res.mesg) let data = JSON.parse(res.mesg)
this.form.fjList = data.fjList || data.form.fjList this.form.fjList = data.fjList || data.form.fjList
this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser
this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName
this.commentText42 = data.commentText42 || '' this.commentText42 = data.commentText42 || ''
this.form.cid = data.cid || data.form.cid this.form.cid = data.cid || data.form.cid
this.form.endTime = data.endTime || data.form.endTime this.form.endTime = data.endTime || data.form.endTime
@@ -35,7 +35,6 @@
<el-form-item label="征求意见结束日期" prop="endTime" class="add-form-item form-item-disabled"> <el-form-item label="征求意见结束日期" prop="endTime" class="add-form-item form-item-disabled">
<el-date-picker <el-date-picker
disabled disabled
value-format="yyyy-MM-dd"
v-model="form.endTime" v-model="form.endTime"
type="date" type="date"
placeholder="请选择结束日期"> placeholder="请选择结束日期">
@@ -256,9 +255,11 @@
</div> </div>
<ProcessFooter <ProcessFooter
show-submit show-submit
show-save
:submitLoading="isSubmit" :submitLoading="isSubmit"
:saveLoading="saveLoading" :saveLoading="saveLoading"
show-transfer show-transfer
@save="handleSave"
@transfer="handleTransfer" @transfer="handleTransfer"
@submit="handleSubmit" @submit="handleSubmit"
> >
@@ -340,7 +341,7 @@
import ProcessHeader from '../../components/ProcessHeader' import ProcessHeader from '../../components/ProcessHeader'
import ProcessFooter from '../../components/ProcessFooter' import ProcessFooter from '../../components/ProcessFooter'
import ProcessTitle from '../../components/ProcessTitle' import ProcessTitle from '../../components/ProcessTitle'
import {inboundLiaisonDetail, processCreateStand,changeAssigneeNew} from 'api/process' import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew, saveTaskForPub } from "api/process";
import axios from "axios"; import axios from "axios";
export default { export default {
@@ -348,6 +349,7 @@ export default {
data() { data() {
return { return {
standId: '', standId: '',
onlyKey: '',
modaltitle2: '', modaltitle2: '',
addType: '', addType: '',
commentText4: '', commentText4: '',
@@ -616,14 +618,41 @@ export default {
handleTabs(name) { handleTabs(name) {
this.active = name this.active = name
}, },
//
handleSave() {
this.saveLoading = true;
let _formData = new FormData();
let json = this.json
json.info = this.data
json.onlyKey = this.onlyKey
json.spId = this.form.spId
json.spName = this.form.spName
_formData.append("id", this.bpnId || "");
_formData.append("prcType", "3");
_formData.append("taskIds", this.taskIds);
_formData.append("json", JSON.stringify({
form: json,
commentText4: this.commentText4
}));
console.log(json);
saveTaskForPub(_formData).then(res => {
this.saveLoading = false;
this.$message.success("保存成功");
this.bpnId = res.result;
}).catch(e => {
this.saveLoading = false;
});
},
handleSubmit() { handleSubmit() {
this.$refs['bzzqyjForm'].validate((valid) => { this.$refs['bzzqyjForm'].validate((valid) => {
if (valid) { if (valid) {
this.isSubmit = true this.isSubmit = true
var json = this.json let json = this.json
json.actionFlag = 0 json.actionFlag = 0
json.commentText = this.commentText4 json.commentText = this.commentText4
json.spId = this.form.spId json.spId = this.form.spId
json.info = this.data
json.onlyKey = this.onlyKey
json.spName = this.form.spName json.spName = this.form.spName
this.$http.post('lawss/activiti/completeTask', { this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json), json: JSON.stringify(json),
@@ -668,6 +697,7 @@ export default {
pId: this.pId pId: this.pId
}).then(res => { }).then(res => {
let data = JSON.parse(res.mesg) let data = JSON.parse(res.mesg)
console.log(data);
let commitStatus = res.commitStatus let commitStatus = res.commitStatus
if(commitStatus && commitStatus > 0){ if(commitStatus && commitStatus > 0){
this.acceptShow = true this.acceptShow = true
@@ -676,18 +706,27 @@ export default {
this.acceptShow = false this.acceptShow = false
this.submitShow = true this.submitShow = true
} }
this.commentText4 = data.commentText4 || '' this.commentText4 = data.commentText4 || ''
if(data.onlyKey){
this.onlyKey = data.onlyKey
}else{
this.onlyKey = data.form.onlyKey
}
this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser
this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName
this.form.fjList = data.fjList || data.form.fjList this.form.fjList = data.fjList || data.form.fjList
this.form.spId = data.form ? data.form.spId : ''
this.form.spName = data.form ? data.form.spName : ''
this.form.startUser = data.form ? data.form.startUser : data.startUser
this.form.startUserName = data.form ? data.form.startUserName : data.startUserName
this.form.cid = data.cid || data.form.cid this.form.cid = data.cid || data.form.cid
this.form.endTime = data.endTime || data.form.endTime this.form.endTime = data.endTime || data.form.endTime
this.form.textType = data.textType || data.form.textType this.form.textType = data.textType || data.form.textType
this.form.modelList = data.modelList || data.form.modelList this.form.modelList = data.modelList || data.form.modelList
this.form.spId = data.spId || '' this.json = data.form ? data.form : data
this.form.spName = data.spName || ''
this.json = data
this.standId = data.standId this.standId = data.standId
this.getItemList(data.standId,data.textType) this.getItemList(data.standId,data.textType)
this.data = data.info || data.data this.data = data.info || data.form.info
}).catch(e => { }).catch(e => {
}) })
}) })
@@ -351,6 +351,7 @@
return { return {
clickFlag: false, clickFlag: false,
commentText5: '', commentText5: '',
onlyKey: '',
options: [], options: [],
itemId: '', itemId: '',
modalshowflag2: false, modalshowflag2: false,
@@ -557,6 +558,7 @@
let _formData = new FormData(); let _formData = new FormData();
let json = this.form; let json = this.form;
json.data = this.data; json.data = this.data;
json.onlyKey = this.onlyKey
_formData.append("id", this.bpnId || ""); _formData.append("id", this.bpnId || "");
_formData.append("prcType", "3"); _formData.append("prcType", "3");
_formData.append("taskIds", this.taskIds); _formData.append("taskIds", this.taskIds);
@@ -593,6 +595,7 @@
this.isSubmit = true; this.isSubmit = true;
var json = this.json; var json = this.json;
json.oldinfo = this.oldData; json.oldinfo = this.oldData;
json.onlyKey = this.onlyKey
json.commentText = this.commentText5; json.commentText = this.commentText5;
json.introduce = true; json.introduce = true;
this.$http.post("lawss/activiti/completeTask", { this.$http.post("lawss/activiti/completeTask", {
@@ -617,13 +620,25 @@
pId: this.pId pId: this.pId
}).then(res => { }).then(res => {
let data = JSON.parse(res.mesg); let data = JSON.parse(res.mesg);
console.log(data);
this.commentText5 = data.commentText5 || '' this.commentText5 = data.commentText5 || ''
this.onlyKey = data.form ? data.form.onlyKey :data.onlyKey
this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser
this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName
this.form.fjList = data.form ? data.form.fjList : (data.fjList ? data.fjList : [] ) this.form.fjList = data.form ? data.form.fjList : (data.fjList ? data.fjList : [] )
this.form.modelList = data.form ? data.form.modelList : (data.modelList ? data.modelList : [] ) this.form.modelList = data.form ? data.form.modelList : (data.modelList ? data.modelList : [] )
this.form.textType = data.form ? data.form.textType : data.textType this.form.textType = data.form ? data.form.textType : data.textType
this.form.cid = data.form ? data.form.cid : data.cid this.form.cid = data.form ? data.form.cid : data.cid
this.form.endTime = data.form ? data.form.endTime : data.endTime this.form.endTime = data.form ? data.form.endTime : data.endTime
this.$http.get('slrs/sar-public-idea-all/checkIsShow', {
endTime: this.form.endTime
}, {}, res => {
//0
if (res.message === '0') {
this.clickFlag = false
} else {
this.clickFlag = true
}
})
let newArr = data.info ? data.info : data.form.data let newArr = data.info ? data.info : data.form.data
newArr.forEach(item => { newArr.forEach(item => {
if (!item.source) { if (!item.source) {
@@ -637,16 +652,6 @@
this.json = data; this.json = data;
this.getItemList(data.standId,this.form.textValue) this.getItemList(data.standId,this.form.textValue)
this.data = newArr this.data = newArr
this.$http.get('slrs/sar-public-idea-all/checkIsShow', {
endTime: this.form.endTime
}, {}, res => {
//0
if (res.message === '0') {
this.clickFlag = false
} else {
this.clickFlag = true
}
})
if (data.introduce) { if (data.introduce) {
} else { } else {
this.$http.get("slrs/sar-public-idea-all/getPublicIdea", { this.$http.get("slrs/sar-public-idea-all/getPublicIdea", {
@@ -530,6 +530,8 @@
}).then(res => { }).then(res => {
let data = JSON.parse(res.mesg); let data = JSON.parse(res.mesg);
this.commentText6 = data.commentText6 || '' this.commentText6 = data.commentText6 || ''
this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser
this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName
this.form.fjList = data.fjList || data.form.fjList this.form.fjList = data.fjList || data.form.fjList
this.form.cid = data.cid || data.form.cid; this.form.cid = data.cid || data.form.cid;
this.form.endTime = data.endTime || data.form.endTime; this.form.endTime = data.endTime || data.form.endTime;
@@ -491,6 +491,8 @@ export default {
}).then(res => { }).then(res => {
let data = JSON.parse(res.mesg) let data = JSON.parse(res.mesg)
this.commentText7 = data.commentText7 || '' this.commentText7 = data.commentText7 || ''
this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser
this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName
this.form.fjList = data.fjList || data.form.fjList this.form.fjList = data.fjList || data.form.fjList
this.form.cid = data.cid || data.form.cid; this.form.cid = data.cid || data.form.cid;
this.form.endTime = data.endTime || data.form.endTime; this.form.endTime = data.endTime || data.form.endTime;
@@ -500,7 +502,7 @@ export default {
this.oldData = JSON.parse(JSON.stringify(newArr)) this.oldData = JSON.parse(JSON.stringify(newArr))
let arr = [] let arr = []
newArr.forEach(item => { newArr.forEach(item => {
if (item.state != '3') { if (item.state !== '3') {
arr.push(item) arr.push(item)
} }
}) })
@@ -491,6 +491,8 @@ export default {
}).then(res => { }).then(res => {
let data = JSON.parse(res.mesg) let data = JSON.parse(res.mesg)
this.commentText8 = data.commentText8 || '' this.commentText8 = data.commentText8 || ''
this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser
this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName
this.form.fjList = data.fjList || data.form.fjList this.form.fjList = data.fjList || data.form.fjList
this.form.cid = data.cid || data.form.cid; this.form.cid = data.cid || data.form.cid;
this.form.endTime = data.endTime || data.form.endTime; this.form.endTime = data.endTime || data.form.endTime;
@@ -491,6 +491,8 @@ export default {
}).then(res => { }).then(res => {
let data = JSON.parse(res.mesg) let data = JSON.parse(res.mesg)
this.commentText9 = data.commentText9 || '' this.commentText9 = data.commentText9 || ''
this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser
this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName
this.form.fjList = data.fjList || data.form.fjList this.form.fjList = data.fjList || data.form.fjList
this.form.cid = data.cid || data.form.cid; this.form.cid = data.cid || data.form.cid;
this.form.endTime = data.endTime || data.form.endTime; this.form.endTime = data.endTime || data.form.endTime;
@@ -44,7 +44,7 @@
<el-table-column type="selection" min-width="5%" align="center"/> <el-table-column type="selection" min-width="5%" align="center"/>
<el-table-column <el-table-column
label="序号" label="序号"
width="50" min-width="50"
align="center"> align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{scope.$index + 1}} {{scope.$index + 1}}
@@ -52,14 +52,14 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
label="企标编号" label="企标编号"
width="150"> min-width="150">
<template slot-scope="scope"> <template slot-scope="scope">
<a v-if="scope.row.standCode" class="table-jump" @click="handlePreview(scope.row)" :title="scope.row.standCode">{{ scope.row.standCode | ellipsis }}</a> <a v-if="scope.row.standCode" class="table-jump" @click="handlePreview(scope.row)" :title="scope.row.standCode">{{ scope.row.standCode | ellipsis }}</a>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
label="企标名称" label="企标名称"
width="300"> min-width="300">
<template slot-scope="scope"> <template slot-scope="scope">
<a v-if="scope.row.standName" class="table-jump" @click="handlePreview(scope.row)" :title="scope.row.standName">{{ scope.row.standName | ellipsis }}</a> <a v-if="scope.row.standName" class="table-jump" @click="handlePreview(scope.row)" :title="scope.row.standName">{{ scope.row.standName | ellipsis }}</a>
</template> </template>
@@ -67,7 +67,7 @@
<el-table-column <el-table-column
prop="qcdw" prop="qcdw"
label="起草单位" label="起草单位"
width="120"> min-width="120">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.qcdw" :title="scope.row.qcdw">{{ scope.row.qcdw | ellipsis2 }}</span> <span v-if="scope.row.qcdw" :title="scope.row.qcdw">{{ scope.row.qcdw | ellipsis2 }}</span>
</template> </template>
@@ -75,7 +75,7 @@
<el-table-column <el-table-column
prop="qcrbuss" prop="qcrbuss"
label="起草人" label="起草人"
width="120"> min-width="120">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.qcrbuss" :title="scope.row.qcrbuss">{{ scope.row.qcrbuss | ellipsis2 }}</span> <span v-if="scope.row.qcrbuss" :title="scope.row.qcrbuss">{{ scope.row.qcrbuss | ellipsis2 }}</span>
</template> </template>
@@ -83,19 +83,19 @@
<el-table-column <el-table-column
prop="issueTime" prop="issueTime"
label="发布日期" label="发布日期"
width="120"> min-width="120">
<template slot-scope="scope">{{ formatIssueDate(scope.row.issueTime)}}</template> <template slot-scope="scope">{{ formatIssueDate(scope.row.issueTime)}}</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="reviewTime" prop="reviewTime"
label="复审日期" label="复审日期"
width="120"> min-width="120">
<template slot-scope="scope">{{ formatIssueDate(scope.row.reviewTime) }}</template> <template slot-scope="scope">{{ formatIssueDate(scope.row.reviewTime) }}</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="reviewResults" prop="reviewResults"
label="复审结果" label="复审结果"
width="100"> min-width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ filterOp(scope.row.reviewResults) }}</span> <span>{{ filterOp(scope.row.reviewResults) }}</span>
</template> </template>
@@ -103,7 +103,7 @@
<el-table-column <el-table-column
prop="bussFsSubUser1Name" prop="bussFsSubUser1Name"
label="对接人" label="对接人"
width="180" min-width="180"
align="center"> align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-form-item <el-form-item
@@ -115,7 +115,7 @@
</el-form-item> </el-form-item>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column fixed="right" label="操作" align="center" width="50"> <el-table-column fixed="right" label="操作" align="center" min-width="50">
<template slot-scope="scope"> <template slot-scope="scope">
<div @click.stop style="display: inline-block"> <div @click.stop style="display: inline-block">
<el-dropdown trigger="click" @command="handleCommand"> <el-dropdown trigger="click" @command="handleCommand">
@@ -145,11 +145,11 @@
clearable clearable
></el-input> ></el-input>
<div style="display: flex;justify-content: space-between;margin-left: 12px;"> <div style="display: flex;justify-content: space-between;margin-left: 12px;">
<div style="width: 80%;"> <div style="width: 80%;margin-top: 13px">
<div v-for="(item,index) in FBGBUSSFileList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass"> <div v-for="(item,index) in FBGBUSSFileList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')" :title="item.name">{{ item.name | ellipsis2 }}</span> <span style="" @click="handleFilePreview(item,'preview')" :title="item.name">{{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
</span> </span>
</div> </div>
</div> </div>
@@ -173,11 +173,11 @@
clearable clearable
></el-input> ></el-input>
<div style="display: flex;justify-content: space-between;margin-left: 12px;"> <div style="display: flex;justify-content: space-between;margin-left: 12px;">
<div style="width: 80%;"> <div style="width: 80%;margin-top: 13px">
<div v-for="(item,index) in LSBBBUSSFileList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass"> <div v-for="(item,index) in LSBBBUSSFileList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')" :title="item.name">{{ item.name | ellipsis2 }}</span> <span style="" @click="handleFilePreview(item,'preview')" :title="item.name">{{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
</span> </span>
</div> </div>
</div> </div>
@@ -203,11 +203,11 @@
clearable clearable
></el-input> ></el-input>
<div style="display: flex;justify-content: space-between;margin-left: 12px;"> <div style="display: flex;justify-content: space-between;margin-left: 12px;">
<div style="width: 80%;"> <div style="width: 80%;margin-top: 13px">
<div v-for="(item,index) in XGDFileList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass"> <div v-for="(item,index) in XGDFileList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')" :title="item.name">{{ item.name | ellipsis2 }}</span> <span style="" @click="handleFilePreview(item,'preview')" :title="item.name">{{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
</span> </span>
</div> </div>
</div> </div>
@@ -231,11 +231,11 @@
clearable clearable
></el-input> ></el-input>
<div style="display: flex;justify-content: space-between;margin-left: 12px;"> <div style="display: flex;justify-content: space-between;margin-left: 12px;">
<div style="width: 80%;"> <div style="width: 80%;margin-top: 13px">
<div v-for="(item,index) in QTWJBUSSFileList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass"> <div v-for="(item,index) in QTWJBUSSFileList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')" :title="item.name">{{ item.name | ellipsis2 }}</span> <span style="" @click="handleFilePreview(item,'preview')" :title="item.name">{{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
</span> </span>
</div> </div>
</div> </div>
@@ -372,11 +372,11 @@
clearable clearable
></el-input> ></el-input>
<div style="display: flex;justify-content: space-between;margin-left: 12px;"> <div style="display: flex;justify-content: space-between;margin-left: 12px;">
<div style="width: 80%;"> <div style="width: 80%;margin-top: 13px">
<div v-for="(item,index) in GLWJBUSSFileList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass"> <div v-for="(item,index) in GLWJBUSSFileList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')" :title="item.name">{{ item.name | ellipsis2 }}</span> <span style="" @click="handleFilePreview(item,'preview')" :title="item.name">{{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
</span> </span>
</div> </div>
</div> </div>
@@ -979,5 +979,7 @@
</script> </script>
<style scoped> <style scoped>
/deep/ .fileClass{
line-height: 22px !important;
}
</style> </style>
@@ -127,10 +127,10 @@
<el-row :gutter="24"> <el-row :gutter="24">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="发布稿" prop="FBGBUSSName" class="add-form-item form-item-disabled"> <el-form-item label="发布稿" prop="FBGBUSSName" class="add-form-item form-item-disabled">
<div v-if="FBGBUSSFileList.length > 0" v-for="(item,index) in FBGBUSSFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px" class="fileClass"> <div v-if="FBGBUSSFileList.length > 0" v-for="(item,index) in FBGBUSSFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px;margin-top: 13px" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name | ellipsis22 }}</span> <span style="" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
</span> </span>
</div> </div>
<!-- <div v-if="FBGBUSSFileList.length>0" v-for="(value,index) in this.FBGBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">--> <!-- <div v-if="FBGBUSSFileList.length>0" v-for="(value,index) in this.FBGBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">-->
@@ -139,10 +139,10 @@
<!-- </div>--> <!-- </div>-->
</el-form-item> </el-form-item>
<el-form-item label="历史版本" prop="LSBBBUSSName" class="add-form-item form-item-disabled"> <el-form-item label="历史版本" prop="LSBBBUSSName" class="add-form-item form-item-disabled">
<div v-if="LSBBBUSSFileList.length > 0" v-for="(item,index) in LSBBBUSSFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px" class="fileClass"> <div v-if="LSBBBUSSFileList.length > 0" v-for="(item,index) in LSBBBUSSFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px;margin-top: 13px" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name | ellipsis22 }}</span> <span style="" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
</span> </span>
</div> </div>
<!-- <div v-if="LSBBBUSSFileList.length>0" v-for="(value,index) in this.LSBBBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">--> <!-- <div v-if="LSBBBUSSFileList.length>0" v-for="(value,index) in this.LSBBBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">-->
@@ -153,10 +153,10 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="修改单" prop="XGDName" class="add-form-item form-item-disabled"> <el-form-item label="修改单" prop="XGDName" class="add-form-item form-item-disabled">
<div v-if="XGDFileList.length > 0" v-for="(item,index) in XGDFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px" class="fileClass"> <div v-if="XGDFileList.length > 0" v-for="(item,index) in XGDFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px;margin-top: 13px" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name | ellipsis22 }}</span> <span style="" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
</span> </span>
</div> </div>
<!-- <div v-if="BZSMBUSSFileList.length>0" v-for="(value,index) in this.BZSMBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">--> <!-- <div v-if="BZSMBUSSFileList.length>0" v-for="(value,index) in this.BZSMBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">-->
@@ -165,10 +165,10 @@
<!-- </div>--> <!-- </div>-->
</el-form-item> </el-form-item>
<el-form-item label="其他文件" prop="QTWJBUSSName" class="add-form-item form-item-disabled"> <el-form-item label="其他文件" prop="QTWJBUSSName" class="add-form-item form-item-disabled">
<div v-if="QTWJBUSSFileList.length > 0" v-for="(item,index) in QTWJBUSSFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px" class="fileClass"> <div v-if="QTWJBUSSFileList.length > 0" v-for="(item,index) in QTWJBUSSFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px;margin-top: 13px" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name | ellipsis22 }}</span> <span style="" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
</span> </span>
</div> </div>
<!-- <div v-if="QTWJBUSSFileList.length>0" v-for="(value,index) in this.QTWJBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">--> <!-- <div v-if="QTWJBUSSFileList.length>0" v-for="(value,index) in this.QTWJBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">-->
@@ -267,10 +267,10 @@
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="关联文件" prop="GLWJBUSSName" class="add-form-item form-item-disabled"> <el-form-item label="关联文件" prop="GLWJBUSSName" class="add-form-item form-item-disabled">
<div v-if="GLWJBUSSFileList.length > 0" v-for="(item,index) in GLWJBUSSFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px" class="fileClass"> <div v-if="GLWJBUSSFileList.length > 0" v-for="(item,index) in GLWJBUSSFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px;margin-top: 13px" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name | ellipsis22 }}</span> <span style="" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
</span> </span>
</div> </div>
<!-- <div v-if="GLWJBUSSFileList.length>0" v-for="(value,index) in this.GLWJBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">--> <!-- <div v-if="GLWJBUSSFileList.length>0" v-for="(value,index) in this.GLWJBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">-->
@@ -682,5 +682,7 @@
</script> </script>
<style scoped> <style scoped>
/deep/ .fileClass{
line-height: 22px !important;
}
</style> </style>
@@ -125,10 +125,10 @@
<el-row :gutter="24"> <el-row :gutter="24">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="发布稿" prop="FBGBUSSName" class="add-form-item form-item-disabled"> <el-form-item label="发布稿" prop="FBGBUSSName" class="add-form-item form-item-disabled">
<div v-if="FBGBUSSFileList.length > 0" v-for="(item,index) in FBGBUSSFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px" class="fileClass"> <div v-if="FBGBUSSFileList.length > 0" v-for="(item,index) in FBGBUSSFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px;margin-top: 13px" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name | ellipsis22 }}</span> <span style="" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
</span> </span>
</div> </div>
<!-- <div v-if="FBGBUSSFileList.length>0" v-for="(value,index) in this.FBGBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">--> <!-- <div v-if="FBGBUSSFileList.length>0" v-for="(value,index) in this.FBGBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">-->
@@ -137,10 +137,10 @@
<!-- </div>--> <!-- </div>-->
</el-form-item> </el-form-item>
<el-form-item label="历史版本" prop="LSBBBUSSName" class="add-form-item form-item-disabled"> <el-form-item label="历史版本" prop="LSBBBUSSName" class="add-form-item form-item-disabled">
<div v-if="LSBBBUSSFileList.length > 0" v-for="(item,index) in LSBBBUSSFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px" class="fileClass"> <div v-if="LSBBBUSSFileList.length > 0" v-for="(item,index) in LSBBBUSSFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px;margin-top: 13px" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name | ellipsis22 }}</span> <span style="" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
</span> </span>
</div> </div>
<!-- <div v-if="LSBBBUSSFileList.length>0" v-for="(value,index) in this.LSBBBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">--> <!-- <div v-if="LSBBBUSSFileList.length>0" v-for="(value,index) in this.LSBBBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">-->
@@ -151,10 +151,10 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="修改单" prop="XGDName" class="add-form-item form-item-disabled"> <el-form-item label="修改单" prop="XGDName" class="add-form-item form-item-disabled">
<div v-if="XGDFileList.length > 0" v-for="(item,index) in XGDFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px" class="fileClass"> <div v-if="XGDFileList.length > 0" v-for="(item,index) in XGDFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px;margin-top: 13px" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name | ellipsis22 }}</span> <span style="" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
</span> </span>
</div> </div>
<!-- <div v-if="BZSMBUSSFileList.length>0" v-for="(value,index) in this.BZSMBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">--> <!-- <div v-if="BZSMBUSSFileList.length>0" v-for="(value,index) in this.BZSMBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">-->
@@ -163,10 +163,10 @@
<!-- </div>--> <!-- </div>-->
</el-form-item> </el-form-item>
<el-form-item label="其他文件" prop="QTWJBUSSName" class="add-form-item form-item-disabled"> <el-form-item label="其他文件" prop="QTWJBUSSName" class="add-form-item form-item-disabled">
<div v-if="QTWJBUSSFileList.length > 0" v-for="(item,index) in QTWJBUSSFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px" class="fileClass"> <div v-if="QTWJBUSSFileList.length > 0" v-for="(item,index) in QTWJBUSSFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px;margin-top: 13px" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name | ellipsis22 }}</span> <span style="" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
</span> </span>
</div> </div>
<!-- <div v-if="QTWJBUSSFileList.length>0" v-for="(value,index) in this.QTWJBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">--> <!-- <div v-if="QTWJBUSSFileList.length>0" v-for="(value,index) in this.QTWJBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">-->
@@ -265,10 +265,10 @@
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="关联文件" prop="GLWJBUSSName" class="add-form-item form-item-disabled"> <el-form-item label="关联文件" prop="GLWJBUSSName" class="add-form-item form-item-disabled">
<div v-if="GLWJBUSSFileList.length > 0" v-for="(item,index) in GLWJBUSSFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px" class="fileClass"> <div v-if="GLWJBUSSFileList.length > 0" v-for="(item,index) in GLWJBUSSFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px;margin-top: 13px" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name | ellipsis22 }}</span> <span style="" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
</span> </span>
</div> </div>
<!-- <div v-if="GLWJBUSSFileList.length>0" v-for="(value,index) in this.GLWJBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">--> <!-- <div v-if="GLWJBUSSFileList.length>0" v-for="(value,index) in this.GLWJBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">-->
@@ -685,5 +685,7 @@
</script> </script>
<style scoped> <style scoped>
/deep/ .fileClass{
line-height: 22px !important;
}
</style> </style>
@@ -183,7 +183,7 @@
clearable clearable
></el-input> ></el-input>
<div style="display: flex;justify-content: space-between"> <div style="display: flex;justify-content: space-between">
<div style="width: 80%;"> <div style="width: 80%;margin-top: 13px">
<div v-for="(item,index) in FBGBUSSFileList" :key="index" @click="handleFilePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass">{{ item.name }}</div> <div v-for="(item,index) in FBGBUSSFileList" :key="index" @click="handleFilePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass">{{ item.name }}</div>
</div> </div>
<div style="width: 20%;"> <div style="width: 20%;">
@@ -207,7 +207,7 @@
clearable clearable
></el-input> ></el-input>
<div style="display: flex;justify-content: space-between"> <div style="display: flex;justify-content: space-between">
<div style="width: 80%;"> <div style="width: 80%;margin-top: 13px">
<div v-for="(item,index) in LSBBBUSSFileList" :key="index" @click="handleFilePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass">{{ item.name }}</div> <div v-for="(item,index) in LSBBBUSSFileList" :key="index" @click="handleFilePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass">{{ item.name }}</div>
</div> </div>
<div style="width: 20%;"> <div style="width: 20%;">
@@ -232,7 +232,7 @@
clearable clearable
></el-input> ></el-input>
<div style="display: flex;justify-content: space-between"> <div style="display: flex;justify-content: space-between">
<div style="width: 80%;"> <div style="width: 80%;margin-top: 13px">
<div v-for="(item,index) in XGDFileList" :key="index" @click="handleFilePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass">{{ item.name }}</div> <div v-for="(item,index) in XGDFileList" :key="index" @click="handleFilePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass">{{ item.name }}</div>
</div> </div>
<div style="width: 20%;"> <div style="width: 20%;">
@@ -255,7 +255,7 @@
clearable clearable
></el-input> ></el-input>
<div style="display: flex;justify-content: space-between"> <div style="display: flex;justify-content: space-between">
<div style="width: 80%;"> <div style="width: 80%;margin-top: 13px">
<div v-for="(item,index) in QTWJBUSSFileList" :key="index" @click="handleFilePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass">{{ item.name }}</div> <div v-for="(item,index) in QTWJBUSSFileList" :key="index" @click="handleFilePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass">{{ item.name }}</div>
</div> </div>
<div style="width: 20%;"> <div style="width: 20%;">
@@ -395,7 +395,7 @@
clearable clearable
></el-input> ></el-input>
<div style="display: flex;justify-content: space-between"> <div style="display: flex;justify-content: space-between">
<div style="width: 80%;"> <div style="width: 80%;margin-top: 13px">
<div v-for="(item,index) in GLWJBUSSFileList" :key="index" @click="handleFilePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass">{{ item.name }}</div> <div v-for="(item,index) in GLWJBUSSFileList" :key="index" @click="handleFilePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass">{{ item.name }}</div>
</div> </div>
<div style="width: 20%;"> <div style="width: 20%;">
@@ -801,7 +801,7 @@
label="文本状态" label="文本状态"
width="130"> width="130">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ textStatusMap[scope.row.textStatusBuss] }}</span> <span>{{ scope.row.standStatusShow }}</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@@ -902,17 +902,19 @@
</el-formItem> </el-formItem>
<el-form-item> <el-form-item>
<el-button <el-button
icon="el-icon-search"
type="primary" type="primary"
class="common-button-primary" class="common-button-primary"
@click="handleSearchStandard" size="small"
round> @click="handleSearchStandard">
查询
</el-button> </el-button>
</el-form-item>
<el-form-item class="search-item btn-box">
<el-button <el-button
class="common-button-default" class="common-button-default"
icon="el-icon-refresh-left" size="small"
@click="handleResetSearch" @click="handleResetSearch">清空
round></el-button> </el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
@@ -1555,6 +1557,7 @@
return data return data
}, },
getStandInfoByReviseStatus(type) { getStandInfoByReviseStatus(type) {
debugger
let date = new Date(); let date = new Date();
let year = date.getFullYear(); let year = date.getFullYear();
if(this.form.standStatus === '2'){ if(this.form.standStatus === '2'){
@@ -1588,6 +1591,7 @@
this.GLWJBUSSFileList=this.assemble(this.form.GLWJBUSS,this.form.GLWJBUSSName); this.GLWJBUSSFileList=this.assemble(this.form.GLWJBUSS,this.form.GLWJBUSSName);
this.LSBBBUSSFileList = [] this.LSBBBUSSFileList = []
if(this.LSBBBUSSFileList && this.LSBBBUSSFileList.length > 0){ if(this.LSBBBUSSFileList && this.LSBBBUSSFileList.length > 0){
console.log(this.form.FBGBUSS)
this.LSBBBUSSFileList=this.LSBBBUSSFileList.concat(this.assemble(this.form.FBGBUSS,this.form.FBGBUSSName)) this.LSBBBUSSFileList=this.LSBBBUSSFileList.concat(this.assemble(this.form.FBGBUSS,this.form.FBGBUSSName))
}else { }else {
this.LSBBBUSSFileList=this.assemble(this.form.LSBBBUSS,this.form.LSBBBUSSName); this.LSBBBUSSFileList=this.assemble(this.form.LSBBBUSS,this.form.LSBBBUSSName);
@@ -1599,6 +1603,7 @@
this.FBGBUSSName = "" this.FBGBUSSName = ""
} }
this.LSBBBUSSFileList=this.LSBBBUSSFileList.concat(this.assemble(this.form.FBGBUSS,this.form.FBGBUSSName)) this.LSBBBUSSFileList=this.LSBBBUSSFileList.concat(this.assemble(this.form.FBGBUSS,this.form.FBGBUSSName))
console.log(this.LSBBBUSSFileList)
this.form.LSBBBUSS = this.form.FBGBUSS this.form.LSBBBUSS = this.form.FBGBUSS
this.form.LSBBBUSSName = this.form.FBGBUSSName this.form.LSBBBUSSName = this.form.FBGBUSSName
this.FBGBUSSFileList= [] this.FBGBUSSFileList= []
@@ -1955,10 +1960,13 @@
assemble(ids,names){ assemble(ids,names){
let list= new Array(); let list= new Array();
if(ids && ids !== '' && names && names !== ''){ if(ids && ids !== '' && names && names !== ''){
ids = ids.replaceAll(',,',',')
let idArray=ids.split(','); let idArray=ids.split(',');
let nameArray=names.split(','); let nameArray=names.split(',');
for(let i=0; i<idArray.length; i++){ for(let i=0; i<idArray.length; i++){
list.push({id:idArray[i],name:nameArray[i]}); if(idArray[i] && idArray[i] !==undefined && nameArray[i] && nameArray[i] !== undefined){
list.push({id:idArray[i],name:nameArray[i]});
}
} }
} }
return list; return list;
@@ -2049,7 +2057,12 @@
}, res => { }, res => {
if(res && res.data){ if(res && res.data){
const bringData = res.data const bringData = res.data
this.FBGBUSSFileList=[]
this.BZSMBUSSFileList=[]
this.LSBBBUSSFileList=[]
this.QTWJBUSSFileList=[]
this.GLWJBUSSFileList=[]
this.XGDFileList=[]
const json = Object.assign(bringData, bringData.attrInfoMap); const json = Object.assign(bringData, bringData.attrInfoMap);
this.form = JSON.parse(JSON.stringify(json)) this.form = JSON.parse(JSON.stringify(json))
this.form.prcNum = this.prcNum this.form.prcNum = this.prcNum
@@ -2071,6 +2084,10 @@
this.form['SYCXCLASS'] = this.filterObj(this.form['SYCXCLASS']) this.form['SYCXCLASS'] = this.filterObj(this.form['SYCXCLASS'])
this.form['NYLXCLASS'] = this.filterObj(this.form['NYLXCLASS']) this.form['NYLXCLASS'] = this.filterObj(this.form['NYLXCLASS'])
this.form['SYCPXCLASS'] = this.filterObj(this.form['SYCPXCLASS']) this.form['SYCPXCLASS'] = this.filterObj(this.form['SYCPXCLASS'])
this.form.XCSJBUSS = this.dateFormatter()
this.QTWJBUSSFileList=this.assemble(this.form.QTWJBUSS,this.form.QTWJBUSSName);
this.GLWJBUSSFileList=this.assemble(this.form.GLWJBUSS,this.form.GLWJBUSSName);
this.XGDFileList=this.assemble(this.form.XGD,this.form.XGDName);
this.standardDrawer = false this.standardDrawer = false
this.verifySarStandard = true this.verifySarStandard = true
this.getStandInfoByReviseStatus('dr') this.getStandInfoByReviseStatus('dr')
@@ -2963,18 +2980,20 @@
_this: this _this: this
}, res => { }, res => {
if (res.success) { if (res.success) {
this.$message.success(res.message) this.submitLoading = false
this.isSubmit = false this.isSubmit = false
// if (this.$route.query.bpnId !== '') { if (this.$route.query.bpnId !== '') {
// let taskId = { let taskId = {
// id: this.$route.query.bpnId id: this.$route.query.bpnId
// } }
// taskDel(taskId).then(res=>{ taskDel(taskId).then(res=>{
// return res return res
// }) })
// } }
// //
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'}) this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
} else {
this.$message.warning(res.data)
} }
}) })
} }
@@ -3059,6 +3078,9 @@
<style lang="less" scoped> <style lang="less" scoped>
@import '~@/assets/styles/style'; @import '~@/assets/styles/style';
/deep/ .fileClass{
line-height: 22px !important;
}
/deep/ #active2 .el-form-item__content{ /deep/ #active2 .el-form-item__content{
margin-left: 0px !important; margin-left: 0px !important;
} }
@@ -138,11 +138,11 @@
<div class="block" style="padding-top: 20px;" v-show="active === '3'"> <div class="block" style="padding-top: 20px;" v-show="active === '3'">
<div class="flow-list"> <div class="flow-list">
<el-table <el-table
height="100%" :height="tablePHeight"
ref="selection" ref="selection"
:data="detailData" :data="detailData"
tooltip-effect="dark" tooltip-effect="dark"
style="width: 100%" style="width: 100%;"
border border
row-key="id" row-key="id"
:no-data-text="listNoDataText" :no-data-text="listNoDataText"
@@ -694,6 +694,7 @@
// //
taskTableData: [] taskTableData: []
}, },
tablePHeight:'',
tableHeight: { tableHeight: {
standardTableHeight: null standardTableHeight: null
}, },
@@ -2346,33 +2347,16 @@
} }
}, },
processTable () { processTable () {
this.$nextTick(() => { this.$http.get("lawss/activiti/get_list_by_instance", {
Promise.all([this.getTaskId()]).then((value) => { prcNum: this.$route.query.prcNum,
if(value[0] &&value.length > 0){ sortWord: this.shunxu ? this.paixu : "",
let mes = JSON.parse(value[0].mes) shunxu: this.shunxu
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD')) }, {
this.form = mes.form loading: "loading",
this.taskIds = mes.taskIds; _this: this
this.pId = mes.pId; }, res => {
this.userId = mes.userId; this.detailData = res
this.prcNum = mes.prcNum; }, e => {
this.prcName = mes.prcName;
this.roleForm = mes.roleForm
this.commentText = mes.commentText
}
this.loading = true
this.$http.get('lawss/activiti/get_list_by_instance', {
prcNum: this.prcNum,
sortWord: this.shunxu ? this.paixu : '',
shunxu: this.shunxu
}, {
loading: 'loading',
_this: this
}, res => {
this.detailData = res
this.loading = false
}, e => {})
})
}) })
}, },
}, },
@@ -2409,6 +2393,10 @@
this.gkglbmOptions=res.data.GKGLBM;// this.gkglbmOptions=res.data.GKGLBM;//
this.setMap(this.standStateOptions) this.setMap(this.standStateOptions)
}) })
this.tablePHeight = $('.content').height()
window.onresize = () => {
this.tablePHeight = $('.content').height()
}
this.busVsFunc() this.busVsFunc()
this.modelFunc() this.modelFunc()
} }
@@ -138,11 +138,11 @@
<div class="block" style="padding-top: 20px;" v-show="active === '3'"> <div class="block" style="padding-top: 20px;" v-show="active === '3'">
<div class="flow-list"> <div class="flow-list">
<el-table <el-table
height="100%" :height="tablePHeight"
ref="selection" ref="selection"
:data="detailData" :data="detailData"
tooltip-effect="dark" tooltip-effect="dark"
style="width: 100%" style="width: 100%;"
border border
row-key="id" row-key="id"
:no-data-text="listNoDataText" :no-data-text="listNoDataText"
@@ -694,6 +694,7 @@
// //
taskTableData: [] taskTableData: []
}, },
tablePHeight:'',
tableHeight: { tableHeight: {
standardTableHeight: null standardTableHeight: null
}, },
@@ -2346,33 +2347,16 @@
} }
}, },
processTable () { processTable () {
this.$nextTick(() => { this.$http.get("lawss/activiti/get_list_by_instance", {
Promise.all([this.getTaskId()]).then((value) => { prcNum: this.$route.query.prcNum,
if(value[0] &&value.length > 0){ sortWord: this.shunxu ? this.paixu : "",
let mes = JSON.parse(value[0].mes) shunxu: this.shunxu
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD')) }, {
this.form = mes.form loading: "loading",
this.taskIds = mes.taskIds; _this: this
this.pId = mes.pId; }, res => {
this.userId = mes.userId; this.detailData = res
this.prcNum = mes.prcNum; }, e => {
this.prcName = mes.prcName;
this.roleForm = mes.roleForm
this.commentText = mes.commentText
}
this.loading = true
this.$http.get('lawss/activiti/get_list_by_instance', {
prcNum: this.prcNum,
sortWord: this.shunxu ? this.paixu : '',
shunxu: this.shunxu
}, {
loading: 'loading',
_this: this
}, res => {
this.detailData = res
this.loading = false
}, e => {})
})
}) })
}, },
}, },
@@ -2409,6 +2393,10 @@
this.gkglbmOptions=res.data.GKGLBM;// this.gkglbmOptions=res.data.GKGLBM;//
this.setMap(this.standStateOptions) this.setMap(this.standStateOptions)
}) })
this.tablePHeight = $('.content').height()
window.onresize = () => {
this.tablePHeight = $('.content').height()
}
this.busVsFunc() this.busVsFunc()
this.modelFunc() this.modelFunc()
} }
@@ -138,11 +138,11 @@
<div class="block" style="padding-top: 20px;" v-show="active === '3'"> <div class="block" style="padding-top: 20px;" v-show="active === '3'">
<div class="flow-list"> <div class="flow-list">
<el-table <el-table
height="100%" :height="tablePHeight"
ref="selection" ref="selection"
:data="detailData" :data="detailData"
tooltip-effect="dark" tooltip-effect="dark"
style="width: 100%" style="width: 100%;"
border border
row-key="id" row-key="id"
:no-data-text="listNoDataText" :no-data-text="listNoDataText"
@@ -694,6 +694,7 @@
// //
taskTableData: [] taskTableData: []
}, },
tablePHeight:'',
tableHeight: { tableHeight: {
standardTableHeight: null standardTableHeight: null
}, },
@@ -2346,33 +2347,16 @@
} }
}, },
processTable () { processTable () {
this.$nextTick(() => { this.$http.get("lawss/activiti/get_list_by_instance", {
Promise.all([this.getTaskId()]).then((value) => { prcNum: this.$route.query.prcNum,
if(value[0] &&value.length > 0){ sortWord: this.shunxu ? this.paixu : "",
let mes = JSON.parse(value[0].mes) shunxu: this.shunxu
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD')) }, {
this.form = mes.form loading: "loading",
this.taskIds = mes.taskIds; _this: this
this.pId = mes.pId; }, res => {
this.userId = mes.userId; this.detailData = res
this.prcNum = mes.prcNum; }, e => {
this.prcName = mes.prcName;
this.roleForm = mes.roleForm
this.commentText = mes.commentText
}
this.loading = true
this.$http.get('lawss/activiti/get_list_by_instance', {
prcNum: this.prcNum,
sortWord: this.shunxu ? this.paixu : '',
shunxu: this.shunxu
}, {
loading: 'loading',
_this: this
}, res => {
this.detailData = res
this.loading = false
}, e => {})
})
}) })
}, },
}, },
@@ -2409,6 +2393,10 @@
this.gkglbmOptions=res.data.GKGLBM;// this.gkglbmOptions=res.data.GKGLBM;//
this.setMap(this.standStateOptions) this.setMap(this.standStateOptions)
}) })
this.tablePHeight = $('.content').height()
window.onresize = () => {
this.tablePHeight = $('.content').height()
}
this.busVsFunc() this.busVsFunc()
this.modelFunc() this.modelFunc()
} }
@@ -158,11 +158,11 @@
<div class="block" style="padding-top: 20px;" v-show="active === '3'"> <div class="block" style="padding-top: 20px;" v-show="active === '3'">
<div class="flow-list"> <div class="flow-list">
<el-table <el-table
height="100%" :height="tablePHeight"
ref="selection" ref="selection"
:data="detailData" :data="detailData"
tooltip-effect="dark" tooltip-effect="dark"
style="width: 100%" style="width: 100%;"
border border
row-key="id" row-key="id"
:no-data-text="listNoDataText" :no-data-text="listNoDataText"
@@ -335,7 +335,7 @@
label="文本状态" label="文本状态"
width="130"> width="130">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ textStatusMap[scope.row.textStatusBuss] }}</span> <span>{{ scope.row.standStatusShow }}</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@@ -719,6 +719,7 @@
// //
taskTableData: [] taskTableData: []
}, },
tablePHeight:'',
tableHeight: { tableHeight: {
standardTableHeight: null standardTableHeight: null
}, },
@@ -2717,6 +2718,10 @@
this.gkglbmOptions=res.data.GKGLBM;// this.gkglbmOptions=res.data.GKGLBM;//
this.setMap(this.standStateOptions) this.setMap(this.standStateOptions)
}) })
this.tablePHeight = $('.content').height()
window.onresize = () => {
this.tablePHeight = $('.content').height()
}
this.busVsFunc() this.busVsFunc()
this.modelFunc() this.modelFunc()
} }
@@ -138,7 +138,7 @@
<div class="block" style="padding-top: 20px;" v-show="active === '3'"> <div class="block" style="padding-top: 20px;" v-show="active === '3'">
<div class="flow-list"> <div class="flow-list">
<el-table <el-table
height="100%" :height="tablePHeight"
ref="selection" ref="selection"
:data="detailData" :data="detailData"
tooltip-effect="dark" tooltip-effect="dark"
@@ -703,6 +703,7 @@
// //
taskTableData: [] taskTableData: []
}, },
tablePHeight:'',
tableHeight: { tableHeight: {
standardTableHeight: null standardTableHeight: null
}, },
@@ -2525,6 +2526,10 @@
this.gkglbmOptions=res.data.GKGLBM;// this.gkglbmOptions=res.data.GKGLBM;//
this.setMap(this.standStateOptions) this.setMap(this.standStateOptions)
}) })
this.tablePHeight = $('.content').height()
window.onresize = () => {
this.tablePHeight = $('.content').height()
}
this.busVsFunc() this.busVsFunc()
this.modelFunc() this.modelFunc()
} }
@@ -144,11 +144,11 @@
<div class="block" style="padding-top: 20px;" v-show="active === '3'"> <div class="block" style="padding-top: 20px;" v-show="active === '3'">
<div class="flow-list"> <div class="flow-list">
<el-table <el-table
height="100%" :height="tablePHeight"
ref="selection" ref="selection"
:data="detailData" :data="detailData"
tooltip-effect="dark" tooltip-effect="dark"
style="width: 100%" style="width: 100%;"
border border
row-key="id" row-key="id"
:no-data-text="listNoDataText" :no-data-text="listNoDataText"
@@ -650,6 +650,7 @@
}] }]
}, },
taskInfo:'', taskInfo:'',
tablePHeight:'',
loading: false, loading: false,
disabledState: true, disabledState: true,
dataLoading: true, dataLoading: true,
@@ -2454,33 +2455,16 @@
} }
}, },
processTable () { processTable () {
this.$nextTick(() => { this.$http.get("lawss/activiti/get_list_by_instance", {
Promise.all([this.getTaskId()]).then((value) => { prcNum: this.$route.query.prcNum,
if(value[0] &&value.length > 0){ sortWord: this.shunxu ? this.paixu : "",
let mes = JSON.parse(value[0].mes) shunxu: this.shunxu
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD')) }, {
this.form = mes.form loading: "loading",
this.taskIds = mes.taskIds; _this: this
this.pId = mes.pId; }, res => {
this.userId = mes.userId; this.detailData = res
this.prcNum = mes.prcNum; }, e => {
this.prcName = mes.prcName;
this.roleForm = mes.roleForm
this.commentText = mes.commentText
}
this.loading = true
this.$http.get('lawss/activiti/get_list_by_instance', {
prcNum: this.prcNum,
sortWord: this.shunxu ? this.paixu : '',
shunxu: this.shunxu
}, {
loading: 'loading',
_this: this
}, res => {
this.detailData = res
this.loading = false
}, e => {})
})
}) })
}, },
}, },
@@ -2518,6 +2502,10 @@
this.gkglbmOptions=res.data.GKGLBM;// this.gkglbmOptions=res.data.GKGLBM;//
this.setMap(this.standStateOptions) this.setMap(this.standStateOptions)
}) })
this.tablePHeight = $('.content').height()
window.onresize = () => {
this.tablePHeight = $('.content').height()
}
this.busVsFunc() this.busVsFunc()
this.modelFunc() this.modelFunc()
} }
@@ -200,7 +200,7 @@
<div class="block" style="padding-top: 20px;" v-show="active === '3'"> <div class="block" style="padding-top: 20px;" v-show="active === '3'">
<div class="flow-list"> <div class="flow-list">
<el-table <el-table
height="100%" :height="tablePHeight"
ref="selection" ref="selection"
:data="detailData" :data="detailData"
tooltip-effect="dark" tooltip-effect="dark"
@@ -377,7 +377,7 @@
label="文本状态" label="文本状态"
width="130"> width="130">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ textStatusMap[scope.row.textStatusBuss] }}</span> <span>{{ scope.row.standStatusShow }}</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@@ -762,6 +762,7 @@
// //
taskTableData: [] taskTableData: []
}, },
tablePHeight:'',
tableHeight: { tableHeight: {
standardTableHeight: null standardTableHeight: null
}, },
@@ -2708,6 +2709,10 @@
this.gkglbmOptions=res.data.GKGLBM;// this.gkglbmOptions=res.data.GKGLBM;//
this.setMap(this.standStateOptions) this.setMap(this.standStateOptions)
}) })
this.tablePHeight = $('.content').height()
window.onresize = () => {
this.tablePHeight = $('.content').height()
}
this.busVsFunc() this.busVsFunc()
this.modelFunc() this.modelFunc()
} }
@@ -136,11 +136,11 @@
<div class="block" style="padding-top: 20px;" v-show="active === '3'"> <div class="block" style="padding-top: 20px;" v-show="active === '3'">
<div class="flow-list"> <div class="flow-list">
<el-table <el-table
height="100%" :height="tablePHeight"
ref="selection" ref="selection"
:data="detailData" :data="detailData"
tooltip-effect="dark" tooltip-effect="dark"
style="width: 100%" style="width: 100%;"
border border
row-key="id" row-key="id"
:no-data-text="listNoDataText" :no-data-text="listNoDataText"
@@ -693,6 +693,7 @@
// //
taskTableData: [] taskTableData: []
}, },
tablePHeight:'',
tableHeight: { tableHeight: {
standardTableHeight: null standardTableHeight: null
}, },
@@ -2345,33 +2346,16 @@
} }
}, },
processTable () { processTable () {
this.$nextTick(() => { this.$http.get("lawss/activiti/get_list_by_instance", {
Promise.all([this.getTaskId()]).then((value) => { prcNum: this.$route.query.prcNum,
if(value[0] &&value.length > 0){ sortWord: this.shunxu ? this.paixu : "",
let mes = JSON.parse(value[0].mes) shunxu: this.shunxu
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD')) }, {
this.form = mes.form loading: "loading",
this.taskIds = mes.taskIds; _this: this
this.pId = mes.pId; }, res => {
this.userId = mes.userId; this.detailData = res
this.prcNum = mes.prcNum; }, e => {
this.prcName = mes.prcName;
this.roleForm = mes.roleForm
this.commentText = mes.commentText
}
this.loading = true
this.$http.get('lawss/activiti/get_list_by_instance', {
prcNum: this.prcNum,
sortWord: this.shunxu ? this.paixu : '',
shunxu: this.shunxu
}, {
loading: 'loading',
_this: this
}, res => {
this.detailData = res
this.loading = false
}, e => {})
})
}) })
}, },
}, },
@@ -2408,6 +2392,10 @@
this.gkglbmOptions=res.data.GKGLBM;// this.gkglbmOptions=res.data.GKGLBM;//
this.setMap(this.standStateOptions) this.setMap(this.standStateOptions)
}) })
this.tablePHeight = $('.content').height()
window.onresize = () => {
this.tablePHeight = $('.content').height()
}
this.busVsFunc() this.busVsFunc()
this.modelFunc() this.modelFunc()
} }
@@ -221,11 +221,11 @@
<div class="block" style="padding-top: 20px;" v-show="active === '3'"> <div class="block" style="padding-top: 20px;" v-show="active === '3'">
<div class="flow-list"> <div class="flow-list">
<el-table <el-table
height="100%" :height="tablePHeight"
ref="selection" ref="selection"
:data="detailData" :data="detailData"
tooltip-effect="dark" tooltip-effect="dark"
style="width: 100%" style="width: 100%;"
border border
row-key="id" row-key="id"
:no-data-text="listNoDataText" :no-data-text="listNoDataText"
@@ -889,6 +889,7 @@
// //
taskTableData: [] taskTableData: []
}, },
tablePHeight:'',
tableHeight: { tableHeight: {
standardTableHeight: null standardTableHeight: null
}, },
@@ -2876,6 +2877,10 @@
this.gkglbmOptions=res.data.GKGLBM;// this.gkglbmOptions=res.data.GKGLBM;//
this.setMap(this.standStateOptions) this.setMap(this.standStateOptions)
}) })
this.tablePHeight = $('.content').height()
window.onresize = () => {
this.tablePHeight = $('.content').height()
}
this.busVsFunc() this.busVsFunc()
this.modelFunc() this.modelFunc()
} }
@@ -270,11 +270,11 @@
<div class="block" style="padding-top: 20px;" v-show="active === '3'"> <div class="block" style="padding-top: 20px;" v-show="active === '3'">
<div class="flow-list"> <div class="flow-list">
<el-table <el-table
height="100%" :height="tablePHeight"
ref="selection" ref="selection"
:data="detailData" :data="detailData"
tooltip-effect="dark" tooltip-effect="dark"
style="width: 100%" style="width: 100%;"
border border
row-key="id" row-key="id"
:no-data-text="listNoDataText" :no-data-text="listNoDataText"
@@ -447,7 +447,7 @@
label="文本状态" label="文本状态"
width="130"> width="130">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ textStatusMap[scope.row.textStatusBuss] }}</span> <span>{{ scope.row.standStatusShow }}</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@@ -832,6 +832,7 @@
// //
taskTableData: [] taskTableData: []
}, },
tablePHeight:'',
tableHeight: { tableHeight: {
standardTableHeight: null standardTableHeight: null
}, },
@@ -2800,6 +2801,10 @@
this.gkglbmOptions=res.data.GKGLBM;// this.gkglbmOptions=res.data.GKGLBM;//
this.setMap(this.standStateOptions) this.setMap(this.standStateOptions)
}) })
this.tablePHeight = $('.content').height()
window.onresize = () => {
this.tablePHeight = $('.content').height()
}
this.busVsFunc() this.busVsFunc()
this.modelFunc() this.modelFunc()
} }
@@ -139,11 +139,11 @@
<div class="block" style="padding-top: 20px;" v-show="active === '3'"> <div class="block" style="padding-top: 20px;" v-show="active === '3'">
<div class="flow-list"> <div class="flow-list">
<el-table <el-table
height="100%" :height="tablePHeight"
ref="selection" ref="selection"
:data="detailData" :data="detailData"
tooltip-effect="dark" tooltip-effect="dark"
style="width: 100%" style="width: 100%;"
border border
row-key="id" row-key="id"
:no-data-text="listNoDataText" :no-data-text="listNoDataText"
@@ -714,6 +714,7 @@
// //
taskTableData: [] taskTableData: []
}, },
tablePHeight:'',
tableHeight: { tableHeight: {
standardTableHeight: null standardTableHeight: null
}, },
@@ -2471,33 +2472,16 @@
return ""; return "";
}, },
processTable () { processTable () {
this.$nextTick(() => { this.$http.get("lawss/activiti/get_list_by_instance", {
Promise.all([this.getTaskId()]).then((value) => { prcNum: this.$route.query.prcNum,
if(value[0] &&value.length > 0){ sortWord: this.shunxu ? this.paixu : "",
let mes = JSON.parse(value[0].mes) shunxu: this.shunxu
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD')) }, {
this.form = mes.form loading: "loading",
this.taskIds = mes.taskIds; _this: this
this.pId = mes.pId; }, res => {
this.userId = mes.userId; this.detailData = res
this.prcNum = mes.prcNum; }, e => {
this.prcName = mes.prcName;
this.roleForm = mes.roleForm
this.commentText = mes.commentText
}
this.loading = true
this.$http.get('lawss/activiti/get_list_by_instance', {
prcNum: this.prcNum,
sortWord: this.shunxu ? this.paixu : '',
shunxu: this.shunxu
}, {
loading: 'loading',
_this: this
}, res => {
this.detailData = res
this.loading = false
}, e => {})
})
}) })
}, },
}, },
@@ -2535,6 +2519,10 @@
this.gkglbmOptions=res.data.GKGLBM;// this.gkglbmOptions=res.data.GKGLBM;//
this.setMap(this.standStateOptions) this.setMap(this.standStateOptions)
}) })
this.tablePHeight = $('.content').height()
window.onresize = () => {
this.tablePHeight = $('.content').height()
}
this.busVsFunc() this.busVsFunc()
this.modelFunc() this.modelFunc()
} }
@@ -138,11 +138,11 @@
<div class="block" style="padding-top: 20px;" v-show="active === '3'"> <div class="block" style="padding-top: 20px;" v-show="active === '3'">
<div class="flow-list"> <div class="flow-list">
<el-table <el-table
height="100%" :height="tablePHeight"
ref="selection" ref="selection"
:data="detailData" :data="detailData"
tooltip-effect="dark" tooltip-effect="dark"
style="width: 100%" style="width: 100%;"
border border
row-key="id" row-key="id"
:no-data-text="listNoDataText" :no-data-text="listNoDataText"
@@ -694,6 +694,7 @@
// //
taskTableData: [] taskTableData: []
}, },
tablePHeight:'',
tableHeight: { tableHeight: {
standardTableHeight: null standardTableHeight: null
}, },
@@ -2345,33 +2346,16 @@
} }
}, },
processTable () { processTable () {
this.$nextTick(() => { this.$http.get("lawss/activiti/get_list_by_instance", {
Promise.all([this.getTaskId()]).then((value) => { prcNum: this.$route.query.prcNum,
if(value[0] &&value.length > 0){ sortWord: this.shunxu ? this.paixu : "",
let mes = JSON.parse(value[0].mes) shunxu: this.shunxu
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD')) }, {
this.form = mes.form loading: "loading",
this.taskIds = mes.taskIds; _this: this
this.pId = mes.pId; }, res => {
this.userId = mes.userId; this.detailData = res
this.prcNum = mes.prcNum; }, e => {
this.prcName = mes.prcName;
this.roleForm = mes.roleForm
this.commentText = mes.commentText
}
this.loading = true
this.$http.get('lawss/activiti/get_list_by_instance', {
prcNum: this.prcNum,
sortWord: this.shunxu ? this.paixu : '',
shunxu: this.shunxu
}, {
loading: 'loading',
_this: this
}, res => {
this.detailData = res
this.loading = false
}, e => {})
})
}) })
}, },
}, },
@@ -2408,6 +2392,10 @@
this.gkglbmOptions=res.data.GKGLBM;// this.gkglbmOptions=res.data.GKGLBM;//
this.setMap(this.standStateOptions) this.setMap(this.standStateOptions)
}) })
this.tablePHeight = $('.content').height()
window.onresize = () => {
this.tablePHeight = $('.content').height()
}
this.busVsFunc() this.busVsFunc()
this.modelFunc() this.modelFunc()
} }
@@ -138,11 +138,11 @@
<div class="block" style="padding-top: 20px;" v-show="active === '3'"> <div class="block" style="padding-top: 20px;" v-show="active === '3'">
<div class="flow-list"> <div class="flow-list">
<el-table <el-table
height="100%" :height="tablePHeight"
ref="selection" ref="selection"
:data="detailData" :data="detailData"
tooltip-effect="dark" tooltip-effect="dark"
style="width: 100%" style="width: 100%;"
border border
row-key="id" row-key="id"
:no-data-text="listNoDataText" :no-data-text="listNoDataText"
@@ -694,6 +694,7 @@
// //
taskTableData: [] taskTableData: []
}, },
tablePHeight:'',
tableHeight: { tableHeight: {
standardTableHeight: null standardTableHeight: null
}, },
@@ -2346,33 +2347,16 @@
} }
}, },
processTable () { processTable () {
this.$nextTick(() => { this.$http.get("lawss/activiti/get_list_by_instance", {
Promise.all([this.getTaskId()]).then((value) => { prcNum: this.$route.query.prcNum,
if(value[0] &&value.length > 0){ sortWord: this.shunxu ? this.paixu : "",
let mes = JSON.parse(value[0].mes) shunxu: this.shunxu
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD')) }, {
this.form = mes.form loading: "loading",
this.taskIds = mes.taskIds; _this: this
this.pId = mes.pId; }, res => {
this.userId = mes.userId; this.detailData = res
this.prcNum = mes.prcNum; }, e => {
this.prcName = mes.prcName;
this.roleForm = mes.roleForm
this.commentText = mes.commentText
}
this.loading = true
this.$http.get('lawss/activiti/get_list_by_instance', {
prcNum: this.prcNum,
sortWord: this.shunxu ? this.paixu : '',
shunxu: this.shunxu
}, {
loading: 'loading',
_this: this
}, res => {
this.detailData = res
this.loading = false
}, e => {})
})
}) })
}, },
}, },
@@ -2409,6 +2393,10 @@
this.gkglbmOptions=res.data.GKGLBM;// this.gkglbmOptions=res.data.GKGLBM;//
this.setMap(this.standStateOptions) this.setMap(this.standStateOptions)
}) })
this.tablePHeight = $('.content').height()
window.onresize = () => {
this.tablePHeight = $('.content').height()
}
this.busVsFunc() this.busVsFunc()
this.modelFunc() this.modelFunc()
} }
@@ -200,7 +200,7 @@
<div class="block" style="padding-top: 20px;" v-show="active === '3'"> <div class="block" style="padding-top: 20px;" v-show="active === '3'">
<div class="flow-list"> <div class="flow-list">
<el-table <el-table
height="100%" :height="tablePHeight"
ref="selection" ref="selection"
:data="detailData" :data="detailData"
tooltip-effect="dark" tooltip-effect="dark"
@@ -377,7 +377,7 @@
label="文本状态" label="文本状态"
width="130"> width="130">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ textStatusMap[scope.row.textStatusBuss] }}</span> <span>{{ scope.row.standStatusShow }}</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@@ -762,6 +762,7 @@
// //
taskTableData: [] taskTableData: []
}, },
tablePHeight:'',
tableHeight: { tableHeight: {
standardTableHeight: null standardTableHeight: null
}, },
@@ -2710,6 +2711,10 @@
this.gkglbmOptions=res.data.GKGLBM;// this.gkglbmOptions=res.data.GKGLBM;//
this.setMap(this.standStateOptions) this.setMap(this.standStateOptions)
}) })
this.tablePHeight = $('.content').height()
window.onresize = () => {
this.tablePHeight = $('.content').height()
}
this.busVsFunc() this.busVsFunc()
this.modelFunc() this.modelFunc()
} }
@@ -270,11 +270,11 @@
<div class="block" style="padding-top: 20px;" v-show="active === '3'"> <div class="block" style="padding-top: 20px;" v-show="active === '3'">
<div class="flow-list"> <div class="flow-list">
<el-table <el-table
height="100%" :height="tablePHeight"
ref="selection" ref="selection"
:data="detailData" :data="detailData"
tooltip-effect="dark" tooltip-effect="dark"
style="width: 100%" style="width: 100%;"
border border
row-key="id" row-key="id"
:no-data-text="listNoDataText" :no-data-text="listNoDataText"
@@ -448,7 +448,7 @@
label="文本状态" label="文本状态"
width="130"> width="130">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ textStatusMap[scope.row.textStatusBuss] }}</span> <span>{{ scope.row.standStatusShow }}</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@@ -842,6 +842,7 @@
// //
taskTableData: [] taskTableData: []
}, },
tablePHeight:'',
tableHeight: { tableHeight: {
standardTableHeight: null standardTableHeight: null
}, },
@@ -2811,6 +2812,10 @@
this.gkglbmOptions=res.data.GKGLBM;// this.gkglbmOptions=res.data.GKGLBM;//
this.setMap(this.standStateOptions) this.setMap(this.standStateOptions)
}) })
this.tablePHeight = $('.content').height()
window.onresize = () => {
this.tablePHeight = $('.content').height()
}
this.busVsFunc() this.busVsFunc()
this.modelFunc() this.modelFunc()
} }
@@ -146,11 +146,11 @@
<div class="block" style="padding-top: 20px;" v-show="active === '3'"> <div class="block" style="padding-top: 20px;" v-show="active === '3'">
<div class="flow-list"> <div class="flow-list">
<el-table <el-table
height="100%" :height="tablePHeight"
ref="selection" ref="selection"
:data="detailData" :data="detailData"
tooltip-effect="dark" tooltip-effect="dark"
style="width: 100%" style="width: 100%;min-height: 535px"
border border
row-key="id" row-key="id"
:no-data-text="listNoDataText" :no-data-text="listNoDataText"
@@ -630,6 +630,7 @@
} }
}] }]
}, },
tablePHeight:'',
loading: false, loading: false,
dataLoading: true, dataLoading: true,
disabledState: true, disabledState: true,
@@ -2276,33 +2277,16 @@
} }
}, },
processTable () { processTable () {
this.$nextTick(() => { this.$http.get("lawss/activiti/get_list_by_instance", {
Promise.all([this.getTaskId()]).then((value) => { prcNum: this.$route.query.prcNum,
if(value[0] &&value.length > 0){ sortWord: this.shunxu ? this.paixu : "",
let mes = JSON.parse(value[0].mes) shunxu: this.shunxu
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD')) }, {
this.form = mes.form loading: "loading",
this.taskIds = mes.taskIds; _this: this
this.pId = mes.pId; }, res => {
this.userId = mes.userId; this.detailData = res
this.prcNum = mes.prcNum; }, e => {
this.prcName = mes.prcName;
this.roleForm = mes.roleForm
this.commentText = mes.commentText
}
this.loading = true
this.$http.get('lawss/activiti/get_list_by_instance', {
prcNum: this.prcNum,
sortWord: this.shunxu ? this.paixu : '',
shunxu: this.shunxu
}, {
loading: 'loading',
_this: this
}, res => {
this.detailData = res
this.loading = false
}, e => {})
})
}) })
}, },
}, },
@@ -2339,6 +2323,10 @@
this.gkglbmOptions=res.data.GKGLBM;// this.gkglbmOptions=res.data.GKGLBM;//
this.setMap(this.standStateOptions) this.setMap(this.standStateOptions)
}) })
this.tablePHeight = $('.content').height()
window.onresize = () => {
this.tablePHeight = $('.content').height()
}
this.busVsFunc() this.busVsFunc()
this.modelFunc() this.modelFunc()
} }
@@ -127,12 +127,12 @@
clearable clearable
></el-input> ></el-input>
<div style="display: flex;justify-content: space-between;margin-left: 12px;"> <div style="display: flex;justify-content: space-between;margin-left: 12px;">
<div style="width: 80%;"> <div style="width: 80%;margin-top: 13px">
<div v-for="(item,index) in FBGBUSSFileList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass"> <div v-for="(item,index) in FBGBUSSFileList" :key="index" style="color: #409eff;cursor:pointer;" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')" :title="item.name">{{ item.name | ellipsis2 }}</span> <span style="" @click="handleFilePreview(item,'preview')" :title="item.name">{{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
</span> </span>
</div> </div>
</div> </div>
<div style="width: 20%;"> <div style="width: 20%;">
@@ -155,12 +155,12 @@
clearable clearable
></el-input> ></el-input>
<div style="display: flex;justify-content: space-between;margin-left: 12px;"> <div style="display: flex;justify-content: space-between;margin-left: 12px;">
<div style="width: 80%;"> <div style="width: 80%;margin-top: 13px">
<div v-for="(item,index) in LSBBBUSSFileList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass"> <div v-for="(item,index) in LSBBBUSSFileList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')" :title="item.name">{{ item.name | ellipsis2 }}</span> <span style="" @click="handleFilePreview(item,'preview')" :title="item.name">{{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
</span> </span>
</div> </div>
</div> </div>
<div style="width: 20%;"> <div style="width: 20%;">
@@ -185,11 +185,11 @@
clearable clearable
></el-input> ></el-input>
<div style="display: flex;justify-content: space-between;margin-left: 12px;"> <div style="display: flex;justify-content: space-between;margin-left: 12px;">
<div style="width: 80%;"> <div style="width: 80%;margin-top: 13px">
<div v-for="(item,index) in BZSMBUSSFileList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass"> <div v-for="(item,index) in BZSMBUSSFileList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')" :title="item.name">{{ item.name | ellipsis2 }}</span> <span style="" @click="handleFilePreview(item,'preview')" :title="item.name">{{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
</span> </span>
</div> </div>
</div> </div>
@@ -213,11 +213,11 @@
clearable clearable
></el-input> ></el-input>
<div style="display: flex;justify-content: space-between;margin-left: 12px;"> <div style="display: flex;justify-content: space-between;margin-left: 12px;">
<div style="width: 80%;"> <div style="width: 80%;margin-top: 13px">
<div v-for="(item,index) in QTWJBUSSFileList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass"> <div v-for="(item,index) in QTWJBUSSFileList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')" :title="item.name">{{ item.name | ellipsis2 }}</span> <span style="" @click="handleFilePreview(item,'preview')" :title="item.name">{{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
</span> </span>
</div> </div>
</div> </div>
@@ -427,11 +427,11 @@
clearable clearable
></el-input> ></el-input>
<div style="display: flex;justify-content: space-between;margin-left: 12px;"> <div style="display: flex;justify-content: space-between;margin-left: 12px;">
<div style="width: 80%;"> <div style="width: 80%;margin-top: 13px">
<div v-for="(item,index) in GLWJBUSSFileList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass"> <div v-for="(item,index) in GLWJBUSSFileList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')" :title="item.name">{{ item.name | ellipsis2 }}</span> <span style="" @click="handleFilePreview(item,'preview')" :title="item.name">{{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
</span> </span>
</div> </div>
</div> </div>
@@ -582,9 +582,9 @@
<el-col :span="12"> <el-col :span="12">
<el-form-item label="汇总评审意见文件" prop="GLWJBUSSName" class="add-form-item form-item-disabled"> <el-form-item label="汇总评审意见文件" prop="GLWJBUSSName" class="add-form-item form-item-disabled">
<div v-if="summaryFileList.length > 0" v-for="(item,index) in summaryFileList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass"> <div v-if="summaryFileList.length > 0" v-for="(item,index) in summaryFileList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')">{{ item.name }}</span> <span style="" @click="handleFilePreview(item,'preview')">{{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
</span> </span>
</div> </div>
</el-form-item> </el-form-item>
@@ -605,12 +605,12 @@
clearable clearable
></el-input> ></el-input>
<div style="display: flex;justify-content: left;margin-top: 5px;padding-left: 20px;"> <div style="display: flex;justify-content: left;margin-top: 5px;padding-left: 20px;">
<div style="width: 80%;"> <div style="width: 80%;margin-top: 13px">
<div v-for="(item,index) in madelSubList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass"> <div v-for="(item,index) in madelSubList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')">{{ item.name }}</span> <span style="" @click="handleFilePreview(item,'preview')">{{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;"> <span style="margin-left: 7px;">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
</span> </span>
</div> </div>
</div> </div>
<div style="width: 20%;"> <div style="width: 20%;">
@@ -1011,5 +1011,7 @@ export default {
</script> </script>
<style scoped> <style scoped>
/deep/ .fileClass{
line-height: 22px !important;
}
</style> </style>
@@ -99,10 +99,10 @@
<el-row :gutter="24"> <el-row :gutter="24">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="发布稿" prop="FBGBUSSName" class="add-form-item form-item-disabled"> <el-form-item label="发布稿" prop="FBGBUSSName" class="add-form-item form-item-disabled">
<div v-if="FBGBUSSFileList.length > 0" v-for="(item,index) in FBGBUSSFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px;" class="fileClass"> <div v-if="FBGBUSSFileList.length > 0" v-for="(item,index) in FBGBUSSFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px;margin-top: 13px" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name | ellipsis2 }}</span> <span style="" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
</span> </span>
</div> </div>
<!-- <div v-if="FBGBUSSFileList.length>0" v-for="(value,index) in this.FBGBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">--> <!-- <div v-if="FBGBUSSFileList.length>0" v-for="(value,index) in this.FBGBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">-->
@@ -111,10 +111,10 @@
<!-- </div>--> <!-- </div>-->
</el-form-item> </el-form-item>
<el-form-item label="历史版本" prop="LSBBBUSSName" class="add-form-item form-item-disabled"> <el-form-item label="历史版本" prop="LSBBBUSSName" class="add-form-item form-item-disabled">
<div v-if="LSBBBUSSFileList.length > 0" v-for="(item,index) in LSBBBUSSFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px;" class="fileClass"> <div v-if="LSBBBUSSFileList.length > 0" v-for="(item,index) in LSBBBUSSFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px;margin-top: 13px" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name | ellipsis2 }}</span> <span style="" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
</span> </span>
</div> </div>
<!-- <div v-if="LSBBBUSSFileList.length>0" v-for="(value,index) in this.LSBBBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">--> <!-- <div v-if="LSBBBUSSFileList.length>0" v-for="(value,index) in this.LSBBBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">-->
@@ -125,10 +125,10 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="编制说明" prop="BZSMBUSSName" class="add-form-item form-item-disabled"> <el-form-item label="编制说明" prop="BZSMBUSSName" class="add-form-item form-item-disabled">
<div v-if="BZSMBUSSFileList.length > 0" v-for="(item,index) in BZSMBUSSFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px;" class="fileClass"> <div v-if="BZSMBUSSFileList.length > 0" v-for="(item,index) in BZSMBUSSFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px;margin-top: 13px" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name | ellipsis2 }}</span> <span style="" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
</span> </span>
</div> </div>
<!-- <div v-if="BZSMBUSSFileList.length>0" v-for="(value,index) in this.BZSMBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">--> <!-- <div v-if="BZSMBUSSFileList.length>0" v-for="(value,index) in this.BZSMBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">-->
@@ -137,10 +137,10 @@
<!-- </div>--> <!-- </div>-->
</el-form-item> </el-form-item>
<el-form-item label="其他文件" prop="QTWJBUSSName" class="add-form-item form-item-disabled"> <el-form-item label="其他文件" prop="QTWJBUSSName" class="add-form-item form-item-disabled">
<div v-if="QTWJBUSSFileList.length > 0" v-for="(item,index) in QTWJBUSSFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px;" class="fileClass"> <div v-if="QTWJBUSSFileList.length > 0" v-for="(item,index) in QTWJBUSSFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px;margin-top: 13px" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name | ellipsis2 }}</span> <span style="" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
</span> </span>
</div> </div>
<!-- <div v-if="QTWJBUSSFileList.length>0" v-for="(value,index) in this.QTWJBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">--> <!-- <div v-if="QTWJBUSSFileList.length>0" v-for="(value,index) in this.QTWJBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">-->
@@ -283,10 +283,10 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="关联文件" prop="GLWJBUSSName" class="add-form-item form-item-disabled"> <el-form-item label="关联文件" prop="GLWJBUSSName" class="add-form-item form-item-disabled">
<div v-if="GLWJBUSSFileList.length > 0" v-for="(item,index) in GLWJBUSSFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px" class="fileClass"> <div v-if="GLWJBUSSFileList.length > 0" v-for="(item,index) in GLWJBUSSFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px;margin-top: 13px" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name | ellipsis2 }}</span> <span style="" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
</span> </span>
</div> </div>
<!-- <div v-if="GLWJBUSSFileList.length>0" v-for="(value,index) in this.GLWJBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">--> <!-- <div v-if="GLWJBUSSFileList.length>0" v-for="(value,index) in this.GLWJBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">-->
@@ -428,11 +428,11 @@
<el-row :gutter="24"> <el-row :gutter="24">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="汇总评审意见文件" prop="GLWJBUSSName" class="add-form-item form-item-disabled"> <el-form-item label="汇总评审意见文件" prop="GLWJBUSSName" class="add-form-item form-item-disabled">
<div v-if="summaryFileList.length > 0" v-for="(item,index) in summaryFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px;" class="fileClass"> <div v-if="summaryFileList.length > 0" v-for="(item,index) in summaryFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px;margin-top: 13px" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name | ellipsis22 }}</span> <span style="" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
</span> </span>
</div> </div>
</el-form-item> </el-form-item>
</el-col> </el-col>
@@ -671,5 +671,7 @@ export default {
</script> </script>
<style scoped> <style scoped>
/deep/ .fileClass{
line-height: 22px !important;
}
</style> </style>
@@ -110,10 +110,10 @@
<el-row :gutter="24"> <el-row :gutter="24">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="发布稿" prop="FBGBUSSName" class="add-form-item form-item-disabled"> <el-form-item label="发布稿" prop="FBGBUSSName" class="add-form-item form-item-disabled">
<div v-if="FBGBUSSFileList.length > 0" v-for="(item,index) in FBGBUSSFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px" class="fileClass"> <div v-if="FBGBUSSFileList.length > 0" v-for="(item,index) in FBGBUSSFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px;margin-top: 13px" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name | ellipsis2 }}</span> <span style="" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
</span> </span>
</div> </div>
<!-- <div v-if="FBGBUSSFileList.length>0" v-for="(value,index) in this.FBGBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">--> <!-- <div v-if="FBGBUSSFileList.length>0" v-for="(value,index) in this.FBGBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">-->
@@ -122,10 +122,10 @@
<!-- </div>--> <!-- </div>-->
</el-form-item> </el-form-item>
<el-form-item label="历史版本" prop="LSBBBUSSName" class="add-form-item form-item-disabled"> <el-form-item label="历史版本" prop="LSBBBUSSName" class="add-form-item form-item-disabled">
<div v-if="LSBBBUSSFileList.length > 0" v-for="(item,index) in LSBBBUSSFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px" class="fileClass"> <div v-if="LSBBBUSSFileList.length > 0" v-for="(item,index) in LSBBBUSSFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px;margin-top: 13px" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name | ellipsis2 }}</span> <span style="" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
</span> </span>
</div> </div>
<!-- <div v-if="LSBBBUSSFileList.length>0" v-for="(value,index) in this.LSBBBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">--> <!-- <div v-if="LSBBBUSSFileList.length>0" v-for="(value,index) in this.LSBBBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">-->
@@ -136,10 +136,10 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="编制说明" prop="BZSMBUSSName" class="add-form-item form-item-disabled"> <el-form-item label="编制说明" prop="BZSMBUSSName" class="add-form-item form-item-disabled">
<div v-if="BZSMBUSSFileList.length > 0" v-for="(item,index) in BZSMBUSSFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px" class="fileClass"> <div v-if="BZSMBUSSFileList.length > 0" v-for="(item,index) in BZSMBUSSFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px;margin-top: 13px" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name | ellipsis2 }}</span> <span style="" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
</span> </span>
</div> </div>
<!-- <div v-if="BZSMBUSSFileList.length>0" v-for="(value,index) in this.BZSMBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">--> <!-- <div v-if="BZSMBUSSFileList.length>0" v-for="(value,index) in this.BZSMBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">-->
@@ -148,10 +148,10 @@
<!-- </div>--> <!-- </div>-->
</el-form-item> </el-form-item>
<el-form-item label="其他文件" prop="QTWJBUSSName" class="add-form-item form-item-disabled"> <el-form-item label="其他文件" prop="QTWJBUSSName" class="add-form-item form-item-disabled">
<div v-if="QTWJBUSSFileList.length > 0" v-for="(item,index) in QTWJBUSSFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px" class="fileClass"> <div v-if="QTWJBUSSFileList.length > 0" v-for="(item,index) in QTWJBUSSFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px;margin-top: 13px" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name | ellipsis2 }}</span> <span style="" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
</span> </span>
</div> </div>
<!-- <div v-if="QTWJBUSSFileList.length>0" v-for="(value,index) in this.QTWJBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">--> <!-- <div v-if="QTWJBUSSFileList.length>0" v-for="(value,index) in this.QTWJBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">-->
@@ -293,10 +293,10 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="关联文件" prop="GLWJBUSSName" class="add-form-item form-item-disabled"> <el-form-item label="关联文件" prop="GLWJBUSSName" class="add-form-item form-item-disabled">
<div v-if="GLWJBUSSFileList.length > 0" v-for="(item,index) in GLWJBUSSFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px" class="fileClass"> <div v-if="GLWJBUSSFileList.length > 0" v-for="(item,index) in GLWJBUSSFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px;margin-top: 13px" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name | ellipsis2 }}</span> <span style="" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
</span> </span>
</div> </div>
<!-- <div v-if="GLWJBUSSFileList.length>0" v-for="(value,index) in this.GLWJBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">--> <!-- <div v-if="GLWJBUSSFileList.length>0" v-for="(value,index) in this.GLWJBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">-->
@@ -438,10 +438,10 @@
<el-row :gutter="24"> <el-row :gutter="24">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="汇总评审意见文件" prop="GLWJBUSSName" class="add-form-item form-item-disabled"> <el-form-item label="汇总评审意见文件" prop="GLWJBUSSName" class="add-form-item form-item-disabled">
<div v-if="summaryFileList.length > 0" v-for="(item,index) in summaryFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px" class="fileClass"> <div v-if="summaryFileList.length > 0" v-for="(item,index) in summaryFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px;margin-top: 13px" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name | ellipsis22 }}</span> <span style="" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
</span> </span>
</div> </div>
</el-form-item> </el-form-item>
@@ -681,5 +681,7 @@
</script> </script>
<style scoped> <style scoped>
/deep/ .fileClass{
line-height: 22px !important;
}
</style> </style>
@@ -144,7 +144,7 @@
clearable clearable
></el-input> ></el-input>
<div style="display: flex;justify-content: space-between"> <div style="display: flex;justify-content: space-between">
<div style="width: 80%;"> <div style="width: 80%;margin-top: 13px">
<div v-for="(item,index) in FBGBUSSFileList" :key="index" @click="handleFilePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass">{{ item.name }}</div> <div v-for="(item,index) in FBGBUSSFileList" :key="index" @click="handleFilePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass">{{ item.name }}</div>
</div> </div>
<div style="width: 20%;"> <div style="width: 20%;">
@@ -168,7 +168,7 @@
clearable clearable
></el-input> ></el-input>
<div style="display: flex;justify-content: space-between"> <div style="display: flex;justify-content: space-between">
<div style="width: 80%;"> <div style="width: 80%;margin-top: 13px">
<div v-for="(item,index) in LSBBBUSSFileList" :key="index" @click="handleFilePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass">{{ item.name }}</div> <div v-for="(item,index) in LSBBBUSSFileList" :key="index" @click="handleFilePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass">{{ item.name }}</div>
</div> </div>
<div style="width: 20%;"> <div style="width: 20%;">
@@ -193,7 +193,7 @@
clearable clearable
></el-input> ></el-input>
<div style="display: flex;justify-content: space-between"> <div style="display: flex;justify-content: space-between">
<div style="width: 80%;"> <div style="width: 80%;margin-top: 13px">
<div v-for="(item,index) in BZSMBUSSFileList" :key="index" @click="handleFilePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass">{{ item.name }}</div> <div v-for="(item,index) in BZSMBUSSFileList" :key="index" @click="handleFilePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass">{{ item.name }}</div>
</div> </div>
<div style="width: 20%;"> <div style="width: 20%;">
@@ -216,7 +216,7 @@
clearable clearable
></el-input> ></el-input>
<div style="display: flex;justify-content: space-between"> <div style="display: flex;justify-content: space-between">
<div style="width: 80%;"> <div style="width: 80%;margin-top: 13px">
<div v-for="(item,index) in QTWJBUSSFileList" :key="index" @click="handleFilePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass">{{ item.name }}</div> <div v-for="(item,index) in QTWJBUSSFileList" :key="index" @click="handleFilePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass">{{ item.name }}</div>
</div> </div>
<div style="width: 20%;"> <div style="width: 20%;">
@@ -423,7 +423,7 @@
clearable clearable
></el-input> ></el-input>
<div style="display: flex;justify-content: space-between"> <div style="display: flex;justify-content: space-between">
<div style="width: 80%;"> <div style="width: 80%;margin-top: 13px">
<div v-for="(item,index) in GLWJBUSSFileList" :key="index" @click="handleFilePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass">{{ item.name }}</div> <div v-for="(item,index) in GLWJBUSSFileList" :key="index" @click="handleFilePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass">{{ item.name }}</div>
</div> </div>
<div style="width: 20%;"> <div style="width: 20%;">
@@ -791,7 +791,7 @@
label="文本状态" label="文本状态"
width="130"> width="130">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ textStatusMap[scope.row.textStatusBuss] }}</span> <span>{{ scope.row.standStatusShow }}</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@@ -2537,7 +2537,12 @@
}, },
// //
handleFilePreview(file) { handleFilePreview(file) {
const attId = file.response.data.id let attId = ""
if(file && file.id){
attId = file.id
}else {
attId = file.response.data.id
}
if (this.preview) { if (this.preview) {
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + attId
@@ -3047,6 +3052,9 @@
<style lang="less" scoped> <style lang="less" scoped>
@import '~@/assets/styles/style'; @import '~@/assets/styles/style';
/deep/ .fileClass{
line-height: 22px !important;
}
/deep/ #active2 .el-form-item__content{ /deep/ #active2 .el-form-item__content{
margin-left: 0px !important; margin-left: 0px !important;
} }
@@ -146,7 +146,7 @@
<div class="block" style="padding-top: 20px;" v-show="active === '3'"> <div class="block" style="padding-top: 20px;" v-show="active === '3'">
<div class="flow-list"> <div class="flow-list">
<el-table <el-table
height="100%" :height="tablePHeight"
ref="selection" ref="selection"
:data="detailData" :data="detailData"
tooltip-effect="dark" tooltip-effect="dark"
@@ -698,6 +698,7 @@
// //
taskTableData: [] taskTableData: []
}, },
tablePHeight:'',
tableHeight: { tableHeight: {
standardTableHeight: null standardTableHeight: null
}, },
@@ -2406,6 +2407,10 @@
this.gkglbmOptions=res.data.GKGLBM;// this.gkglbmOptions=res.data.GKGLBM;//
this.setMap(this.standStateOptions) this.setMap(this.standStateOptions)
}) })
this.tablePHeight = $('.content').height()
window.onresize = () => {
this.tablePHeight = $('.content').height()
}
this.busVsFunc() this.busVsFunc()
this.modelFunc() this.modelFunc()
} }
@@ -146,7 +146,7 @@
<div class="block" style="padding-top: 20px;" v-show="active === '3'"> <div class="block" style="padding-top: 20px;" v-show="active === '3'">
<div class="flow-list"> <div class="flow-list">
<el-table <el-table
height="100%" :height="tablePHeight"
ref="selection" ref="selection"
:data="detailData" :data="detailData"
tooltip-effect="dark" tooltip-effect="dark"
@@ -698,6 +698,7 @@
// //
taskTableData: [] taskTableData: []
}, },
tablePHeight:'',
tableHeight: { tableHeight: {
standardTableHeight: null standardTableHeight: null
}, },
@@ -2405,6 +2406,10 @@
this.gkglbmOptions=res.data.GKGLBM;// this.gkglbmOptions=res.data.GKGLBM;//
this.setMap(this.standStateOptions) this.setMap(this.standStateOptions)
}) })
this.tablePHeight = $('.content').height()
window.onresize = () => {
this.tablePHeight = $('.content').height()
}
this.busVsFunc() this.busVsFunc()
this.modelFunc() this.modelFunc()
} }
@@ -159,7 +159,7 @@
<div class="block" style="padding-top: 20px;" v-show="active === '3'"> <div class="block" style="padding-top: 20px;" v-show="active === '3'">
<div class="flow-list"> <div class="flow-list">
<el-table <el-table
height="100%" :height="tablePHeight"
ref="selection" ref="selection"
:data="detailData" :data="detailData"
tooltip-effect="dark" tooltip-effect="dark"
@@ -336,7 +336,7 @@
label="文本状态" label="文本状态"
width="130"> width="130">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ textStatusMap[scope.row.textStatusBuss] }}</span> <span>{{ scope.row.standStatusShow }}</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@@ -756,6 +756,7 @@
// //
taskTableData: [] taskTableData: []
}, },
tablePHeight:'',
tableHeight: { tableHeight: {
standardTableHeight: null standardTableHeight: null
}, },
@@ -2720,6 +2721,10 @@
this.gkglbmOptions=res.data.GKGLBM;// this.gkglbmOptions=res.data.GKGLBM;//
this.setMap(this.standStateOptions) this.setMap(this.standStateOptions)
}) })
this.tablePHeight = $('.content').height()
window.onresize = () => {
this.tablePHeight = $('.content').height()
}
this.busVsFunc() this.busVsFunc()
this.modelFunc() this.modelFunc()
} }
@@ -160,7 +160,7 @@
<div class="block" style="padding-top: 20px;" v-show="active === '3'"> <div class="block" style="padding-top: 20px;" v-show="active === '3'">
<div class="flow-list"> <div class="flow-list">
<el-table <el-table
height="100%" :height="tablePHeight"
ref="selection" ref="selection"
:data="detailData" :data="detailData"
tooltip-effect="dark" tooltip-effect="dark"
@@ -337,7 +337,7 @@
label="文本状态" label="文本状态"
width="130"> width="130">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ textStatusMap[scope.row.textStatusBuss] }}</span> <span>{{ scope.row.standStatusShow }}</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@@ -757,6 +757,7 @@
// //
taskTableData: [] taskTableData: []
}, },
tablePHeight:'',
tableHeight: { tableHeight: {
standardTableHeight: null standardTableHeight: null
}, },
@@ -2755,6 +2756,10 @@
this.gkglbmOptions=res.data.GKGLBM;// this.gkglbmOptions=res.data.GKGLBM;//
this.setMap(this.standStateOptions) this.setMap(this.standStateOptions)
}) })
this.tablePHeight = $('.content').height()
window.onresize = () => {
this.tablePHeight = $('.content').height()
}
this.busVsFunc() this.busVsFunc()
this.modelFunc() this.modelFunc()
} }
@@ -269,7 +269,7 @@
<div class="block" style="padding-top: 20px;" v-show="active === '3'"> <div class="block" style="padding-top: 20px;" v-show="active === '3'">
<div class="flow-list"> <div class="flow-list">
<el-table <el-table
height="100%" :height="tablePHeight"
ref="selection" ref="selection"
:data="detailData" :data="detailData"
tooltip-effect="dark" tooltip-effect="dark"
@@ -825,6 +825,7 @@
// //
taskTableData: [] taskTableData: []
}, },
tablePHeight:'',
tableHeight: { tableHeight: {
standardTableHeight: null standardTableHeight: null
}, },
@@ -2735,6 +2736,10 @@
this.getTaskId() this.getTaskId()
this.getData() this.getData()
this.processTable() this.processTable()
this.tablePHeight = $('.content').height()
window.onresize = () => {
this.tablePHeight = $('.content').height()
}
} }
} }
@@ -204,7 +204,7 @@
<div class="block" style="padding-top: 20px;" v-show="active === '3'"> <div class="block" style="padding-top: 20px;" v-show="active === '3'">
<div class="flow-list"> <div class="flow-list">
<el-table <el-table
height="100%" :height="tablePHeight"
ref="selection" ref="selection"
:data="detailData" :data="detailData"
tooltip-effect="dark" tooltip-effect="dark"
@@ -381,7 +381,7 @@
label="文本状态" label="文本状态"
width="130"> width="130">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ textStatusMap[scope.row.textStatusBuss] }}</span> <span>{{ scope.row.standStatusShow }}</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@@ -802,6 +802,7 @@
// //
taskTableData: [] taskTableData: []
}, },
tablePHeight:'',
tableHeight: { tableHeight: {
standardTableHeight: null standardTableHeight: null
}, },
@@ -1188,6 +1189,18 @@
} }
}) })
}, },
processNum (row) {
axios.request({
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
responseType: 'blob',
method: 'get',
params: {
prcNum: this.$route.query.prcNum
}
}).then(res => {
this.processStep = window.URL.createObjectURL(res.data)
})
},
drawerCheckZRBM(data) { drawerCheckZRBM(data) {
let idList = '' let idList = ''
let nameList = '' let nameList = ''
@@ -2756,6 +2769,10 @@
this.zrbmOptions = res.data.ZRBMCLASS // this.zrbmOptions = res.data.ZRBMCLASS //
this.gkglbmOptions=res.data.GKGLBM;// this.gkglbmOptions=res.data.GKGLBM;//
}) })
this.tablePHeight = $('.content').height()
window.onresize = () => {
this.tablePHeight = $('.content').height()
}
} }
} }
@@ -144,7 +144,7 @@
<div class="block" style="padding-top: 20px;" v-show="active === '3'"> <div class="block" style="padding-top: 20px;" v-show="active === '3'">
<div class="flow-list"> <div class="flow-list">
<el-table <el-table
height="100%" :height="tablePHeight"
ref="selection" ref="selection"
:data="detailData" :data="detailData"
tooltip-effect="dark" tooltip-effect="dark"
@@ -696,6 +696,7 @@
// //
taskTableData: [] taskTableData: []
}, },
tablePHeight:'',
tableHeight: { tableHeight: {
standardTableHeight: null standardTableHeight: null
}, },
@@ -2416,6 +2417,10 @@
this.gkglbmOptions=res.data.GKGLBM;// this.gkglbmOptions=res.data.GKGLBM;//
this.setMap(this.standStateOptions) this.setMap(this.standStateOptions)
}) })
this.tablePHeight = $('.content').height()
window.onresize = () => {
this.tablePHeight = $('.content').height()
}
this.busVsFunc() this.busVsFunc()
this.modelFunc() this.modelFunc()
} }
@@ -395,7 +395,7 @@
<div class="block" style="padding-top: 20px;" v-show="active === '4'"> <div class="block" style="padding-top: 20px;" v-show="active === '4'">
<div class="flow-list"> <div class="flow-list">
<el-table <el-table
height="100%" :height="tablePHeight"
ref="selection" ref="selection"
:data="detailData" :data="detailData"
tooltip-effect="dark" tooltip-effect="dark"
@@ -912,7 +912,7 @@
data () { data () {
const numberCodeNot = (rule, value, callback) => { const numberCodeNot = (rule, value, callback) => {
let pattern = /^[1]*$/ let pattern = /^[1]*$/
if (!pattern.test(value)) { if (!pattern.test(value) || value > 1) {
return callback(new Error('评分分值只可为1分')) return callback(new Error('评分分值只可为1分'))
} else { } else {
callback() callback()
@@ -1058,6 +1058,7 @@
// //
taskTableData: [] taskTableData: []
}, },
tablePHeight:'',
tableHeight: { tableHeight: {
standardTableHeight: null standardTableHeight: null
}, },
@@ -3040,6 +3041,10 @@
this.gkglbmOptions=res.data.GKGLBM;// this.gkglbmOptions=res.data.GKGLBM;//
this.setMap(this.standStateOptions) this.setMap(this.standStateOptions)
}) })
this.tablePHeight = $('.content').height()
window.onresize = () => {
this.tablePHeight = $('.content').height()
}
this.busVsFunc() this.busVsFunc()
this.modelFunc() this.modelFunc()
} }
@@ -407,7 +407,7 @@
<div class="block" style="padding-top: 20px;" v-show="active === '3'"> <div class="block" style="padding-top: 20px;" v-show="active === '3'">
<div class="flow-list"> <div class="flow-list">
<el-table <el-table
height="100%" :height="tablePHeight"
ref="selection" ref="selection"
:data="detailData" :data="detailData"
tooltip-effect="dark" tooltip-effect="dark"
@@ -584,7 +584,7 @@
label="文本状态" label="文本状态"
width="130"> width="130">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ textStatusMap[scope.row.textStatusBuss] }}</span> <span>{{ scope.row.standStatusShow }}</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@@ -908,7 +908,7 @@
data () { data () {
const numberCodeNot = (rule, value, callback) => { const numberCodeNot = (rule, value, callback) => {
let pattern = /^[1]*$/ let pattern = /^[1]*$/
if (!pattern.test(value)) { if (!pattern.test(value) || value > 1) {
return callback(new Error('评分分值只可为1分')) return callback(new Error('评分分值只可为1分'))
} else { } else {
callback() callback()
@@ -1035,6 +1035,7 @@
// //
taskTableData: [] taskTableData: []
}, },
tablePHeight:'',
tableHeight: { tableHeight: {
standardTableHeight: null standardTableHeight: null
}, },
@@ -3121,6 +3122,10 @@
this.zrbmOptions = res.data.ZRBMCLASS // this.zrbmOptions = res.data.ZRBMCLASS //
this.gkglbmOptions=res.data.GKGLBM;// this.gkglbmOptions=res.data.GKGLBM;//
}) })
this.tablePHeight = $('.content').height()
window.onresize = () => {
this.tablePHeight = $('.content').height()
}
} }
} }
@@ -243,7 +243,7 @@
<div class="block" style="padding-top: 20px;" v-show="active === '3'"> <div class="block" style="padding-top: 20px;" v-show="active === '3'">
<div class="flow-list"> <div class="flow-list">
<el-table <el-table
height="100%" :height="tablePHeight"
ref="selection" ref="selection"
:data="detailData" :data="detailData"
tooltip-effect="dark" tooltip-effect="dark"
@@ -690,7 +690,7 @@
data () { data () {
const numberCodeNot = (rule, value, callback) => { const numberCodeNot = (rule, value, callback) => {
let pattern = /^[1]*$/ let pattern = /^[1]*$/
if (!pattern.test(value)) { if (!pattern.test(value) || value > 1) {
return callback(new Error('评分分值只可为1分')) return callback(new Error('评分分值只可为1分'))
} else { } else {
callback() callback()
@@ -816,6 +816,7 @@
// //
taskTableData: [] taskTableData: []
}, },
tablePHeight:'',
tableHeight: { tableHeight: {
standardTableHeight: null standardTableHeight: null
}, },
@@ -2665,6 +2666,10 @@
this.gkglbmOptions=res.data.GKGLBM;// this.gkglbmOptions=res.data.GKGLBM;//
this.setMap(this.standStateOptions) this.setMap(this.standStateOptions)
}) })
this.tablePHeight = $('.content').height()
window.onresize = () => {
this.tablePHeight = $('.content').height()
}
this.busVsFunc() this.busVsFunc()
this.modelFunc() this.modelFunc()
} }
@@ -67,7 +67,7 @@
<div class="block" style="padding-top: 20px;" v-show="active === '3'"> <div class="block" style="padding-top: 20px;" v-show="active === '3'">
<div class="flow-list"> <div class="flow-list">
<el-table <el-table
height="100%" :height="tablePHeight"
ref="selection" ref="selection"
:data="detailData" :data="detailData"
tooltip-effect="dark" tooltip-effect="dark"
@@ -638,6 +638,7 @@
// //
taskTableData: [] taskTableData: []
}, },
tablePHeight:'',
tableHeight: { tableHeight: {
standardTableHeight: null standardTableHeight: null
}, },
@@ -2469,6 +2470,10 @@
this.gkglbmOptions=res.data.GKGLBM;// this.gkglbmOptions=res.data.GKGLBM;//
this.setMap(this.standStateOptions) this.setMap(this.standStateOptions)
}) })
this.tablePHeight = $('.content').height()
window.onresize = () => {
this.tablePHeight = $('.content').height()
}
this.busVsFunc() this.busVsFunc()
this.modelFunc() this.modelFunc()
} }
@@ -252,7 +252,7 @@
<div class="block" style="padding-top: 20px;" v-show="active === '3'"> <div class="block" style="padding-top: 20px;" v-show="active === '3'">
<div class="flow-list"> <div class="flow-list">
<el-table <el-table
height="100%" :height="tablePHeight"
ref="selection" ref="selection"
:data="detailData" :data="detailData"
tooltip-effect="dark" tooltip-effect="dark"
@@ -701,7 +701,7 @@
data () { data () {
const numberCodeNot = (rule, value, callback) => { const numberCodeNot = (rule, value, callback) => {
let pattern = /^[1]*$/ let pattern = /^[1]*$/
if (!pattern.test(value)) { if (!pattern.test(value) || value > 1) {
return callback(new Error('评分分值只可为1分')) return callback(new Error('评分分值只可为1分'))
} else { } else {
callback() callback()
@@ -829,6 +829,7 @@
// //
taskTableData: [] taskTableData: []
}, },
tablePHeight:'',
tableHeight: { tableHeight: {
standardTableHeight: null standardTableHeight: null
}, },
@@ -2722,6 +2723,10 @@
this.gkglbmOptions=res.data.GKGLBM;// this.gkglbmOptions=res.data.GKGLBM;//
this.setMap(this.standStateOptions) this.setMap(this.standStateOptions)
}) })
this.tablePHeight = $('.content').height()
window.onresize = () => {
this.tablePHeight = $('.content').height()
}
this.busVsFunc() this.busVsFunc()
this.modelFunc() this.modelFunc()
} }
@@ -281,7 +281,7 @@
<div class="block" style="padding-top: 20px;" v-show="active === '3'"> <div class="block" style="padding-top: 20px;" v-show="active === '3'">
<div class="flow-list"> <div class="flow-list">
<el-table <el-table
height="100%" :height="tablePHeight"
ref="selection" ref="selection"
:data="detailData" :data="detailData"
tooltip-effect="dark" tooltip-effect="dark"
@@ -459,7 +459,7 @@
label="文本状态" label="文本状态"
width="130"> width="130">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ textStatusMap[scope.row.textStatusBuss] }}</span> <span>{{ scope.row.standStatusShow }}</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@@ -477,7 +477,7 @@
</div> </div>
</el-dialog> </el-dialog>
<Role-tree <Role-tree
is-title="选择责任部门对接人" :is-title="drawerTitle"
:is-visible.sync="modalShowRoleFlag" :is-visible.sync="modalShowRoleFlag"
@checkedRole="checkedRole2" @checkedRole="checkedRole2"
:nodeList="nodeList2" :nodeList="nodeList2"
@@ -881,6 +881,7 @@
// //
taskTableData: [] taskTableData: []
}, },
tablePHeight:'',
tableHeight: { tableHeight: {
standardTableHeight: null standardTableHeight: null
}, },
@@ -1632,6 +1633,12 @@
}else if(this.userType === 'hqUserId'){ }else if(this.userType === 'hqUserId'){
this.roleForm.hqUserId=idList; this.roleForm.hqUserId=idList;
this.roleForm.hqUserName=nameList; this.roleForm.hqUserName=nameList;
}else if(this.userType === 'QCRBUSS'){
this.form.QCRBUSSID=idList;
this.form.QCRBUSS=nameList;
}else if(this.userType === 'bzUserId'){
this.roleForm.bzUserId = idList
this.roleForm.bzUserName = nameList
} }
}, },
checkedRole (data) { checkedRole (data) {
@@ -2957,6 +2964,10 @@
this.zrbmOptions = res.data.ZRBMCLASS // this.zrbmOptions = res.data.ZRBMCLASS //
this.gkglbmOptions=res.data.GKGLBM;// this.gkglbmOptions=res.data.GKGLBM;//
}) })
this.tablePHeight = $('.content').height()
window.onresize = () => {
this.tablePHeight = $('.content').height()
}
} }
} }

Some files were not shown because too many files have changed in this diff Show More