Merge branch 'develop' into 'FOTON'
Develop See merge request LAWS/laws-system-front-FOTON!231
This commit is contained in:
@@ -681,3 +681,11 @@ export function getStandInfoById (data) {
|
||||
params: data
|
||||
})
|
||||
}
|
||||
// 标准法规工作组接口
|
||||
export function workGroup(data) {
|
||||
return axios({
|
||||
url: 'api/wg_work_group/researchData',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
|
||||
@@ -3235,41 +3235,41 @@ export default {
|
||||
}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
displayLocation.map(item => {
|
||||
if (item.value === '2URVBGR2Y4UG77KZ5YPL') {
|
||||
item.child.forEach(items =>{
|
||||
let accessCountry = JSON.parse(sessionStorage.getItem("accessCountry"));
|
||||
if (accessCountry.country === undefined) {
|
||||
accessCountry.country = '文本'
|
||||
}
|
||||
if(items.attrField === 'SSRQ') {
|
||||
items.attrName = '实施日期' + '(' + accessCountry.country + ')' + ':'
|
||||
if (accessCountry.ssrq !== undefined) {
|
||||
item.value = accessCountry.ssrq
|
||||
}
|
||||
} else if (items.attrField === 'ZCCSSRQ') {
|
||||
items.attrName = '在产车实施日期' + '(' + accessCountry.country + ')' + ':'
|
||||
if (accessCountry.zccssrqgj !== undefined) {
|
||||
item.value = accessCountry.zccssrqgj
|
||||
}
|
||||
} else if(items.attrField === 'XCXSSRQ') {
|
||||
items.attrName = '新车型实施日期' + '(' + accessCountry.country + ')' + ':'
|
||||
if (accessCountry.xcxssrqgj !== undefined) {
|
||||
item.value = accessCountry.xcxssrqgj
|
||||
}
|
||||
|
||||
}
|
||||
})
|
||||
for (let key in res.data) {
|
||||
item.one.push({
|
||||
attrName: key,
|
||||
value: res.data[key].join(','),
|
||||
isShowImp: '0',
|
||||
id: key
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
// displayLocation.map(item => {
|
||||
// if (item.value === '2URVBGR2Y4UG77KZ5YPL') {
|
||||
// item.child.forEach(items =>{
|
||||
// let accessCountry = JSON.parse(sessionStorage.getItem("accessCountry"));
|
||||
// if (accessCountry.country === undefined) {
|
||||
// accessCountry.country = '文本'
|
||||
// }
|
||||
// if(items.attrField === 'SSRQ') {
|
||||
// items.attrName = '实施日期' + '(' + accessCountry.country + ')' + ':'
|
||||
// if (accessCountry.ssrq !== undefined) {
|
||||
// item.value = accessCountry.ssrq
|
||||
// }
|
||||
// } else if (items.attrField === 'ZCCSSRQ') {
|
||||
// items.attrName = '在产车实施日期' + '(' + accessCountry.country + ')' + ':'
|
||||
// if (accessCountry.zccssrqgj !== undefined) {
|
||||
// item.value = accessCountry.zccssrqgj
|
||||
// }
|
||||
// } else if(items.attrField === 'XCXSSRQ') {
|
||||
// items.attrName = '新车型实施日期' + '(' + accessCountry.country + ')' + ':'
|
||||
// if (accessCountry.xcxssrqgj !== undefined) {
|
||||
// item.value = accessCountry.xcxssrqgj
|
||||
// }
|
||||
//
|
||||
// }
|
||||
// })
|
||||
// for (let key in res.data) {
|
||||
// item.one.push({
|
||||
// attrName: key,
|
||||
// value: res.data[key].join(','),
|
||||
// isShowImp: '0',
|
||||
// id: key
|
||||
// })
|
||||
// }
|
||||
// }
|
||||
// })
|
||||
this.dynamicFormField = displayLocation
|
||||
})
|
||||
sessionStorage.setItem('displayLocation', JSON.stringify(displayLocation))
|
||||
|
||||
@@ -236,7 +236,7 @@
|
||||
:action="fileUrl"
|
||||
ref="importfile"
|
||||
name="file"
|
||||
accept=".ZIP, .zip, .docx, .DOCX, .xls, .xlsx"
|
||||
accept=".ZIP, .zip, .docx, .DOCX, .xls, .xlsx, .pdf, .PDF"
|
||||
:before-upload="beginImportFile"
|
||||
:on-success="importFileSuccess2"
|
||||
:on-remove="importFileRemove2"
|
||||
@@ -442,7 +442,7 @@
|
||||
var fileSuffix = filename.substring(index1, index2)
|
||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||
// 判断上传文件格式
|
||||
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
||||
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx' || fileSuffix === '.XLS' || fileSuffix === '.XLSX' || fileSuffix === '.pdf' || fileSuffix === '.PDF') {
|
||||
return true
|
||||
} else {
|
||||
this.spinShow = false
|
||||
|
||||
@@ -237,7 +237,7 @@
|
||||
:action="fileUrl"
|
||||
ref="importfile"
|
||||
name="file"
|
||||
accept=".ZIP, .zip, .docx, .DOCX, .xls, .xlsx"
|
||||
accept=".ZIP, .zip, .docx, .DOCX, .xls, .xlsx, .pdf, .PDF"
|
||||
:before-upload="beginImportFile"
|
||||
:on-success="importFileSuccess2"
|
||||
:on-remove="importFileRemove2"
|
||||
@@ -434,10 +434,10 @@ export default {
|
||||
var fileSuffix = filename.substring(index1, index2)
|
||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||
// 判断上传文件格式
|
||||
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx' || fileSuffix === '.XLS' || fileSuffix === '.XLSX') {
|
||||
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx' || fileSuffix === '.XLS' || fileSuffix === '.XLSX' || fileSuffix === '.pdf' || fileSuffix === '.PDF') {
|
||||
return true
|
||||
} else {
|
||||
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS文件')
|
||||
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS,PDF文件')
|
||||
return false
|
||||
}
|
||||
// 判断文件上传大小
|
||||
|
||||
@@ -230,7 +230,7 @@
|
||||
:action="fileUrl"
|
||||
ref="importfile"
|
||||
name="file"
|
||||
accept=".ZIP, .zip, .docx, .DOCX, .xls, .xlsx"
|
||||
accept=".ZIP, .zip, .docx, .DOCX, .xls, .xlsx, .pdf, .PDF"
|
||||
:before-upload="beginImportFile"
|
||||
:on-success="importFileSuccess"
|
||||
:show-file-list="true"
|
||||
@@ -408,11 +408,11 @@
|
||||
var fileSuffix = filename.substring(index1, index2)
|
||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||
// 判断上传文件格式
|
||||
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
||||
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx' || fileSuffix === '.XLS' || fileSuffix === '.XLSX' || fileSuffix === '.pdf' || fileSuffix === '.PDF') {
|
||||
return true
|
||||
} else {
|
||||
this.spinShow = false
|
||||
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS文件')
|
||||
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS,PDF文件')
|
||||
return false
|
||||
}
|
||||
// 判断文件上传大小
|
||||
|
||||
@@ -209,7 +209,7 @@
|
||||
:action="fileUrl"
|
||||
ref="importfile"
|
||||
name="file"
|
||||
accept=".ZIP, .zip, .docx, .DOCX, .xls, .xlsx"
|
||||
accept=".ZIP, .zip, .docx, .DOCX, .xls, .xlsx, .pdf, .PDF"
|
||||
:before-upload="beginImportFile"
|
||||
:on-success="importFileSuccess"
|
||||
:show-file-list="true"
|
||||
@@ -320,11 +320,11 @@
|
||||
var fileSuffix = filename.substring(index1, index2)
|
||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||
// 判断上传文件格式
|
||||
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
||||
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx' || fileSuffix === '.XLS' || fileSuffix === '.XLSX' || fileSuffix === '.pdf' || fileSuffix === '.PDF') {
|
||||
return true
|
||||
} else {
|
||||
this.spinShow = false
|
||||
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS文件')
|
||||
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS,PDF文件')
|
||||
return false
|
||||
}
|
||||
// 判断文件上传大小
|
||||
|
||||
@@ -199,7 +199,7 @@
|
||||
:action="fileUrl"
|
||||
ref="importfile"
|
||||
name="file"
|
||||
accept=".ZIP, .zip, .docx, .DOCX, .xls, .xlsx"
|
||||
accept=".ZIP, .zip, .docx, .DOCX, .xls, .xlsx, .pdf, .PDF"
|
||||
:before-upload="beginImportFile"
|
||||
:on-success="importFileSuccess"
|
||||
:show-file-list="false"
|
||||
@@ -311,11 +311,11 @@
|
||||
var fileSuffix = filename.substring(index1, index2)
|
||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||
// 判断上传文件格式
|
||||
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
||||
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx' || fileSuffix === '.XLS' || fileSuffix === '.XLSX' || fileSuffix === '.pdf' || fileSuffix === '.PDF') {
|
||||
return true
|
||||
} else {
|
||||
this.spinShow = false
|
||||
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS文件')
|
||||
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS,PDF文件')
|
||||
return false
|
||||
}
|
||||
// 判断文件上传大小
|
||||
|
||||
@@ -199,7 +199,7 @@
|
||||
:action="fileUrl"
|
||||
ref="importfile"
|
||||
name="file"
|
||||
accept=".ZIP, .zip, .docx, .DOCX, .xls, .xlsx"
|
||||
accept=".ZIP, .zip, .docx, .DOCX, .xls, .xlsx, .pdf, .PDF"
|
||||
:before-upload="beginImportFile"
|
||||
:on-success="importFileSuccess"
|
||||
:show-file-list="false"
|
||||
@@ -311,11 +311,11 @@
|
||||
var fileSuffix = filename.substring(index1, index2)
|
||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||
// 判断上传文件格式
|
||||
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
||||
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx' || fileSuffix === '.XLS' || fileSuffix === '.XLSX' || fileSuffix === '.pdf' || fileSuffix === '.PDF') {
|
||||
return true
|
||||
} else {
|
||||
this.spinShow = false
|
||||
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS文件')
|
||||
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS,PDF文件')
|
||||
return false
|
||||
}
|
||||
// 判断文件上传大小
|
||||
|
||||
@@ -199,7 +199,7 @@
|
||||
:action="fileUrl"
|
||||
ref="importfile"
|
||||
name="file"
|
||||
accept=".ZIP, .zip, .docx, .DOCX, .xls, .xlsx"
|
||||
accept=".ZIP, .zip, .docx, .DOCX, .xls, .xlsx, .pdf, .PDF"
|
||||
:before-upload="beginImportFile"
|
||||
:on-success="importFileSuccess"
|
||||
:show-file-list="false"
|
||||
@@ -311,11 +311,11 @@
|
||||
var fileSuffix = filename.substring(index1, index2)
|
||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||
// 判断上传文件格式
|
||||
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
||||
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx' || fileSuffix === '.XLS' || fileSuffix === '.XLSX' || fileSuffix === '.pdf' || fileSuffix === '.PDF') {
|
||||
return true
|
||||
} else {
|
||||
this.spinShow = false
|
||||
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS文件')
|
||||
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS,PDF文件')
|
||||
return false
|
||||
}
|
||||
// 判断文件上传大小
|
||||
|
||||
@@ -199,7 +199,7 @@
|
||||
:action="fileUrl"
|
||||
ref="importfile"
|
||||
name="file"
|
||||
accept=".ZIP, .zip, .docx, .DOCX, .xls, .xlsx"
|
||||
accept=".ZIP, .zip, .docx, .DOCX, .xls, .xlsx, .pdf, .PDF"
|
||||
:before-upload="beginImportFile"
|
||||
:on-success="importFileSuccess"
|
||||
:show-file-list="false"
|
||||
@@ -311,11 +311,11 @@
|
||||
var fileSuffix = filename.substring(index1, index2)
|
||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||
// 判断上传文件格式
|
||||
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
||||
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx' || fileSuffix === '.XLS' || fileSuffix === '.XLSX' || fileSuffix === '.pdf' || fileSuffix === '.PDF') {
|
||||
return true
|
||||
} else {
|
||||
this.spinShow = false
|
||||
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS文件')
|
||||
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS,PDF文件')
|
||||
return false
|
||||
}
|
||||
// 判断文件上传大小
|
||||
|
||||
@@ -704,6 +704,14 @@
|
||||
<div class="prc-content-border">
|
||||
<el-row :gutter="24">
|
||||
<el-col :span="12">
|
||||
<!--责任部门-->
|
||||
<template>
|
||||
<custom-select-array
|
||||
:key="zrbmOptions.options"
|
||||
:config="zrbmOptions"
|
||||
v-model="form['zrbm']"
|
||||
></custom-select-array>
|
||||
</template>
|
||||
<!-- <el-form-item label="责任部门" prop="zrbm" class="add-form-item form-item-disabled">
|
||||
<el-select v-model="form.zrbm" placeholder="请选择责任部门" multiple>
|
||||
<el-option
|
||||
@@ -715,28 +723,44 @@
|
||||
></el-option>
|
||||
</el-select>
|
||||
</el-form-item>-->
|
||||
<el-form-item label="适用车型" prop="cllx" class="add-form-item form-item-disabled">
|
||||
<el-select v-model="form.cllx" placeholder="请选择适用车型" multiple>
|
||||
<el-option
|
||||
v-for="item in applyArcticOptions"
|
||||
placeholder="请选择"
|
||||
:key="item.value"
|
||||
:value="item.value"
|
||||
:label="item.label"
|
||||
></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="能源类型" prop="nylx" class="add-form-item form-item-disabled">
|
||||
<el-select v-model="form.nylx" placeholder="请选择能源类型" multiple>
|
||||
<el-option
|
||||
v-for="item in categoryOptions"
|
||||
placeholder="请选择"
|
||||
:key="item.value"
|
||||
:value="item.value"
|
||||
:label="item.label"
|
||||
></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<!--适用车型-->
|
||||
<template>
|
||||
<custom-select-array
|
||||
:key="applyArcticOptions.options"
|
||||
:config="applyArcticOptions"
|
||||
v-model="form['cllx']"
|
||||
></custom-select-array>
|
||||
</template>
|
||||
<!--能源类型-->
|
||||
<template>
|
||||
<custom-select-array
|
||||
:key="categoryOptions.options"
|
||||
:config="categoryOptions"
|
||||
v-model="form['nylx']"
|
||||
></custom-select-array>
|
||||
</template>
|
||||
<!-- <el-form-item label="适用车型" prop="cllx" class="add-form-item form-item-disabled">-->
|
||||
<!-- <el-select v-model="form.cllx" placeholder="请选择适用车型" multiple>-->
|
||||
<!-- <el-option-->
|
||||
<!-- v-for="item in applyArcticOptions"-->
|
||||
<!-- placeholder="请选择"-->
|
||||
<!-- :key="item.value"-->
|
||||
<!-- :value="item.value"-->
|
||||
<!-- :label="item.label"-->
|
||||
<!-- ></el-option>-->
|
||||
<!-- </el-select>-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- <el-form-item label="能源类型" prop="nylx" class="add-form-item form-item-disabled">-->
|
||||
<!-- <el-select v-model="form.nylx" placeholder="请选择能源类型" multiple>-->
|
||||
<!-- <el-option-->
|
||||
<!-- v-for="item in categoryOptions"-->
|
||||
<!-- placeholder="请选择"-->
|
||||
<!-- :key="item.value"-->
|
||||
<!-- :value="item.value"-->
|
||||
<!-- :label="item.label"-->
|
||||
<!-- ></el-option>-->
|
||||
<!-- </el-select>-->
|
||||
<!-- </el-form-item>-->
|
||||
<el-form-item label="关联模块--乘用车VPPS编码" prop="cycvppsbm" class="add-form-item form-item-disabled">
|
||||
<el-input v-model="form.cycvppsbm" placeholder="选择乘用车VPPS编码" @click.native="choiceZRR2('cycvppsbm', '乘用车VPPS', form.cycvppsbm)"></el-input>
|
||||
<tree-select-new
|
||||
@@ -816,28 +840,52 @@
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="适用产品线" prop="sycpx" class="add-form-item form-item-disabled">
|
||||
<el-select v-model="form.sycpx" placeholder="请选择适用产品线" multiple>
|
||||
<el-option
|
||||
v-for="item in sycpxOptions"
|
||||
placeholder="请选择"
|
||||
:key="item.value"
|
||||
:value="item.value"
|
||||
:label="item.label"
|
||||
></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="适用认证" prop="syrz" class="add-form-item form-item-disabled">
|
||||
<el-select v-model="form.syrz" placeholder="请选择适用认证" multiple>
|
||||
<el-option
|
||||
v-for="item in applyAuthOptions"
|
||||
placeholder="请选择"
|
||||
:key="item.value"
|
||||
:value="item.value"
|
||||
:label="item.label"
|
||||
></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<!--适用产品线-->
|
||||
<template>
|
||||
<custom-select-array
|
||||
:key="sycpxOptions.options"
|
||||
:config="sycpxOptions"
|
||||
v-model="form['sycpx']"
|
||||
></custom-select-array>
|
||||
</template>
|
||||
<!-- <el-form-item label="适用产品线" prop="sycpx" class="add-form-item form-item-disabled">-->
|
||||
<!-- <el-select v-model="form.sycpx" placeholder="请选择适用产品线" multiple>-->
|
||||
<!-- <el-option-->
|
||||
<!-- v-for="item in sycpxOptions"-->
|
||||
<!-- placeholder="请选择"-->
|
||||
<!-- :key="item.value"-->
|
||||
<!-- :value="item.value"-->
|
||||
<!-- :label="item.label"-->
|
||||
<!-- ></el-option>-->
|
||||
<!-- </el-select>-->
|
||||
<!-- </el-form-item>-->
|
||||
<!--适用认证-->
|
||||
<template>
|
||||
<custom-select-array
|
||||
:key="applyAuthOptions.options"
|
||||
:config="applyAuthOptions"
|
||||
v-model="form['syrz']"
|
||||
></custom-select-array>
|
||||
</template>
|
||||
<!-- <el-form-item label="适用认证" prop="syrz" class="add-form-item form-item-disabled">-->
|
||||
<!-- <el-select v-model="form.syrz" placeholder="请选择适用认证" multiple>-->
|
||||
<!-- <el-option-->
|
||||
<!-- v-for="item in applyAuthOptions"-->
|
||||
<!-- placeholder="请选择"-->
|
||||
<!-- :key="item.value"-->
|
||||
<!-- :value="item.value"-->
|
||||
<!-- :label="item.label"-->
|
||||
<!-- ></el-option>-->
|
||||
<!-- </el-select>-->
|
||||
<!-- </el-form-item>-->
|
||||
<!--责任工程师-->
|
||||
<template>
|
||||
<custom-select-array
|
||||
:key="zrgcsOptions.options"
|
||||
:config="zrgcsOptions"
|
||||
v-model="form['zrgcs']"
|
||||
></custom-select-array>
|
||||
</template>
|
||||
<!-- <el-form-item label="责任工程师" prop="zrgcs" class="add-form-item form-item-disabled">
|
||||
<el-select v-model="form.zrgcs" placeholder="请选择责任工程师" multiple>
|
||||
<el-option
|
||||
@@ -1310,6 +1358,7 @@
|
||||
<script>
|
||||
import ProcessHeader from '../../components/ProcessHeader'
|
||||
import ProcessFooter from '../../components/ProcessFooter'
|
||||
import CustomSelectArray from '@/components/CustomFormComponents/SelectArray'
|
||||
import ProcessTitle from '../../components/ProcessTitle'
|
||||
import {
|
||||
inboundLiaisonDetail,
|
||||
@@ -1332,6 +1381,7 @@ export default {
|
||||
TreeSelectModule,
|
||||
ProcessHeader,
|
||||
ProcessFooter,
|
||||
CustomSelectArray,
|
||||
ProcessTitle,
|
||||
TreeSelect,
|
||||
TreeSelectNew
|
||||
@@ -1546,17 +1596,35 @@ export default {
|
||||
standSystemOptions: [], // 标准体系
|
||||
busVppsOptions: [], // 车系体系架构
|
||||
modelOptions: [], // 模块体系架构
|
||||
applyArcticOptions: [], // 适用车型
|
||||
categoryOptions: [], // 能源类型
|
||||
applyArcticOptions: {
|
||||
attrName: '适用车型',
|
||||
options:[]
|
||||
}, // 适用车型
|
||||
categoryOptions: {
|
||||
attrName: '能源类型',
|
||||
options:[]
|
||||
}, // 能源类型
|
||||
gkglbmOptions: [], // 归口管理部门
|
||||
cbcdOptions: [], // 采标程度
|
||||
applyAuthOptions: [], // 适用认证
|
||||
applyAuthOptions: {
|
||||
attrName: '适用认证',
|
||||
options:[]
|
||||
}, // 适用认证
|
||||
cysdOptions: [], // 我司参与深度
|
||||
wssmrOptions: [], // 我司署名人
|
||||
qcdwOptions: [], // 起草单位
|
||||
sycpxOptions: [], // 适用产品线
|
||||
zrbmOptions: [], // 责任部门
|
||||
zrgcsOptions: [], // 责任工程师
|
||||
sycpxOptions: {
|
||||
attrName: '适用产品线',
|
||||
options:[]
|
||||
}, // 适用产品线
|
||||
zrbmOptions: {
|
||||
attrName: '责任部门',
|
||||
options:[]
|
||||
}, // 责任部门
|
||||
zrgcsOptions: {
|
||||
attrName: '责任工程师',
|
||||
options:[]
|
||||
}, // 责任工程师
|
||||
txlbOptions: [], // 体系类别
|
||||
data: [], // 标准列表数据
|
||||
ListForm: {}, // 新增数据
|
||||
@@ -2495,15 +2563,15 @@ export default {
|
||||
this.standNatureOptions = res.data.SARPROPERTY // 标准性质
|
||||
this.standStateOptions = res.data.WBZTCLASS // 文本状态
|
||||
this.standSystemOptions = res.data.BZTXCLASS // 标准体系
|
||||
this.applyArcticOptions = res.data.ENERGYTYPES // 适用车型
|
||||
this.categoryOptions = res.data.NYLXCLASS // 能源类型
|
||||
this.applyAuthOptions = res.data.SYRZCLASS // 适用认证
|
||||
this.applyArcticOptions.options = res.data.ENERGYTYPES // 适用车型
|
||||
this.categoryOptions.options = res.data.NYLXCLASS // 能源类型
|
||||
this.applyAuthOptions.options = res.data.SYRZCLASS // 适用认证
|
||||
this.cysdOptions = res.data.WSCYSD // 我司参与深度
|
||||
this.wssmrOptions = res.data.WSSMR // 我司署名人
|
||||
this.qcdwOptions = res.data.QCDW // 起草单位
|
||||
this.sycpxOptions = res.data.SYCPXCLASS // 适用产品线
|
||||
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
|
||||
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
|
||||
this.sycpxOptions.options = res.data.SYCPXCLASS // 适用产品线
|
||||
this.zrbmOptions.options = res.data.ZRBMCLASS // 责任部门
|
||||
this.zrgcsOptions.options = res.data.ZRGCSCLASS // 责任工程师
|
||||
this.txlbOptions = res.data.TXLBCLASS // 体系类别
|
||||
this.gkglbmOptions = res.data.GKGLBM // 归口管理部门
|
||||
this.cbcdOptions = res.data.DEGREESTANDARD // 采标程度
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
style="display: none;"
|
||||
></el-input>
|
||||
<div style="display: flex;">
|
||||
<div class="table-jump" @click="updataFj(item)" style="margin-right: 15px;padding-left: 10px" v-for="(item, index) in form.fjList" :key="index">
|
||||
<div class="fileClass" @click="updataFj(item)" style="margin-right: 15px;padding-left: 10px" v-for="(item, index) in form.fjList" :key="index">
|
||||
{{ item.fileName }}
|
||||
</div>
|
||||
</div>
|
||||
@@ -557,7 +557,7 @@ export default {
|
||||
updataFj(item) {
|
||||
let id
|
||||
let type = item.fileName.split('.')
|
||||
if (type[1] === 'pdf') {
|
||||
if (type[1] === 'pdf' || type[1] === 'PDF') {
|
||||
id = item.attId
|
||||
} else {
|
||||
id = item.oriAttId
|
||||
|
||||
@@ -481,7 +481,6 @@ export default {
|
||||
this.form.cid = data.cid || data.form.cid;
|
||||
this.form.endTime = data.endTime || data.form.endTime;
|
||||
this.form.cname = data.cname || data.form.cname;
|
||||
|
||||
this.oldData = JSON.parse(JSON.stringify(data.info))
|
||||
var arr = []
|
||||
data.info.forEach(item => {
|
||||
|
||||
@@ -109,6 +109,21 @@
|
||||
</div>
|
||||
</el-card>
|
||||
</div>
|
||||
<div class="process-name">
|
||||
<el-card shadow="hover" v-btn-permission="'7751d25f72d0a6515e4110ae41837db8'">
|
||||
<div class="card-box" @click="handleCreateProcess('10')">
|
||||
<div class="card-top">
|
||||
<div class="card-top-left">
|
||||
<img :src="getImg(Math.floor(Math.random() * 6))">
|
||||
</div>
|
||||
<div class="card-top-right">
|
||||
<div class="card-top-right-text">项目合规评估流程-项目</div>
|
||||
<div class="card-top-right-line"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</el-card>
|
||||
</div>
|
||||
<div class="process-name">
|
||||
<el-card shadow="hover" v-btn-permission="'90c7bae6308595f053c6f6f90167e493'">
|
||||
<div class="card-box" @click="handleCreateProcess('13')">
|
||||
@@ -125,7 +140,22 @@
|
||||
</el-card>
|
||||
</div>
|
||||
<div class="process-name">
|
||||
<el-card shadow="hover" v-btn-permission="''">
|
||||
<el-card shadow="hover">
|
||||
<div class="card-box" @click="handleCreateProcess('11')">
|
||||
<div class="card-top">
|
||||
<div class="card-top-left">
|
||||
<img :src="getImg(Math.floor(Math.random() * 6))">
|
||||
</div>
|
||||
<div class="card-top-right">
|
||||
<div class="card-top-right-text">项目清单确认流程</div>
|
||||
<div class="card-top-right-line"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</el-card>
|
||||
</div>
|
||||
<div class="process-name">
|
||||
<el-card shadow="hover">
|
||||
<div class="card-box" @click="handleCreateProcess('laws1')">
|
||||
<div class="card-top">
|
||||
<div class="card-top-left">
|
||||
@@ -255,36 +285,6 @@
|
||||
</div>
|
||||
</el-card>
|
||||
</div>
|
||||
<div class="process-name">
|
||||
<el-card shadow="hover">
|
||||
<div class="card-box" @click="handleCreateProcess('laws1')">
|
||||
<div class="card-top">
|
||||
<div class="card-top-left">
|
||||
<img :src="getImg(Math.floor(Math.random() * 6))">
|
||||
</div>
|
||||
<div class="card-top-right">
|
||||
<div class="card-top-right-text">政策入库流程</div>
|
||||
<div class="card-top-right-line"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</el-card>
|
||||
</div>
|
||||
<div class="process-name">
|
||||
<el-card shadow="hover">
|
||||
<div class="card-box" @click="handleCreateProcess('12')">
|
||||
<div class="card-top">
|
||||
<div class="card-top-left">
|
||||
<img :src="getImg(Math.floor(Math.random() * 6))">
|
||||
</div>
|
||||
<div class="card-top-right">
|
||||
<div class="card-top-right-text">政策征求意见流程</div>
|
||||
<div class="card-top-right-line"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</el-card>
|
||||
</div>
|
||||
<div class="process-name">
|
||||
<el-card shadow="hover">
|
||||
<div class="card-box" @click="handleCreateProcess('20')">
|
||||
|
||||
@@ -156,7 +156,7 @@
|
||||
width="150">
|
||||
<template slot-scope="scope">
|
||||
<el-input v-model="scope.row.netId" style="display: none;"></el-input>
|
||||
<el-input :disabled="DrawerType === 'see'" style="margin: 10px 0;" @click.native="checkRole('选择联络人', scope.$index, scope.row.netId)" v-model="scope.row.name"></el-input>
|
||||
<el-input :disabled="DrawerType === 'see'" readonly style="margin: 10px 0;" @click.native="checkRole('选择联络人', scope.$index, scope.row.netId)" v-model="scope.row.name"></el-input>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -235,7 +235,7 @@
|
||||
<template slot-scope="scope">
|
||||
<el-input v-model="scope.row.deptPeopleId" style="display: none;"></el-input>
|
||||
<el-input v-if="DrawerType === 'see'" :disabled="DrawerType === 'see'" style="margin: 10px 0;" v-model="scope.row.name"></el-input>
|
||||
<el-input v-else style="margin: 10px 0;" @click.native="checkRole('选择我司人员', scope.$index, scope.row.deptPeopleId)" v-model="scope.row.name"></el-input>
|
||||
<el-input v-else readonly style="margin: 10px 0;" @click.native="checkRole('选择我司人员', scope.$index, scope.row.deptPeopleId)" v-model="scope.row.name"></el-input>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -504,7 +504,7 @@
|
||||
<template slot-scope="scope">
|
||||
<!-- <el-input v-model="scope.row.meetingPeople" style="display: none;"></el-input>-->
|
||||
<el-input v-if="DrawerType === 'see'" :disabled="DrawerType === 'see'" style="margin: 10px 0;" v-model="scope.row.meetingPeopleName"></el-input>
|
||||
<el-input v-else style="margin: 10px 0;" @click.native="checkRoles(scope.$index, scope.row.meetingPeople)" v-model="scope.row.meetingPeopleName"></el-input>
|
||||
<el-input v-else readonly style="margin: 10px 0;" @click.native="checkRoles(scope.$index, scope.row.meetingPeople)" v-model="scope.row.meetingPeopleName"></el-input>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -847,10 +847,14 @@
|
||||
standerArea: '', // 标准化工作领域
|
||||
mark: '', // 备注
|
||||
wgNetInfos: [], // 秘书联系方式
|
||||
wgNetInfosDel: '',
|
||||
wgMeetingInfos: [], // 参会记录
|
||||
wgMeetingInfosDel: '',
|
||||
wgDepts: [], // 集团参与
|
||||
wgStandorpolicyInfos: [], // 标准政策
|
||||
wgDeptsDel: '',
|
||||
wgPayInfos: [], // 支付信息
|
||||
wgPayInfosDel: '',
|
||||
wgStandorpolicyInfos: [], // 标准政策
|
||||
},
|
||||
addFormRules: {
|
||||
number: [
|
||||
@@ -1235,6 +1239,14 @@
|
||||
confirmButtonClass: 'common-button-primary',
|
||||
roundButton: true
|
||||
}).then(() => {
|
||||
for (let s = 0; s < this.delNetInfos.length; s++) {
|
||||
if (this.addForm.wgNetInfosDel) {
|
||||
this.addForm.wgNetInfosDel += ','
|
||||
this.addForm.wgNetInfosDel += this.delNetInfos[s].id
|
||||
} else {
|
||||
this.addForm.wgNetInfosDel = this.delNetInfos[s].id
|
||||
}
|
||||
}
|
||||
for (let a = 0; a < this.addForm.wgNetInfos.length; a++) {
|
||||
this.delNetInfos.forEach(item => {
|
||||
if (this.addForm.wgNetInfos[a].joinId === item.joinId) {
|
||||
@@ -1256,6 +1268,14 @@
|
||||
confirmButtonClass: 'common-button-primary',
|
||||
roundButton: true
|
||||
}).then(() => {
|
||||
for (let s = 0; s < this.delDepts.length; s++) {
|
||||
if (this.addForm.wgDeptsDel) {
|
||||
this.addForm.wgDeptsDel += ','
|
||||
this.addForm.wgDeptsDel += this.delDepts[s].id
|
||||
} else {
|
||||
this.addForm.wgDeptsDel = this.delDepts[s].id
|
||||
}
|
||||
}
|
||||
for (let a = 0; a < this.addForm.wgDepts.length; a++) {
|
||||
this.delDepts.forEach(item => {
|
||||
if (this.addForm.wgDepts[a].joinId === item.joinId) {
|
||||
@@ -1277,6 +1297,14 @@
|
||||
confirmButtonClass: 'common-button-primary',
|
||||
roundButton: true
|
||||
}).then(() => {
|
||||
for (let s = 0; s < this.delPayInfos.length; s++) {
|
||||
if (this.addForm.wgPayInfosDel) {
|
||||
this.addForm.wgPayInfosDel += ','
|
||||
this.addForm.wgPayInfosDel += this.delPayInfos[s].id
|
||||
} else {
|
||||
this.addForm.wgPayInfosDel = this.delPayInfos[s].id
|
||||
}
|
||||
}
|
||||
for (let a = 0; a < this.addForm.wgPayInfos.length; a++) {
|
||||
this.delPayInfos.forEach(item => {
|
||||
if (this.addForm.wgPayInfos[a].joinId === item.joinId) {
|
||||
@@ -1298,6 +1326,14 @@
|
||||
confirmButtonClass: 'common-button-primary',
|
||||
roundButton: true
|
||||
}).then(() => {
|
||||
for (let s = 0; s < this.delMeetingInfos.length; s++) {
|
||||
if (this.addForm.wgMeetingInfosDel) {
|
||||
this.addForm.wgMeetingInfosDel += ','
|
||||
this.addForm.wgMeetingInfosDel += this.delMeetingInfos[s].id
|
||||
} else {
|
||||
this.addForm.wgMeetingInfosDel = this.delMeetingInfos[s].id
|
||||
}
|
||||
}
|
||||
for (let a = 0; a < this.addForm.wgMeetingInfos.length; a++) {
|
||||
this.delMeetingInfos.forEach(item => {
|
||||
if (this.addForm.wgMeetingInfos[a].joinId === item.joinId) {
|
||||
|
||||
@@ -156,7 +156,7 @@
|
||||
width="150">
|
||||
<template slot-scope="scope">
|
||||
<el-input v-model="scope.row.netId" style="display: none;"></el-input>
|
||||
<el-input :disabled="DrawerType === 'see'" style="margin: 10px 0;" @click.native="checkRole('选择联络人', scope.$index, scope.row.netId)" v-model="scope.row.name"></el-input>
|
||||
<el-input :disabled="DrawerType === 'see'" readonly style="margin: 10px 0;" @click.native="checkRole('选择联络人', scope.$index, scope.row.netId)" v-model="scope.row.name"></el-input>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -235,7 +235,7 @@
|
||||
<template slot-scope="scope">
|
||||
<el-input v-model="scope.row.deptPeopleId" style="display: none;"></el-input>
|
||||
<el-input v-if="DrawerType === 'see'" :disabled="DrawerType === 'see'" style="margin: 10px 0;" v-model="scope.row.name"></el-input>
|
||||
<el-input v-else style="margin: 10px 0;" @click.native="checkRole('选择我司人员', scope.$index, scope.row.deptPeopleId)" v-model="scope.row.name"></el-input>
|
||||
<el-input v-else style="margin: 10px 0;" readonly @click.native="checkRole('选择我司人员', scope.$index, scope.row.deptPeopleId)" v-model="scope.row.name"></el-input>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -504,7 +504,7 @@
|
||||
<template slot-scope="scope">
|
||||
<!-- <el-input v-model="scope.row.meetingPeople" style="display: none;"></el-input>-->
|
||||
<el-input v-if="DrawerType === 'see'" :disabled="DrawerType === 'see'" style="margin: 10px 0;" v-model="scope.row.meetingPeopleName"></el-input>
|
||||
<el-input v-else style="margin: 10px 0;" @click.native="checkRoles(scope.$index, scope.row.meetingPeople)" v-model="scope.row.meetingPeopleName"></el-input>
|
||||
<el-input v-else style="margin: 10px 0;" readonly @click.native="checkRoles(scope.$index, scope.row.meetingPeople)" v-model="scope.row.meetingPeopleName"></el-input>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -767,10 +767,14 @@
|
||||
standerArea: '', // 标准化工作领域
|
||||
mark: '', // 备注
|
||||
wgNetInfos: [], // 秘书联系方式
|
||||
wgNetInfosDel: '',
|
||||
wgMeetingInfos: [], // 参会记录
|
||||
wgMeetingInfosDel: '',
|
||||
wgDepts: [], // 集团参与
|
||||
wgStandorpolicyInfos: [], // 标准政策
|
||||
wgDeptsDel: '',
|
||||
wgPayInfos: [], // 支付信息
|
||||
wgPayInfosDel: '',
|
||||
wgStandorpolicyInfos: [], // 标准政策
|
||||
},
|
||||
addFormRules: {
|
||||
number: [
|
||||
@@ -1112,6 +1116,14 @@
|
||||
confirmButtonClass: 'common-button-primary',
|
||||
roundButton: true
|
||||
}).then(() => {
|
||||
for (let s = 0; s < this.delNetInfos.length; s++) {
|
||||
if (this.addForm.wgNetInfosDel) {
|
||||
this.addForm.wgNetInfosDel += ','
|
||||
this.addForm.wgNetInfosDel += this.delNetInfos[s].id
|
||||
} else {
|
||||
this.addForm.wgNetInfosDel = this.delNetInfos[s].id
|
||||
}
|
||||
}
|
||||
for (let a = 0; a < this.addForm.wgNetInfos.length; a++) {
|
||||
this.delNetInfos.forEach(item => {
|
||||
if (this.addForm.wgNetInfos[a].joinId === item.joinId) {
|
||||
@@ -1133,6 +1145,14 @@
|
||||
confirmButtonClass: 'common-button-primary',
|
||||
roundButton: true
|
||||
}).then(() => {
|
||||
for (let s = 0; s < this.delDepts.length; s++) {
|
||||
if (this.addForm.wgDeptsDel) {
|
||||
this.addForm.wgDeptsDel += ','
|
||||
this.addForm.wgDeptsDel += this.delDepts[s].id
|
||||
} else {
|
||||
this.addForm.wgDeptsDel = this.delDepts[s].id
|
||||
}
|
||||
}
|
||||
for (let a = 0; a < this.addForm.wgDepts.length; a++) {
|
||||
this.delDepts.forEach(item => {
|
||||
if (this.addForm.wgDepts[a].joinId === item.joinId) {
|
||||
@@ -1154,6 +1174,14 @@
|
||||
confirmButtonClass: 'common-button-primary',
|
||||
roundButton: true
|
||||
}).then(() => {
|
||||
for (let s = 0; s < this.delPayInfos.length; s++) {
|
||||
if (this.addForm.wgPayInfosDel) {
|
||||
this.addForm.wgPayInfosDel += ','
|
||||
this.addForm.wgPayInfosDel += this.delPayInfos[s].id
|
||||
} else {
|
||||
this.addForm.wgPayInfosDel = this.delPayInfos[s].id
|
||||
}
|
||||
}
|
||||
for (let a = 0; a < this.addForm.wgPayInfos.length; a++) {
|
||||
this.delPayInfos.forEach(item => {
|
||||
if (this.addForm.wgPayInfos[a].joinId === item.joinId) {
|
||||
@@ -1175,6 +1203,14 @@
|
||||
confirmButtonClass: 'common-button-primary',
|
||||
roundButton: true
|
||||
}).then(() => {
|
||||
for (let s = 0; s < this.delMeetingInfos.length; s++) {
|
||||
if (this.addForm.wgMeetingInfosDel) {
|
||||
this.addForm.wgMeetingInfosDel += ','
|
||||
this.addForm.wgMeetingInfosDel += this.delMeetingInfos[s].id
|
||||
} else {
|
||||
this.addForm.wgMeetingInfosDel = this.delMeetingInfos[s].id
|
||||
}
|
||||
}
|
||||
for (let a = 0; a < this.addForm.wgMeetingInfos.length; a++) {
|
||||
this.delMeetingInfos.forEach(item => {
|
||||
if (this.addForm.wgMeetingInfos[a].joinId === item.joinId) {
|
||||
|
||||
Reference in New Issue
Block a user