Merge branch 'develop' into 'FOTON'
Develop See merge request LAWS/laws-system-front-FOTON!238
This commit is contained in:
@@ -559,8 +559,16 @@ export default {
|
|||||||
this.$refs['Form'].validate((valid) => {
|
this.$refs['Form'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
this.$http.get('lawss/activiti/startProcess', {
|
this.$http.get('lawss/activiti/startProcessRollBack', {
|
||||||
type: '2'
|
id: this.bpnId || '',
|
||||||
|
createUser: this.$store.getters.userInfo.userId,
|
||||||
|
createUserName: this.$store.getters.userInfo.userName,
|
||||||
|
type: '2',
|
||||||
|
json: JSON.stringify({
|
||||||
|
form: this.form,
|
||||||
|
roleForm: this.roleForm,
|
||||||
|
commentText: this.commentText
|
||||||
|
})
|
||||||
}, {}, res => {
|
}, {}, res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
var json = Object.assign(this.form, this.roleForm)
|
var json = Object.assign(this.form, this.roleForm)
|
||||||
|
|||||||
@@ -462,6 +462,8 @@ export default {
|
|||||||
comityOptionsOne: [],
|
comityOptionsOne: [],
|
||||||
comityOptionsTwo: [],
|
comityOptionsTwo: [],
|
||||||
comityOptionsTree: [],
|
comityOptionsTree: [],
|
||||||
|
comityOpRole: '',
|
||||||
|
comityOpRoleId: '',
|
||||||
},
|
},
|
||||||
comityRoleOptions: [
|
comityRoleOptions: [
|
||||||
{value: '0', label: '委员'},
|
{value: '0', label: '委员'},
|
||||||
|
|||||||
@@ -113,8 +113,9 @@
|
|||||||
</ProcessTitle>
|
</ProcessTitle>
|
||||||
<el-form-item class="add-form-item" label="入会人员:">
|
<el-form-item class="add-form-item" label="入会人员:">
|
||||||
<el-input
|
<el-input
|
||||||
:disabled="true"
|
placeholder="请选择入会成员"
|
||||||
style="width: 30%"
|
style="width: 50%"
|
||||||
|
@click.native="choiceRole"
|
||||||
v-model="rh_pageData.comityOpRole"
|
v-model="rh_pageData.comityOpRole"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -212,6 +213,13 @@
|
|||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
|
|
||||||
|
<Role-tree
|
||||||
|
is-title="选择入会人员"
|
||||||
|
:is-visible.sync="roleShowflag"
|
||||||
|
:nodeList="nodeList"
|
||||||
|
@checkedRole="drawerCheck"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -257,7 +265,7 @@ export default {
|
|||||||
workPath: '',
|
workPath: '',
|
||||||
comityTel: [],
|
comityTel: [],
|
||||||
comityOpRole: '',
|
comityOpRole: '',
|
||||||
comityInRoleId: '',
|
comityOpRoleId: '',
|
||||||
},
|
},
|
||||||
roleForm: {},
|
roleForm: {},
|
||||||
commentText: '',
|
commentText: '',
|
||||||
@@ -317,7 +325,6 @@ export default {
|
|||||||
getFormFieldList(item) {
|
getFormFieldList(item) {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.rh_pageData = JSON.parse(JSON.stringify(item)).rh_pageData
|
this.rh_pageData = JSON.parse(JSON.stringify(item)).rh_pageData
|
||||||
this.rh_pageData.comityOpRole = this.$store.getters.userInfo.userName
|
|
||||||
this.roleForm = JSON.parse(JSON.stringify(item)).roleList
|
this.roleForm = JSON.parse(JSON.stringify(item)).roleList
|
||||||
this.infoSourcesLength = this.rh_pageData.infoSources.length
|
this.infoSourcesLength = this.rh_pageData.infoSources.length
|
||||||
// this.rh_pageData.comityFileNum = this.fileTextList
|
// this.rh_pageData.comityFileNum = this.fileTextList
|
||||||
@@ -371,6 +378,28 @@ export default {
|
|||||||
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId;
|
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/** 选择入会人员 */
|
||||||
|
choiceRole(id) {
|
||||||
|
this.nodeList = []
|
||||||
|
this.nodeList.push(id)
|
||||||
|
this.roleShowflag = true
|
||||||
|
},
|
||||||
|
drawerCheck(data) {
|
||||||
|
var idList = ''
|
||||||
|
var nameList = ''
|
||||||
|
data.forEach(item => {
|
||||||
|
if (nameList.length > 0) {
|
||||||
|
nameList += ','
|
||||||
|
idList += ','
|
||||||
|
}
|
||||||
|
idList += item.id;
|
||||||
|
nameList += item.name;
|
||||||
|
})
|
||||||
|
this.rh_pageData.comityOpRole = nameList
|
||||||
|
this.rh_pageData.comityOpRoleId = idList
|
||||||
|
this.roleShowflag = false
|
||||||
|
},
|
||||||
// 退回按钮
|
// 退回按钮
|
||||||
handleSubmitNo() {
|
handleSubmitNo() {
|
||||||
if (this.commentText === '') {
|
if (this.commentText === '') {
|
||||||
|
|||||||
@@ -1185,8 +1185,18 @@ export default {
|
|||||||
this.$message.warning('请选择责任人')
|
this.$message.warning('请选择责任人')
|
||||||
} else {
|
} else {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
this.$http.get('lawss/activiti/startProcess', {
|
this.$http.post('lawss/activiti/startProcessRollBack', {
|
||||||
type: '9'
|
id: this.bpnId || '',
|
||||||
|
createUser: this.$store.getters.userInfo.userId,
|
||||||
|
createUserName: this.$store.getters.userInfo.userName,
|
||||||
|
type: '9',
|
||||||
|
json: JSON.stringify({
|
||||||
|
form: this.form,
|
||||||
|
roleForm: this.roleForm,
|
||||||
|
commentText: this.commentText,
|
||||||
|
itemList: this.itemList,
|
||||||
|
sarType: this.sarType
|
||||||
|
})
|
||||||
}, {}, res => {
|
}, {}, res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
var json = Object.assign(this.form, this.roleForm)
|
var json = Object.assign(this.form, this.roleForm)
|
||||||
|
|||||||
@@ -140,7 +140,16 @@
|
|||||||
label="在产车型实施日期"
|
label="在产车型实施日期"
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="applyArctic"
|
||||||
|
width="200"
|
||||||
|
label="适用车型"
|
||||||
|
show-overflow-tooltip
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ scope.row.applyArctic.toString() }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="执行人"
|
label="执行人"
|
||||||
width="170"
|
width="170"
|
||||||
@@ -387,15 +396,23 @@
|
|||||||
if (this.type === 1) {
|
if (this.type === 1) {
|
||||||
this.itemList[this.zxIndex].zxUserId = data[0].id
|
this.itemList[this.zxIndex].zxUserId = data[0].id
|
||||||
this.itemList[this.zxIndex].zxUserIdName = data[0].name
|
this.itemList[this.zxIndex].zxUserIdName = data[0].name
|
||||||
|
let row = JSON.parse(JSON.stringify(this.itemList[this.zxIndex]))
|
||||||
|
row.zxUserId = data[0].id
|
||||||
|
row.zxUserIdName = data[0].name
|
||||||
|
this.$set(this.itemList, this.zxIndex, row)
|
||||||
} else {
|
} else {
|
||||||
this.itemList.forEach( item => {
|
for (let a = 0; a < this.itemList.length; a++) {
|
||||||
this.zxIdList.forEach( items => {
|
for (let b = 0; b < this.zxIdList.length; b++) {
|
||||||
if (item.id === items) {
|
if (this.itemList[a].id === this.zxIdList[b]) {
|
||||||
item.zxUserId = data[0].id
|
this.itemList[a].zxUserId = data[0].id
|
||||||
item.zxUserIdName = data[0].name
|
this.itemList[a].zxUserIdName = data[0].name
|
||||||
|
let row = JSON.parse(JSON.stringify(this.itemList[a]))
|
||||||
|
row.zxUserId = data[0].id
|
||||||
|
row.zxUserIdName = data[0].name
|
||||||
|
this.$set(this.itemList, a, row)
|
||||||
}
|
}
|
||||||
})
|
}
|
||||||
})
|
}
|
||||||
}
|
}
|
||||||
this.modalshowflag = false
|
this.modalshowflag = false
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -178,7 +178,7 @@
|
|||||||
<el-table-column
|
<el-table-column
|
||||||
label="责任人"
|
label="责任人"
|
||||||
width="170"
|
width="170"
|
||||||
prop="zrUserIdName"
|
prop="zrUserName"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -292,27 +292,27 @@
|
|||||||
size="800px">
|
size="800px">
|
||||||
<div class="demo-drawer-content">
|
<div class="demo-drawer-content">
|
||||||
<el-form :model="plForm" class="label-input-form" ref="plForm" label-width=150>
|
<el-form :model="plForm" class="label-input-form" ref="plForm" label-width=150>
|
||||||
<el-form-item label="核心技术要求" prop="technicalRequir" class="add-form-item" v-if="!form.itemsNum1">
|
<!-- <el-form-item label="核心技术要求" prop="technicalRequir" class="add-form-item" v-if="!form.itemsNum1">-->
|
||||||
<el-input
|
<!-- <el-input-->
|
||||||
v-model="plForm.technicalRequir"
|
<!-- v-model="plForm.technicalRequir"-->
|
||||||
placeholder="请输入核心技术要求"
|
<!-- placeholder="请输入核心技术要求"-->
|
||||||
maxlength="500"
|
<!-- maxlength="500"-->
|
||||||
></el-input>
|
<!-- ></el-input>-->
|
||||||
</el-form-item>
|
<!-- </el-form-item>-->
|
||||||
<el-form-item label="国内标准的差异点" prop="changePoint" class="add-form-item" v-if="sarType !== 'INLAND' && form.itemsNum1">
|
<!-- <el-form-item label="国内标准的差异点" prop="changePoint" class="add-form-item" v-if="sarType !== 'INLAND' && form.itemsNum1">-->
|
||||||
<el-input
|
<!-- <el-input-->
|
||||||
v-model="plForm.changePoint"
|
<!-- v-model="plForm.changePoint"-->
|
||||||
placeholder="请输入国内标准的差异点"
|
<!-- placeholder="请输入国内标准的差异点"-->
|
||||||
maxlength="500"
|
<!-- maxlength="500"-->
|
||||||
></el-input>
|
<!-- ></el-input>-->
|
||||||
</el-form-item>
|
<!-- </el-form-item>-->
|
||||||
<el-form-item label="上一版本差异点" prop="changePoint" class="add-form-item" v-if="sarType === 'INLAND' && form.itemsNum1">
|
<!-- <el-form-item label="上一版本差异点" prop="changePoint" class="add-form-item" v-if="sarType === 'INLAND' && form.itemsNum1">-->
|
||||||
<el-input
|
<!-- <el-input-->
|
||||||
v-model="plForm.changePoint"
|
<!-- v-model="plForm.changePoint"-->
|
||||||
placeholder="请输入上一版本差异点"
|
<!-- placeholder="请输入上一版本差异点"-->
|
||||||
maxlength="500"
|
<!-- maxlength="500"-->
|
||||||
></el-input>
|
<!-- ></el-input>-->
|
||||||
</el-form-item>
|
<!-- </el-form-item>-->
|
||||||
<el-form-item label="符合性要求" prop="complianceRequir" class="add-form-item" >
|
<el-form-item label="符合性要求" prop="complianceRequir" class="add-form-item" >
|
||||||
<el-select
|
<el-select
|
||||||
v-model="plForm.complianceRequir"
|
v-model="plForm.complianceRequir"
|
||||||
@@ -328,21 +328,21 @@
|
|||||||
maxlength="500"
|
maxlength="500"
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<custom-date-pick-group
|
<!-- <custom-date-pick-group-->
|
||||||
class="myDataPick"
|
<!-- class="myDataPick"-->
|
||||||
:config="{attrName: '新车型实施日期'}"
|
<!-- :config="{attrName: '新车型实施日期'}"-->
|
||||||
v-model="plForm.newData"
|
<!-- v-model="plForm.newData"-->
|
||||||
></custom-date-pick-group>
|
<!-- ></custom-date-pick-group>-->
|
||||||
<custom-date-pick-group
|
<!-- <custom-date-pick-group-->
|
||||||
class="myDataPick"
|
<!-- class="myDataPick"-->
|
||||||
:config="{attrName: '在产车实施日期'}"
|
<!-- :config="{attrName: '在产车实施日期'}"-->
|
||||||
v-model="plForm.onlineData"
|
<!-- v-model="plForm.onlineData"-->
|
||||||
></custom-date-pick-group>
|
<!-- ></custom-date-pick-group>-->
|
||||||
<el-form-item label="适用车型" prop="applyArctic" class="add-form-item" >
|
<!-- <el-form-item label="适用车型" prop="applyArctic" class="add-form-item" >-->
|
||||||
<el-select multiple v-model="plForm.applyArctic">
|
<!-- <el-select multiple v-model="plForm.applyArctic">-->
|
||||||
<el-option v-for="(item,index) in cxList" :value="item.label" :label="item.label" :key="index"></el-option>
|
<!-- <el-option v-for="(item,index) in cxList" :value="item.label" :label="item.label" :key="index"></el-option>-->
|
||||||
</el-select>
|
<!-- </el-select>-->
|
||||||
</el-form-item>
|
<!-- </el-form-item>-->
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
<div id="roleFormButton2" class="demo-drawer-footer">
|
<div id="roleFormButton2" class="demo-drawer-footer">
|
||||||
@@ -358,27 +358,27 @@
|
|||||||
<div class="demo-drawer-content">
|
<div class="demo-drawer-content">
|
||||||
<el-form :model="editForm" class="label-input-form" ref="plForm" label-width=150>
|
<el-form :model="editForm" class="label-input-form" ref="plForm" label-width=150>
|
||||||
<el-button style="margin: 10px 0 0 10px;" class="common-button-primary" size="mini" type="primary" @click="checkBD(editForm.itemsId, editForm.itemsId2)">查看比对</el-button>
|
<el-button style="margin: 10px 0 0 10px;" class="common-button-primary" size="mini" type="primary" @click="checkBD(editForm.itemsId, editForm.itemsId2)">查看比对</el-button>
|
||||||
<el-form-item label="核心技术要求" prop="technicalRequir" class="add-form-item" v-if="!form.itemsNum1">
|
<!-- <el-form-item label="核心技术要求" prop="technicalRequir" class="add-form-item" v-if="!form.itemsNum1">-->
|
||||||
<el-input
|
<!-- <el-input-->
|
||||||
v-model="editForm.technicalRequir"
|
<!-- v-model="editForm.technicalRequir"-->
|
||||||
placeholder="请输入核心技术要求"
|
<!-- placeholder="请输入核心技术要求"-->
|
||||||
maxlength="500"
|
<!-- maxlength="500"-->
|
||||||
></el-input>
|
<!-- ></el-input>-->
|
||||||
</el-form-item>
|
<!-- </el-form-item>-->
|
||||||
<el-form-item label="国内标准的差异点" prop="changePoint" class="add-form-item" v-if="sarType !== 'INLAND' && form.itemsNum1">
|
<!-- <el-form-item label="国内标准的差异点" prop="changePoint" class="add-form-item" v-if="sarType !== 'INLAND' && form.itemsNum1">-->
|
||||||
<el-input
|
<!-- <el-input-->
|
||||||
v-model="editForm.changePoint"
|
<!-- v-model="editForm.changePoint"-->
|
||||||
placeholder="请输入国内标准的差异点"
|
<!-- placeholder="请输入国内标准的差异点"-->
|
||||||
maxlength="500"
|
<!-- maxlength="500"-->
|
||||||
></el-input>
|
<!-- ></el-input>-->
|
||||||
</el-form-item>
|
<!-- </el-form-item>-->
|
||||||
<el-form-item label="上一版本差异点" prop="changePoint" class="add-form-item" v-if="sarType === 'INLAND' && form.itemsNum1">
|
<!-- <el-form-item label="上一版本差异点" prop="changePoint" class="add-form-item" v-if="sarType === 'INLAND' && form.itemsNum1">-->
|
||||||
<el-input
|
<!-- <el-input-->
|
||||||
v-model="editForm.changePoint"
|
<!-- v-model="editForm.changePoint"-->
|
||||||
placeholder="请输入上一版本差异点"
|
<!-- placeholder="请输入上一版本差异点"-->
|
||||||
maxlength="500"
|
<!-- maxlength="500"-->
|
||||||
></el-input>
|
<!-- ></el-input>-->
|
||||||
</el-form-item>
|
<!-- </el-form-item>-->
|
||||||
<el-form-item label="符合性要求" prop="complianceRequir" class="add-form-item" >
|
<el-form-item label="符合性要求" prop="complianceRequir" class="add-form-item" >
|
||||||
<el-select
|
<el-select
|
||||||
v-model="editForm.complianceRequir"
|
v-model="editForm.complianceRequir"
|
||||||
@@ -394,21 +394,21 @@
|
|||||||
maxlength="500"
|
maxlength="500"
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<custom-date-pick-group
|
<!-- <custom-date-pick-group-->
|
||||||
class="myDataPick"
|
<!-- class="myDataPick"-->
|
||||||
:config="{attrName: '新车型实施日期'}"
|
<!-- :config="{attrName: '新车型实施日期'}"-->
|
||||||
v-model="editForm.newData"
|
<!-- v-model="editForm.newData"-->
|
||||||
></custom-date-pick-group>
|
<!-- ></custom-date-pick-group>-->
|
||||||
<custom-date-pick-group
|
<!-- <custom-date-pick-group-->
|
||||||
class="myDataPick"
|
<!-- class="myDataPick"-->
|
||||||
:config="{attrName: '在产车实施日期'}"
|
<!-- :config="{attrName: '在产车实施日期'}"-->
|
||||||
v-model="editForm.onlineData"
|
<!-- v-model="editForm.onlineData"-->
|
||||||
></custom-date-pick-group>
|
<!-- ></custom-date-pick-group>-->
|
||||||
<el-form-item label="适用车型" prop="applyArctic" class="add-form-item" >
|
<!-- <el-form-item label="适用车型" prop="applyArctic" class="add-form-item" >-->
|
||||||
<el-select multiple v-model="editForm.applyArctic">
|
<!-- <el-select multiple v-model="editForm.applyArctic">-->
|
||||||
<el-option v-for="(item,index) in cxList" :value="item.label" :label="item.label" :key="index"></el-option>
|
<!-- <el-option v-for="(item,index) in cxList" :value="item.label" :label="item.label" :key="index"></el-option>-->
|
||||||
</el-select>
|
<!-- </el-select>-->
|
||||||
</el-form-item>
|
<!-- </el-form-item>-->
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
<div id="roleFormButton3" class="demo-drawer-footer">
|
<div id="roleFormButton3" class="demo-drawer-footer">
|
||||||
@@ -485,13 +485,13 @@
|
|||||||
applyArctic: '', // 适用车型
|
applyArctic: '', // 适用车型
|
||||||
},
|
},
|
||||||
editForm: {
|
editForm: {
|
||||||
technicalRequir: '', // 核心技术要求
|
// technicalRequir: '', // 核心技术要求
|
||||||
changePoint: '', // 国内标准的差异点
|
// changePoint: '', // 国内标准的差异点
|
||||||
complianceRequir: '1', // 符合性要求
|
complianceRequir: '1', // 符合性要求
|
||||||
complianceState: '', // 合规性分析
|
complianceState: '', // 合规性分析
|
||||||
newData: '', // 新车型实施日期
|
// newData: '', // 新车型实施日期
|
||||||
onlineData: '', // 在产车实施日期
|
// onlineData: '', // 在产车实施日期
|
||||||
applyArctic: '', // 适用车型
|
// applyArctic: '', // 适用车型
|
||||||
itemsId: '',
|
itemsId: '',
|
||||||
},
|
},
|
||||||
modalshowflag: false,
|
modalshowflag: false,
|
||||||
@@ -580,13 +580,13 @@
|
|||||||
this.itemId = row.id
|
this.itemId = row.id
|
||||||
this.modalshowflag2 = true
|
this.modalshowflag2 = true
|
||||||
this.editForm = {
|
this.editForm = {
|
||||||
technicalRequir: row.technicalRequir, // 核心技术要求
|
// technicalRequir: row.technicalRequir, // 核心技术要求
|
||||||
changePoint: row.changePoint, // 国内标准的差异点
|
// changePoint: row.changePoint, // 国内标准的差异点
|
||||||
complianceRequir: row.complianceRequir || '1', // 符合性要求
|
complianceRequir: row.complianceRequir || '1', // 符合性要求
|
||||||
complianceState: row.complianceState, // 合规性分析
|
complianceState: row.complianceState, // 合规性分析
|
||||||
newData: row.newData, // 新车型实施日期
|
// newData: row.newData, // 新车型实施日期
|
||||||
onlineData: row.onlineData, // 在产车实施日期
|
// onlineData: row.onlineData, // 在产车实施日期
|
||||||
applyArctic: row.applyArctic, // 适用车型
|
// applyArctic: row.applyArctic, // 适用车型
|
||||||
itemsId: row.itemsId,
|
itemsId: row.itemsId,
|
||||||
itemsId2: row.itemsId2
|
itemsId2: row.itemsId2
|
||||||
}
|
}
|
||||||
@@ -594,13 +594,13 @@
|
|||||||
saveUserInfo2 () {
|
saveUserInfo2 () {
|
||||||
for( let a = 0; a < this.itemList.length; a++) {
|
for( let a = 0; a < this.itemList.length; a++) {
|
||||||
if (this.itemList[a].id === this.itemId) {
|
if (this.itemList[a].id === this.itemId) {
|
||||||
this.itemList[a].technicalRequir = this.editForm.technicalRequir
|
// this.itemList[a].technicalRequir = this.editForm.technicalRequir
|
||||||
this.itemList[a].changePoint = this.editForm.changePoint
|
// this.itemList[a].changePoint = this.editForm.changePoint
|
||||||
this.itemList[a].complianceRequir = this.editForm.complianceRequir
|
this.itemList[a].complianceRequir = this.editForm.complianceRequir
|
||||||
this.itemList[a].complianceState = this.editForm.complianceState
|
this.itemList[a].complianceState = this.editForm.complianceState
|
||||||
this.itemList[a].newData = this.editForm.newData
|
// this.itemList[a].newData = this.editForm.newData
|
||||||
this.itemList[a].onlineData = this.editForm.onlineData
|
// this.itemList[a].onlineData = this.editForm.onlineData
|
||||||
this.itemList[a].applyArctic = this.editForm.applyArctic
|
// this.itemList[a].applyArctic = this.editForm.applyArctic
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.modalshowflag2 = false
|
this.modalshowflag2 = false
|
||||||
@@ -663,13 +663,13 @@
|
|||||||
for( let a = 0; a < this.itemList.length; a++) {
|
for( let a = 0; a < this.itemList.length; a++) {
|
||||||
for ( let b = 0; b < this.idList.length; b++) {
|
for ( let b = 0; b < this.idList.length; b++) {
|
||||||
if (this.itemList[a].id === this.idList[b]) {
|
if (this.itemList[a].id === this.idList[b]) {
|
||||||
this.itemList[a].technicalRequir = this.plForm.technicalRequir
|
// this.itemList[a].technicalRequir = this.plForm.technicalRequir
|
||||||
this.itemList[a].changePoint = this.plForm.changePoint
|
// this.itemList[a].changePoint = this.plForm.changePoint
|
||||||
this.itemList[a].complianceRequir = this.plForm.complianceRequir
|
this.itemList[a].complianceRequir = this.plForm.complianceRequir
|
||||||
this.itemList[a].complianceState = this.plForm.complianceState
|
this.itemList[a].complianceState = this.plForm.complianceState
|
||||||
this.itemList[a].newData = this.plForm.newData
|
// this.itemList[a].newData = this.plForm.newData
|
||||||
this.itemList[a].onlineData = this.plForm.onlineData
|
// this.itemList[a].onlineData = this.plForm.onlineData
|
||||||
this.itemList[a].applyArctic = this.plForm.applyArctic
|
// this.itemList[a].applyArctic = this.plForm.applyArctic
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -686,7 +686,7 @@
|
|||||||
this.plForm.complianceState = ''
|
this.plForm.complianceState = ''
|
||||||
this.plForm.newData = ''
|
this.plForm.newData = ''
|
||||||
this.plForm.onlineData = ''
|
this.plForm.onlineData = ''
|
||||||
this.plForm.applyArctic = ''
|
this.plForm.applyArctic = []
|
||||||
this.modalshowflag = true
|
this.modalshowflag = true
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning('请选择要编辑的数据')
|
this.$message.warning('请选择要编辑的数据')
|
||||||
@@ -735,51 +735,14 @@
|
|||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.$refs['bzzqyjForm'].validate((valid) => {
|
this.$refs['bzzqyjForm'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
let num1 = 0, num2 = 0, num3 = 0, num4 = 0, num5 = 0, num6 = 0
|
let num3 = 0
|
||||||
for (let a = 0; a < this.itemList.length; a++) {
|
for (let a = 0; a < this.itemList.length; a++) {
|
||||||
if (!this.itemList[a].technicalRequir) {
|
|
||||||
num1++
|
|
||||||
}
|
|
||||||
if (!this.itemList[a].changePoint) {
|
|
||||||
num2++
|
|
||||||
}
|
|
||||||
if (!this.itemList[a].complianceRequir) {
|
if (!this.itemList[a].complianceRequir) {
|
||||||
num3++
|
num3++
|
||||||
}
|
}
|
||||||
if (!this.itemList[a].newData) {
|
|
||||||
num4++
|
|
||||||
}
|
|
||||||
if (!this.itemList[a].onlineData) {
|
|
||||||
num5++
|
|
||||||
}
|
|
||||||
if (!this.itemList[a].applyArctic) {
|
|
||||||
num6++
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (!this.form.itemsNum1) {
|
|
||||||
if (num1 > 0) {
|
|
||||||
this.$message.warning('请输入核心技术要求')
|
|
||||||
return
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if (num2 > 0) {
|
|
||||||
if (this.sarType === 'INLAND') {
|
|
||||||
this.$message.warning('请输入国内标准的差异点')
|
|
||||||
return
|
|
||||||
} else {
|
|
||||||
this.$message.warning('请输入基于上一版本差异')
|
|
||||||
return
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if (num3 > 0) {
|
if (num3 > 0) {
|
||||||
this.$message.warning('请输入符合性要求')
|
this.$message.warning('请输入符合性要求')
|
||||||
} else if (num4 > 0) {
|
|
||||||
this.$message.warning('请输入新车型实施日期')
|
|
||||||
} else if (num5 > 0) {
|
|
||||||
this.$message.warning('请输入在产车实施日期')
|
|
||||||
} else if (num6 > 0) {
|
|
||||||
this.$message.warning('请选择适用车型')
|
|
||||||
} else {
|
} else {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
var json = this.json
|
var json = this.json
|
||||||
@@ -836,6 +799,7 @@
|
|||||||
} else {
|
} else {
|
||||||
itemList = data.itemList
|
itemList = data.itemList
|
||||||
}
|
}
|
||||||
|
console.log(itemList);
|
||||||
itemList.forEach(item => {
|
itemList.forEach(item => {
|
||||||
item.unitDeptName = this.$store.getters.userInfo.institutionName
|
item.unitDeptName = this.$store.getters.userInfo.institutionName
|
||||||
item.onlineData = item.onlineData || ''
|
item.onlineData = item.onlineData || ''
|
||||||
@@ -846,7 +810,11 @@
|
|||||||
item.changePoint = item.changePoint || ''
|
item.changePoint = item.changePoint || ''
|
||||||
item.technicalRequir = item.technicalRequir || ''
|
item.technicalRequir = item.technicalRequir || ''
|
||||||
item.itemsTitle = item.itermsConditions
|
item.itemsTitle = item.itermsConditions
|
||||||
item.applyArctic = item.applyArctic || []
|
if (typeof (item.applyArctic) === 'string') {
|
||||||
|
item.applyArctic = JSON.parse(item.applyArctic) || []
|
||||||
|
} else {
|
||||||
|
item.applyArctic = item.applyArctic || []
|
||||||
|
}
|
||||||
})
|
})
|
||||||
this.getBDList()
|
this.getBDList()
|
||||||
this.itemList = itemList
|
this.itemList = itemList
|
||||||
|
|||||||
@@ -171,7 +171,7 @@
|
|||||||
<el-table-column
|
<el-table-column
|
||||||
label="责任人"
|
label="责任人"
|
||||||
width="170"
|
width="170"
|
||||||
prop="zrUserIdName"
|
prop="zrUserName"
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
|||||||
@@ -171,7 +171,7 @@
|
|||||||
<el-table-column
|
<el-table-column
|
||||||
label="责任人"
|
label="责任人"
|
||||||
width="170"
|
width="170"
|
||||||
prop="zrUserIdName"
|
prop="zrUserName"
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
|||||||
@@ -172,7 +172,7 @@
|
|||||||
<el-table-column
|
<el-table-column
|
||||||
label="责任人"
|
label="责任人"
|
||||||
width="170"
|
width="170"
|
||||||
prop="zrUserIdName"
|
prop="zrUserName"
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
|||||||
@@ -617,7 +617,7 @@ export default {
|
|||||||
window.open('/static/pdf/phone/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + id))
|
window.open('/static/pdf/phone/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + id))
|
||||||
},
|
},
|
||||||
addfjList() {
|
addfjList() {
|
||||||
this.$http.get('lawss/sarStandFile/queryFileInfo', {
|
this.$http.get('lawss/sarStandFile/querySourceFileInfo', {
|
||||||
standId: this.form.standId
|
standId: this.form.standId
|
||||||
}, {
|
}, {
|
||||||
_this: this
|
_this: this
|
||||||
@@ -830,7 +830,15 @@ export default {
|
|||||||
if (valid) {
|
if (valid) {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
this.$http.get('lawss/activiti/startProcess', {
|
this.$http.get('lawss/activiti/startProcess', {
|
||||||
type: '3'
|
id: this.bpnId || '',
|
||||||
|
createUser: this.$store.getters.userInfo.userId,
|
||||||
|
createUserName: this.$store.getters.userInfo.userName,
|
||||||
|
type: '3',
|
||||||
|
json: JSON.stringify({
|
||||||
|
form: this.form,
|
||||||
|
roleForm: this.roleForm,
|
||||||
|
commentText: this.commentText
|
||||||
|
})
|
||||||
}, {}, res => {
|
}, {}, res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
var json = Object.assign(this.form, this.roleForm)
|
var json = Object.assign(this.form, this.roleForm)
|
||||||
|
|||||||
@@ -10,13 +10,13 @@
|
|||||||
<div class="headerTabsItem" :class="active === '3' ? 'active' : ''" @click="handleTabs('3')">审批历史</div>
|
<div class="headerTabsItem" :class="active === '3' ? 'active' : ''" @click="handleTabs('3')">审批历史</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-show="active === '1'">
|
<div class="content" v-show="active === '1'">
|
||||||
<div style="flex: auto; overflow: auto">
|
<div style=" overflow: auto">
|
||||||
<process-title>
|
<process-title>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
</process-title>
|
</process-title>
|
||||||
<el-collapse-transition>
|
<el-collapse-transition>
|
||||||
<el-form
|
<div class="prc-content-border" v-if="foldFormFlag === false">
|
||||||
v-if="foldFormFlag === false"
|
<el-form
|
||||||
:model="listForm"
|
:model="listForm"
|
||||||
class="label-input-form prc-content-border"
|
class="label-input-form prc-content-border"
|
||||||
label-width="150px"
|
label-width="150px"
|
||||||
@@ -72,6 +72,7 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</el-form>
|
</el-form>
|
||||||
|
</div>
|
||||||
</el-collapse-transition>
|
</el-collapse-transition>
|
||||||
<el-button v-if="foldFormFlag === false" style="width: 100%" icon="el-icon-caret-top" @click="foldForm">隐藏基础信息</el-button>
|
<el-button v-if="foldFormFlag === false" style="width: 100%" icon="el-icon-caret-top" @click="foldForm">隐藏基础信息</el-button>
|
||||||
<el-button v-if="foldFormFlag === true" style="width: 100%" icon="el-icon-caret-bottom" @click="foldForm">展开基础信息</el-button>
|
<el-button v-if="foldFormFlag === true" style="width: 100%" icon="el-icon-caret-bottom" @click="foldForm">展开基础信息</el-button>
|
||||||
@@ -147,7 +148,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<el-table
|
<el-table
|
||||||
ref="multipleTable"
|
ref="multipleTable"
|
||||||
:data="breakdownList.slice((currentPage - 1) * pageSize, currentPage * pageSize ) "
|
:data="breakdownList"
|
||||||
style="width: 100%; border: 1px solid #cccccc;height: 400px"
|
style="width: 100%; border: 1px solid #cccccc;height: 400px"
|
||||||
height="48%"
|
height="48%"
|
||||||
border
|
border
|
||||||
@@ -225,14 +226,14 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<el-pagination
|
<!-- <el-pagination-->
|
||||||
layout="total,sizes, prev, pager, next"
|
<!-- layout="total,sizes, prev, pager, next"-->
|
||||||
background
|
<!-- background-->
|
||||||
:page-sizes="[20, 40, 60]"
|
<!-- :page-sizes="[20, 40, 60]"-->
|
||||||
:total="total"
|
<!-- :total="total"-->
|
||||||
@size-change="handleSizeChange"
|
<!-- @size-change="handleSizeChange"-->
|
||||||
@current-change="handleCurrentChange"
|
<!-- @current-change="handleCurrentChange"-->
|
||||||
/>
|
<!-- />-->
|
||||||
<!-- 选择责任人-->
|
<!-- 选择责任人-->
|
||||||
<Role-tree
|
<Role-tree
|
||||||
is-title="选择落实人"
|
is-title="选择落实人"
|
||||||
@@ -657,6 +658,7 @@ export default {
|
|||||||
* @description: 动态表单读取
|
* @description: 动态表单读取
|
||||||
*/
|
*/
|
||||||
getFormFieldList(item) {
|
getFormFieldList(item) {
|
||||||
|
console.log(item);
|
||||||
this.projectJson = JSON.parse(JSON.stringify(item));
|
this.projectJson = JSON.parse(JSON.stringify(item));
|
||||||
this.listForm = JSON.parse(JSON.stringify(item));
|
this.listForm = JSON.parse(JSON.stringify(item));
|
||||||
if (item.form === undefined) {
|
if (item.form === undefined) {
|
||||||
@@ -665,9 +667,11 @@ export default {
|
|||||||
this.listForm["id"] = item.id;
|
this.listForm["id"] = item.id;
|
||||||
this.listForm = JSON.parse(JSON.stringify(item.pepdtos[0]));
|
this.listForm = JSON.parse(JSON.stringify(item.pepdtos[0]));
|
||||||
let projectLineList = item.pepdtos[0].dataList;
|
let projectLineList = item.pepdtos[0].dataList;
|
||||||
|
let ids = []
|
||||||
projectLineList.forEach(item => {
|
projectLineList.forEach(item => {
|
||||||
this.projectLineId = item.productLine;
|
ids.push(item.productLine);
|
||||||
});
|
});
|
||||||
|
this.projectLineId = ids.join(',')
|
||||||
this.getProject();
|
this.getProject();
|
||||||
} else {
|
} else {
|
||||||
this.listForm = item.form;
|
this.listForm = item.form;
|
||||||
@@ -679,7 +683,7 @@ export default {
|
|||||||
this.$http.get("sarStandProjectLibrary/queryProjectUnderLine", {
|
this.$http.get("sarStandProjectLibrary/queryProjectUnderLine", {
|
||||||
productLine: this.projectLineId,
|
productLine: this.projectLineId,
|
||||||
current: this.pageNo,
|
current: this.pageNo,
|
||||||
pageSize: this.pageSizeNo,
|
PageSize: this.pageSizeNo,
|
||||||
projectName: this.standardSearch.projectName,
|
projectName: this.standardSearch.projectName,
|
||||||
projectNumber: this.standardSearch.projectNumber
|
projectNumber: this.standardSearch.projectNumber
|
||||||
}, {
|
}, {
|
||||||
|
|||||||
Reference in New Issue
Block a user