Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 2.1 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
@@ -434,7 +434,7 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
logo () {
|
logo () {
|
||||||
return this.isCollapse ? require('assets/images/shangqi/img/logo-isCollapse.png') : require('assets/images/shangqi/img/logo2.png')
|
return this.isCollapse ? require('assets/images/shangqi/img/logo4.png') : require('assets/images/shangqi/img/logo2.png')
|
||||||
},
|
},
|
||||||
...mapGetters(['getDynamicTotal', 'isCollapse'])
|
...mapGetters(['getDynamicTotal', 'isCollapse'])
|
||||||
},
|
},
|
||||||
@@ -458,7 +458,7 @@ export default {
|
|||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
background: url("~assets/images/shangqi/sideBar/side-bar-isCollapse-bg.png") no-repeat;
|
background: url("~assets/images/shangqi/sideBar/newside-bar-bg1.png") no-repeat;
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
&:not(.is-collapse) {
|
&:not(.is-collapse) {
|
||||||
width: 212px;
|
width: 212px;
|
||||||
|
|||||||
@@ -163,33 +163,46 @@
|
|||||||
},
|
},
|
||||||
//表格中操作列删除操作弹窗
|
//表格中操作列删除操作弹窗
|
||||||
deleteLink (row) {
|
deleteLink (row) {
|
||||||
|
this.$confirm('此操作将删除该链接, 是否继续?', '提示', {
|
||||||
|
confirmButtonText: '确定',
|
||||||
|
cancelButtonText: '取消',
|
||||||
|
type: 'warning'
|
||||||
|
}).then(() => {
|
||||||
|
|
||||||
this.$http.delete('sarUrl/tsUrl/delete', {
|
this.$http.delete('sarUrl/tsUrl/delete', {
|
||||||
id: row.id
|
id: row.id
|
||||||
}, {
|
}, {
|
||||||
_this: this,
|
_this: this,
|
||||||
loading: 'Loading'
|
loading: 'Loading'
|
||||||
}, res => {
|
}, res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
this.$message.success('删除成功')
|
this.$message.success('删除成功')
|
||||||
let arr = []
|
let arr = []
|
||||||
for (let a = 0; a < this.linkList.length; a++) {
|
for (let a = 0; a < this.linkList.length; a++) {
|
||||||
if (this.linkList[a].id === row.id) {
|
if (this.linkList[a].id === row.id) {
|
||||||
this.linkList.splice(a, 1)
|
this.linkList.splice(a, 1)
|
||||||
}
|
}
|
||||||
}
|
|
||||||
this.linkList.forEach((item, index) => {
|
|
||||||
let json = {}
|
|
||||||
json.id = item.id
|
|
||||||
json.orderBy = index + 1
|
|
||||||
arr.push(json)
|
|
||||||
})
|
|
||||||
this.$http.putData('sarUrl/tsUrl/updateOrder', JSON.stringify(arr), {}, res => {
|
|
||||||
this.getLink()
|
|
||||||
})
|
|
||||||
}else {
|
|
||||||
this.$message.warning(res.message)
|
|
||||||
}
|
}
|
||||||
|
this.linkList.forEach((item, index) => {
|
||||||
|
let json = {}
|
||||||
|
json.id = item.id
|
||||||
|
json.orderBy = index + 1
|
||||||
|
arr.push(json)
|
||||||
|
})
|
||||||
|
this.$http.putData('sarUrl/tsUrl/updateOrder', JSON.stringify(arr), {}, res => {
|
||||||
|
this.getLink()
|
||||||
|
})
|
||||||
|
}else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
}).catch(() => {
|
||||||
|
this.$message({
|
||||||
|
type: 'info',
|
||||||
|
message: '已取消删除'
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
},
|
},
|
||||||
//头部删除按钮
|
//头部删除按钮
|
||||||
deleteAllLink() {
|
deleteAllLink() {
|
||||||
@@ -202,28 +215,39 @@
|
|||||||
this.$message.warning('请选择要删除的链接')
|
this.$message.warning('请选择要删除的链接')
|
||||||
} else {
|
} else {
|
||||||
this.modalRole = true
|
this.modalRole = true
|
||||||
|
this.$confirm('此操作将删除链接, 是否继续?', '提示', {
|
||||||
|
confirmButtonText: '确定',
|
||||||
|
cancelButtonText: '取消',
|
||||||
|
type: 'warning'
|
||||||
|
}).then(() => {
|
||||||
this.$http.delete('sarUrl/tsUrl/deleteBatch', {
|
this.$http.delete('sarUrl/tsUrl/deleteBatch', {
|
||||||
ids: this.ids
|
ids: this.ids
|
||||||
}, {}, res => {
|
}, {}, res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
this.$message.success('删除成功')
|
this.$message.success('删除成功')
|
||||||
let arr = this.linkList.filter(items => {
|
let arr = this.linkList.filter(items => {
|
||||||
if (!this.ids.includes(items.id)) return items;
|
if (!this.ids.includes(items.id)) return items;
|
||||||
})
|
})
|
||||||
let newArr = []
|
let newArr = []
|
||||||
arr.forEach((item, index) => {
|
arr.forEach((item, index) => {
|
||||||
let json = {}
|
let json = {}
|
||||||
json.id = item.id
|
json.id = item.id
|
||||||
json.orderBy = index + 1
|
json.orderBy = index + 1
|
||||||
newArr.push(json)
|
newArr.push(json)
|
||||||
})
|
})
|
||||||
this.$http.putData('sarUrl/tsUrl/updateOrder', JSON.stringify(newArr), {}, res => {
|
this.$http.putData('sarUrl/tsUrl/updateOrder', JSON.stringify(newArr), {}, res => {
|
||||||
this.getLink()
|
this.getLink()
|
||||||
})
|
})
|
||||||
}else {
|
}else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
}).catch(() => {
|
||||||
|
this.$message({
|
||||||
|
type: 'info',
|
||||||
|
message: '已取消删除'
|
||||||
|
});
|
||||||
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//弹窗关闭操作
|
//弹窗关闭操作
|
||||||
|
|||||||
@@ -147,7 +147,8 @@
|
|||||||
},
|
},
|
||||||
sarStandardsInfoRules: {
|
sarStandardsInfoRules: {
|
||||||
name: [
|
name: [
|
||||||
{ required: true, message: '请输入岗位名称', trigger: 'blur' }
|
{ required: true, message: '请输入岗位名称', trigger: 'blur' },
|
||||||
|
{ min: 0, max: 100, message: '长度应不超过100个字符', trigger: 'blur' }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
modalRole: false,
|
modalRole: false,
|
||||||
|
|||||||
@@ -404,27 +404,23 @@
|
|||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="itemsNum"
|
prop="itemsNum"
|
||||||
label="条款号"
|
label="条款号"
|
||||||
width="150"
|
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="itemsName"
|
prop="itemsName"
|
||||||
label="条款名称"
|
label="条款名称"
|
||||||
width="150"
|
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="itemsName"
|
prop="itemsName"
|
||||||
label="条款内容"
|
label="条款内容"
|
||||||
width="150"
|
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="termsConditions"
|
prop="termsConditions"
|
||||||
label="解读内容"
|
label="解读内容"
|
||||||
width="250"
|
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
:resizable="false"
|
:resizable="false"
|
||||||
>
|
>
|
||||||
@@ -433,28 +429,28 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
prop="XCXSSRQ"
|
||||||
prop="putTime"
|
label="新车型实施日期(文本)"
|
||||||
label="实施日期"
|
width="180">
|
||||||
width="150"
|
</el-table-column>
|
||||||
>
|
<el-table-column
|
||||||
|
prop="ZCCSSRQ"
|
||||||
|
label="在产车实施日期(文本)"
|
||||||
|
width="180">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="putTime"
|
prop="putTime"
|
||||||
label="适用车型"
|
label="适用车型"
|
||||||
width="150"
|
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="responsibleUnitShow"
|
prop="responsibleUnitShow"
|
||||||
label="责任部门"
|
label="责任部门">
|
||||||
width="150">
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zrgcs"
|
prop="zrgcs"
|
||||||
label="责任工程师"
|
label="责任工程师">
|
||||||
width="150">
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="dutyEngineerShow"
|
prop="dutyEngineerShow"
|
||||||
@@ -464,13 +460,11 @@
|
|||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="svppsShow"
|
prop="svppsShow"
|
||||||
label="符合性状态"
|
label="符合性状态">
|
||||||
width="150">
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="applyArcticShow"
|
prop="applyArcticShow"
|
||||||
label="合规性分析"
|
label="合规性分析">
|
||||||
width="150">
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" align="center" width="50" fixed="right">
|
<el-table-column label="操作" align="center" width="50" fixed="right">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
|
|||||||
@@ -327,11 +327,11 @@
|
|||||||
var fileSuffix = filename.substring(index1, index2)
|
var fileSuffix = filename.substring(index1, index2)
|
||||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||||
// 判断上传文件格式
|
// 判断上传文件格式
|
||||||
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx'|| fileSuffix === '.pdf'|| fileSuffix === '.PDF'|| fileSuffix === '.jpg'|| fileSuffix === '.JPG'|| fileSuffix === '.png'|| fileSuffix === '.PNG') {
|
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
||||||
return true
|
return true
|
||||||
} else {
|
} else {
|
||||||
this.spinShow = false
|
this.spinShow = false
|
||||||
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS,PDF文件或图片')
|
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS文件')
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
// 判断文件上传大小
|
// 判断文件上传大小
|
||||||
|
|||||||
@@ -318,11 +318,11 @@ export default {
|
|||||||
var fileSuffix = filename.substring(index1, index2)
|
var fileSuffix = filename.substring(index1, index2)
|
||||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||||
// 判断上传文件格式
|
// 判断上传文件格式
|
||||||
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx'|| fileSuffix === '.pdf'|| fileSuffix === '.PDF'|| fileSuffix === '.jpg'|| fileSuffix === '.JPG'|| fileSuffix === '.png'|| fileSuffix === '.PNG') {
|
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
||||||
return true
|
return true
|
||||||
} else {
|
} else {
|
||||||
this.spinShow = false
|
this.spinShow = false
|
||||||
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS,PDF文件或图片')
|
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS文件')
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
// 判断文件上传大小
|
// 判断文件上传大小
|
||||||
|
|||||||
@@ -236,11 +236,11 @@
|
|||||||
var fileSuffix = filename.substring(index1, index2)
|
var fileSuffix = filename.substring(index1, index2)
|
||||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||||
// 判断上传文件格式
|
// 判断上传文件格式
|
||||||
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx'|| fileSuffix === '.pdf'|| fileSuffix === '.PDF'|| fileSuffix === '.jpg'|| fileSuffix === '.JPG'|| fileSuffix === '.png'|| fileSuffix === '.PNG') {
|
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
||||||
return true
|
return true
|
||||||
} else {
|
} else {
|
||||||
this.spinShow = false
|
this.spinShow = false
|
||||||
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS,PDF文件或图片')
|
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS文件')
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
// 判断文件上传大小
|
// 判断文件上传大小
|
||||||
|
|||||||
@@ -260,11 +260,11 @@
|
|||||||
var fileSuffix = filename.substring(index1, index2)
|
var fileSuffix = filename.substring(index1, index2)
|
||||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||||
// 判断上传文件格式
|
// 判断上传文件格式
|
||||||
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx'|| fileSuffix === '.pdf'|| fileSuffix === '.PDF'|| fileSuffix === '.jpg'|| fileSuffix === '.JPG'|| fileSuffix === '.png'|| fileSuffix === '.PNG') {
|
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
||||||
return true
|
return true
|
||||||
} else {
|
} else {
|
||||||
this.spinShow = false
|
this.spinShow = false
|
||||||
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS,PDF文件或图片')
|
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS文件')
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
// 判断文件上传大小
|
// 判断文件上传大小
|
||||||
|
|||||||
@@ -259,11 +259,11 @@
|
|||||||
var fileSuffix = filename.substring(index1, index2)
|
var fileSuffix = filename.substring(index1, index2)
|
||||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||||
// 判断上传文件格式
|
// 判断上传文件格式
|
||||||
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx'|| fileSuffix === '.pdf'|| fileSuffix === '.PDF'|| fileSuffix === '.jpg'|| fileSuffix === '.JPG'|| fileSuffix === '.png'|| fileSuffix === '.PNG') {
|
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
||||||
return true
|
return true
|
||||||
} else {
|
} else {
|
||||||
this.spinShow = false
|
this.spinShow = false
|
||||||
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS,PDF文件或图片')
|
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS文件')
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
// 判断文件上传大小
|
// 判断文件上传大小
|
||||||
|
|||||||
@@ -259,11 +259,11 @@
|
|||||||
var fileSuffix = filename.substring(index1, index2)
|
var fileSuffix = filename.substring(index1, index2)
|
||||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||||
// 判断上传文件格式
|
// 判断上传文件格式
|
||||||
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx'|| fileSuffix === '.pdf'|| fileSuffix === '.PDF'|| fileSuffix === '.jpg'|| fileSuffix === '.JPG'|| fileSuffix === '.png'|| fileSuffix === '.PNG') {
|
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
||||||
return true
|
return true
|
||||||
} else {
|
} else {
|
||||||
this.spinShow = false
|
this.spinShow = false
|
||||||
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS,PDF文件或图片')
|
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS文件')
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
// 判断文件上传大小
|
// 判断文件上传大小
|
||||||
|
|||||||
@@ -259,11 +259,11 @@
|
|||||||
var fileSuffix = filename.substring(index1, index2)
|
var fileSuffix = filename.substring(index1, index2)
|
||||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||||
// 判断上传文件格式
|
// 判断上传文件格式
|
||||||
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx'|| fileSuffix === '.pdf'|| fileSuffix === '.PDF'|| fileSuffix === '.jpg'|| fileSuffix === '.JPG'|| fileSuffix === '.png'|| fileSuffix === '.PNG') {
|
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
||||||
return true
|
return true
|
||||||
} else {
|
} else {
|
||||||
this.spinShow = false
|
this.spinShow = false
|
||||||
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS,PDF文件或图片')
|
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS文件')
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
// 判断文件上传大小
|
// 判断文件上传大小
|
||||||
|
|||||||
@@ -259,11 +259,11 @@
|
|||||||
var fileSuffix = filename.substring(index1, index2)
|
var fileSuffix = filename.substring(index1, index2)
|
||||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||||
// 判断上传文件格式
|
// 判断上传文件格式
|
||||||
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx'|| fileSuffix === '.pdf'|| fileSuffix === '.PDF'|| fileSuffix === '.jpg'|| fileSuffix === '.JPG'|| fileSuffix === '.png'|| fileSuffix === '.PNG') {
|
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
||||||
return true
|
return true
|
||||||
} else {
|
} else {
|
||||||
this.spinShow = false
|
this.spinShow = false
|
||||||
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS,PDF文件或图片')
|
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS文件')
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
// 判断文件上传大小
|
// 判断文件上传大小
|
||||||
|
|||||||
@@ -165,7 +165,7 @@
|
|||||||
<el-input
|
<el-input
|
||||||
v-model="roleForm.deptUserIdName"
|
v-model="roleForm.deptUserIdName"
|
||||||
placeholder="选择标准法规部部长"
|
placeholder="选择标准法规部部长"
|
||||||
@click.native="choiceZRR('deptUserId', '选择标准法规部部长', roleForm.deptUserId)"
|
@click.native="choiceZRRS(roleForm.deptUserId, 0, '')"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -313,58 +313,63 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-drawer>
|
</el-drawer>
|
||||||
<el-drawer
|
<Role-tree
|
||||||
:title="drawerTitle"
|
check-box
|
||||||
:visible.sync="modalshowflag"
|
:is-title="drawerTitle"
|
||||||
:wrapperClosable="false"
|
:is-visible.sync="modalshowflag"
|
||||||
size="800px">
|
@checkedRole="saveUserInfo"
|
||||||
<el-tree
|
:nodeList="nodeList"
|
||||||
v-if="modalshowflag"
|
></Role-tree>
|
||||||
node-key="id"
|
<!-- <el-drawer-->
|
||||||
style="height: 100%; overflow: auto;"
|
<!-- :title="drawerTitle"-->
|
||||||
class="filter-tree"
|
<!-- :visible.sync="modalshowflag"-->
|
||||||
:data="treeData"
|
<!-- :wrapperClosable="false"-->
|
||||||
:props="defaultProps"
|
<!-- size="800px">-->
|
||||||
:default-checked-keys="nodeList"
|
<!-- <el-tree-->
|
||||||
highlight-current
|
<!-- v-if="modalshowflag"-->
|
||||||
check-strictly
|
<!-- node-key="id"-->
|
||||||
@check="drawerCheck"
|
<!-- style="height: 100%; overflow: auto;"-->
|
||||||
default-expand-all
|
<!-- class="filter-tree"-->
|
||||||
:expand-on-click-node="false"
|
<!-- :data="treeData"-->
|
||||||
show-checkbox
|
<!-- :props="defaultProps"-->
|
||||||
ref="tree">
|
<!-- :default-checked-keys="nodeList"-->
|
||||||
</el-tree>
|
<!-- highlight-current-->
|
||||||
<div id="roleFormButton" class="demo-drawer-footer">
|
<!-- check-strictly-->
|
||||||
<el-button class="common-button-primary" size="mini" icon="el-icon-check" type="primary" @click="saveUserInfo">确定</el-button>
|
<!-- @check="drawerCheck"-->
|
||||||
<el-button class="common-button-default" size="mini" icon="el-icon-close" @click="cancleUserInfo">取消</el-button>
|
<!-- :expand-on-click-node="false"-->
|
||||||
</div>
|
<!-- show-checkbox-->
|
||||||
</el-drawer>
|
<!-- ref="tree">-->
|
||||||
<el-drawer
|
<!-- </el-tree>-->
|
||||||
title="选择责任部门对接人"
|
<!-- <div id="roleFormButton" class="demo-drawer-footer">-->
|
||||||
:visible.sync="modalshowflag2"
|
<!-- <el-button class="common-button-primary" size="mini" icon="el-icon-check" type="primary" @click="saveUserInfo">确定</el-button>-->
|
||||||
:wrapperClosable="false"
|
<!-- <el-button class="common-button-default" size="mini" icon="el-icon-close" @click="cancleUserInfo">取消</el-button>-->
|
||||||
size="800px">
|
<!-- </div>-->
|
||||||
<el-tree
|
<!-- </el-drawer>-->
|
||||||
v-if="modalshowflag2"
|
<!-- <el-drawer-->
|
||||||
node-key="id"
|
<!-- title="选择责任部门对接人"-->
|
||||||
style="height: 100%; overflow: auto;"
|
<!-- :visible.sync="modalshowflag2"-->
|
||||||
class="filter-tree"
|
<!-- :wrapperClosable="false"-->
|
||||||
:data="treeData"
|
<!-- size="800px">-->
|
||||||
:props="defaultProps"
|
<!-- <el-tree-->
|
||||||
:default-checked-keys="nodeList2"
|
<!-- v-if="modalshowflag2"-->
|
||||||
highlight-current
|
<!-- node-key="id"-->
|
||||||
check-strictly
|
<!-- style="height: 100%; overflow: auto;"-->
|
||||||
@check="drawerCheck2"
|
<!-- class="filter-tree"-->
|
||||||
default-expand-all
|
<!-- :data="treeData"-->
|
||||||
:expand-on-click-node="false"
|
<!-- :props="defaultProps"-->
|
||||||
show-checkbox
|
<!-- :default-checked-keys="nodeList2"-->
|
||||||
ref="tree2">
|
<!-- highlight-current-->
|
||||||
</el-tree>
|
<!-- check-strictly-->
|
||||||
<div id="roleFormButton2" class="demo-drawer-footer">
|
<!-- @check="drawerCheck2"-->
|
||||||
<el-button class="common-button-primary" size="mini" icon="el-icon-check" type="primary" @click="saveUserInfo2">确定</el-button>
|
<!-- :expand-on-click-node="false"-->
|
||||||
<el-button class="common-button-default" size="mini" icon="el-icon-close" @click="cancleUserInfo2">取消</el-button>
|
<!-- show-checkbox-->
|
||||||
</div>
|
<!-- ref="tree2">-->
|
||||||
</el-drawer>
|
<!-- </el-tree>-->
|
||||||
|
<!-- <div id="roleFormButton2" class="demo-drawer-footer">-->
|
||||||
|
<!-- <el-button class="common-button-primary" size="mini" icon="el-icon-check" type="primary" @click="saveUserInfo2">确定</el-button>-->
|
||||||
|
<!-- <el-button class="common-button-default" size="mini" icon="el-icon-close" @click="cancleUserInfo2">取消</el-button>-->
|
||||||
|
<!-- </div>-->
|
||||||
|
<!-- </el-drawer>-->
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -392,6 +397,7 @@
|
|||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
// 基础信息form表单
|
// 基础信息form表单
|
||||||
form: {
|
form: {
|
||||||
|
id: '',
|
||||||
itemsNum: '',
|
itemsNum: '',
|
||||||
itemsName: '',
|
itemsName: '',
|
||||||
standId: '',
|
standId: '',
|
||||||
@@ -570,7 +576,7 @@
|
|||||||
this.listModel = false;
|
this.listModel = false;
|
||||||
this.listModel2 = true
|
this.listModel2 = true
|
||||||
this.$http.get('lawss/sarFileSplitItems/getSplitItemsByPage', {
|
this.$http.get('lawss/sarFileSplitItems/getSplitItemsByPage', {
|
||||||
infoId: this.form.id,
|
infoId: this.form.standId,
|
||||||
page: 1,
|
page: 1,
|
||||||
pageSize: 9999
|
pageSize: 9999
|
||||||
}, {
|
}, {
|
||||||
@@ -621,46 +627,25 @@
|
|||||||
},
|
},
|
||||||
/*** **********************************************/
|
/*** **********************************************/
|
||||||
/** 流程节点负责人的选择 *****************************/
|
/** 流程节点负责人的选择 *****************************/
|
||||||
choiceZRR (type, title, id) {
|
saveUserInfo (data) {
|
||||||
this.nodeList = []
|
if (this.type === 0) {
|
||||||
this.nodeList.push(id)
|
this.roleForm.deptUserId = data[0].id
|
||||||
this.type = type
|
this.roleForm.deptUserIdName = data[0].name
|
||||||
this.drawerTitle = title
|
} else if (this.type === 1) {
|
||||||
this.modalshowflag = true
|
this.itemList[this.zrIndex].zrUserId = data[0].id
|
||||||
},
|
this.itemList[this.zrIndex].zrUserIdName = data[0].name
|
||||||
getTree () {
|
} else {
|
||||||
this.$http.get('SarInstitution/institution/institutionAndUser', {}, {}, res=> {
|
this.itemList.forEach( item => {
|
||||||
this.treeData = res.data
|
this.zrIdList.forEach( items => {
|
||||||
})
|
if (item.id === items) {
|
||||||
},
|
item.zrUserId = data[0].id
|
||||||
saveUserInfo () {
|
item.zrUserIdName = data[0].name
|
||||||
if (this.type === 'deptUserId') {
|
}
|
||||||
this.roleForm.deptUserId = this.roleRow.id
|
})
|
||||||
this.roleForm.deptUserIdName = this.roleRow.name
|
})
|
||||||
}
|
}
|
||||||
this.modalshowflag = false
|
this.modalshowflag = false
|
||||||
},
|
},
|
||||||
cancleUserInfo () {
|
|
||||||
this.modalshowflag = false
|
|
||||||
},
|
|
||||||
drawerCheck (data) {
|
|
||||||
var getlist = this.$refs.tree.getCheckedNodes().concat(this.$refs.tree.getHalfCheckedNodes());
|
|
||||||
if(getlist.length == 1) {
|
|
||||||
this.roleRow = getlist[0]
|
|
||||||
}else {
|
|
||||||
this.$refs.tree.setCheckedKeys([data.id]);
|
|
||||||
this.roleRow = this.$refs.tree.getCheckedNodes()[0]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
drawerCheck2 (data) {
|
|
||||||
var getlist = this.$refs.tree2.getCheckedNodes().concat(this.$refs.tree2.getHalfCheckedNodes());
|
|
||||||
if(getlist.length == 1) {
|
|
||||||
this.roleRow = getlist[0]
|
|
||||||
}else {
|
|
||||||
this.$refs.tree2.setCheckedKeys([data.id]);
|
|
||||||
this.roleRow = this.$refs.tree2.getCheckedNodes()[0]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
handleSelectionChange (val) {
|
handleSelectionChange (val) {
|
||||||
this.zrIdList = []
|
this.zrIdList = []
|
||||||
val.forEach( item => {
|
val.forEach( item => {
|
||||||
@@ -668,51 +653,30 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
choiceZRRS (row, type, index) {
|
choiceZRRS (row, type, index) {
|
||||||
|
this.type = type
|
||||||
if (type === 1) {
|
if (type === 1) {
|
||||||
this.nodeList2 = []
|
this.drawerTitle = '选择责任人'
|
||||||
this.zrIndex= index
|
this.nodeList = []
|
||||||
|
this.zrIndex = index
|
||||||
this.zrType = type
|
this.zrType = type
|
||||||
this.nodeList2.push(row)
|
this.nodeList.push(row)
|
||||||
this.modalshowflag2 = true
|
this.modalshowflag = true
|
||||||
} else {
|
} else if (type === 2) {
|
||||||
// 批量
|
// 批量
|
||||||
if (this.zrIdList.length > 0) {
|
if (this.zrIdList.length > 0) {
|
||||||
this.zrType = type
|
this.zrType = type
|
||||||
this.nodeList2 = []
|
this.nodeList = []
|
||||||
this.modalshowflag2 = true
|
this.modalshowflag = true
|
||||||
|
this.drawerTitle = '批量选择责任人'
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning('请选择要编辑的数据')
|
this.$message.warning('请选择要编辑的数据')
|
||||||
}
|
}
|
||||||
}
|
|
||||||
},
|
|
||||||
saveUserInfo2 () {
|
|
||||||
var idList = ''
|
|
||||||
var nameList = ''
|
|
||||||
this.$refs.tree2.getCheckedNodes().concat(this.$refs.tree2.getHalfCheckedNodes()).forEach( item => {
|
|
||||||
if (nameList.length > 0) {
|
|
||||||
nameList += ','
|
|
||||||
idList += ','
|
|
||||||
}
|
|
||||||
idList += item.id
|
|
||||||
nameList += item.name
|
|
||||||
})
|
|
||||||
if (this.zrType == 1) {
|
|
||||||
this.itemList[this.zrIndex].zrUserId = idList
|
|
||||||
this.itemList[this.zrIndex].zrUserIdName = nameList
|
|
||||||
} else {
|
} else {
|
||||||
this.itemList.forEach( item => {
|
this.nodeList = []
|
||||||
this.zrIdList.forEach( items => {
|
this.nodeList.push(row)
|
||||||
if (item.id === items) {
|
this.drawerTitle = '选择标准法规部部长'
|
||||||
item.zrUserId = idList
|
this.modalshowflag = true
|
||||||
item.zrUserIdName = nameList
|
|
||||||
}
|
|
||||||
})
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
this.modalshowflag2 = false
|
|
||||||
},
|
|
||||||
cancleUserInfo2 () {
|
|
||||||
this.modalshowflag2 = false
|
|
||||||
},
|
},
|
||||||
handleTabs(name) {
|
handleTabs(name) {
|
||||||
this.active = name
|
this.active = name
|
||||||
@@ -766,7 +730,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
this.getTree()
|
|
||||||
this.sarStandCompareHis()
|
this.sarStandCompareHis()
|
||||||
this.sarStandCompareHis2()
|
this.sarStandCompareHis2()
|
||||||
this.tableHeight = $('.content').height() - 44
|
this.tableHeight = $('.content').height() - 44
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -49,26 +49,25 @@
|
|||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="附件" prop="fileName" class="add-form-item form-item-disabled">
|
<el-form-item label="附件" prop="fileName" class="add-form-item form-item-disabled">
|
||||||
<div class="file-box" v-if="listForm.fileName">
|
<div>
|
||||||
<p>{{listForm.fileName}}
|
<p>
|
||||||
|
{{ listForm.fileName }}
|
||||||
|
<el-upload
|
||||||
|
:action="uploadFileListPath"
|
||||||
|
show-file-list
|
||||||
|
:file-list="fileInfoList"
|
||||||
|
name="file"
|
||||||
|
accept=".PDF, .pdf, .doc, .DOC, .docx, .DOCX, .xls, .xlsx, .ppt, .pptx, .PPT, .PPTX, .JPG, .JPEG, .PNG, .jpg, .jpeg, .png"
|
||||||
|
:on-remove="delFileInfo"
|
||||||
|
:on-success="uploadBackSuccess"
|
||||||
|
:before-upload="beforeUpload"
|
||||||
|
>
|
||||||
|
<el-button class="common-button-default" size="mini">
|
||||||
|
点击上传
|
||||||
|
</el-button>
|
||||||
|
</el-upload>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
|
||||||
<el-upload
|
|
||||||
:action="uploadFileListPath"
|
|
||||||
show-file-list
|
|
||||||
:file-list="fileInfoList"
|
|
||||||
name="file"
|
|
||||||
accept=".PDF, .pdf, .doc, .DOC, .docx, .DOCX, .xls, .xlsx, .ppt, .pptx, .PPT, .PPTX, .JPG, .JPEG, .PNG, .jpg, .jpeg, .png"
|
|
||||||
:on-remove="delFileInfo"
|
|
||||||
:on-success="uploadBackSuccess"
|
|
||||||
:before-upload="beforeUpload"
|
|
||||||
>
|
|
||||||
<el-button class="common-button-default" size="mini">
|
|
||||||
点击上传
|
|
||||||
</el-button>
|
|
||||||
</el-upload>
|
|
||||||
</div>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="会签" prop="sign" class="add-form-item form-item-disabled">
|
<el-form-item label="会签" prop="sign" class="add-form-item form-item-disabled">
|
||||||
<el-radio-group v-model="signFlag" @change="selectSign">
|
<el-radio-group v-model="signFlag" @change="selectSign">
|
||||||
@@ -741,17 +740,13 @@ export default {
|
|||||||
},
|
},
|
||||||
roleForm: {
|
roleForm: {
|
||||||
startUserName: this.$store.getters.userInfo.userName,
|
startUserName: this.$store.getters.userInfo.userName,
|
||||||
startUser: this.$store.getters.userInfo.id,
|
startUser: this.$store.getters.userInfo.userId,
|
||||||
dockUser: "",
|
dockUser: "",
|
||||||
responUserList: "",
|
|
||||||
ministerUser: "",
|
ministerUser: "",
|
||||||
directorUser: "",
|
directorUser: "",
|
||||||
presidentUser: "",
|
|
||||||
dockUserName: "",
|
dockUserName: "",
|
||||||
responUserListName: "",
|
|
||||||
ministerUserName: "",
|
ministerUserName: "",
|
||||||
directorUserName: "",
|
directorUserName: "",
|
||||||
presidentUserName: ""
|
|
||||||
},
|
},
|
||||||
formRules: {
|
formRules: {
|
||||||
listType: [
|
listType: [
|
||||||
@@ -806,7 +801,7 @@ export default {
|
|||||||
modelName: "",
|
modelName: "",
|
||||||
standId: "", //选择的清单的id
|
standId: "", //选择的清单的id
|
||||||
signFlag: "1", //是否会签 1为会签 2为不会签
|
signFlag: "1", //是否会签 1为会签 2为不会签
|
||||||
inforlist: "", //用来存放标准列表的标准id
|
inforlist: " ", //用来存放标准列表的标准id
|
||||||
dataList: [{
|
dataList: [{
|
||||||
code: "", //标准号
|
code: "", //标准号
|
||||||
standName: "", //标准名称
|
standName: "", //标准名称
|
||||||
@@ -850,9 +845,6 @@ export default {
|
|||||||
} else if (this.type === "directorUser") {
|
} else if (this.type === "directorUser") {
|
||||||
this.roleForm.directorUser = data[0].id;
|
this.roleForm.directorUser = data[0].id;
|
||||||
this.roleForm.directorUserName = data[0].name;
|
this.roleForm.directorUserName = data[0].name;
|
||||||
} else if (this.type === "presidentUser") {
|
|
||||||
this.roleForm.presidentUser = data[0].id;
|
|
||||||
this.roleForm.presidentUserName = data[0].name;
|
|
||||||
}
|
}
|
||||||
this.modalshowflag = false;
|
this.modalshowflag = false;
|
||||||
},
|
},
|
||||||
@@ -1032,19 +1024,8 @@ export default {
|
|||||||
if (this.dataList.length < 1) {
|
if (this.dataList.length < 1) {
|
||||||
this.$message.warning("标准不能为空");
|
this.$message.warning("标准不能为空");
|
||||||
} else {
|
} else {
|
||||||
let json = this.listForm;
|
var json = Object.assign(this.listForm, this.roleForm)
|
||||||
this.listForm.fileId = this.fileIds.join(",");
|
console.log(json);
|
||||||
this.listForm.fileName = this.fileListName.join(",");
|
|
||||||
this.listForm.model = this.listForm.fileId;
|
|
||||||
this.listForm.modelName = this.listForm.fileName;
|
|
||||||
json.zrUserId = this.roleForm.dockUser; //会签人
|
|
||||||
json.jlUserId = this.roleForm.directorUser; //业务经理
|
|
||||||
json.applyUpdUserId = this.roleForm.ministerUser; // 修订人
|
|
||||||
json.approvalOpinion = "";
|
|
||||||
json.prcCreateUser = this.$store.getters.userInfo.userId;
|
|
||||||
json.prcCreateUserName = this.$store.getters.userInfo.uName;
|
|
||||||
json.standName = this.listForm.listName;
|
|
||||||
json.standId = this.listForm.standId;
|
|
||||||
this.$refs["qdfbForm"].validate((valid) => {
|
this.$refs["qdfbForm"].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.$refs["Form"].validate((valid) => {
|
this.$refs["Form"].validate((valid) => {
|
||||||
@@ -1100,6 +1081,12 @@ export default {
|
|||||||
});
|
});
|
||||||
this.fileListName = middle;
|
this.fileListName = middle;
|
||||||
this.fileIds.push(file.response.data.id);
|
this.fileIds.push(file.response.data.id);
|
||||||
|
if(this.listForm.fileName === null ){
|
||||||
|
this.listForm.fileName = this.fileListName.join(',')
|
||||||
|
}else {
|
||||||
|
this.listForm.fileName = this.listForm.fileName + ',' + this.fileListName.join(',');
|
||||||
|
}
|
||||||
|
this.listForm.fileId = this.listForm.fileId + ',' + this.fileIds.join(',')
|
||||||
this.$message.success("上传成功");
|
this.$message.success("上传成功");
|
||||||
} else {
|
} else {
|
||||||
this.$message.error(res.message);
|
this.$message.error(res.message);
|
||||||
@@ -1202,6 +1189,7 @@ export default {
|
|||||||
if (this.standList.length < 1) {
|
if (this.standList.length < 1) {
|
||||||
this.$message.warning("请选择需要添加进清单的数据");
|
this.$message.warning("请选择需要添加进清单的数据");
|
||||||
} else {
|
} else {
|
||||||
|
let exits = []
|
||||||
this.standList.map(item => {
|
this.standList.map(item => {
|
||||||
let newStand = false;
|
let newStand = false;
|
||||||
for (let itemKey of this.dataList) {
|
for (let itemKey of this.dataList) {
|
||||||
@@ -1214,8 +1202,10 @@ export default {
|
|||||||
this.$message.warning("请勿重复添加数据");
|
this.$message.warning("请勿重复添加数据");
|
||||||
} else {
|
} else {
|
||||||
this.dataList.push(item);
|
this.dataList.push(item);
|
||||||
|
exits.push(item.id)
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
this.listForm.inforlist = this.listForm.inforlist + ',' + exits.join(',')
|
||||||
this.standardData = [];
|
this.standardData = [];
|
||||||
this.standModel = false;
|
this.standModel = false;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -78,8 +78,13 @@
|
|||||||
width="180px"
|
width="180px"
|
||||||
label="标准号">
|
label="标准号">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<p v-if="scope.row.standYear">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</p>
|
<a v-if="scope.row.standYear" class="table-jump"
|
||||||
<p v-else>{{ scope.row.standSortShow }} {{ scope.row.standNumber }}</p>
|
@click="handlePreview(scope.row)">{{ scope.row.standSortShow }} {{
|
||||||
|
scope.row.standNumber
|
||||||
|
}}-{{ scope.row.standYear }}</a>
|
||||||
|
<a v-else @click="handlePreview(scope.row)" class="table-jump">{{
|
||||||
|
scope.row.standSortShow }}
|
||||||
|
{{ scope.row.standNumber }}</a>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -407,6 +412,17 @@ export default {
|
|||||||
},
|
},
|
||||||
selectThree() {
|
selectThree() {
|
||||||
|
|
||||||
|
},
|
||||||
|
// 点击查看
|
||||||
|
handlePreview(item) {
|
||||||
|
let routeUrl = this.$router.resolve({
|
||||||
|
name: "OtherStandardDetails",
|
||||||
|
params: {
|
||||||
|
id: item.id,
|
||||||
|
pageType: "INLAND_STAND"
|
||||||
|
}
|
||||||
|
});
|
||||||
|
window.open(routeUrl.href, "_blank");
|
||||||
},
|
},
|
||||||
pageChange(page) {
|
pageChange(page) {
|
||||||
this.page = page;
|
this.page = page;
|
||||||
|
|||||||
@@ -554,11 +554,9 @@
|
|||||||
:nodeKey="nodeKeyModel" @popoverHide="popoverHideModel"></tree-select-new>
|
:nodeKey="nodeKeyModel" @popoverHide="popoverHideModel"></tree-select-new>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="归口管理部门" prop="gkdw" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="归口管理部门" prop="gkdw" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-select :popper-append-to-body="false" v-model="form.gkdw" placeholder="请选择归口管理部门">
|
||||||
v-model="form.gkdw"
|
<el-option v-for="item in gkglbmOptions" :value="item.value" :key="item.value" :label="item.label"></el-option>
|
||||||
placeholder="请输入归口管理部门"
|
</el-select>
|
||||||
clearable
|
|
||||||
></el-input>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="起草单位" prop="qcdw" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="起草单位" prop="qcdw" class="add-form-item form-item-disabled">
|
||||||
<el-select :popper-append-to-body="false" v-model="form.qcdw" placeholder="请选择起草单位" multiple>
|
<el-select :popper-append-to-body="false" v-model="form.qcdw" placeholder="请选择起草单位" multiple>
|
||||||
@@ -963,7 +961,13 @@
|
|||||||
:visible.sync="modalShowFlag"
|
:visible.sync="modalShowFlag"
|
||||||
:wrapperClosable="false"
|
:wrapperClosable="false"
|
||||||
size="800px">
|
size="800px">
|
||||||
|
<el-input
|
||||||
|
style="width:70%;padding: 10px"
|
||||||
|
placeholder="请输入姓名"
|
||||||
|
v-model="filterText">
|
||||||
|
</el-input>
|
||||||
<el-tree
|
<el-tree
|
||||||
|
:filter-node-method="filterNode"
|
||||||
v-if="modalShowFlag"
|
v-if="modalShowFlag"
|
||||||
node-key="id"
|
node-key="id"
|
||||||
style="height: 100%; overflow: auto;"
|
style="height: 100%; overflow: auto;"
|
||||||
@@ -1158,6 +1162,7 @@
|
|||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
|
filterText:'',
|
||||||
textStatusMap: {}, // 文本状态id与name对应
|
textStatusMap: {}, // 文本状态id与name对应
|
||||||
standardDrawer: false,
|
standardDrawer: false,
|
||||||
loadSarStandard: false,
|
loadSarStandard: false,
|
||||||
@@ -1391,6 +1396,7 @@
|
|||||||
modelOptions: [], // 模块体系架构
|
modelOptions: [], // 模块体系架构
|
||||||
modelChildOptions: [], // 模块体系架构子集合
|
modelChildOptions: [], // 模块体系架构子集合
|
||||||
applyArcticOptions: [], // 适用车型
|
applyArcticOptions: [], // 适用车型
|
||||||
|
gkglbmOptions: [], // 归口管理部门
|
||||||
categoryOptions: [], // 能源类型
|
categoryOptions: [], // 能源类型
|
||||||
applyAuthOptions: [], // 适用认证
|
applyAuthOptions: [], // 适用认证
|
||||||
cysdOptions: [], // 我司参与深度
|
cysdOptions: [], // 我司参与深度
|
||||||
@@ -1405,6 +1411,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch:{
|
watch:{
|
||||||
|
filterText(val) {
|
||||||
|
this.$refs.tree.filter(val);
|
||||||
|
},
|
||||||
'form.standInData': {
|
'form.standInData': {
|
||||||
handler: function() {
|
handler: function() {
|
||||||
this.verifySarStandard = false
|
this.verifySarStandard = false
|
||||||
@@ -1458,6 +1467,11 @@
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
// z责任人会签姓名搜索
|
||||||
|
filterNode(value, data) {
|
||||||
|
if (!value) return true;
|
||||||
|
return data.name.indexOf(value) !== -1;
|
||||||
|
},
|
||||||
getTaskId () {
|
getTaskId () {
|
||||||
queryTaskFirst({
|
queryTaskFirst({
|
||||||
bpnId: this.$route.query.bpnId
|
bpnId: this.$route.query.bpnId
|
||||||
@@ -1669,6 +1683,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
saveUserInfo () {
|
saveUserInfo () {
|
||||||
|
this.filterText = ''
|
||||||
if (this.userType === 'zrUserId') {
|
if (this.userType === 'zrUserId') {
|
||||||
this.roleForm.zrUserId = this.zrUserIds.map(item => item.id).join(",")
|
this.roleForm.zrUserId = this.zrUserIds.map(item => item.id).join(",")
|
||||||
this.roleForm.zrUserName = this.zrUserIds.map(item => item.name).join(",")
|
this.roleForm.zrUserName = this.zrUserIds.map(item => item.name).join(",")
|
||||||
@@ -1680,6 +1695,7 @@
|
|||||||
this.modalShowFlag = false
|
this.modalShowFlag = false
|
||||||
},
|
},
|
||||||
cancelUserInfo () {
|
cancelUserInfo () {
|
||||||
|
this.filterText = ''
|
||||||
this.modalShowFlag = false
|
this.modalShowFlag = false
|
||||||
},
|
},
|
||||||
drawerCheck (data) {
|
drawerCheck (data) {
|
||||||
@@ -2082,8 +2098,6 @@
|
|||||||
saveTaskFirst(_formData).then(res => {
|
saveTaskFirst(_formData).then(res => {
|
||||||
this.saveLoading = false
|
this.saveLoading = false
|
||||||
this.$message.success('保存成功')
|
this.$message.success('保存成功')
|
||||||
// 流程保存之后,应该流转至草稿页面
|
|
||||||
this.$router.push({path:'/processCenter?tabsName=TaskDraft'})
|
|
||||||
// this.bpnId = res.result
|
// this.bpnId = res.result
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
this.saveLoading = false
|
this.saveLoading = false
|
||||||
@@ -2175,7 +2189,8 @@
|
|||||||
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
|
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
|
||||||
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
|
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
|
||||||
this.qcdwOption = res.data.QCDW // 体系类别
|
this.qcdwOption = res.data.QCDW // 体系类别
|
||||||
this.setMap(this.standStateOptions)
|
this.gkglbmOptions = res.data.GKGLBM // 归口管理部门
|
||||||
|
this.setMap(this.standStateOptions)
|
||||||
})
|
})
|
||||||
this.busVsFunc()
|
this.busVsFunc()
|
||||||
this.modelFunc()
|
this.modelFunc()
|
||||||
|
|||||||
@@ -328,14 +328,11 @@
|
|||||||
<el-form-item label="模块结构单元变型号" prop="dybxh" class="add-form-item form-item-disabled">
|
<el-form-item label="模块结构单元变型号" prop="dybxh" class="add-form-item form-item-disabled">
|
||||||
<el-input v-model="form.dybxh" disabled></el-input>
|
<el-input v-model="form.dybxh" disabled></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="归口管理部门" prop="gkdw" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="归口管理部门" prop="gkdw" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-select :popper-append-to-body="false" v-model="form.gkdw" placeholder="请选择归口管理部门">
|
||||||
disabled
|
<el-option v-for="item in gkglbmOptions" :value="item.value" :key="item.value" :label="item.label"></el-option>
|
||||||
v-model="form.gkdw"
|
</el-select>
|
||||||
placeholder="请输入归口管理部门"
|
</el-form-item>
|
||||||
clearable
|
|
||||||
></el-input>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item v-if="form.standInData === '0'" label="起草单位" prop="qcdw" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="起草单位" prop="qcdw" class="add-form-item form-item-disabled">
|
||||||
<el-select v-model="form.qcdw" placeholder="请选择起草单位" multiple disabled>
|
<el-select v-model="form.qcdw" placeholder="请选择起草单位" multiple disabled>
|
||||||
<el-option
|
<el-option
|
||||||
@@ -821,6 +818,7 @@
|
|||||||
standStateOptions: [], // 文本状态
|
standStateOptions: [], // 文本状态
|
||||||
standSystemOptions: [], // 标准体系
|
standSystemOptions: [], // 标准体系
|
||||||
applyArcticOptions: [], // 适用车型
|
applyArcticOptions: [], // 适用车型
|
||||||
|
gkglbmOptions: [], // 归口管理部门
|
||||||
categoryOptions: [], // 能源类型
|
categoryOptions: [], // 能源类型
|
||||||
applyAuthOptions: [], // 适用认证
|
applyAuthOptions: [], // 适用认证
|
||||||
cysdOptions: [], // 我司参与深度
|
cysdOptions: [], // 我司参与深度
|
||||||
@@ -1070,6 +1068,7 @@
|
|||||||
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
|
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
|
||||||
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
|
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
|
||||||
this.txlbOptions = res.data.TXLBCLASS // 体系类别
|
this.txlbOptions = res.data.TXLBCLASS // 体系类别
|
||||||
|
this.gkglbmOptions = res.data.GKGLBM // 归口管理部门
|
||||||
this.key++
|
this.key++
|
||||||
})
|
})
|
||||||
this.busVsFunc()
|
this.busVsFunc()
|
||||||
|
|||||||
@@ -322,12 +322,9 @@
|
|||||||
<el-input v-model="form.dybxh" disabled></el-input>
|
<el-input v-model="form.dybxh" disabled></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="归口管理部门" prop="gkdw" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="归口管理部门" prop="gkdw" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-select :popper-append-to-body="false" v-model="form.gkdw" placeholder="请选择归口管理部门">
|
||||||
disabled
|
<el-option v-for="item in gkglbmOptions" :value="item.value" :key="item.value" :label="item.label"></el-option>
|
||||||
v-model="form.gkdw"
|
</el-select>
|
||||||
placeholder="请输入归口管理部门"
|
|
||||||
clearable
|
|
||||||
></el-input>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="起草单位" prop="qcdw" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="起草单位" prop="qcdw" class="add-form-item form-item-disabled">
|
||||||
<el-select v-model="form.qcdw" placeholder="请选择起草单位" multiple disabled>
|
<el-select v-model="form.qcdw" placeholder="请选择起草单位" multiple disabled>
|
||||||
@@ -795,6 +792,7 @@ export default {
|
|||||||
standStateOptions: [], // 文本状态
|
standStateOptions: [], // 文本状态
|
||||||
standSystemOptions: [], // 标准体系
|
standSystemOptions: [], // 标准体系
|
||||||
applyArcticOptions: [], // 适用车型
|
applyArcticOptions: [], // 适用车型
|
||||||
|
gkglbmOptions: [], // 归口管理部门
|
||||||
categoryOptions: [], // 能源类型
|
categoryOptions: [], // 能源类型
|
||||||
applyAuthOptions: [], // 适用认证
|
applyAuthOptions: [], // 适用认证
|
||||||
cysdOptions: [], // 我司参与深度
|
cysdOptions: [], // 我司参与深度
|
||||||
@@ -1054,6 +1052,7 @@ export default {
|
|||||||
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
|
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
|
||||||
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
|
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
|
||||||
this.txlbOptions = res.data.TXLBCLASS // 体系类别
|
this.txlbOptions = res.data.TXLBCLASS // 体系类别
|
||||||
|
this.gkglbmOptions = res.data.GKGLBM // 归口管理部门
|
||||||
this.key++
|
this.key++
|
||||||
})
|
})
|
||||||
this.busVsFunc()
|
this.busVsFunc()
|
||||||
|
|||||||
@@ -534,11 +534,9 @@
|
|||||||
:nodeKey="nodeKeyModel" @popoverHide="popoverHideModel"></tree-select-new>
|
:nodeKey="nodeKeyModel" @popoverHide="popoverHideModel"></tree-select-new>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="归口管理部门" prop="gkdw" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="归口管理部门" prop="gkdw" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-select :popper-append-to-body="false" v-model="form.gkdw" placeholder="请选择归口管理部门">
|
||||||
v-model="form.gkdw"
|
<el-option v-for="item in gkglbmOptions" :value="item.value" :key="item.value" :label="item.label"></el-option>
|
||||||
placeholder="请输入归口管理部门"
|
</el-select>
|
||||||
clearable
|
|
||||||
></el-input>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="起草单位" prop="qcdw" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="起草单位" prop="qcdw" class="add-form-item form-item-disabled">
|
||||||
<el-select v-model="form.qcdw" placeholder="请选择起草单位" multiple>
|
<el-select v-model="form.qcdw" placeholder="请选择起草单位" multiple>
|
||||||
@@ -709,7 +707,7 @@
|
|||||||
class="common-button-primary"
|
class="common-button-primary"
|
||||||
size="mini"
|
size="mini"
|
||||||
style="position:absolute;top: 10px;right: 0;"
|
style="position:absolute;top: 10px;right: 0;"
|
||||||
@click="selectLaws('dtbjh'),config.attrName = '代替标准号'"
|
@click="selectLaws('yybj'),config.attrName = '引用标准'"
|
||||||
>{{'手动查找'}}</el-button>
|
>{{'手动查找'}}</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="采标编号" prop="cbbh" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="采标编号" prop="cbbh" class="add-form-item form-item-disabled">
|
||||||
@@ -737,7 +735,7 @@
|
|||||||
class="common-button-primary"
|
class="common-button-primary"
|
||||||
size="mini"
|
size="mini"
|
||||||
style="position:absolute;top: 10px;right: 0;"
|
style="position:absolute;top: 10px;right: 0;"
|
||||||
@click="selectLaws('byybj'),config.attrName = '代替标准号'"
|
@click="selectLaws('byybj'),config.attrName = '被引用标准'"
|
||||||
>{{'手动查找'}}</el-button>
|
>{{'手动查找'}}</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="参会记录" prop="chjl" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="参会记录" prop="chjl" class="add-form-item form-item-disabled">
|
||||||
@@ -1225,6 +1223,7 @@ export default {
|
|||||||
modelOptions: [], // 模块体系架构
|
modelOptions: [], // 模块体系架构
|
||||||
applyArcticOptions: [], // 适用车型
|
applyArcticOptions: [], // 适用车型
|
||||||
categoryOptions: [], // 能源类型
|
categoryOptions: [], // 能源类型
|
||||||
|
gkglbmOptions: [], // 归口管理部门
|
||||||
applyAuthOptions: [], // 适用认证
|
applyAuthOptions: [], // 适用认证
|
||||||
cysdOptions: [], // 我司参与深度
|
cysdOptions: [], // 我司参与深度
|
||||||
wssmrOptions: [], // 我司署名人
|
wssmrOptions: [], // 我司署名人
|
||||||
@@ -1750,6 +1749,7 @@ export default {
|
|||||||
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
|
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
|
||||||
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
|
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
|
||||||
this.txlbOptions = res.data.TXLBCLASS // 体系类别
|
this.txlbOptions = res.data.TXLBCLASS // 体系类别
|
||||||
|
this.gkglbmOptions = res.data.GKGLBM // 归口管理部门
|
||||||
this.treeStatus = true
|
this.treeStatus = true
|
||||||
this.key++
|
this.key++
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -42,13 +42,11 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="标准年份" prop="standYear" class="add-form-item form-item-disabled">
|
<el-form-item label="标准年份" prop="standYear" class="add-form-item form-item-disabled">
|
||||||
<el-date-picker
|
<el-input
|
||||||
disabled
|
v-model.number="form.standYear"
|
||||||
v-model="form.standYear"
|
placeholder="请输入标准标准年份"
|
||||||
type="year"
|
disabled
|
||||||
placeholder="请选择标准年份"
|
></el-input>
|
||||||
value-format="yyyy">
|
|
||||||
</el-date-picker>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="标准中文名称" prop="standName" class="add-form-item form-item-disabled">
|
<el-form-item label="标准中文名称" prop="standName" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
@@ -119,10 +117,16 @@
|
|||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="标准体系" prop="standSystem" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="标准体系" prop="standSystem" class="add-form-item form-item-disabled">
|
||||||
<tree-select
|
<el-input
|
||||||
:data="standSystemOptions"
|
disabled
|
||||||
:defaultProps="defaultProps" :checkedKeys="defaultCheckedKeys"
|
v-model="form.standSystem"
|
||||||
:nodeKey="nodeKey" @popoverHide="popoverHide"></tree-select>
|
placeholder="请选择标准体系"
|
||||||
|
clearable
|
||||||
|
></el-input>
|
||||||
|
<!-- <tree-select-->
|
||||||
|
<!-- :data="standSystemOptions"-->
|
||||||
|
<!-- :defaultProps="defaultProps" :checkedKeys="defaultCheckedKeys"-->
|
||||||
|
<!-- :nodeKey="nodeKey" @popoverHide="popoverHide"></tree-select>-->
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '1'" label="标签" prop="gxhbq" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '1'" label="标签" prop="gxhbq" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
@@ -317,39 +321,45 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="关联模块--乘用车VPPS编码" prop="cycvppsbm" class="add-form-item form-item-disabled">
|
<el-form-item label="关联模块--乘用车VPPS编码" prop="cycvppsbm" class="add-form-item form-item-disabled">
|
||||||
<el-select v-model="form.cycvppsbm" placeholder="请选择乘用车VPPS编码" multiple disabled>
|
<el-input
|
||||||
<el-option label="乘用车VPPS编码1" value="1"></el-option>
|
disabled
|
||||||
<el-option label="乘用车VPPS编码2" value="2"></el-option>
|
v-model.number="form.cycvppsbm"
|
||||||
</el-select>
|
placeholder="请选择关联模块--乘用车VPPS编码"
|
||||||
|
clearable
|
||||||
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="关联模块--卡车VPPS编码" prop="kccvppsbm" class="add-form-item form-item-disabled">
|
<el-form-item label="关联模块--卡车VPPS编码" prop="kccvppsbm" class="add-form-item form-item-disabled">
|
||||||
<el-select v-model="form.kccvppsbm" placeholder="请选择卡车VPPS编码" multiple disabled>
|
<el-input
|
||||||
<el-option label="卡车VPPS编码1" value="1"></el-option>
|
disabled
|
||||||
<el-option label="卡车VPPS编码2" value="2"></el-option>
|
v-model.number="form.kccvppsbm"
|
||||||
</el-select>
|
placeholder="关联模块--卡车VPPS编码"
|
||||||
|
clearable
|
||||||
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="模块结构单元变型号" prop="dybxh" class="add-form-item form-item-disabled">
|
<el-form-item label="模块结构单元变型号" prop="dybxh" class="add-form-item form-item-disabled">
|
||||||
<el-select v-model="form.dybxh" placeholder="请选择模块结构单元变型号" multiple disabled>
|
<el-input
|
||||||
<el-option label="模块结构单元变型号1" value="1"></el-option>
|
disabled
|
||||||
<el-option label="模块结构单元变型号2" value="2"></el-option>
|
v-model.number="form.dybxh"
|
||||||
</el-select>
|
placeholder="请选择模块结构单元变型号"
|
||||||
</el-form-item>
|
clearable
|
||||||
<el-form-item v-if="form.standInData === '0'" label="归口管理部门" prop="gkdw" class="add-form-item form-item-disabled">
|
></el-input>
|
||||||
<el-input
|
|
||||||
disabled
|
|
||||||
v-model="form.gkdw"
|
|
||||||
placeholder="请输入归口管理部门"
|
|
||||||
clearable
|
|
||||||
></el-input>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item v-if="form.standInData === '0'" label="起草单位" prop="fbjg" class="add-form-item form-item-disabled">
|
|
||||||
<el-input
|
|
||||||
disabled
|
|
||||||
v-model="form.fbjg"
|
|
||||||
placeholder="请选择起草单位"
|
|
||||||
clearable
|
|
||||||
></el-input>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item v-if="form.standInData === '0'" label="归口管理部门" prop="gkdw" class="add-form-item form-item-disabled">
|
||||||
|
<el-select disabled :popper-append-to-body="false" v-model="form.gkdw" placeholder="请选择归口管理部门">
|
||||||
|
<el-option v-for="item in gkglbmOptions" :value="item.value" :key="item.value" :label="item.label"></el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item v-if="form.standInData === '0'" label="起草单位" prop="qcdw" class="add-form-item form-item-disabled">
|
||||||
|
<el-select :popper-append-to-body="false" v-model="form.qcdw" placeholder="请选择起草单位" multiple>
|
||||||
|
<el-option
|
||||||
|
v-for="item in qcdwOption"
|
||||||
|
placeholder="请选择"
|
||||||
|
:key="item.value"
|
||||||
|
:value="item.value"
|
||||||
|
:label="item.label"
|
||||||
|
></el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '1'" label="体系类别" prop="txlb" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '1'" label="体系类别" prop="txlb" class="add-form-item form-item-disabled">
|
||||||
<el-select v-model="form.txlb" placeholder="请选择体系类别" multiple disabled>
|
<el-select v-model="form.txlb" placeholder="请选择体系类别" multiple disabled>
|
||||||
<el-option
|
<el-option
|
||||||
@@ -457,14 +467,14 @@
|
|||||||
<el-option label="采标程度2" value="2"></el-option>
|
<el-option label="采标程度2" value="2"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="相关流程" prop="xglc" class="add-form-item form-item-disabled">
|
<!-- <el-form-item label="相关流程" prop="xglc" class="add-form-item form-item-disabled">-->
|
||||||
<el-input
|
<!-- <el-input-->
|
||||||
disabled
|
<!-- disabled-->
|
||||||
v-model="form.xglc"
|
<!-- v-model="form.xglc"-->
|
||||||
placeholder="请输入相关流程"
|
<!-- placeholder="请输入相关流程"-->
|
||||||
clearable
|
<!-- clearable-->
|
||||||
></el-input>
|
<!-- ></el-input>-->
|
||||||
</el-form-item>
|
<!-- </el-form-item>-->
|
||||||
<el-form-item label="关联文件" prop="glwjName" class="add-form-item form-item-disabled">
|
<el-form-item label="关联文件" prop="glwjName" class="add-form-item form-item-disabled">
|
||||||
<div v-if="form.glwjName" style="cursor: pointer;color: #00b7ee" @click="downloadFile('glwj')">
|
<div v-if="form.glwjName" style="cursor: pointer;color: #00b7ee" @click="downloadFile('glwj')">
|
||||||
{{ form.glwjName }}
|
{{ form.glwjName }}
|
||||||
@@ -492,22 +502,22 @@
|
|||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="被引用标准" prop="byybj" class="add-form-item form-item-disabled">
|
<!-- <el-form-item label="被引用标准" prop="byybj" class="add-form-item form-item-disabled">-->
|
||||||
<el-input
|
<!-- <el-input-->
|
||||||
disabled
|
<!-- disabled-->
|
||||||
v-model="form.byybj"
|
<!-- v-model="form.byybj"-->
|
||||||
placeholder="请输入被引用标准"
|
<!-- placeholder="请输入被引用标准"-->
|
||||||
clearable
|
<!-- clearable-->
|
||||||
></el-input>
|
<!-- ></el-input>-->
|
||||||
</el-form-item>
|
<!-- </el-form-item>-->
|
||||||
<el-form-item v-if="form.standInData === '0'" label="参会记录" prop="chjl" class="add-form-item form-item-disabled">
|
<!-- <el-form-item v-if="form.standInData === '0'" label="参会记录" prop="chjl" class="add-form-item form-item-disabled">-->
|
||||||
<el-input
|
<!-- <el-input-->
|
||||||
disabled
|
<!-- disabled-->
|
||||||
v-model="form.chjl"
|
<!-- v-model="form.chjl"-->
|
||||||
placeholder="请输入参会记录"
|
<!-- placeholder="请输入参会记录"-->
|
||||||
clearable
|
<!-- clearable-->
|
||||||
></el-input>
|
<!-- ></el-input>-->
|
||||||
</el-form-item>
|
<!-- </el-form-item>-->
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</div>
|
</div>
|
||||||
@@ -771,12 +781,14 @@
|
|||||||
standSystemOptions: [], // 标准体系
|
standSystemOptions: [], // 标准体系
|
||||||
applyArcticOptions: [], // 适用车型
|
applyArcticOptions: [], // 适用车型
|
||||||
categoryOptions: [], // 能源类型
|
categoryOptions: [], // 能源类型
|
||||||
|
gkglbmOptions: [], // 归口管理部门
|
||||||
applyAuthOptions: [], // 适用认证
|
applyAuthOptions: [], // 适用认证
|
||||||
cysdOptions: [], // 我司参与深度
|
cysdOptions: [], // 我司参与深度
|
||||||
sycpxOptions: [], // 适用产品线
|
sycpxOptions: [], // 适用产品线
|
||||||
zrbmOptions: [], // 责任部门
|
zrbmOptions: [], // 责任部门
|
||||||
zrgcsOptions: [], // 责任工程师
|
zrgcsOptions: [], // 责任工程师
|
||||||
txlbOptions: [], // 体系类别
|
txlbOptions: [], // 体系类别
|
||||||
|
qcdwOption: [], // 起草单位
|
||||||
data: [], // 标准列表数据
|
data: [], // 标准列表数据
|
||||||
ListForm: {}, // 新增数据
|
ListForm: {}, // 新增数据
|
||||||
user1: '',
|
user1: '',
|
||||||
@@ -860,6 +872,11 @@
|
|||||||
this.glwjFileId = processForm.glwj
|
this.glwjFileId = processForm.glwj
|
||||||
this.caFileId = processForm.ca
|
this.caFileId = processForm.ca
|
||||||
this.zbjbdFileId = processForm.zbjbd
|
this.zbjbdFileId = processForm.zbjbd
|
||||||
|
this.form.standYear = processForm.standYear
|
||||||
|
this.form.standSystem = processForm.standSystem
|
||||||
|
this.form.kccvppsbm = processForm.kccvppsbm
|
||||||
|
this.form.cycvppsbm = processForm.cycvppsbm
|
||||||
|
this.form.dybxh = processForm.dybxh
|
||||||
this.getFormFieldList(processForm)
|
this.getFormFieldList(processForm)
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
@@ -958,6 +975,8 @@
|
|||||||
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
|
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
|
||||||
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
|
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
|
||||||
this.txlbOptions = res.data.TXLBCLASS // 体系类别
|
this.txlbOptions = res.data.TXLBCLASS // 体系类别
|
||||||
|
this.qcdwOption = res.data.QCDW // 体系类别
|
||||||
|
this.gkglbmOptions = res.data.GKGLBM // 归口管理部门
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -84,7 +84,7 @@
|
|||||||
<el-table-column label="责任人" prop="workPeople" align="center">
|
<el-table-column label="责任人" prop="workPeople" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div :class="{'fileClass': !scope.row.workPeople}">
|
<div :class="{'fileClass': !scope.row.workPeople}">
|
||||||
{{ scope.row.workPeople ? scope.row.workPeople: '请选择责任人' }}</div>
|
{{ scope.row.workPeople ? scope.row.workPeople: '' }}</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
|||||||
@@ -127,7 +127,7 @@
|
|||||||
<el-dropdown trigger="click" @command="handleCommand">
|
<el-dropdown trigger="click" @command="handleCommand">
|
||||||
<i class="iconfont"></i>
|
<i class="iconfont"></i>
|
||||||
<el-dropdown-menu slot="dropdown">
|
<el-dropdown-menu slot="dropdown">
|
||||||
<el-dropdown-item :command="[scope.row, '查看']">查看</el-dropdown-item>
|
<el-dropdown-item :command="[scope.row, '查看']" v-btn-permission="'4f71b81686079ba2b7e3739d3994e0af'">查看</el-dropdown-item>
|
||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -127,7 +127,7 @@
|
|||||||
<el-dropdown trigger="click" @command="handleCommand">
|
<el-dropdown trigger="click" @command="handleCommand">
|
||||||
<i class="iconfont"></i>
|
<i class="iconfont"></i>
|
||||||
<el-dropdown-menu slot="dropdown">
|
<el-dropdown-menu slot="dropdown">
|
||||||
<el-dropdown-item :command="[scope.row, '查看']">查看</el-dropdown-item>
|
<el-dropdown-item :command="[scope.row, '查看']" v-btn-permission="'b9abd00768c8ed97be89547c2da3f0eb'">查看</el-dropdown-item>
|
||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -124,7 +124,7 @@
|
|||||||
<el-table-column :label="$t('m.operation')" align="center" width="50">
|
<el-table-column :label="$t('m.operation')" align="center" 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" v-btn-permission="'4219fdb5e33dbbc84d845af98c947e66'">
|
||||||
<i class="iconfont"></i>
|
<i class="iconfont"></i>
|
||||||
<el-dropdown-menu slot="dropdown">
|
<el-dropdown-menu slot="dropdown">
|
||||||
<el-dropdown-item :command="[scope.row, '办理']">办理</el-dropdown-item>
|
<el-dropdown-item :command="[scope.row, '办理']">办理</el-dropdown-item>
|
||||||
@@ -600,6 +600,72 @@ export default {
|
|||||||
prcType: row.prcType
|
prcType: row.prcType
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
} else if(row.taskInfo === '分发负责人审批') {
|
||||||
|
this.$router.push({
|
||||||
|
name: 'xmpg2Step7',
|
||||||
|
query: {
|
||||||
|
taskIds: row.taskIds,
|
||||||
|
prcId: row.prcId,
|
||||||
|
prcNum: row.prcNum,
|
||||||
|
prcName: row.prcName,
|
||||||
|
prcType: row.prcType
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else if(row.taskInfo === '架构经理审批') {
|
||||||
|
this.$router.push({
|
||||||
|
name: 'xmpg2Step8',
|
||||||
|
query: {
|
||||||
|
taskIds: row.taskIds,
|
||||||
|
prcId: row.prcId,
|
||||||
|
prcNum: row.prcNum,
|
||||||
|
prcName: row.prcName,
|
||||||
|
prcType: row.prcType
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else if(row.taskInfo === '工程经理审批') {
|
||||||
|
this.$router.push({
|
||||||
|
name: 'xmpg2Step9',
|
||||||
|
query: {
|
||||||
|
taskIds: row.taskIds,
|
||||||
|
prcId: row.prcId,
|
||||||
|
prcNum: row.prcNum,
|
||||||
|
prcName: row.prcName,
|
||||||
|
prcType: row.prcType
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else if(row.taskInfo === '标准法规部经理审批') {
|
||||||
|
this.$router.push({
|
||||||
|
name: 'xmpg2Step10',
|
||||||
|
query: {
|
||||||
|
taskIds: row.taskIds,
|
||||||
|
prcId: row.prcId,
|
||||||
|
prcNum: row.prcNum,
|
||||||
|
prcName: row.prcName,
|
||||||
|
prcType: row.prcType
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else if(row.taskInfo === '汇总审批') {
|
||||||
|
this.$router.push({
|
||||||
|
name: 'xmpg2Step11',
|
||||||
|
query: {
|
||||||
|
taskIds: row.taskIds,
|
||||||
|
prcId: row.prcId,
|
||||||
|
prcNum: row.prcNum,
|
||||||
|
prcName: row.prcName,
|
||||||
|
prcType: row.prcType
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else if(row.taskInfo === '标准法规部部长审批') {
|
||||||
|
this.$router.push({
|
||||||
|
name: 'xmpg2Step12',
|
||||||
|
query: {
|
||||||
|
taskIds: row.taskIds,
|
||||||
|
prcId: row.prcId,
|
||||||
|
prcNum: row.prcNum,
|
||||||
|
prcName: row.prcName,
|
||||||
|
prcType: row.prcType
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
//未符合项整改流程
|
//未符合项整改流程
|
||||||
|
|||||||
@@ -127,7 +127,7 @@
|
|||||||
<el-dropdown trigger="click" @command="handleCommand">
|
<el-dropdown trigger="click" @command="handleCommand">
|
||||||
<i class="iconfont"></i>
|
<i class="iconfont"></i>
|
||||||
<el-dropdown-menu slot="dropdown">
|
<el-dropdown-menu slot="dropdown">
|
||||||
<el-dropdown-item :command="[scope.row, '办理']">办理</el-dropdown-item>
|
<el-dropdown-item :command="[scope.row, '办理']" v-btn-permission="'fa19fb2dc2cf3055a64732dab6c40cb9'">办理</el-dropdown-item>
|
||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+1
-10
@@ -117,16 +117,6 @@
|
|||||||
}}</span>
|
}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- <el-table-column
|
|
||||||
prop="applicationScope"
|
|
||||||
label="适用领域"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span
|
|
||||||
v-if="scope.row.applicationScope != null && scope.row.applicationScope !== ''">{{ scope.row.applicationScope
|
|
||||||
}}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>-->
|
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="updateTime"
|
prop="updateTime"
|
||||||
label="更新时间"
|
label="更新时间"
|
||||||
@@ -269,6 +259,7 @@ export default {
|
|||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.sarAccessListDatas = res.data.records
|
this.sarAccessListDatas = res.data.records
|
||||||
|
this.sarSarAccessEOSearch.page = 1
|
||||||
this.sarAccessListTotal = res.data.total
|
this.sarAccessListTotal = res.data.total
|
||||||
}, e => {
|
}, e => {
|
||||||
|
|
||||||
|
|||||||
@@ -266,6 +266,7 @@ export default {
|
|||||||
//分页查询
|
//分页查询
|
||||||
searchSarAccess() {
|
searchSarAccess() {
|
||||||
this.$http.get("sarLawsDetailedList/sar-laws-detailed-list/getAllStand", {
|
this.$http.get("sarLawsDetailedList/sar-laws-detailed-list/getAllStand", {
|
||||||
|
current: 1,
|
||||||
page: 1,
|
page: 1,
|
||||||
pageSize: this.pageSize,
|
pageSize: this.pageSize,
|
||||||
...this.sarSarAccessEOSearch,
|
...this.sarSarAccessEOSearch,
|
||||||
@@ -274,6 +275,7 @@ export default {
|
|||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.sarAccessListDatas = res.data.records;
|
this.sarAccessListDatas = res.data.records;
|
||||||
|
this.sarSarAccessEOSearch.page = 1
|
||||||
this.sarAccessListTotal = res.data.total;
|
this.sarAccessListTotal = res.data.total;
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -267,7 +267,7 @@ export default {
|
|||||||
//分页查询
|
//分页查询
|
||||||
searchSarAccess() {
|
searchSarAccess() {
|
||||||
this.$http.get("sarLawsDetailedList/sar-laws-detailed-list/getAllStand", {
|
this.$http.get("sarLawsDetailedList/sar-laws-detailed-list/getAllStand", {
|
||||||
page: this.page,
|
page: 1,
|
||||||
pageSize: this.pageSize,
|
pageSize: this.pageSize,
|
||||||
...this.sarSarAccessEOSearch,
|
...this.sarSarAccessEOSearch,
|
||||||
sortKey: 2
|
sortKey: 2
|
||||||
@@ -275,6 +275,7 @@ export default {
|
|||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.sarAccessListDatas = res.data.records;
|
this.sarAccessListDatas = res.data.records;
|
||||||
|
this.sarSarAccessEOSearch.page = 1
|
||||||
this.sarAccessListTotal = res.data.total
|
this.sarAccessListTotal = res.data.total
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -1168,19 +1168,19 @@ export default {
|
|||||||
this.selectedAccInfoSearchList.map(item => {
|
this.selectedAccInfoSearchList.map(item => {
|
||||||
let addList;
|
let addList;
|
||||||
addList = this.sarAccessInfoList.findIndex(items => {
|
addList = this.sarAccessInfoList.findIndex(items => {
|
||||||
return items.id == item.id
|
return items.id == item.id
|
||||||
})
|
})
|
||||||
if(addList > -1){
|
if(addList > -1){
|
||||||
this.$message.warning('请勿添加重复数据')
|
this.$message.warning('请勿添加重复数据')
|
||||||
this.$refs.accessTypeSelect.clearSelection()
|
// this.$refs.accessTypeSelect.clearSelection()
|
||||||
this.$refs.entryTable.clearSelection()
|
this.$refs.entryTable.clearSelection()
|
||||||
this.$refs.searchTable.clearSelection()
|
this.$refs.searchTable.clearSelection()
|
||||||
} else{
|
} else{
|
||||||
this.sarAccessInfoList.push(item)
|
this.sarAccessInfoList.push(item)
|
||||||
this.$refs.accessTypeSelect.clearSelection()
|
// this.$refs.accessTypeSelect.clearSelection()
|
||||||
this.$refs.entryTable.clearSelection()
|
this.$refs.entryTable.clearSelection()
|
||||||
this.$refs.searchTable.clearSelection()
|
this.$refs.searchTable.clearSelection()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.$message.error('请选中需要添加到 清单条目 的(标准号/政策编号)')
|
this.$message.error('请选中需要添加到 清单条目 的(标准号/政策编号)')
|
||||||
@@ -1329,12 +1329,16 @@ export default {
|
|||||||
_this: this,
|
_this: this,
|
||||||
loading: 'loadData'
|
loading: 'loadData'
|
||||||
}, res => {
|
}, res => {
|
||||||
if (res.ok) {
|
if (this.sarAccessInfoList.length !== 0) {
|
||||||
this.$message.success('新增成功')
|
if (res.ok) {
|
||||||
this.isNext = true
|
this.$message.success('新增成功')
|
||||||
this.$router.push({
|
this.isNext = true
|
||||||
name: 'AccessStandardsAndRegulations'
|
this.$router.push({
|
||||||
})
|
name: 'AccessStandardsAndRegulations'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
this.$message.error('请选中需要添加到 清单条目 的(标准号/政策编号)')
|
||||||
}
|
}
|
||||||
}, e => {
|
}, e => {
|
||||||
})
|
})
|
||||||
@@ -1363,6 +1367,7 @@ export default {
|
|||||||
selectLawsStands () {
|
selectLawsStands () {
|
||||||
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') {
|
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') {
|
||||||
this.sarAccessInfoSearch.dataSource = 'INLAND_STAND'
|
this.sarAccessInfoSearch.dataSource = 'INLAND_STAND'
|
||||||
|
this.sarAccessInfoSearch.standType = ''
|
||||||
} else {
|
} else {
|
||||||
this.sarAccessInfoSearch.standType = 'FOREIGN'
|
this.sarAccessInfoSearch.standType = 'FOREIGN'
|
||||||
}
|
}
|
||||||
@@ -1374,16 +1379,29 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
||||||
}
|
}
|
||||||
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
|
if (item.attrInfoMap === null) {
|
||||||
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
|
this.$set(item, 'zccssrqgj', '')
|
||||||
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
this.$set(item, 'xcxssrqgj', '')
|
||||||
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
this.$set(item, 'sycpx', '')
|
||||||
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
this.$set(item, 'typeApplicable', '')
|
||||||
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
this.$set(item, 'nylx', '')
|
||||||
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
this.$set(item, 'zrbm', '')
|
||||||
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
this.$set(item, 'cycvppsbm', '')
|
||||||
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
this.$set(item, 'cycvppscn', '')
|
||||||
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
this.$set(item, 'kccvppsbm', '')
|
||||||
|
this.$set(item, 'kccvppscn', '')
|
||||||
|
}else {
|
||||||
|
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
|
||||||
|
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
|
||||||
|
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||||
|
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||||
|
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||||
|
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
||||||
|
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
||||||
|
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
||||||
|
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
||||||
|
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
this.drawerTotal = res.data.list.length
|
this.drawerTotal = res.data.list.length
|
||||||
}, e => {
|
}, e => {
|
||||||
@@ -1403,16 +1421,29 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
||||||
}
|
}
|
||||||
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
|
if (item.attrInfoMap === null) {
|
||||||
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
|
this.$set(item, 'zccssrqgj', '')
|
||||||
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
this.$set(item, 'xcxssrqgj', '')
|
||||||
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
this.$set(item, 'sycpx', '')
|
||||||
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
this.$set(item, 'typeApplicable', '')
|
||||||
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
this.$set(item, 'nylx', '')
|
||||||
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
this.$set(item, 'zrbm', '')
|
||||||
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
this.$set(item, 'cycvppsbm', '')
|
||||||
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
this.$set(item, 'cycvppscn', '')
|
||||||
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
this.$set(item, 'kccvppsbm', '')
|
||||||
|
this.$set(item, 'kccvppscn', '')
|
||||||
|
}else {
|
||||||
|
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
|
||||||
|
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
|
||||||
|
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||||
|
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||||
|
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||||
|
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
||||||
|
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
||||||
|
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
||||||
|
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
||||||
|
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
this.drawerTotal = res.data.list.length
|
this.drawerTotal = res.data.list.length
|
||||||
}, e => {
|
}, e => {
|
||||||
@@ -1426,16 +1457,29 @@ export default {
|
|||||||
sarAccessInfoSearchSelect (val) {
|
sarAccessInfoSearchSelect (val) {
|
||||||
this.selectedAccInfoSearchList = val
|
this.selectedAccInfoSearchList = val
|
||||||
this.selectedAccInfoSearchList.forEach(item => {
|
this.selectedAccInfoSearchList.forEach(item => {
|
||||||
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
|
if (item.attrInfoMap === null) {
|
||||||
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
|
this.$set(item, 'zccssrqgj', '')
|
||||||
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
this.$set(item, 'xcxssrqgj', '')
|
||||||
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
this.$set(item, 'sycpx', '')
|
||||||
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
this.$set(item, 'typeApplicable', '')
|
||||||
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
this.$set(item, 'nylx', '')
|
||||||
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
this.$set(item, 'zrbm', '')
|
||||||
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
this.$set(item, 'cycvppsbm', '')
|
||||||
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
this.$set(item, 'cycvppscn', '')
|
||||||
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
this.$set(item, 'kccvppsbm', '')
|
||||||
|
this.$set(item, 'kccvppscn', '')
|
||||||
|
}else {
|
||||||
|
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
|
||||||
|
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
|
||||||
|
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||||
|
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||||
|
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||||
|
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
||||||
|
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
||||||
|
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
||||||
|
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
||||||
|
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
this.selectedAccInfoSearchList.forEach(item => {
|
this.selectedAccInfoSearchList.forEach(item => {
|
||||||
// 责任部门转换
|
// 责任部门转换
|
||||||
@@ -1834,7 +1878,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview (data) {
|
handlePreview (data) {
|
||||||
let routerName = data.sarType === 'FOREIGN_LAWS' ? 'OtherLawsDetails' : 'OtherStandardDetails'
|
let routerName = data.standType === 'FOREIGN_LAWS' ? 'OtherLawsDetails' : 'OtherStandardDetails'
|
||||||
let routeUrl = this.$router.resolve({
|
let routeUrl = this.$router.resolve({
|
||||||
name: routerName,
|
name: routerName,
|
||||||
params: {
|
params: {
|
||||||
@@ -1947,6 +1991,29 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
||||||
}
|
}
|
||||||
|
if (item.attrInfoMap === null) {
|
||||||
|
this.$set(item, 'zccssrqgj', '')
|
||||||
|
this.$set(item, 'xcxssrqgj', '')
|
||||||
|
this.$set(item, 'sycpx', '')
|
||||||
|
this.$set(item, 'typeApplicable', '')
|
||||||
|
this.$set(item, 'nylx', '')
|
||||||
|
this.$set(item, 'zrbm', '')
|
||||||
|
this.$set(item, 'cycvppsbm', '')
|
||||||
|
this.$set(item, 'cycvppscn', '')
|
||||||
|
this.$set(item, 'kccvppsbm', '')
|
||||||
|
this.$set(item, 'kccvppscn', '')
|
||||||
|
}else {
|
||||||
|
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
|
||||||
|
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
|
||||||
|
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||||
|
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||||
|
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||||
|
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
||||||
|
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
||||||
|
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
||||||
|
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
||||||
|
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}, e => {
|
}, e => {
|
||||||
})
|
})
|
||||||
@@ -2020,8 +2087,8 @@ export default {
|
|||||||
this.sarAccessEO.remark = accessRow.remark || ''
|
this.sarAccessEO.remark = accessRow.remark || ''
|
||||||
this.sarAccessEO.relateFile = accessRow.relateFile
|
this.sarAccessEO.relateFile = accessRow.relateFile
|
||||||
this.sarAccessInfoSearch.validFlag = 0
|
this.sarAccessInfoSearch.validFlag = 0
|
||||||
this.getFileInfo()
|
|
||||||
this.getData()
|
this.getData()
|
||||||
|
this.getFileInfo()
|
||||||
this.selectLawsStands()
|
this.selectLawsStands()
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
+257
-45
@@ -346,7 +346,7 @@
|
|||||||
width="210px"
|
width="210px"
|
||||||
label="卡车VPPS中文名称">
|
label="卡车VPPS中文名称">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column width="150" align="center" label="操作">
|
<el-table-column width="240" align="center" label="操作">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button
|
||||||
class="common-button-default"
|
class="common-button-default"
|
||||||
@@ -360,6 +360,12 @@
|
|||||||
size="small" @click="moveDown(scope.$index, scope.row)"
|
size="small" @click="moveDown(scope.$index, scope.row)"
|
||||||
v-if="!disabledFlag"
|
v-if="!disabledFlag"
|
||||||
>下移</el-button>
|
>下移</el-button>
|
||||||
|
<el-button
|
||||||
|
size="small"
|
||||||
|
@click="editTghisRow(scope.row)"
|
||||||
|
class="common-button-default"
|
||||||
|
type="warning"
|
||||||
|
>编辑</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
@@ -396,6 +402,90 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
<!--编辑-->
|
||||||
|
<el-drawer
|
||||||
|
title="编辑清单条目"
|
||||||
|
:visible.sync="drawerEdit"
|
||||||
|
:wrapperClosable="false"
|
||||||
|
size="800px"
|
||||||
|
>
|
||||||
|
<el-form :modal="editRowData" label-position="left" ref="editRowData" label-width="150px" style="margin: 20px">
|
||||||
|
<el-form-item label="标准号">
|
||||||
|
<el-input v-model.trim="editRowData.standNumber" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="标准名称" prop="standName">
|
||||||
|
<el-input v-model.trim="editRowData.standName" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="英文名称" prop="standEnName">
|
||||||
|
<el-input v-model.trim="editRowData.standEnName" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="适用车型" prop="typeApplicable">
|
||||||
|
<el-input v-model.trim="editRowData.typeApplicable" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="能源类型" prop="nylx">
|
||||||
|
<el-input v-model.trim="editRowData.nylx" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="标准实施日期" prop="putTime">
|
||||||
|
<el-date-picker
|
||||||
|
v-model.trim="editRowData.putTime"
|
||||||
|
type="date"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
|
placeholder="选择日期">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="在产车实施日期" prop="zccssrqgj">
|
||||||
|
<el-date-picker
|
||||||
|
v-model.trim="editRowData.zccssrqgj"
|
||||||
|
type="date"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
|
placeholder="选择日期">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="新车型实施日期" prop="xcxssrqgj">
|
||||||
|
<el-date-picker
|
||||||
|
v-model.trim="editRowData.xcxssrqgj"
|
||||||
|
type="date"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
|
placeholder="选择日期">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="责任部门" prop="zrbm">
|
||||||
|
<el-input v-model.trim="editRowData.zrbm" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="适用产品线" prop="sycpx">
|
||||||
|
<el-input v-model.trim="editRowData.sycpx" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="乘用车VPPS编码" prop="cycvppsbm">
|
||||||
|
<el-input v-model.trim="editRowData.cycvppsbm" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="乘用车VPPS中文名称" prop="cycvppscn">
|
||||||
|
<el-input v-model.trim="editRowData.cycvppscn" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="卡车VPPS编码" prop="kccvppsbm">
|
||||||
|
<el-input v-model.trim="editRowData.kccvppsbm" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="卡车VPPS中文名称" prop="kccvppscn">
|
||||||
|
<el-input v-model.trim="editRowData.kccvppscn" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
<div class="demo-drawer-footer">
|
||||||
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
class="common-button-primary"
|
||||||
|
size="mini"
|
||||||
|
icon="el-icon-check"
|
||||||
|
@click="saveInfo"
|
||||||
|
>提交</el-button
|
||||||
|
>
|
||||||
|
<el-button
|
||||||
|
size="mini"
|
||||||
|
icon="el-icon-close"
|
||||||
|
class="common-button-default"
|
||||||
|
@click="cancelInfo"
|
||||||
|
>取消</el-button
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
</el-drawer>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
@@ -451,6 +541,26 @@ export default {
|
|||||||
zrbmMap: {},
|
zrbmMap: {},
|
||||||
sycpxMap: {},
|
sycpxMap: {},
|
||||||
selectSearch : [],
|
selectSearch : [],
|
||||||
|
// 编辑抽屉状态
|
||||||
|
drawerEdit: false,
|
||||||
|
// 编辑框数据
|
||||||
|
editRowData: {
|
||||||
|
id: '',
|
||||||
|
standName: '',
|
||||||
|
standSortShow:'',
|
||||||
|
standEnName: '',
|
||||||
|
typeApplicable: '',
|
||||||
|
nylx: '',
|
||||||
|
putTime: '',
|
||||||
|
zccssrqgj: '',
|
||||||
|
xcxssrqgj: '',
|
||||||
|
zrbm: '',
|
||||||
|
sycpx: '',
|
||||||
|
cycvppsbm: '',
|
||||||
|
cycvppscn: '',
|
||||||
|
kccvppsbm: '',
|
||||||
|
kccvppscn: ''
|
||||||
|
},
|
||||||
// 新增、编辑 基础信息字段
|
// 新增、编辑 基础信息字段
|
||||||
sarAccessEO: {
|
sarAccessEO: {
|
||||||
id: '',
|
id: '',
|
||||||
@@ -1022,17 +1132,18 @@ export default {
|
|||||||
// 追加字段
|
// 追加字段
|
||||||
this.selectedAccInfoSearchList.map(item => {
|
this.selectedAccInfoSearchList.map(item => {
|
||||||
let addList;
|
let addList;
|
||||||
|
|
||||||
addList = this.sarAccessInfoList.findIndex(items => {
|
addList = this.sarAccessInfoList.findIndex(items => {
|
||||||
return items.id == item.id
|
return items.id == item.id
|
||||||
})
|
})
|
||||||
if(addList > -1){
|
if(addList > -1){
|
||||||
this.$message.warning('请勿添加重复数据')
|
this.$message.warning('请勿添加重复数据')
|
||||||
this.$refs.accessTypeSelect.clearSelection()
|
// this.$refs.accessTypeSelect.clearSelection()
|
||||||
this.$refs.entryTable.clearSelection()
|
this.$refs.entryTable.clearSelection()
|
||||||
this.$refs.searchTable.clearSelection()
|
this.$refs.searchTable.clearSelection()
|
||||||
} else{
|
} else{
|
||||||
this.sarAccessInfoList.push(item)
|
this.sarAccessInfoList.push(item)
|
||||||
this.$refs.accessTypeSelect.clearSelection()
|
// this.$refs.accessTypeSelect.clearSelection()
|
||||||
this.$refs.entryTable.clearSelection()
|
this.$refs.entryTable.clearSelection()
|
||||||
this.$refs.searchTable.clearSelection()
|
this.$refs.searchTable.clearSelection()
|
||||||
}
|
}
|
||||||
@@ -1069,6 +1180,22 @@ export default {
|
|||||||
this.$set(this.sarAccessInfoList, index, i)
|
this.$set(this.sarAccessInfoList, index, i)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
// 编辑按钮
|
||||||
|
editTghisRow(row) {
|
||||||
|
this.rowList = row
|
||||||
|
this.editRowData = this.rowList
|
||||||
|
this.editRowData.standNumber = this.rowList.standNumber
|
||||||
|
this.drawerEdit = true
|
||||||
|
},
|
||||||
|
// 抽屉取消按钮
|
||||||
|
cancelInfo() {
|
||||||
|
this.drawerEdit = false
|
||||||
|
},
|
||||||
|
// 抽屉提交按钮
|
||||||
|
saveInfo() {
|
||||||
|
this.rowList = this.editRowData
|
||||||
|
this.drawerEdit = false
|
||||||
|
},
|
||||||
// 点击清单条目导入按钮事件
|
// 点击清单条目导入按钮事件
|
||||||
importmodalFlags () {
|
importmodalFlags () {
|
||||||
this.importmodalFlag = true
|
this.importmodalFlag = true
|
||||||
@@ -1126,12 +1253,30 @@ export default {
|
|||||||
this.$refs['sarAccessForm'].validate((valid) => {
|
this.$refs['sarAccessForm'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
let rowlist = []
|
let rowlist = []
|
||||||
|
let rowlist1 = []
|
||||||
|
let rowlist2 = []
|
||||||
|
let rowlist3 = []
|
||||||
for (let i = 0; i < this.sarAccessInfoList.length; i++) {
|
for (let i = 0; i < this.sarAccessInfoList.length; i++) {
|
||||||
rowlist.push(this.sarAccessInfoList[i].id)
|
rowlist.push(this.sarAccessInfoList[i].id)
|
||||||
|
if (this.sarAccessInfoList[i].putTime === null || this.sarAccessInfoList[i].zccssrqgj === null || this.sarAccessInfoList[i].xcxssrqgj === null) {
|
||||||
|
rowlist1.push(this.sarAccessInfoList[i].putTime)
|
||||||
|
rowlist2.push(this.sarAccessInfoList[i].zccssrqgj)
|
||||||
|
rowlist3.push(this.sarAccessInfoList[i].xcxssrqgj)
|
||||||
|
}else {
|
||||||
|
rowlist1.push(this.sarAccessInfoList[i].putTime.toString())
|
||||||
|
rowlist2.push(this.sarAccessInfoList[i].zccssrqgj.toString())
|
||||||
|
rowlist3.push(this.sarAccessInfoList[i].xcxssrqgj.toString())
|
||||||
|
}
|
||||||
}
|
}
|
||||||
rowlist = rowlist.join(',')
|
rowlist = rowlist.join(',')
|
||||||
|
rowlist1 = rowlist1.join(',')
|
||||||
|
rowlist2 = rowlist2.join(',')
|
||||||
|
rowlist3 = rowlist3.join(',')
|
||||||
let sarAccessEO = JSON.parse(JSON.stringify(this.sarAccessEO))
|
let sarAccessEO = JSON.parse(JSON.stringify(this.sarAccessEO))
|
||||||
sarAccessEO.inforlist = JSON.stringify(rowlist)
|
sarAccessEO.inforlist = JSON.stringify(rowlist)
|
||||||
|
sarAccessEO.inforlist1 = JSON.stringify(rowlist1)
|
||||||
|
sarAccessEO.inforlist2 = JSON.stringify(rowlist2)
|
||||||
|
sarAccessEO.inforlist3 = JSON.stringify(rowlist3)
|
||||||
// sarAccessEO.countryArea = sarAccessEO.countryArea.join(',')
|
// sarAccessEO.countryArea = sarAccessEO.countryArea.join(',')
|
||||||
// sarAccessEO.applicationScope = sarAccessEO.applicationScope.join(',')
|
// sarAccessEO.applicationScope = sarAccessEO.applicationScope.join(',')
|
||||||
// 判断是否有附件
|
// 判断是否有附件
|
||||||
@@ -1150,12 +1295,16 @@ export default {
|
|||||||
_this: this,
|
_this: this,
|
||||||
loading: 'loadData'
|
loading: 'loadData'
|
||||||
}, res => {
|
}, res => {
|
||||||
if (res.ok) {
|
if (this.sarAccessInfoList.length !== 0) {
|
||||||
this.$message.success('新增成功')
|
if (res.ok) {
|
||||||
this.isNext = true
|
this.$message.success('新增成功')
|
||||||
this.$router.push({
|
this.isNext = true
|
||||||
name: 'AccessStandardsAndRegulations'
|
this.$router.push({
|
||||||
})
|
name: 'AccessStandardsAndRegulations'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}else {
|
||||||
|
this.$message.error('请选中需要添加到 清单条目 的(标准号/政策编号)')
|
||||||
}
|
}
|
||||||
}, e => {
|
}, e => {
|
||||||
})
|
})
|
||||||
@@ -1184,6 +1333,7 @@ export default {
|
|||||||
selectLawsStands () {
|
selectLawsStands () {
|
||||||
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') {
|
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') {
|
||||||
this.sarAccessInfoSearch.dataSource = 'INLAND_STAND'
|
this.sarAccessInfoSearch.dataSource = 'INLAND_STAND'
|
||||||
|
this.sarAccessInfoSearch.standType = ''
|
||||||
} else {
|
} else {
|
||||||
this.sarAccessInfoSearch.standType = 'FOREIGN'
|
this.sarAccessInfoSearch.standType = 'FOREIGN'
|
||||||
}
|
}
|
||||||
@@ -1195,16 +1345,29 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
||||||
}
|
}
|
||||||
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
|
if (item.attrInfoMap === null) {
|
||||||
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
|
this.$set(item, 'zccssrqgj', '')
|
||||||
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
this.$set(item, 'xcxssrqgj', '')
|
||||||
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
this.$set(item, 'sycpx', '')
|
||||||
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
this.$set(item, 'typeApplicable', '')
|
||||||
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
this.$set(item, 'nylx', '')
|
||||||
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
this.$set(item, 'zrbm', '')
|
||||||
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
this.$set(item, 'cycvppsbm', '')
|
||||||
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
this.$set(item, 'cycvppscn', '')
|
||||||
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
this.$set(item, 'kccvppsbm', '')
|
||||||
|
this.$set(item, 'kccvppscn', '')
|
||||||
|
}else {
|
||||||
|
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
|
||||||
|
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
|
||||||
|
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||||
|
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||||
|
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||||
|
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
||||||
|
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
||||||
|
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
||||||
|
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
||||||
|
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
this.drawerTotal = res.data.list.length
|
this.drawerTotal = res.data.list.length
|
||||||
}, e => {
|
}, e => {
|
||||||
@@ -1225,16 +1388,29 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
||||||
}
|
}
|
||||||
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
|
if (item.attrInfoMap === null) {
|
||||||
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
|
this.$set(item, 'zccssrqgj', '')
|
||||||
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
this.$set(item, 'xcxssrqgj', '')
|
||||||
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
this.$set(item, 'sycpx', '')
|
||||||
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
this.$set(item, 'typeApplicable', '')
|
||||||
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
this.$set(item, 'nylx', '')
|
||||||
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
this.$set(item, 'zrbm', '')
|
||||||
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
this.$set(item, 'cycvppsbm', '')
|
||||||
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
this.$set(item, 'cycvppscn', '')
|
||||||
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
this.$set(item, 'kccvppsbm', '')
|
||||||
|
this.$set(item, 'kccvppscn', '')
|
||||||
|
}else {
|
||||||
|
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
|
||||||
|
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
|
||||||
|
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||||
|
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||||
|
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||||
|
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
||||||
|
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
||||||
|
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
||||||
|
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
||||||
|
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
this.drawerTotal = res.data.list.length
|
this.drawerTotal = res.data.list.length
|
||||||
}, e => {
|
}, e => {
|
||||||
@@ -1248,16 +1424,29 @@ export default {
|
|||||||
sarAccessInfoSearchSelect (val) {
|
sarAccessInfoSearchSelect (val) {
|
||||||
this.selectedAccInfoSearchList = val
|
this.selectedAccInfoSearchList = val
|
||||||
this.selectedAccInfoSearchList.forEach(item => {
|
this.selectedAccInfoSearchList.forEach(item => {
|
||||||
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
|
if (item.attrInfoMap === null) {
|
||||||
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
|
this.$set(item, 'zccssrqgj', '')
|
||||||
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
this.$set(item, 'xcxssrqgj', '')
|
||||||
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
this.$set(item, 'sycpx', '')
|
||||||
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
this.$set(item, 'typeApplicable', '')
|
||||||
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
this.$set(item, 'nylx', '')
|
||||||
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
this.$set(item, 'zrbm', '')
|
||||||
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
this.$set(item, 'cycvppsbm', '')
|
||||||
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
this.$set(item, 'cycvppscn', '')
|
||||||
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
this.$set(item, 'kccvppsbm', '')
|
||||||
|
this.$set(item, 'kccvppscn', '')
|
||||||
|
}else {
|
||||||
|
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
|
||||||
|
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
|
||||||
|
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||||
|
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||||
|
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||||
|
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
||||||
|
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
||||||
|
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
||||||
|
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
||||||
|
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
this.selectedAccInfoSearchList.forEach(item => {
|
this.selectedAccInfoSearchList.forEach(item => {
|
||||||
// 责任部门转换
|
// 责任部门转换
|
||||||
@@ -1656,13 +1845,13 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview (item) {
|
handlePreview (data) {
|
||||||
let routerName = item.sarType === 'FOREIGN_LAWS' ? 'OtherLawsDetails' : 'OtherStandardDetails'
|
let routerName = data.standType === 'FOREIGN_LAWS' ? 'OtherLawsDetails' : 'OtherStandardDetails'
|
||||||
let routeUrl = this.$router.resolve({
|
let routeUrl = this.$router.resolve({
|
||||||
name: routerName,
|
name: routerName,
|
||||||
params: {
|
params: {
|
||||||
id: item.resId,
|
id: data.id,
|
||||||
pageType: item.sarType
|
pageType: this.sarAccessInfoSearch.dataSource
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
window.open(routeUrl.href, '_blank')
|
window.open(routeUrl.href, '_blank')
|
||||||
@@ -1771,6 +1960,29 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
||||||
}
|
}
|
||||||
|
if (item.attrInfoMap === null) {
|
||||||
|
this.$set(item, 'zccssrqgj', '')
|
||||||
|
this.$set(item, 'xcxssrqgj', '')
|
||||||
|
this.$set(item, 'sycpx', '')
|
||||||
|
this.$set(item, 'typeApplicable', '')
|
||||||
|
this.$set(item, 'nylx', '')
|
||||||
|
this.$set(item, 'zrbm', '')
|
||||||
|
this.$set(item, 'cycvppsbm', '')
|
||||||
|
this.$set(item, 'cycvppscn', '')
|
||||||
|
this.$set(item, 'kccvppsbm', '')
|
||||||
|
this.$set(item, 'kccvppscn', '')
|
||||||
|
}else {
|
||||||
|
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
|
||||||
|
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
|
||||||
|
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||||
|
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||||
|
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||||
|
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
||||||
|
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
||||||
|
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
||||||
|
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
||||||
|
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}, e => {
|
}, e => {
|
||||||
|
|
||||||
|
|||||||
+255
-55
@@ -346,7 +346,7 @@
|
|||||||
width="210px"
|
width="210px"
|
||||||
label="卡车VPPS中文名称">
|
label="卡车VPPS中文名称">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column width="150" align="center" label="操作">
|
<el-table-column width="240" align="center" label="操作">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button
|
||||||
class="common-button-default"
|
class="common-button-default"
|
||||||
@@ -360,6 +360,12 @@
|
|||||||
size="small" @click="moveDown(scope.$index, scope.row)"
|
size="small" @click="moveDown(scope.$index, scope.row)"
|
||||||
v-if="!disabledFlag"
|
v-if="!disabledFlag"
|
||||||
>下移</el-button>
|
>下移</el-button>
|
||||||
|
<el-button
|
||||||
|
size="small"
|
||||||
|
@click="editTghisRow(scope.row)"
|
||||||
|
class="common-button-default"
|
||||||
|
type="warning"
|
||||||
|
>编辑</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
@@ -396,6 +402,89 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
<el-drawer
|
||||||
|
title="编辑清单条目"
|
||||||
|
:visible.sync="drawerEdit"
|
||||||
|
:wrapperClosable="false"
|
||||||
|
size="800px"
|
||||||
|
>
|
||||||
|
<el-form :modal="editRowData" label-position="left" ref="editRowData" label-width="150px" style="margin: 20px">
|
||||||
|
<el-form-item label="标准号">
|
||||||
|
<el-input v-model.trim="editRowData.standNumber" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="标准名称" prop="standName">
|
||||||
|
<el-input v-model.trim="editRowData.standName" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="英文名称" prop="standEnName">
|
||||||
|
<el-input v-model.trim="editRowData.standEnName" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="适用车型" prop="typeApplicable">
|
||||||
|
<el-input v-model.trim="editRowData.typeApplicable" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="能源类型" prop="nylx">
|
||||||
|
<el-input v-model.trim="editRowData.nylx" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="标准实施日期" prop="putTime">
|
||||||
|
<el-date-picker
|
||||||
|
v-model.trim="editRowData.putTime"
|
||||||
|
type="date"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
|
placeholder="选择日期">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="在产车实施日期" prop="zccssrqgj">
|
||||||
|
<el-date-picker
|
||||||
|
v-model.trim="editRowData.zccssrqgj"
|
||||||
|
type="date"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
|
placeholder="选择日期">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="新车型实施日期" prop="xcxssrqgj">
|
||||||
|
<el-date-picker
|
||||||
|
v-model.trim="editRowData.xcxssrqgj"
|
||||||
|
type="date"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
|
placeholder="选择日期">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="责任部门" prop="zrbm">
|
||||||
|
<el-input v-model.trim="editRowData.zrbm" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="适用产品线" prop="sycpx">
|
||||||
|
<el-input v-model.trim="editRowData.sycpx" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="乘用车VPPS编码" prop="cycvppsbm">
|
||||||
|
<el-input v-model.trim="editRowData.cycvppsbm" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="乘用车VPPS中文名称" prop="cycvppscn">
|
||||||
|
<el-input v-model.trim="editRowData.cycvppscn" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="卡车VPPS编码" prop="kccvppsbm">
|
||||||
|
<el-input v-model.trim="editRowData.kccvppsbm" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="卡车VPPS中文名称" prop="kccvppscn">
|
||||||
|
<el-input v-model.trim="editRowData.kccvppscn" :disabled="true"/>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
<div class="demo-drawer-footer">
|
||||||
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
class="common-button-primary"
|
||||||
|
size="mini"
|
||||||
|
icon="el-icon-check"
|
||||||
|
@click="saveInfo"
|
||||||
|
>提交</el-button
|
||||||
|
>
|
||||||
|
<el-button
|
||||||
|
size="mini"
|
||||||
|
icon="el-icon-close"
|
||||||
|
class="common-button-default"
|
||||||
|
@click="cancelInfo"
|
||||||
|
>取消</el-button
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
</el-drawer>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
@@ -466,6 +555,26 @@ export default {
|
|||||||
},
|
},
|
||||||
fileInfoList: [], // 上传的附件
|
fileInfoList: [], // 上传的附件
|
||||||
uploadFileListPath: 'api/att/attFile/upload', // 上传的地址
|
uploadFileListPath: 'api/att/attFile/upload', // 上传的地址
|
||||||
|
// 编辑抽屉状态
|
||||||
|
drawerEdit: false,
|
||||||
|
// 编辑框数据
|
||||||
|
editRowData: {
|
||||||
|
id: '',
|
||||||
|
standName: '',
|
||||||
|
standSortShow:'',
|
||||||
|
standEnName: '',
|
||||||
|
typeApplicable: '',
|
||||||
|
nylx: '',
|
||||||
|
putTime: '',
|
||||||
|
zccssrqgj: '',
|
||||||
|
xcxssrqgj: '',
|
||||||
|
zrbm: '',
|
||||||
|
sycpx: '',
|
||||||
|
cycvppsbm: '',
|
||||||
|
cycvppscn: '',
|
||||||
|
kccvppsbm: '',
|
||||||
|
kccvppscn: ''
|
||||||
|
},
|
||||||
// 新增、编辑 基础信息验证条件
|
// 新增、编辑 基础信息验证条件
|
||||||
sarAccessEORules: {
|
sarAccessEORules: {
|
||||||
type: [
|
type: [
|
||||||
@@ -1024,16 +1133,16 @@ export default {
|
|||||||
this.selectedAccInfoSearchList.map(item => {
|
this.selectedAccInfoSearchList.map(item => {
|
||||||
let addList;
|
let addList;
|
||||||
addList = this.sarAccessInfoList.findIndex(items => {
|
addList = this.sarAccessInfoList.findIndex(items => {
|
||||||
return items.id == item.id
|
return items.id == item.id
|
||||||
})
|
})
|
||||||
if(addList > -1){
|
if(addList > -1){
|
||||||
this.$message.warning('请勿添加重复数据')
|
this.$message.warning('请勿添加重复数据')
|
||||||
this.$refs.accessTypeSelect.clearSelection()
|
// this.$refs.accessTypeSelect.clearSelection()
|
||||||
this.$refs.entryTable.clearSelection()
|
this.$refs.entryTable.clearSelection()
|
||||||
this.$refs.searchTable.clearSelection()
|
this.$refs.searchTable.clearSelection()
|
||||||
} else{
|
} else{
|
||||||
this.sarAccessInfoList.push(item)
|
this.sarAccessInfoList.push(item)
|
||||||
this.$refs.accessTypeSelect.clearSelection()
|
// this.$refs.accessTypeSelect.clearSelection()
|
||||||
this.$refs.entryTable.clearSelection()
|
this.$refs.entryTable.clearSelection()
|
||||||
this.$refs.searchTable.clearSelection()
|
this.$refs.searchTable.clearSelection()
|
||||||
}
|
}
|
||||||
@@ -1070,6 +1179,22 @@ export default {
|
|||||||
this.$set(this.sarAccessInfoList, index, i)
|
this.$set(this.sarAccessInfoList, index, i)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
// 编辑按钮
|
||||||
|
editTghisRow(row) {
|
||||||
|
this.rowList = row
|
||||||
|
this.editRowData = this.rowList
|
||||||
|
this.editRowData.standNumber = this.rowList.standNumber
|
||||||
|
this.drawerEdit = true
|
||||||
|
},
|
||||||
|
// 抽屉取消按钮
|
||||||
|
cancelInfo() {
|
||||||
|
this.drawerEdit = false
|
||||||
|
},
|
||||||
|
// 抽屉提交按钮
|
||||||
|
saveInfo() {
|
||||||
|
this.rowList = this.editRowData
|
||||||
|
this.drawerEdit = false
|
||||||
|
},
|
||||||
// 点击清单条目导入按钮事件
|
// 点击清单条目导入按钮事件
|
||||||
importmodalFlags () {
|
importmodalFlags () {
|
||||||
this.importmodalFlag = true
|
this.importmodalFlag = true
|
||||||
@@ -1127,12 +1252,30 @@ export default {
|
|||||||
this.$refs['sarAccessForm'].validate((valid) => {
|
this.$refs['sarAccessForm'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
let rowlist = []
|
let rowlist = []
|
||||||
|
let rowlist1 = []
|
||||||
|
let rowlist2 = []
|
||||||
|
let rowlist3 = []
|
||||||
for (let i = 0; i < this.sarAccessInfoList.length; i++) {
|
for (let i = 0; i < this.sarAccessInfoList.length; i++) {
|
||||||
rowlist.push(this.sarAccessInfoList[i].id)
|
rowlist.push(this.sarAccessInfoList[i].id)
|
||||||
|
if (this.sarAccessInfoList[i].putTime === null || this.sarAccessInfoList[i].zccssrqgj ===null || this.sarAccessInfoList[i].xcxssrqgj === null) {
|
||||||
|
rowlist1.push(this.sarAccessInfoList[i].putTime)
|
||||||
|
rowlist2.push(this.sarAccessInfoList[i].zccssrqgj)
|
||||||
|
rowlist3.push(this.sarAccessInfoList[i].xcxssrqgj)
|
||||||
|
}else {
|
||||||
|
rowlist1.push(this.sarAccessInfoList[i].putTime.toString())
|
||||||
|
rowlist2.push(this.sarAccessInfoList[i].zccssrqgj.toString())
|
||||||
|
rowlist3.push(this.sarAccessInfoList[i].xcxssrqgj.toString())
|
||||||
|
}
|
||||||
}
|
}
|
||||||
rowlist = rowlist.join(',')
|
rowlist = rowlist.join(',')
|
||||||
|
rowlist1 = rowlist1.join(',')
|
||||||
|
rowlist2 = rowlist2.join(',')
|
||||||
|
rowlist3 = rowlist3.join(',')
|
||||||
let sarAccessEO = JSON.parse(JSON.stringify(this.sarAccessEO))
|
let sarAccessEO = JSON.parse(JSON.stringify(this.sarAccessEO))
|
||||||
sarAccessEO.inforlist = JSON.stringify(rowlist)
|
sarAccessEO.inforlist = JSON.stringify(rowlist)
|
||||||
|
sarAccessEO.inforlist1 = JSON.stringify(rowlist1)
|
||||||
|
sarAccessEO.inforlist2 = JSON.stringify(rowlist2)
|
||||||
|
sarAccessEO.inforlist3 = JSON.stringify(rowlist3)
|
||||||
// sarAccessEO.countryArea = sarAccessEO.countryArea.join(',')
|
// sarAccessEO.countryArea = sarAccessEO.countryArea.join(',')
|
||||||
// sarAccessEO.applicationScope = sarAccessEO.applicationScope.join(',')
|
// sarAccessEO.applicationScope = sarAccessEO.applicationScope.join(',')
|
||||||
// 判断是否有附件
|
// 判断是否有附件
|
||||||
@@ -1151,12 +1294,16 @@ export default {
|
|||||||
_this: this,
|
_this: this,
|
||||||
loading: 'loadData'
|
loading: 'loadData'
|
||||||
}, res => {
|
}, res => {
|
||||||
if (res.ok) {
|
if (this.sarAccessInfoList.length !== 0) {
|
||||||
this.$message.success('新增成功')
|
if (res.ok) {
|
||||||
this.isNext = true
|
this.$message.success('新增成功')
|
||||||
this.$router.push({
|
this.isNext = true
|
||||||
name: 'AccessStandardsAndRegulations'
|
this.$router.push({
|
||||||
})
|
name: 'AccessStandardsAndRegulations'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}else {
|
||||||
|
this.$message.error('请选中需要添加到 清单条目 的(标准号/政策编号)')
|
||||||
}
|
}
|
||||||
}, e => {
|
}, e => {
|
||||||
})
|
})
|
||||||
@@ -1185,6 +1332,7 @@ export default {
|
|||||||
selectLawsStands () {
|
selectLawsStands () {
|
||||||
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') {
|
if (this.sarAccessInfoSearch.dataSource === 'INLAND_STAND') {
|
||||||
this.sarAccessInfoSearch.dataSource = 'INLAND_STAND'
|
this.sarAccessInfoSearch.dataSource = 'INLAND_STAND'
|
||||||
|
this.sarAccessInfoSearch.standType = ''
|
||||||
} else {
|
} else {
|
||||||
this.sarAccessInfoSearch.standType = 'FOREIGN'
|
this.sarAccessInfoSearch.standType = 'FOREIGN'
|
||||||
}
|
}
|
||||||
@@ -1196,16 +1344,29 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
||||||
}
|
}
|
||||||
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
|
if (item.attrInfoMap === null) {
|
||||||
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
|
this.$set(item, 'zccssrqgj', '')
|
||||||
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
this.$set(item, 'xcxssrqgj', '')
|
||||||
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
this.$set(item, 'sycpx', '')
|
||||||
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
this.$set(item, 'typeApplicable', '')
|
||||||
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
this.$set(item, 'nylx', '')
|
||||||
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
this.$set(item, 'zrbm', '')
|
||||||
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
this.$set(item, 'cycvppsbm', '')
|
||||||
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
this.$set(item, 'cycvppscn', '')
|
||||||
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
this.$set(item, 'kccvppsbm', '')
|
||||||
|
this.$set(item, 'kccvppscn', '')
|
||||||
|
}else {
|
||||||
|
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
|
||||||
|
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
|
||||||
|
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||||
|
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||||
|
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||||
|
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
||||||
|
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
||||||
|
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
||||||
|
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
||||||
|
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
this.drawerTotal = res.data.list.length
|
this.drawerTotal = res.data.list.length
|
||||||
}, e => {
|
}, e => {
|
||||||
@@ -1226,16 +1387,29 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
item.standNumber = item.standSortShow + ' ' + item.standNumber + '-' + item.standYear
|
||||||
}
|
}
|
||||||
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
|
if (item.attrInfoMap === null) {
|
||||||
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
|
this.$set(item, 'zccssrqgj', '')
|
||||||
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
this.$set(item, 'xcxssrqgj', '')
|
||||||
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
this.$set(item, 'sycpx', '')
|
||||||
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
this.$set(item, 'typeApplicable', '')
|
||||||
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
this.$set(item, 'nylx', '')
|
||||||
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
this.$set(item, 'zrbm', '')
|
||||||
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
this.$set(item, 'cycvppsbm', '')
|
||||||
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
this.$set(item, 'cycvppscn', '')
|
||||||
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
this.$set(item, 'kccvppsbm', '')
|
||||||
|
this.$set(item, 'kccvppscn', '')
|
||||||
|
}else {
|
||||||
|
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
|
||||||
|
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
|
||||||
|
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||||
|
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||||
|
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||||
|
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
||||||
|
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
||||||
|
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
||||||
|
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
||||||
|
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
this.drawerTotal = res.data.list.length
|
this.drawerTotal = res.data.list.length
|
||||||
}, e => {
|
}, e => {
|
||||||
@@ -1249,16 +1423,29 @@ export default {
|
|||||||
sarAccessInfoSearchSelect (val) {
|
sarAccessInfoSearchSelect (val) {
|
||||||
this.selectedAccInfoSearchList = val
|
this.selectedAccInfoSearchList = val
|
||||||
this.selectedAccInfoSearchList.forEach(item => {
|
this.selectedAccInfoSearchList.forEach(item => {
|
||||||
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
|
if (item.attrInfoMap === null) {
|
||||||
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
|
this.$set(item, 'zccssrqgj', '')
|
||||||
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
this.$set(item, 'xcxssrqgj', '')
|
||||||
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
this.$set(item, 'sycpx', '')
|
||||||
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
this.$set(item, 'typeApplicable', '')
|
||||||
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
this.$set(item, 'nylx', '')
|
||||||
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
this.$set(item, 'zrbm', '')
|
||||||
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
this.$set(item, 'cycvppsbm', '')
|
||||||
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
this.$set(item, 'cycvppscn', '')
|
||||||
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
this.$set(item, 'kccvppsbm', '')
|
||||||
|
this.$set(item, 'kccvppscn', '')
|
||||||
|
}else {
|
||||||
|
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
|
||||||
|
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
|
||||||
|
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||||
|
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||||
|
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||||
|
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
||||||
|
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
||||||
|
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
||||||
|
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
||||||
|
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
this.selectedAccInfoSearchList.forEach(item => {
|
this.selectedAccInfoSearchList.forEach(item => {
|
||||||
// 责任部门转换
|
// 责任部门转换
|
||||||
@@ -1659,13 +1846,13 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview (item) {
|
handlePreview (data) {
|
||||||
let routerName = item.sarType === 'FOREIGN_LAWS' ? 'OtherLawsDetails' : 'OtherStandardDetails'
|
let routerName = data.standType === 'FOREIGN_LAWS' ? 'OtherLawsDetails' : 'OtherStandardDetails'
|
||||||
let routeUrl = this.$router.resolve({
|
let routeUrl = this.$router.resolve({
|
||||||
name: routerName,
|
name: routerName,
|
||||||
params: {
|
params: {
|
||||||
id: item.resId,
|
id: data.id,
|
||||||
pageType: item.sarType
|
pageType: this.sarAccessInfoSearch.dataSource
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
window.open(routeUrl.href, '_blank')
|
window.open(routeUrl.href, '_blank')
|
||||||
@@ -1776,16 +1963,29 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
this.sarAccessInfoSearchList.forEach(item => {
|
this.sarAccessInfoSearchList.forEach(item => {
|
||||||
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
|
if (item.attrInfoMap === null) {
|
||||||
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
|
this.$set(item, 'zccssrqgj', '')
|
||||||
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
this.$set(item, 'xcxssrqgj', '')
|
||||||
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
this.$set(item, 'sycpx', '')
|
||||||
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
this.$set(item, 'typeApplicable', '')
|
||||||
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
this.$set(item, 'nylx', '')
|
||||||
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
this.$set(item, 'zrbm', '')
|
||||||
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
this.$set(item, 'cycvppsbm', '')
|
||||||
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
this.$set(item, 'cycvppscn', '')
|
||||||
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
this.$set(item, 'kccvppsbm', '')
|
||||||
|
this.$set(item, 'kccvppscn', '')
|
||||||
|
}else {
|
||||||
|
this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
|
||||||
|
this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
|
||||||
|
this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
|
||||||
|
this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
|
||||||
|
this.$set(item, 'nylx', item.attrInfoMap.NYLX)
|
||||||
|
this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
|
||||||
|
this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
|
||||||
|
this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
|
||||||
|
this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
|
||||||
|
this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}, e => {
|
}, e => {
|
||||||
|
|
||||||
|
|||||||
@@ -3363,8 +3363,8 @@ export default {
|
|||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
this.personCollect.collectType = 'INLAND_STAND'
|
this.personCollect.collectType = 'INLAND_STAND'
|
||||||
this.personCollect.id = this.id
|
this.personCollect.id = this.collectId
|
||||||
this.personCollect.collectResId = this.collectId
|
this.personCollect.collectResId = this.id
|
||||||
this.personCollect.collectTitle = this.sarStandardsInfoEO.standName + '(编号:'+this.sarStandardsInfoEO.standSort + this.sarStandardsInfoEO.standNumber + this.sarStandardsInfoEO.standYear +')'
|
this.personCollect.collectTitle = this.sarStandardsInfoEO.standName + '(编号:'+this.sarStandardsInfoEO.standSort + this.sarStandardsInfoEO.standNumber + this.sarStandardsInfoEO.standYear +')'
|
||||||
this.personCollect.userId = this.$store.getters.userInfo.userId
|
this.personCollect.userId = this.$store.getters.userInfo.userId
|
||||||
this.$http.putData('person/personCollect/updatePersonCollect', this.personCollect, {
|
this.$http.putData('person/personCollect/updatePersonCollect', this.personCollect, {
|
||||||
|
|||||||
@@ -263,9 +263,73 @@
|
|||||||
<el-button type="primary" size="mini" class="common-button-primary" icon="el-icon-check" @click="exportTestItem">提交</el-button>
|
<el-button type="primary" size="mini" class="common-button-primary" icon="el-icon-check" @click="exportTestItem">提交</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<table-tools-bar v-model="isAdvancedSearch" @search="getDomesticStandardTableBtn(sarStandardsSearch)"
|
<!-- <table-tools-bar v-model="isAdvancedSearch" @search="getDomesticStandardTableBtn(sarStandardsSearch)"-->
|
||||||
@reset="clearAllSearch('sarStandardsSearch')">
|
<!-- @reset="clearAllSearch('sarStandardsSearch')">-->
|
||||||
<div slot="content">
|
<!-- <div slot="content">-->
|
||||||
|
<!-- <el-form :model="sarStandardsSearch" :inline="true" class="label-input-form table-lattice" style="display: flex;flex-wrap: wrap">-->
|
||||||
|
<!-- <!– 标准号–>-->
|
||||||
|
<!-- <el-form-item :label="$t('m.standardNo')" class="serch-form-item">-->
|
||||||
|
<!-- <el-input v-model="sarStandardsSearch.standNumber" :placeholder="$t('m.lookUpByStandardNumber')" clearable :maxlength="100"-->
|
||||||
|
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input>-->
|
||||||
|
<!-- </el-form-item>-->
|
||||||
|
<!-- <!– 标准名称–>-->
|
||||||
|
<!-- <el-form-item :label="$t('m.standName')" class="serch-form-item">-->
|
||||||
|
<!-- <el-input v-model="sarStandardsSearch.standName" :placeholder="$t('m.searchByStandardName')" clearable :maxlength="500"-->
|
||||||
|
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input>-->
|
||||||
|
<!-- </el-form-item>-->
|
||||||
|
<!-- <!– 标准类别–>-->
|
||||||
|
<!-- <el-form-item :label="$t('m.standardCategory')" class="serch-form-item">-->
|
||||||
|
<!-- <search-select-->
|
||||||
|
<!-- v-model="sarStandardsSearch.standSort"-->
|
||||||
|
<!-- :placeholder="$t('m.standardCategoryTips')"-->
|
||||||
|
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"-->
|
||||||
|
<!-- :options="standSortOptions"-->
|
||||||
|
<!-- clearable/>-->
|
||||||
|
<!-- </el-form-item>-->
|
||||||
|
<!-- <!– 文本状态–>-->
|
||||||
|
<!-- <el-form-item :label="$t('m.standStateShow')" class="serch-form-item">-->
|
||||||
|
<!-- <el-select v-model="sarStandardsSearch.textStatus" :placeholder="$t('m.lookupByStandardStatus')" clearable-->
|
||||||
|
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">-->
|
||||||
|
<!-- <el-option v-for="opt in standStateOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>-->
|
||||||
|
<!-- </el-select>-->
|
||||||
|
<!-- </el-form-item>-->
|
||||||
|
<!-- <!– 代替标准号–>-->
|
||||||
|
<!-- <el-form-item :label="$t('m.substituteStandardNumber')" class="serch-form-item">-->
|
||||||
|
<!-- <el-input v-model="sarStandardsSearch.dtbjh" :placeholder="$t('m.lookUpByAlternativeCriteria')" clearable :maxlength="100"-->
|
||||||
|
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input>-->
|
||||||
|
<!-- </el-form-item>-->
|
||||||
|
<!-- <!– 适用车型–>-->
|
||||||
|
<!-- <el-form-item :label="$t('m.applicableModels')" class="serch-form-item">-->
|
||||||
|
<!-- <el-select v-model="sarStandardsSearch.cllx" :placeholder="$t('m.searchAccordingToThApplicableModel')" clearable-->
|
||||||
|
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">-->
|
||||||
|
<!-- <el-option v-for="opt in applyArcticOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>-->
|
||||||
|
<!-- </el-select>-->
|
||||||
|
<!-- </el-form-item>-->
|
||||||
|
<!-- <!– 适用产品线(新增字段)–>-->
|
||||||
|
<!-- <el-form-item :label="$t('m.applicableProductLine')" class="serch-form-item">-->
|
||||||
|
<!-- <el-select v-model="sarStandardsSearch.nylx" :placeholder="$t('m.searchByApplicableProductLine')" clearable-->
|
||||||
|
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">-->
|
||||||
|
<!-- <el-option v-for="opt in categoryOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>-->
|
||||||
|
<!-- </el-select>-->
|
||||||
|
<!-- </el-form-item>-->
|
||||||
|
<!-- <!– 关联模块(新增字段)–>-->
|
||||||
|
<!-- <el-form-item :label="$t('m.associatedModule')" class="serch-form-item">-->
|
||||||
|
<!-- <el-select v-model="sarStandardsSearch.cycvppsbm" :placeholder="$t('m.SearchByAssociatedModule')" clearable-->
|
||||||
|
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">-->
|
||||||
|
<!-- <el-option v-for="opt in standNatureOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}-->
|
||||||
|
<!-- </el-option>-->
|
||||||
|
<!-- </el-select>-->
|
||||||
|
<!-- </el-form-item>-->
|
||||||
|
<!-- </el-form>-->
|
||||||
|
<!-- </div>-->
|
||||||
|
<!-- </table-tools-bar>-->
|
||||||
|
<!-- 高级筛选-->
|
||||||
|
<el-drawer
|
||||||
|
title="高级搜索"
|
||||||
|
size="700px"
|
||||||
|
:wrapperClosable="false"
|
||||||
|
:visible.sync="isAdvancedSearch">
|
||||||
|
<div class="demo-drawer-content">
|
||||||
<el-form :model="sarStandardsSearch" :inline="true" class="label-input-form table-lattice" style="display: flex;flex-wrap: wrap">
|
<el-form :model="sarStandardsSearch" :inline="true" class="label-input-form table-lattice" style="display: flex;flex-wrap: wrap">
|
||||||
<!-- 标准号-->
|
<!-- 标准号-->
|
||||||
<el-form-item :label="$t('m.standardNo')" class="serch-form-item">
|
<el-form-item :label="$t('m.standardNo')" class="serch-form-item">
|
||||||
@@ -277,14 +341,19 @@
|
|||||||
<el-input v-model="sarStandardsSearch.standName" :placeholder="$t('m.searchByStandardName')" clearable :maxlength="500"
|
<el-input v-model="sarStandardsSearch.standName" :placeholder="$t('m.searchByStandardName')" clearable :maxlength="500"
|
||||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input>
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<!-- 标准英文名称-->
|
||||||
|
<el-form-item :label="$t('m.standardEnglishName')" class="serch-form-item">
|
||||||
|
<el-input v-model="sarStandardsSearch.standEnName" :placeholder="$t('m.searchAccordingToStandardEnglishName')" clearable :maxlength="500"
|
||||||
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input>
|
||||||
|
</el-form-item>
|
||||||
<!-- 标准类别-->
|
<!-- 标准类别-->
|
||||||
<el-form-item :label="$t('m.standardCategory')" class="serch-form-item">
|
<el-form-item :label="$t('m.standardCategory')" class="serch-form-item">
|
||||||
<search-select
|
<search-select
|
||||||
v-model="sarStandardsSearch.standSort"
|
v-model="sarStandardsSearch.standSort"
|
||||||
:placeholder="$t('m.standardCategoryTips')"
|
:placeholder="$t('m.standardCategoryTips')"
|
||||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"
|
||||||
:options="standSortOptions"
|
:options="standSortOptions"
|
||||||
clearable/>
|
clearable/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 文本状态-->
|
<!-- 文本状态-->
|
||||||
<el-form-item :label="$t('m.standStateShow')" class="serch-form-item">
|
<el-form-item :label="$t('m.standStateShow')" class="serch-form-item">
|
||||||
@@ -298,20 +367,161 @@
|
|||||||
<el-input v-model="sarStandardsSearch.dtbjh" :placeholder="$t('m.lookUpByAlternativeCriteria')" clearable :maxlength="100"
|
<el-input v-model="sarStandardsSearch.dtbjh" :placeholder="$t('m.lookUpByAlternativeCriteria')" clearable :maxlength="100"
|
||||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input>
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<!-- 标准年份-->
|
||||||
|
<el-form-item :label="$t('m.standardYear')" class="serch-form-item">
|
||||||
|
<el-date-picker
|
||||||
|
v-model="sarStandardsSearch.standYear"
|
||||||
|
type="date"
|
||||||
|
placeholder="根据标准年份查找">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<!-- 标准发布日期-->
|
||||||
|
<el-form-item label="标准发布日期" class="serch-form-item">
|
||||||
|
<el-date-picker
|
||||||
|
v-model="sarStandardsSearch.issueTime"
|
||||||
|
type="date"
|
||||||
|
placeholder="根据标准发布日期查找">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<!-- 标准性质-->
|
||||||
|
<el-form-item :label="$t('m.standNatureShow')" class="serch-form-item">
|
||||||
|
<el-select v-model="sarStandardsSearch.standNature" placeholder="请选择标准性质" clearable
|
||||||
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||||
|
<el-option v-for="opt in standNatureOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<!-- 是否纳入标准清单-->
|
||||||
|
<el-form-item title="是否纳入标准清单" label="是否纳入标准清单">
|
||||||
|
<el-select v-model="sarStandardsSearch.isRelateAccess" class="advanced-one" placeholder="根据是否纳入标准清单查找">
|
||||||
|
<el-option value="yes" label="是"></el-option>
|
||||||
|
<el-option value="no" label="否"></el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<!-- 实施日期-->
|
||||||
|
<el-form-item label="实施日期">
|
||||||
|
<el-date-picker
|
||||||
|
v-model="sarStandardsSearch.putTime"
|
||||||
|
type="date"
|
||||||
|
placeholder="根据实施日期查找">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<!-- 新车型实施日期-->
|
||||||
|
<el-form-item title="新车型实施日期" label="新车型实施日期">
|
||||||
|
<el-date-picker
|
||||||
|
v-model="sarStandardsSearch.XCXTime"
|
||||||
|
type="date"
|
||||||
|
placeholder="根据新车型实施日期查找">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<!-- 在产车实施日期-->
|
||||||
|
<el-form-item title="在产车实施日期" label="在产车实施日期">
|
||||||
|
<el-date-picker
|
||||||
|
v-model="sarStandardsSearch.ZCCTime"
|
||||||
|
type="date"
|
||||||
|
placeholder="根据在产车实施日期查找">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<!-- 归口管理部门-->
|
||||||
|
<el-form-item label="归口管理部门">
|
||||||
|
<el-input v-model="sarStandardsSearch.nameShow" clearable placeholder="根据归口管理部门查找"
|
||||||
|
@keyup.enter.native="btnSearch"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<!-- 起草单位-->
|
||||||
|
<el-form-item label="起草单位">
|
||||||
|
<el-select v-model="sarStandardsSearch.qcdw" placeholder="根据起草单位查找" clearable
|
||||||
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||||
|
<el-option v-for="opt in qcdwOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<!-- 我司参与深度-->
|
||||||
|
<el-form-item label="我司参与深度">
|
||||||
|
<el-select v-model="sarStandardsSearch.nameShow" placeholder="请选择我司参与深度" clearable
|
||||||
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||||
|
<el-option v-for="opt in cysdOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
|
||||||
|
<!-- 能源类型-->
|
||||||
|
<el-form-item label="能源类型">
|
||||||
|
<el-select v-model="sarStandardsSearch.energyKind" placeholder="请选择能源类型" clearable
|
||||||
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||||
|
<el-option v-for="opt in nylxOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
<!-- 适用车型-->
|
<!-- 适用车型-->
|
||||||
<el-form-item :label="$t('m.applicableModels')" class="serch-form-item">
|
<el-form-item :label="$t('m.applicableModels')" class="serch-form-item">
|
||||||
<el-select v-model="sarStandardsSearch.cllx" :placeholder="$t('m.searchAccordingToThApplicableModel')" clearable
|
<el-select v-model="sarStandardsSearch.applyArctic" :placeholder="$t('m.searchAccordingToThApplicableModel')" clearable
|
||||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||||
<el-option v-for="opt in applyArcticOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
<el-option v-for="opt in applyArcticOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 适用产品线(新增字段)-->
|
<!-- 适用产品线(新增字段)-->
|
||||||
<el-form-item :label="$t('m.applicableProductLine')" class="serch-form-item">
|
<el-form-item :label="$t('m.applicableProductLine')" class="serch-form-item">
|
||||||
<el-select v-model="sarStandardsSearch.nylx" :placeholder="$t('m.searchByApplicableProductLine')" clearable
|
<el-select v-model="sarStandardsSearch.sycpx" :placeholder="$t('m.searchByApplicableProductLine')" clearable
|
||||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||||
<el-option v-for="opt in categoryOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
<el-option v-for="opt in sycpxOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<!-- 适用认证-->
|
||||||
|
<el-form-item label="适用认证">
|
||||||
|
<el-select v-model="sarStandardsSearch.syzr" placeholder="根据适用认证查找" clearable
|
||||||
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||||
|
<el-option v-for="opt in syzrOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<!-- 责任部门-->
|
||||||
|
<el-form-item label="责任部门">
|
||||||
|
<el-select v-model="sarStandardsSearch.zrbm" placeholder="根据责任部门查找" clearable
|
||||||
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||||
|
<el-option v-for="opt in zrbmOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<!-- 责任工程师-->
|
||||||
|
<el-form-item label="责任工程师">
|
||||||
|
<el-select v-model="sarStandardsSearch.dutyEngineer" placeholder="根据责任工程师查找" clearable
|
||||||
|
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||||
|
<el-option v-for="opt in zrgcsOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}</el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<!-- 关联模块-VPPS编码-->
|
||||||
|
<el-form-item title="关联模块-VPPS编码" label="关联模块-VPPS编码" prop="standNumber">
|
||||||
|
<el-input v-model="sarStandardsSearch.svpps" clearable
|
||||||
|
placeholder="根据关联模块-VPPS编码查找"
|
||||||
|
@keyup.enter.native="btnSearch"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<!-- 代替标准号-->
|
||||||
|
<el-form-item label="代替标准号">
|
||||||
|
<el-input v-model="sarStandardsSearch.replaceStandNum" clearable placeholder="根据代替标准号查找"
|
||||||
|
@keyup.enter.native="btnSearch"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<!-- 关联模块-中文名称-->
|
||||||
|
<el-form-item title="关联模块-中文名称" label="关联模块-中文名称" prop="standNumber">
|
||||||
|
<el-input v-model="sarStandardsSearch.standNumber" clearable
|
||||||
|
placeholder="根据关联模块-中文名称"
|
||||||
|
@keyup.enter.native="btnSearch"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<!-- 采标编号-->
|
||||||
|
<el-form-item label="采标编号" prop="nameShow">
|
||||||
|
<el-input v-model="sarStandardsSearch.nameShow" clearable placeholder="根据采标编号查找"
|
||||||
|
@keyup.enter.native="btnSearch"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<!-- 采标程度-->
|
||||||
|
<el-form-item label="采标程度" prop="standNumber">
|
||||||
|
<el-input v-model="sarStandardsSearch.standNumber" clearable
|
||||||
|
placeholder="根据采标程度查找"
|
||||||
|
@keyup.enter.native="btnSearch"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<!-- 引用标准-->
|
||||||
|
<el-form-item label="引用标准">
|
||||||
|
<el-input v-model="sarStandardsSearch.citeStand" clearable placeholder="根据引用标准查找"
|
||||||
|
@keyup.enter.native="btnSearch"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<!-- 被引用标准-->
|
||||||
|
<el-form-item label="被引用标准">
|
||||||
|
<el-input v-model="sarStandardsSearch.citedStand" clearable
|
||||||
|
placeholder="根据被引用标准查找"
|
||||||
|
@keyup.enter.native="btnSearch"></el-input>
|
||||||
|
</el-form-item>
|
||||||
<!-- 关联模块(新增字段)-->
|
<!-- 关联模块(新增字段)-->
|
||||||
<el-form-item :label="$t('m.associatedModule')" class="serch-form-item">
|
<el-form-item :label="$t('m.associatedModule')" class="serch-form-item">
|
||||||
<el-select v-model="sarStandardsSearch.cycvppsbm" :placeholder="$t('m.SearchByAssociatedModule')" clearable
|
<el-select v-model="sarStandardsSearch.cycvppsbm" :placeholder="$t('m.SearchByAssociatedModule')" clearable
|
||||||
@@ -322,7 +532,18 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
</table-tools-bar>
|
<div class="demo-drawer-footer">
|
||||||
|
<el-button
|
||||||
|
class="common-button-primary"
|
||||||
|
icon="el-icon-check"
|
||||||
|
type="primary"
|
||||||
|
@click="getDomesticStandardTableBtn(sarStandardsSearch)">搜索</el-button>
|
||||||
|
<el-button
|
||||||
|
class="common-button-default"
|
||||||
|
icon="el-icon-close"
|
||||||
|
@click="clearAllSearch('sarStandardsSearch')">取消</el-button>
|
||||||
|
</div>
|
||||||
|
</el-drawer>
|
||||||
<!-- 新增海外标准 -->
|
<!-- 新增海外标准 -->
|
||||||
<el-drawer
|
<el-drawer
|
||||||
:title="modalshowtitle"
|
:title="modalshowtitle"
|
||||||
@@ -4362,6 +4583,9 @@ export default {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
margin-top: 6px;
|
margin-top: 6px;
|
||||||
background: #F9F9F9;
|
background: #F9F9F9;
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
|
text-overflow: ellipsis
|
||||||
}
|
}
|
||||||
/deep/.el-input__inner {
|
/deep/.el-input__inner {
|
||||||
height: 30px;
|
height: 30px;
|
||||||
@@ -4369,6 +4593,9 @@ export default {
|
|||||||
border-radius: 0 !important;
|
border-radius: 0 !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.el-date-editor.el-input, .el-date-editor.el-input__inner{
|
||||||
|
width: 190px
|
||||||
|
}
|
||||||
.classDisplay{
|
.classDisplay{
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|||||||
+12
-2
@@ -138,7 +138,7 @@
|
|||||||
ref="multipleTable"
|
ref="multipleTable"
|
||||||
:data="sarProStateListDatas"
|
:data="sarProStateListDatas"
|
||||||
tooltip-effect="dark"
|
tooltip-effect="dark"
|
||||||
style="width: 100%"
|
style="width: 100%;"
|
||||||
border
|
border
|
||||||
:height="sarProStateTableHeight"
|
:height="sarProStateTableHeight"
|
||||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||||
@@ -157,7 +157,7 @@
|
|||||||
<el-table-column
|
<el-table-column
|
||||||
width="150px"
|
width="150px"
|
||||||
align="center"
|
align="center"
|
||||||
prop="standNumber"
|
prop="productId"
|
||||||
label="项目编号">
|
label="项目编号">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -345,6 +345,7 @@ export default {
|
|||||||
this.querySarProStateZero()
|
this.querySarProStateZero()
|
||||||
}, // 查看项目符合性
|
}, // 查看项目符合性
|
||||||
querySarProStateZero () {
|
querySarProStateZero () {
|
||||||
|
this.sarProStateTotalPage = 1
|
||||||
var form = this.sarProStateEO
|
var form = this.sarProStateEO
|
||||||
// form.standId = this.standId
|
// form.standId = this.standId
|
||||||
form.current = this.sarProStateTotalPage
|
form.current = this.sarProStateTotalPage
|
||||||
@@ -354,6 +355,13 @@ export default {
|
|||||||
loading: 'loading'
|
loading: 'loading'
|
||||||
}, res => {
|
}, res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
|
res.data.records.forEach((item)=>{
|
||||||
|
for(let key in item){
|
||||||
|
if(item[key] == null){
|
||||||
|
item[key]='无'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
this.sarProStateListDatas = res.data.records
|
this.sarProStateListDatas = res.data.records
|
||||||
this.sarProStateTotal = res.data.total
|
this.sarProStateTotal = res.data.total
|
||||||
}
|
}
|
||||||
@@ -385,8 +393,10 @@ export default {
|
|||||||
mounted () {
|
mounted () {
|
||||||
this.queryStandAndLaws()
|
this.queryStandAndLaws()
|
||||||
this.tableHeight = $('.regulatory-repository').height() - 159
|
this.tableHeight = $('.regulatory-repository').height() - 159
|
||||||
|
this.sarProStateTableHeight=$('.regulatory-repository').height() -120
|
||||||
window.onresize = () => {
|
window.onresize = () => {
|
||||||
this.tableHeight = $('.regulatory-repository').height() - 159
|
this.tableHeight = $('.regulatory-repository').height() - 159
|
||||||
|
this.sarProStateTableHeight=$('.regulatory-repository').height() - 120
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,16 +19,17 @@
|
|||||||
</p>
|
</p>
|
||||||
<p class="transition-box-p">
|
<p class="transition-box-p">
|
||||||
<label class="transition-box-label">上传时间:</label>
|
<label class="transition-box-label">上传时间:</label>
|
||||||
|
<span class="transition-box-span">{{ this.$route.query.item.endTime || '-' }}</span>
|
||||||
|
</p>
|
||||||
|
<p class="transition-box-p">
|
||||||
|
<label class="transition-box-label">征求意见周期:</label>
|
||||||
<span class="transition-box-span" v-if="this.$route.query.item.startTime && this.$route.query.item.endTime">{{ this.$route.query.item.startTime + ' ~ ' + this.$route.query.item.endTime}}</span>
|
<span class="transition-box-span" v-if="this.$route.query.item.startTime && this.$route.query.item.endTime">{{ this.$route.query.item.startTime + ' ~ ' + this.$route.query.item.endTime}}</span>
|
||||||
<span class="transition-box-span">-</span>
|
<span class="transition-box-span" v-else>-</span>
|
||||||
</p> <p class="transition-box-p">
|
</p>
|
||||||
<label class="transition-box-label">征求意见周期:</label>
|
|
||||||
<span class="transition-box-span">{{ this.$route.query.item.endTime || '-' }}</span>
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
</transition>
|
</transition>
|
||||||
<div class="effect">
|
<div class="effect">
|
||||||
<el-button type="primary" class="common-button-primary" size="mini" @click="selectStandardPro('add')">添加</el-button>
|
<el-button v-if="ideaKey" type="primary" class="common-button-primary" size="mini" @click="selectStandardPro('add')">添加</el-button>
|
||||||
<el-button type="primary" class="common-button-primary" size="mini" @click="exportAll">导出</el-button>
|
<el-button type="primary" class="common-button-primary" size="mini" @click="exportAll">导出</el-button>
|
||||||
</div>
|
</div>
|
||||||
<div class="container" style="position:relative;">
|
<div class="container" style="position:relative;">
|
||||||
@@ -64,7 +65,7 @@
|
|||||||
label="提出人"
|
label="提出人"
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" align="center" width="50" fixed="right">
|
<el-table-column label="操作" align="center" width="50" fixed="right" v-if="ideaKey">
|
||||||
<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">
|
||||||
@@ -146,7 +147,9 @@ export default {
|
|||||||
page: 1,
|
page: 1,
|
||||||
size: this.$store.getters.userInfo.configContent,
|
size: this.$store.getters.userInfo.configContent,
|
||||||
userId: this.$store.getters.userInfo.userId,
|
userId: this.$store.getters.userInfo.userId,
|
||||||
} // 详情数据
|
endTime: this.$route.query.item.endTime
|
||||||
|
}, // 详情数据
|
||||||
|
ideaKey: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -162,6 +165,13 @@ export default {
|
|||||||
this.standinfoList = res.data.records
|
this.standinfoList = res.data.records
|
||||||
this.total = res.data.total
|
this.total = res.data.total
|
||||||
this.spinShow = false
|
this.spinShow = false
|
||||||
|
res.data.records.forEach(item => {
|
||||||
|
if (item.ideaKey == 1) {
|
||||||
|
this.ideaKey = false
|
||||||
|
} else {
|
||||||
|
this.ideaKey = true
|
||||||
|
}
|
||||||
|
})
|
||||||
}, e => {
|
}, e => {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -4,12 +4,9 @@
|
|||||||
* @date: 2018-09-04 17:47:46
|
* @date: 2018-09-04 17:47:46
|
||||||
*/
|
*/
|
||||||
// 服务器地址
|
// 服务器地址
|
||||||
// const devIp = '39.98.140.126'
|
// const devIp = '10.96.10.171'
|
||||||
// const devInterfacePORT = '10005'
|
// const devInterfacePORT = '9999'
|
||||||
// const devIp = '192.168.10.248'
|
const devIp = '192.168.1.145'
|
||||||
// const devIp = '101.36.227.25'
|
|
||||||
// const devInterfacePORT = '8038'
|
|
||||||
const devIp = '10.96.170.156'
|
|
||||||
const devInterfacePORT = '9999'
|
const devInterfacePORT = '9999'
|
||||||
// 云端端口号
|
// 云端端口号
|
||||||
const DEV_CLOUD_RES_INTERFACE_PORT = '7777'
|
const DEV_CLOUD_RES_INTERFACE_PORT = '7777'
|
||||||
|
|||||||
Reference in New Issue
Block a user