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

This commit is contained in:
yanyizhou
2021-12-28 17:46:52 +08:00
58 changed files with 45405 additions and 573 deletions
+34 -11
View File
@@ -103,10 +103,10 @@
<!-- 会议编辑抽屉 -->
<el-drawer
title="编辑人员信息"
title="编辑会议信息"
:visible.sync="meetFlag"
:before-close="falseDrawer"
size="600px"
size="800px"
>
<div class="content_form" style="height: calc(100% - 20px);overflow-y: auto">
<el-form class="label-input-form" ref="editMeetForm" :model="editMeetForm" label-width="80px">
@@ -241,9 +241,9 @@
<!-- 编辑框内的人员的table上的编辑 -->
<el-drawer
title="编辑人员信息"
:title="dialogTitle"
:visible.sync="editFlag"
size="500px"
size="600px"
:before-close="falseDrawerTab"
custom-class="demo-drawer"
>
@@ -339,6 +339,7 @@ export default {
// 议题选中时储存数组
deleteTable: [],
loading: false,
dialogTitle: ''
}
},
mounted() {
@@ -619,10 +620,19 @@ export default {
fillFile: this.fillFile = []
}
this.editMeetForm.attend.push(list)
this.dialogTitle = '新增人员信息'
this.add_partDialog(list)
},
add_partDialog(row) {
// 用来储存取消时原来的数据,防止取消时修改
localStorage.setItem('obj', JSON.stringify(row))
this.editForm = row
this.editFlag = true
},
// 编辑按钮
edit_partForm(row) {
this.dialogTitle = '编辑人员信息'
// 用来储存取消时原来的数据,防止取消时修改
localStorage.setItem('obj', JSON.stringify(row))
this.editForm = row
@@ -679,13 +689,26 @@ export default {
this.editFlag = false
},
falseDrawerTab() {
let Item = JSON.parse(localStorage.getItem('obj'))
this.editForm.fillPeopleId = Item.fillPeopleId
this.editForm.fillPeople = Item.fillPeople
this.editForm.fillUnit = Item.fillUnit
this.editForm.fillDept = Item.fillDept
this.editForm.fillTel = Item.fillTel
this.editForm.fillMail = Item.fillMail
if (this.dialogTitle = '新增人员信息') {
let Items = JSON.parse(localStorage.getItem('objs'))
this.editMeetForm.attend = Items.attend
this.editMeetForm.content = Items.content
this.editMeetForm.date = Items.date
this.editMeetForm.files = Items.files
this.editMeetForm.id = Items.id
this.editMeetForm.partPeople = Items.partPeople
this.editMeetForm.place = Items.place
this.editMeetForm.title = Items.title
this.editMeetForm.type = Items.type
} else {
let Item = JSON.parse(localStorage.getItem('obj'))
this.editForm.fillPeopleId = Item.fillPeopleId
this.editForm.fillPeople = Item.fillPeople
this.editForm.fillUnit = Item.fillUnit
this.editForm.fillDept = Item.fillDept
this.editForm.fillTel = Item.fillTel
this.editForm.fillMail = Item.fillMail
}
this.editFlag = false
},
@@ -25,6 +25,10 @@ export default {
label: "企标制修订-技术标准",
value: "buss1"
},
{
label: "企标制修订-产品标准",
value: "buss2"
},
{
label: "标准征求意见流程",
value: "3"
@@ -116,7 +116,7 @@
<el-input
placeholder="请选择入会成员"
style="width: 50%"
@click.native="choiceRole('','请选择入会成员',rh_pageData.comityOpRoleId,)"
@click.native="choiceRole(rh_pageData.comityOpRoleId)"
v-model="rh_pageData.comityOpRole"
/>
</el-form-item>
@@ -342,9 +342,11 @@ export default {
},
/** 选择入会人员 */
choiceRole(type,title,id) {
choiceRole() {
this.nodeList = []
this.nodeList.push(id)
if (this.rh_pageData.comityOpRoleId.length > 0) {
this.nodeList = this.rh_pageData.comityOpRoleId.split(',')
}
this.roleShowflag = true
},
drawerCheck(data) {
@@ -295,7 +295,7 @@
</div>
</div>
<el-drawer
title="编辑人员信息"
:title="isTitle"
:visible.sync="editFlag"
size="500px"
>
@@ -478,6 +478,7 @@ export default {
acceptShow: false,
roleShowflag: false,
nodeList: [],
isTitle: ''
}
},
computed: {
@@ -539,6 +540,8 @@ export default {
fillFile: this.fillFile = []
}
this.rh_pageData.myPartRole.push(list)
this.isTitle = '新增人员信息'
this.add_partDialog(list)
},
fillFile_up(row) {
@@ -625,8 +628,17 @@ export default {
handleClose() {
this.upDialog = false
},
add_partDialog(row) {
// 用来储存取消时原来的数据,防止取消时修改
localStorage.setItem('obj', JSON.stringify(row))
this.fileListData = row
this.reData = this.fileListData.fillFile
this.editForm = row
this.editFlag = true
},
// 编辑按钮
edit_partForm(row) {
this.isTitle = '编辑人员信息'
// 用来储存取消时原来的数据,防止取消时修改
localStorage.setItem('obj', JSON.stringify(row))
this.fileListData = row
@@ -639,15 +651,19 @@ export default {
this.editFlag = false
},
falseDrawer() {
let Item = JSON.parse(localStorage.getItem('obj'))
this.editForm.fillPeopleId = Item.fillPeopleId
this.editForm.fillPeople = Item.fillPeople
this.editForm.fillUnit = Item.fillUnit
this.editForm.fillDept = Item.fillDept
this.editForm.fillPost = Item.fillPost
this.editForm.fillTel = Item.fillTel
this.editForm.fillMail = Item.fillMail
this.editForm.fillFile = Item.fillFile
if (this.isTitle === '新增人员信息') {
this.getData()
} else {
let Item = JSON.parse(localStorage.getItem('obj'))
this.editForm.fillPeopleId = Item.fillPeopleId
this.editForm.fillPeople = Item.fillPeople
this.editForm.fillUnit = Item.fillUnit
this.editForm.fillDept = Item.fillDept
this.editForm.fillPost = Item.fillPost
this.editForm.fillTel = Item.fillTel
this.editForm.fillMail = Item.fillMail
this.editForm.fillFile = Item.fillFile
}
this.editFlag = false
},
// 编辑框选人
@@ -112,7 +112,7 @@
<el-input
placeholder="请选择参会人员"
style="width: 50%"
@click.native="choiceRole('meetingInRoleId','选择参会人员',ch_pageData.meetingInRoleId,)"
@click.native="choiceRole"
v-model="ch_pageData.meetingInRole"
/>
</el-form-item>
@@ -303,9 +303,11 @@ export default {
},
/** 选择入会人员 */
choiceRole(type,title,id) {
choiceRole() {
this.nodeList = []
this.nodeList.push(id)
if (this.ch_pageData.meetingInRoleId.length > 0) {
this.nodeList = this.ch_pageData.meetingInRoleId.split(',')
}
this.roleShowflag = true
},
drawerCheck(data) {
@@ -257,7 +257,7 @@
</div>
</div>
<el-drawer
title="编辑人员信息"
:title="isTitle"
:visible.sync="editFlag"
size="500px"
custom-class="demo-drawer"
@@ -356,7 +356,8 @@ export default {
fillDept: '',
fillTel: '',
fillMail: '',
}
},
isTitle: ''
}
},
computed: {
@@ -416,21 +417,35 @@ export default {
fillMail: this.fillMail,
}
this.ch_pageData.myPartRole.push(list)
this.isTitle = '新增人员信息'
this.add_partDialog(list)
},
// 编辑框确认按钮
OkDrawer() {
this.editFlag = false
},
falseDrawer() {
let Item = JSON.parse(localStorage.getItem('obj'))
this.editForm.fillPeopleId = Item.fillPeopleId
this.editForm.fillPeople = Item.fillPeople
this.editForm.fillUnit = Item.fillUnit
this.editForm.fillDept = Item.fillDept
this.editForm.fillTel = Item.fillTel
this.editForm.fillMail = Item.fillMail
if (this.isTitle = '新增人员信息') {
this.getData()
} else {
let Item = JSON.parse(localStorage.getItem('obj'))
this.editForm.fillPeopleId = Item.fillPeopleId
this.editForm.fillPeople = Item.fillPeople
this.editForm.fillUnit = Item.fillUnit
this.editForm.fillDept = Item.fillDept
this.editForm.fillTel = Item.fillTel
this.editForm.fillMail = Item.fillMail
}
this.editFlag = false
},
add_partDialog(row) {
// 用来储存取消时原来的数据,防止取消时修改
localStorage.setItem('obj', JSON.stringify(row))
this.fileListData = row
this.editForm = row
this.editFlag = true
},
/** 入会人员编辑 */
edit_partForm(row) {
// 用来储存取消时原来的数据,防止取消时修改
@@ -119,7 +119,7 @@
width="260px"
>
<template slot-scope="scope">
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName || scope.row.standEnName }}</a>
</template>
</el-table-column>
<el-table-column
@@ -587,75 +587,77 @@
</el-form-item>
</el-form>
</div>
<el-table
:data="standardData"
tooltip-effect="dark"
style="width: 100%"
border
ref="table"
class="table-height"
:header-cell-style="{background: '#f5f1f1', color: '#333333', fontSize: '16px',
<div class="table-height">
<el-table
:data="standardData"
tooltip-effect="dark"
style="width: 100%"
border
ref="table"
height="100%"
:header-cell-style="{background: '#f5f1f1', color: '#333333', fontSize: '16px',
fontWeight: 'bold', height: '48px'}"
@selection-change="selectThree"
>
<el-table-column
type="selection"
width="55"
align="center">
</el-table-column>
<el-table-column
prop="code"
align="center"
label="标准号">
<template slot-scope="scope">
<a v-if="scope.row.standYear" class="table-jump"
@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>
</el-table-column>
<el-table-column
prop="standName"
align="center"
label="标准名称"
@selection-change="selectThree"
>
<template slot-scope="scope">
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
</template>
</el-table-column>
<el-table-column
prop="issueTime"
align="center"
label="发布日期">
<template slot-scope="scope">
<span>{{ scope.row.issueTime ? $moment(scope.row.issueTime).format("YYYY-MM-DD") : "" }}</span>
</template>
</el-table-column>
<el-table-column
prop="XCXSSRQ"
align="center"
label="新车型实施日期">
</el-table-column>
<el-table-column
show-overflow-tooltip
prop="ZCCSSRQ"
align="center"
label="在产车实施日期">
</el-table-column>
<el-table-column
show-overflow-tooltip
prop="textStatus"
align="center"
label="文本状态">
<template slot-scope="scope">
<span>{{ textStatusMap[scope.row.textStatus] }}</span>
</template>
</el-table-column>
</el-table>
<el-table-column
type="selection"
width="55"
align="center">
</el-table-column>
<el-table-column
prop="code"
align="center"
label="标准号">
<template slot-scope="scope">
<a v-if="scope.row.standYear" class="table-jump"
@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>
</el-table-column>
<el-table-column
prop="standName"
align="center"
label="标准名称"
>
<template slot-scope="scope">
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName || scope.row.standEnName }}</a>
</template>
</el-table-column>
<el-table-column
prop="issueTime"
align="center"
label="发布日期">
<template slot-scope="scope">
<span>{{ scope.row.issueTime ? $moment(scope.row.issueTime).format("YYYY-MM-DD") : "" }}</span>
</template>
</el-table-column>
<el-table-column
prop="XCXSSRQ"
align="center"
label="新车型实施日期">
</el-table-column>
<el-table-column
show-overflow-tooltip
prop="ZCCSSRQ"
align="center"
label="在产车实施日期">
</el-table-column>
<el-table-column
show-overflow-tooltip
prop="textStatus"
align="center"
label="文本状态">
<template slot-scope="scope">
<span>{{ textStatusMap[scope.row.textStatus] }}</span>
</template>
</el-table-column>
</el-table>
</div>
</div>
<pagination
:page="pageNo"
@@ -119,7 +119,7 @@
width="260px"
>
<template slot-scope="scope">
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName || scope.row.standEnName }}</a>
</template>
</el-table-column>
<el-table-column
@@ -557,75 +557,77 @@
</el-form-item>
</el-form>
</div>
<el-table
:data="standardData"
tooltip-effect="dark"
style="width: 100%"
border
ref="table"
class="table-height"
:header-cell-style="{background: '#f5f1f1', color: '#333333', fontSize: '16px',
<div class="table-height">
<el-table
:data="standardData"
tooltip-effect="dark"
style="width: 100%"
border
ref="table"
height="100%"
:header-cell-style="{background: '#f5f1f1', color: '#333333', fontSize: '16px',
fontWeight: 'bold', height: '48px'}"
@selection-change="selectThree"
>
<el-table-column
type="selection"
width="55"
align="center">
</el-table-column>
<el-table-column
prop="code"
align="center"
label="标准号">
<template slot-scope="scope">
<a v-if="scope.row.standYear" class="table-jump"
@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>
</el-table-column>
<el-table-column
prop="standName"
align="center"
label="标准名称"
@selection-change="selectThree"
>
<template slot-scope="scope">
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
</template>
</el-table-column>
<el-table-column
prop="issueTime"
align="center"
label="发布日期">
<template slot-scope="scope">
<span>{{ scope.row.issueTime ? $moment(scope.row.issueTime).format("YYYY-MM-DD") : "" }}</span>
</template>
</el-table-column>
<el-table-column
prop="XCXSSRQ"
align="center"
label="新车型实施日期">
</el-table-column>
<el-table-column
show-overflow-tooltip
prop="ZCCSSRQ"
align="center"
label="在产车实施日期">
</el-table-column>
<el-table-column
show-overflow-tooltip
prop="textStatus"
align="center"
label="文本状态">
<template slot-scope="scope">
<span>{{ textStatusMap[scope.row.textStatus] }}</span>
</template>
</el-table-column>
</el-table>
<el-table-column
type="selection"
width="55"
align="center">
</el-table-column>
<el-table-column
prop="code"
align="center"
label="标准号">
<template slot-scope="scope">
<a v-if="scope.row.standYear" class="table-jump"
@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>
</el-table-column>
<el-table-column
prop="standName"
align="center"
label="标准名称"
>
<template slot-scope="scope">
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName || scope.row.standEnName}}</a>
</template>
</el-table-column>
<el-table-column
prop="issueTime"
align="center"
label="发布日期">
<template slot-scope="scope">
<span>{{ scope.row.issueTime ? $moment(scope.row.issueTime).format("YYYY-MM-DD") : "" }}</span>
</template>
</el-table-column>
<el-table-column
prop="XCXSSRQ"
align="center"
label="新车型实施日期">
</el-table-column>
<el-table-column
show-overflow-tooltip
prop="ZCCSSRQ"
align="center"
label="在产车实施日期">
</el-table-column>
<el-table-column
show-overflow-tooltip
prop="textStatus"
align="center"
label="文本状态">
<template slot-scope="scope">
<span>{{ textStatusMap[scope.row.textStatus] }}</span>
</template>
</el-table-column>
</el-table>
</div>
</div>
<pagination
:page="pageNo"
@@ -40,16 +40,16 @@
<el-form-item label="附件" prop="fileName" class="add-form-item form-item-disabled">
<div class="file-box" v-if="fileList.length > 0">
<p v-for="item in fileList"
:key="item.id" @click="clickButtonToUpload2(item.id)"> {{ item.name }}
:key="item.id" @click.stop="clickButtonToUpload2(item.id)"> {{ item.name }}
<i
title="下载"
@click="downloadFile(item.id)"
@click.stop="downloadFile(item.id)"
class="icon-download"
v-btn-permission="''"
/>
<i
title="下载带水印"
@click="downloadFileByWater(item.id, item.name)"
@click.stop="downloadFileByWater(item.id, item.name)"
class="icon-download2"
v-btn-permission="''"
/>
@@ -382,14 +382,13 @@ export default {
}
},
downloadFileByWater(attId, fileSuffix) {
let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
if (fileExtension !== "pdf" && fileExtension !== "PDF") {
this.$message.error("水印下载仅支持PDF,pdf格式文件");
if (fileSuffix !== 'pdf' && fileSuffix !== 'PDF') {
this.$message.error('水印下载仅支持PDF,pdf格式文件')
} else {
if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSarWaterMark?fileId=" + attId;
if (attId != null && attId !== '') {
window.location.href = '/api/att/attFile/downloadFileForSarWaterMark?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId
} else {
this.$message.error("请选择要下载的文件");
this.$message.error('请选择要下载的文件')
}
}
},
@@ -111,7 +111,7 @@
width="260px"
>
<template slot-scope="scope">
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName || scope.row.standEnName}}</a>
</template>
</el-table-column>
<el-table-column
@@ -311,7 +311,7 @@
label="标准名称"
>
<template slot-scope="scope">
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName || scope.row.standEnName}}</a>
</template>
</el-table-column>
<el-table-column
@@ -561,12 +561,12 @@ export default {
},
//标准查询按钮
getStandDataBtn(){
this.loading = true
// this.loading = true
this.pageNo = 1;
this.getStandData();
},
getStandData() {
this.$http.get("sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage", {
this.$http.get("sarStandardsInfo/sar-standards-info/getSarStandardsInfoPageByWk1", {
standType: this.standardSearch.standType,
standNumber: this.standardSearch.standNumber,
page: this.pageNo,
@@ -587,7 +587,7 @@ export default {
//点击添加事件
addList() {
this.standModel = true;
this.loading = true
// this.loading = true
this.getStandDataBtn()
},
//添加标准select的改变
@@ -40,16 +40,16 @@
<el-form-item label="附件" prop="fileName" class="add-form-item form-item-disabled">
<div class="file-box" v-if="fileList.length > 0">
<p v-for="item in fileList"
:key="item.id" @click="clickButtonToUpload2(item.id)"> {{ item.name }}
:key="item.id" @click.stop="clickButtonToUpload2(item.id)"> {{ item.name }}
<i
title="下载"
@click="downloadFile(item.id)"
@click.stop="downloadFile(item.id)"
class="icon-download"
v-btn-permission="''"
/>
<i
title="下载带水印"
@click="downloadFileByWater(item.id, item.name)"
@click.stop="downloadFileByWater(item.id, item.name)"
class="icon-download2"
v-btn-permission="''"
/>
@@ -452,14 +452,13 @@ export default {
}
},
downloadFileByWater(attId, fileSuffix) {
let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
if (fileExtension !== "pdf" && fileExtension !== "PDF") {
this.$message.error("水印下载仅支持PDF,pdf格式文件");
if (fileSuffix !== 'pdf' && fileSuffix !== 'PDF') {
this.$message.error('水印下载仅支持PDF,pdf格式文件')
} else {
if (attId != null && attId !== "") {
window.location.href = "/api/att/attFile/downloadFileForSarWaterMark?fileId=" + attId;
if (attId != null && attId !== '') {
window.location.href = '/api/att/attFile/downloadFileForSarWaterMark?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId
} else {
this.$message.error("请选择要下载的文件");
this.$message.error('请选择要下载的文件')
}
}
},
@@ -468,6 +467,7 @@ export default {
if(!this.commentText){
this.$message.warning('请填写审批意见')
}else{
this.isSubmit = true
this.listForm.approvalOpinion = "1";
this.saveLoading = true
this.listForm.commentText = this.commentText;
@@ -484,6 +484,7 @@ export default {
this.$router.push("/processCenter");
}
this.saveLoading = false
this.isSubmit = false
});
}/**/
},
@@ -82,7 +82,7 @@
style="display: none;"
clearable
></el-input>
<el-input v-model="form.bzfgName" placeholder="请选择标准法规工程师分线管理员" @click.native="choiceZRR(form.bzfgId)"></el-input>
<el-input disabled v-model="form.bzfgName" placeholder="请选择标准法规工程师分线管理员"></el-input>
</el-form-item>
</el-col>
</el-row>
@@ -467,8 +467,11 @@
this.form.textType = data.textType || data.form.textType
this.form.modelList = data.modelList || data.form.modelList
this.form.modelNameList = data.modelNameList || data.form.modelNameList
this.form.bzfgId = data.bzfgId || ''
this.form.bzfgName = data.bzfgName || ''
console.log(data);
this.form.bzfgId = data.startUser
this.form.bzfgName = data.startUserName
// this.form.bzfgId = data.bzfgId || ''
// this.form.bzfgName = data.bzfgName || ''
this.json = data
this.data = data.info || data.data
}).catch(e => {
@@ -459,7 +459,7 @@ export default {
newText: '',
reason: '',
id: id,
department: this.$store.getters.userInfo.upDeptName,
department: this.$store.getters.userInfo.institutionName,
responUserName: this.$store.getters.userInfo.userName,
responUser: this.$store.getters.userInfo.userId
}
@@ -0,0 +1,675 @@
<template>
<form>
<ProcessTitle>
<template slot="title">基础信息</template>
</ProcessTitle>
<div class="prc-content-border">
<el-row :gutter="24">
<el-col :span="12">
<el-form-item label="企标类别" prop="standSort" class="add-form-item form-item-disabled">
<el-select v-model="form.standSort" filterable clearable>
<el-option
v-for="item in standSortOptions"
placeholder="请选择企标类别"
:key="item.value"
:value="item.value"
:label="item.label"
></el-option>
</el-select>
</el-form-item>
<el-form-item label="中文名称" prop="standName" class="add-form-item form-item-disabled">
<el-input
v-model="form.standName"
placeholder="请输入中文名称"
clearable
></el-input>
</el-form-item>
<!-- <el-form-item label="文本状态" prop="textStatusBuss" class="add-form-item form-item-disabled">-->
<!-- <el-select :popper-append-to-body="false" v-model="form.textStatusBuss" placeholder="请选择文本状态">-->
<!-- <el-option-->
<!-- v-for="item in standStateOptions"-->
<!-- placeholder="请选择"-->
<!-- :key="item.value"-->
<!-- :value="item.value"-->
<!-- :label="item.label"-->
<!-- ></el-option>-->
<!-- </el-select>-->
<!-- </el-form-item>-->
<!-- <el-form-item v-show="verifySarStandard" label="标准年份" prop="standYear" class="add-form-item form-item-disabled">-->
<!-- <el-input v-model="form.standYear"-->
<!-- placeholder="请输入标准年份"-->
<!-- clearable></el-input>-->
<!-- </el-form-item>-->
<el-form-item v-show="verifySarStandard" label="企标实施日期" prop="putTime" class="add-form-item form-item-disabled">
<el-datePicker v-model="form.putTime"
:editable="false"
placeholder="请选择企标实施日期"
value-format="yyyy-MM-dd"
></el-datePicker>
</el-form-item>
<!-- <el-form-item v-show="verifySarStandard" label="复审日期" prop="FSRQBUSS" class="add-form-item form-item-disabled">-->
<!-- <el-datePicker v-model="form.FSRQBUSS"-->
<!-- :editable="false"-->
<!-- :disabled="true"-->
<!-- placeholder="请选择废止日期"-->
<!-- value-format="yyyy-MM-dd"-->
<!-- clearable></el-datePicker>-->
<!-- </el-form-item>-->
</el-col>
<el-col :span="12">
<!-- <el-form-item label="国家/地区" prop="country" class="add-form-item form-item-disabled">-->
<!-- <el-select :popper-append-to-body="false" v-model="form.country" multiple placeholder="国家/地区">-->
<!-- <el-option-->
<!-- v-for="item in countryOptions"-->
<!-- placeholder="请选择"-->
<!-- :key="item.value"-->
<!-- :value="item.value"-->
<!-- :label="item.label"-->
<!-- ></el-option>-->
<!-- </el-select>-->
<!-- </el-form-item>-->
<!-- <el-form-item label="企标编号" prop="standNumber" class="add-form-item form-item-disabled">-->
<!-- <el-input-->
<!-- v-model="form.standNumber"-->
<!-- placeholder="请输入企标编号"-->
<!-- clearable-->
<!-- ></el-input>-->
<!-- </el-form-item>-->
<el-form-item label="英文名称" prop="standEnName" class="add-form-item form-item-disabled">
<el-input
v-model="form.standEnName"
placeholder="请输入英文名称"
clearable
></el-input>
</el-form-item>
<el-form-item v-show="verifySarStandard" label="发布日期" prop="issueTime" class="add-form-item form-item-disabled">
<el-datePicker v-model="form.issueTime"
:editable="false"
placeholder="请选择发布日期"></el-datePicker>
</el-form-item>
<!-- <el-form-item v-show="verifySarStandard" label="废止日期" prop="FZRQBUSS" class="add-form-item form-item-disabled">-->
<!-- <el-datePicker v-model="form.FZRQBUSS"-->
<!-- :editable="false"-->
<!-- placeholder="请选择废止日期"-->
<!-- value-format="yyyy-MM-dd"-->
<!-- clearable></el-datePicker>-->
<!-- </el-form-item>-->
</el-col>
</el-row>
</div>
<ProcessTitle v-show="verifySarStandard">
<template slot="title">过程稿件</template>
</ProcessTitle>
<div class="prc-content-border" v-show="verifySarStandard">
<el-row :gutter="24">
<el-col :span="12">
<el-form-item label="发布稿" prop="FBGBUSSName" class="add-form-item form-item-disabled">
<el-input
disabled
style="display: none;"
v-model="form.FBGBUSSName"
clearable
></el-input>
<div style="display: flex;justify-content: space-between">
<div style="width: 80%;">
<div v-for="(item,index) in FBGBUSSFileList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')">{{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button>
</span>
</div>
</div>
<div style="width: 20%;">
<el-button
type="primary"
class="common-button-primary"
size="mini"
style="margin-left: 10px; margin-top: 11px; float: right;"
@click="fileUpload('FBGBUSS')">
<i class="el-icon-upload"></i>
</el-button>
</div>
</div>
</el-form-item>
<el-form-item label="历史版本" prop="LSBBBUSSName" class="add-form-item form-item-disabled">
<el-input
disabled
style="display: none;"
v-model="form.LSBBBUSSName"
clearable
></el-input>
<div style="display: flex;justify-content: space-between">
<div style="width: 80%;">
<div v-for="(item,index) in LSBBBUSSFileList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')">{{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button>
</span>
</div>
</div>
<div style="width: 20%;">
<el-button
type="primary"
class="common-button-primary"
size="mini"
style="margin-left: 10px; margin-top: 11px; float: right;"
@click="fileUpload('LSBBBUSS')">
<i class="el-icon-upload"></i>
</el-button>
</div>
</div>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="编制说明" prop="BZSMBUSSName" class="add-form-item form-item-disabled">
<el-input
disabled
style="display: none;"
v-model="form.BZSMBUSSName"
clearable
></el-input>
<div style="display: flex;justify-content: space-between">
<div style="width: 80%;">
<div v-for="(item,index) in BZSMBUSSFileList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')">{{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button>
</span>
</div>
</div>
<div style="width: 20%;">
<el-button
type="primary"
class="common-button-primary"
size="mini"
style="margin-left: 10px; margin-top: 11px; float: right;"
@click="fileUpload('BZSMBUSS')">
<i class="el-icon-upload"></i>
</el-button>
</div>
</div>
</el-form-item>
<el-form-item label="其他文件" prop="QTWJBUSSName" class="add-form-item form-item-disabled">
<el-input
disabled
style="display: none;"
v-model="form.QTWJBUSSName"
clearable
></el-input>
<div style="display: flex;justify-content: space-between">
<div style="width: 80%;">
<div v-for="(item,index) in QTWJBUSSFileList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')">{{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button>
</span>
</div>
</div>
<div style="width: 20%;">
<el-button
type="primary"
class="common-button-primary"
size="mini"
style="margin-left: 10px; margin-top: 11px; float: right;"
@click="fileUpload('QTWJBUSS')">
<i class="el-icon-upload"></i>
</el-button>
</div>
</div>
</el-form-item>
</el-col>
</el-row>
</div>
<ProcessTitle v-show="verifySarStandard">
<template slot="title">适用范围</template>
</ProcessTitle>
<div class="prc-content-border" v-show="verifySarStandard">
<el-row :gutter="24">
<el-col :span="12">
<el-form-item label="起草部门" prop="QCDW" class="add-form-item form-item-disabled">
<el-input
clearable
v-model="form.QCDW"
placeholder="选择起草部门"
@click.native="choiceQCDW('QCDWId', '起草部门', form.QCDW)">
</el-input>
</el-form-item>
<el-form-item label="文件上传人员" prop="WJSCRYBUSSName" class="add-form-item form-item-disabled">
<el-input
v-model="form.WJSCRYBUSSName"
placeholder="请输入文件上传人员"
:disabled="true"
clearable
></el-input>
</el-form-item>
<el-form-item label="能源类型" prop="NYLXCLASS" class="add-form-item form-item-disabled">
<el-select :popper-append-to-body="false" v-model="form.NYLXCLASS" 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="体系类别" prop="TXLBBUSS" class="add-form-item form-item-disabled">
<el-input v-model="form.TXLBBUSS" placeholder="选择体系类别" clearable @click.native="choiceZRR1('TXLBBUSS', '体系类别', form.TXLBBUSS)"></el-input>
</el-form-item>
<el-form-item label="模块VPPS编码" title="模块VPPS编码" class="add-form-item form-item-disabled">
<el-input v-model="form.VPPSBMBUSS" placeholder="选择VPPS编码" @click.native="choiceZRR2('VPPSBMBUSS', 'VPPS编码', form.VPPSBMBUSS,false)"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="起草人" prop="QCRBUSS" class="add-form-item form-item-disabled">
<el-input
v-model="form.QCRBUSS"
placeholder="选择起草人"
clearable
@click.native="choiceZRRList('QCRBUSS', '选择起草人', form.QCRBUSS)">
</el-input>
</el-form-item>
<el-form-item label="适用车型" prop="SYCXCLASS" class="add-form-item form-item-disabled">
<el-select :popper-append-to-body="false" v-model="form.SYCXCLASS" 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="SYCPXCLASS" class="add-form-item form-item-disabled">
<el-select :popper-append-to-body="false" v-model="form.SYCPXCLASS" 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="VPPSCNBUSS" class="add-form-item form-item-disabled">
<el-input v-model="form.VPPSCNBUSS" placeholder="请输入模块中文名称" clearable :disabled="true"></el-input>
</el-form-item>
</el-col>
</el-row>
</div>
<ProcessTitle v-show="verifySarStandard">
<template slot="title">关联信息</template>
</ProcessTitle>
<div class="prc-content-border" v-show="verifySarStandard">
<el-row :gutter="24">
<el-col :span="12">
<el-form-item label="代替企标编号" prop="DTQBBHBUSS" class="add-form-item form-item-disabled">
<el-input
v-model="form.DTQBBHBUSS"
placeholder="请输入代替标准号"
clearable
></el-input>
<el-button
type="primary"
class="common-button-primary"
size="mini"
style="position:absolute;top: 10px;right: 0;"
@click="selectLaws('DTQBBHBUSS'),config.attrName = '代替企标编号'"
>{{'手动查找'}}</el-button>
</el-form-item>
<el-form-item label="关联文件" prop="GLWJBUSSName" class="add-form-item form-item-disabled">
<el-input
disabled
style="display: none;"
v-model="form.GLWJBUSSName"
clearable
></el-input>
<div style="display: flex;justify-content: space-between">
<div style="width: 80%;">
<div v-for="(item,index) in GLWJBUSSFileList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')">{{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button>
</span>
</div>
</div>
<div style="width: 20%;">
<el-button
type="primary"
class="common-button-primary"
size="mini"
style="margin-left: 10px; margin-top: 11px; float: right;"
@click="fileUpload('GLWJBUSS')">
<i class="el-icon-upload"></i>
</el-button>
</div>
</div>
</el-form-item>
</el-col>
<el-col :span="12">
<!-- <el-form-item label="被代替企标编号" prop="BDTWJHLAWS" class="add-form-item form-item-disabled">-->
<!-- <el-input-->
<!-- v-model="form.BDTWJHLAWS"-->
<!-- placeholder="请输入被代替企标编号"-->
<!-- clearable-->
<!-- ></el-input>-->
<!-- <el-button-->
<!-- type="primary"-->
<!-- class="common-button-primary"-->
<!-- size="mini"-->
<!-- style="position:absolute;top: 10px;right: 0;"-->
<!-- @click="selectLaws('bfbdtbzh'),config.attrName = '被代替企标编号'"-->
<!-- >{{'手动查找'}}</el-button>-->
<!-- </el-form-item>-->
<el-form-item label="上传时间" prop="XCSJBUSS" class="add-form-item form-item-disabled">
<el-input
v-model="form.XCSJBUSS"
placeholder=""
clearable
:disabled="true"
></el-input>
</el-form-item>
</el-col>
</el-row>
</div>
</form>
</template>
<script>
import { mapGetters } from 'vuex'
import ProcessTitle from '../../../components/ProcessTitle'
export default {
name: 'formEditList',
components: {
ProcessTitle,
},
props: {
formSub: {
type: Object,
required: true
},
FBGBUSSFileListSub: {
type: Array,
required: true
},
LSBBBUSSFileListSub: {
type: Array,
required: true
},
BZSMBUSSFileListSub: {
type: Array,
required: true
},
QTWJBUSSFileListSub: {
type: Array,
required: true
},
GLWJBUSSFileListSub: {
type: Array,
required: true
},
disabledState: {
type: Boolean,
default: false
},
verifySarStandard: {
type: Boolean,
default: false
},
fileMadelSub: {
type: Boolean,
default: false
},
fbgDown: {
type: Boolean,
default: false
},
},
data () {
return {
fileId:'',
dialogVisible: false,
config: {
attrName : '',
},
replaceLawsNumModel: false,
replaceLawType: '',
sarBussionessLawsEO: {
replaceLawsNum: ''
},
// 代替标准号
replaceLawsNumForm: {
lawsNumber:'',
numberName:'',
lawsTextState:'',
dataSource: '',
standNumber: '', // 标准编号
page: 1,
pageSize: this.$store.getters.userInfo.configContent,
total: 0,
standType: 'BUSINESS',
quoteIdList: '',
validFlag: '0',
menuId: 'nomenu'
},
replaceLawsNumRow: [], // 代替政策号 数组内容
replaceTotal: 0,
form:{},
fileList: [],
FBGBUSSFileList: [],
BZSMBUSSFileList: [],
LSBBBUSSFileList: [],
QTWJBUSSFileList: [],
GLWJBUSSFileList: [],
countryOptions:[],//国家地区
standSortOptions: [], // 标准类别
standNatureOptions: [], // 标准性质
standStateOptions: [], // 文本状态
standSystemOptions: [], // 标准体系
busVppsOptions: [], // 车系体系架构
busVppsChildOptions: [], // 车系体系架构子集合
modelOptions: [], // 模块体系架构
modelChildOptions: [], // 模块体系架构子集合
applyArcticOptions: [], // 适用车型
gkglbmOptions: [], // 归口管理部门
categoryOptions: [], // 能源类型
applyAuthOptions: [], // 适用认证
cysdOptions: [], // 我司参与深度
cbcdOptions: [], // 采标程度
wssmrOptions: [], // 我司署名人
sycpxOptions: [], // 适用产品线
zrbmOptions: [], // 责任部门
zrgcsOptions: [], // 责任工程师
qcdwOption: [], // 起草单位
txlbOptions: [], // 体系类别
standSortConfigOptions: [], // 标准类别下拉框
adoptExtentOptions: [], // 采标程度下拉框
emergyKindOptions: [], // 能源种类下拉框
categoryConfigOptions: [], // 所属类别下拉框
assemClassOptions: [], // 总成分类下拉框
qcdwOptions:[],//起草单位下拉框
qcrOptions:[],//起草人下拉框
nylxOptions:[],//能源类型下拉框
syrzOptions:[],//适用认证下拉框
data: [], // 标准列表数据
ListForm: {}, // 新增数据
}
},
computed: {
...mapGetters(['userInfo'])
},
methods: {
choiceQCDW(type, title, id) {
this.$emit('formChoiceQCDW',type,title,id)
},
choiceZRRList (type, title, id) {
this.$emit('formChoiceZRRListCancel',type,title,id)
},
// 代替企标编号 请求数据
getReplaceLawsNumRow () {
this.$http.get('lawss/sarBussionessStand/getSarBussionStandPage', this.replaceLawsNumForm, {
_this: this,
loading: 'replaceLoading'
}, res => {
this.replaceLawsNumRow = res.data.list
this.replaceTotal = res.data.count
if (this.selectedListRep.length !== 0) {
this.selectedListRep.map((list) => {
this.replaceLawsNumRow.map((item) => {
if (list.id === item.id) {
item._checked = true
}
})
})
}
}, e => {
})
},
selectLaws (type) {
// if (this.standNumFlag === 1) {
// this.$refs.selections.selectAll(false)
// }
// this.sarBussionessLawsEO.replaceLawsNum = ''
this.replaceLawsNumModel = true
this.replaceLawType = ''
this.replaceLawType = type
this.$emit('formSelectLawsCancel', this.replaceLawsNumModel,this.replaceLawType);
},
fileUpload (type) {
// this.fileMadel = true;//此句应在最后执行,否则会有先显示没变换的的文件列表,在显示变换了的文件列表
const fileType = type;
switch (this.fileType){
case 'FBGBUSS':
this.fileList=this.FBGBUSSFileList
break;
case 'BZSMBUSS' :
this.fileList=this.BZSMBUSSFileList
break;
case 'LSBBBUSS':
this.fileList=this.LSBBBUSSFileList
break;
case 'QTWJBUSS':
this.fileList=this.QTWJBUSSFileList
break;
case 'GLWJBUSS':
this.fileList=this.GLWJBUSSFileList
break;
default : ;
}
this.fileMadel = true;
this.$emit('formCancel', this.form, this.FBGBUSSFileList,this.LSBBBUSSFileList,this.BZSMBUSSFileList,this.QTWJBUSSFileList,this.GLWJBUSSFileList,this.fileMadel,this.fileList,fileType);
},
filePreview(){
this.$preview(this.fileId)
this.dialogVisible = false
},
down(){
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.fileId
this.dialogVisible = false
},
// 文件预览及下载
handleFilePreview(file,type) {
let attId = ""
if(file && file.id){
attId = file.id
}else {
attId = file.response.data.id
}
if (type === 'down') {
if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId
} else {
this.$message.warning('文件不存在,下载失败')
}
} else {
this.$preview(attId)
}
},
downloadFile (data) {
//文件id中出现了','字符,去除掉
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id
},
setMap(data){
data.forEach(item => {
this.$set(this.textStatusMap, item.value, item.label)
})
},
busVsFunc(){
this.$http.get('sarVppsTree/list', '', {
_this: this
}, res => {
this.busVppsOptions = []
this.busVppsOptions = res.data
})
},
modelFunc(){
this.$http.get('sarModelTree/list', '', {
_this: this
}, res => {
this.modelOptions = []
this.modelOptions = res.data
})
},
},
mounted () {
this.form = this.formSub,
this.FBGBUSSFileList= this.FBGBUSSFileListSub,
this.BZSMBUSSFileList= this.BZSMBUSSFileListSub,
this.LSBBBUSSFileList= this.LSBBBUSSFileListSub,
this.QTWJBUSSFileList= this.QTWJBUSSFileListSub,
this.GLWJBUSSFileList= this.GLWJBUSSFileListSub,
this.$http.get('sys/dictype/getDicTypeListCode', '', {
_this: this
}, res => {
this.countryOptions = res.data.COUNTRY
this.applyCountryOptions = res.data.COUNTRY
this.regionOptions = res.data.REGION // 区域
this.standStateOptions = res.data.BUSSSTATE
this.energyKindOptions = res.data.ENERGYTYPES
this.standGeneraOptions = res.data.BUSSBIGCLASS
this.standSubclassOptions = res.data.BUSSFINECLASS
this.standSortOptions = res.data.BUSSSTANDCLASS // 标准类别
this.standNatureOptions = res.data.SARPROPERTY // 标准性质
this.standStateOptions = res.data.TEXTSTATUSBUSS // 文本状态
this.standSystemOptions = res.data.TXLBBUSS // 标准体系
this.applyArcticOptions = res.data.ENERGYTYPES // 适用车型
this.categoryOptions = res.data.NYLXCLASS // 能源类型
this.applyAuthOptions = res.data.SYRZCLASS // 适用认证
this.cysdOptions = res.data.WSCYSD // 我司参与深度
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
this.txlbOptions = res.data.TXLBCLASS // 体系类别
this.qcdwOptions = res.data.QCDW // 起草单位
this.qcrOptions = res.data.QCRBUSS // 起草人
this.nylxOptions = res.data.NYLXCLASS // 能源类型
this.syrzOptions = res.data.SYRZCLASS // 适用认证
this.sycpxOptions = res.data.SYCPXCLASS // 适用产品线
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
this.gkglbmOptions=res.data.GKGLBM;//归口管理部门
this.setMap(this.standStateOptions)
})
this.busVsFunc()
this.modelFunc()
},
watch: {
form: {
handler: function (val) {
if(val){
this.$emit('formCancel', this.form, this.FBGBUSSFileList,this.LSBBBUSSFileList,this.BZSMBUSSFileList,this.QTWJBUSSFileList,this.GLWJBUSSFileList,this.fileMadel);
}
},
deep: true //对象的深度验证
},
}
}
</script>
<style scoped>
</style>
@@ -0,0 +1,418 @@
<template>
<form>
<ProcessTitle>
<template slot="title">基础信息</template>
</ProcessTitle>
<div class="prc-content-border">
<el-row :gutter="24">
<el-col :span="12">
<el-form-item label="企标类别" prop="standSort" class="add-form-item form-item-disabled">
<el-select v-model="form.standSort" filterable clearable placeholder="" :disabled="disabledState" style="appearance: none">
<el-option
v-for="item in standSortOptions"
:key="item.value"
:value="item.value"
:label="item.label"
></el-option>
</el-select>
</el-form-item>
<el-form-item label="中文名称" prop="standName" class="add-form-item form-item-disabled">
<el-input
v-model="form.standName" :disabled="disabledState"
clearable
></el-input>
</el-form-item>
<!-- <el-form-item label="文本状态" prop="textStatusBuss" class="add-form-item form-item-disabled">-->
<!-- <el-select :popper-append-to-body="false" v-model="form.textStatusBuss" placeholder="" :disabled="disabledState">-->
<!-- <el-option-->
<!-- v-for="item in standStateOptions"-->
<!-- :key="item.value"-->
<!-- :value="item.value"-->
<!-- :label="item.label"-->
<!-- ></el-option>-->
<!-- </el-select>-->
<!-- </el-form-item>-->
<el-form-item v-show="verifySarStandard" label="企标实施日期" prop="putTime" class="add-form-item form-item-disabled">
<el-datePicker v-model="form.putTime" :disabled="disabledState"
:editable="false"></el-datePicker>
</el-form-item>
<!-- <el-form-item v-show="verifySarStandard" label="复审日期" prop="FSRQBUSS" class="add-form-item form-item-disabled">-->
<!-- <el-datePicker v-model="form.FSRQBUSS"-->
<!-- :editable="false"-->
<!-- :disabled="true"-->
<!-- value-format="yyyy-MM-dd"-->
<!-- clearable></el-datePicker>-->
<!-- </el-form-item>-->
</el-col>
<el-col :span="12">
<!-- <el-form-item label="国家/地区" prop="country" class="add-form-item form-item-disabled">-->
<!-- <el-select :popper-append-to-body="false" v-model="form.country" multiple placeholder="国家/地区">-->
<!-- <el-option-->
<!-- v-for="item in countryOptions"-->
<!-- placeholder="请选择"-->
<!-- :key="item.value"-->
<!-- :value="item.value"-->
<!-- :label="item.label"-->
<!-- ></el-option>-->
<!-- </el-select>-->
<!-- </el-form-item>-->
<!-- <el-form-item label="企标编号" prop="standNumber" class="add-form-item form-item-disabled">-->
<!-- <el-input-->
<!-- v-model="form.standNumber" :disabled="disabledState"-->
<!-- clearable-->
<!-- ></el-input>-->
<!-- </el-form-item>-->
<el-form-item label="英文名称" prop="standEnName" class="add-form-item form-item-disabled">
<el-input
v-model="form.standEnName" :disabled="disabledState"
clearable
></el-input>
</el-form-item>
<!-- <el-form-item v-show="verifySarStandard" label="标准年份" prop="standYear" class="add-form-item form-item-disabled">-->
<!-- <el-input v-model="form.standYear" :disabled="disabledState"-->
<!-- clearable></el-input>-->
<!-- </el-form-item>-->
<el-form-item v-show="verifySarStandard" label="发布日期" prop="issueTime" class="add-form-item form-item-disabled">
<el-datePicker v-model="form.issueTime" :disabled="disabledState"
:editable="false"
></el-datePicker>
</el-form-item>
<!-- <el-form-item v-show="verifySarStandard" label="废止日期" prop="FZRQBUSS" class="add-form-item form-item-disabled">-->
<!-- <el-datePicker v-model="form.FZRQBUSS" :disabled="disabledState"-->
<!-- :editable="false"-->
<!-- value-format="yyyy-MM-dd"-->
<!-- clearable></el-datePicker>-->
<!-- </el-form-item>-->
</el-col>
</el-row>
</div>
<ProcessTitle v-show="verifySarStandard">
<template slot="title">过程稿件</template>
</ProcessTitle>
<div class="prc-content-border" v-show="verifySarStandard">
<el-row :gutter="24">
<el-col :span="12">
<el-form-item label="发布稿" prop="FBGBUSSName" class="add-form-item form-item-disabled">
<div v-if="FBGBUSSFileList.length>0" v-for="(value,index) in this.FBGBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">
<!-- {{ value.name }} -->
{{value.name}}
</div>
<div v-else>
- -
</div>
</el-form-item>
<el-form-item label="历史版本" prop="LSBBBUSSName" class="add-form-item form-item-disabled">
<div v-if="LSBBBUSSFileList.length>0" v-for="(value,index) in this.LSBBBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">
<!-- {{ value.name }} -->
{{value.name}}
</div>
<div v-else>
- -
</div>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="编制说明" prop="BZSMBUSSName" class="add-form-item form-item-disabled">
<div v-if="BZSMBUSSFileList.length>0" v-for="(value,index) in this.BZSMBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">
<!-- {{ value.name }} -->
{{value.name}}
</div>
<div v-else>
- -
</div>
</el-form-item>
<el-form-item label="其他文件" prop="QTWJBUSSName" class="add-form-item form-item-disabled">
<div v-if="QTWJBUSSFileList.length>0" v-for="(value,index) in this.QTWJBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">
<!-- {{ value.name }} -->
{{value.name}}
</div>
<div v-else>
- -
</div>
</el-form-item>
</el-col>
</el-row>
</div>
<ProcessTitle v-show="verifySarStandard">
<template slot="title">适用范围</template>
</ProcessTitle>
<div class="prc-content-border" v-show="verifySarStandard">
<el-row :gutter="24">
<el-col :span="12">
<el-form-item label="起草部门" prop="QCDW" class="add-form-item form-item-disabled">
<el-input v-model="form.QCDW" :disabled="disabledState" clearable></el-input>
</el-form-item>
<el-form-item label="文件上传人员" prop="WJSCRYBUSSName" class="add-form-item form-item-disabled">
<el-input
v-model="form.WJSCRYBUSSName"
:disabled="true"
clearable
></el-input>
</el-form-item>
<el-form-item label="能源类型" prop="NYLXCLASS" class="add-form-item form-item-disabled">
<el-select :popper-append-to-body="false" v-model="form.NYLXCLASS" placeholder="" :disabled="disabledState" multiple>
<el-option
v-for="item in categoryOptions"
:key="item.value"
:value="item.value"
:label="item.label"
></el-option>
</el-select>
</el-form-item>
<el-form-item label="体系类别" prop="TXLBBUSS" class="add-form-item form-item-disabled">
<el-input v-model="form.TXLBBUSS" :disabled="disabledState" clearable></el-input>
</el-form-item>
<el-form-item label="模块VPPS编码" title="模块VPPS编码" class="add-form-item form-item-disabled">
<el-input v-model="form.VPPSBMBUSS" :disabled="disabledState"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="起草人" prop="QCRBUSS" class="add-form-item form-item-disabled">
<el-input v-model="form.QCRBUSS" :disabled="disabledState" clearable></el-input>
</el-form-item>
<el-form-item label="适用车型" prop="SYCXCLASS" class="add-form-item form-item-disabled">
<el-select :popper-append-to-body="false" v-model="form.SYCXCLASS" placeholder="" :disabled="disabledState" multiple>
<el-option
v-for="item in applyArcticOptions"
:key="item.value"
:value="item.value"
:label="item.label"
></el-option>
</el-select>
</el-form-item>
<el-form-item label="适用产品线" prop="SYCPXCLASS" class="add-form-item form-item-disabled">
<el-select :popper-append-to-body="false" v-model="form.SYCPXCLASS" placeholder="" :disabled="disabledState" multiple>
<el-option
v-for="item in sycpxOptions"
:key="item.value"
:value="item.value"
:label="item.label"
></el-option>
</el-select>
</el-form-item>
<el-form-item label="模块中文名称" prop="VPPSCNBUSS" class="add-form-item form-item-disabled">
<el-input v-model="form.VPPSCNBUSS" clearable :disabled="true"></el-input>
</el-form-item>
</el-col>
</el-row>
</div>
<ProcessTitle v-show="verifySarStandard">
<template slot="title">关联信息</template>
</ProcessTitle>
<div class="prc-content-border" v-show="verifySarStandard">
<el-row :gutter="24">
<el-col :span="12">
<el-form-item label="代替企标编号" prop="DTQBBHBUSS" class="add-form-item form-item-disabled">
<el-input
v-model="form.DTQBBHBUSS" :disabled="disabledState"
clearable
></el-input>
</el-form-item>
<el-form-item label="关联文件" prop="GLWJBUSSName" class="add-form-item form-item-disabled">
<div v-if="GLWJBUSSFileList.length>0" v-for="(value,index) in this.GLWJBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">
<!-- {{ value.name }} -->
{{value.name}}
</div>
<div v-else>
- -
</div>
</el-form-item>
</el-col>
<el-col :span="12">
<!-- <el-form-item label="被代替企标编号" prop="BDTWJHLAWS" class="add-form-item form-item-disabled">-->
<!-- <el-input-->
<!-- v-model="form.BDTWJHLAWS" :disabled="disabledState"-->
<!-- clearable-->
<!-- ></el-input>-->
<!-- </el-form-item>-->
<el-form-item label="上传时间" prop="XCSJBUSS" class="add-form-item form-item-disabled">
<el-input
v-model="form.XCSJBUSS"
clearable
:disabled="true"
></el-input>
</el-form-item>
</el-col>
</el-row>
</div>
<ProcessTitle v-show="opinionsShow">
<template slot="title">意见信息</template>
</ProcessTitle>
<div class="prc-content-border" v-show="opinionsShow">
<el-row :gutter="24">
<el-col :span="12">
<el-form-item label="汇总意见是否采纳" prop="opinionsAdopted" class="add-form-item form-item-disabled">
<el-select v-model="form.opinionsAdopted" filterable clearable :disabled="disabledState">
<el-option
v-for="item in opinionsAdoptedOptions"
:key="item.value"
:value="item.value"
:label="item.label"
></el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
</div>
</form>
</template>
<script>
import { mapGetters } from 'vuex'
import ProcessTitle from '../../../components/ProcessTitle'
export default {
name: 'formList',
components: {
ProcessTitle,
},
props: {
form: {
type: Object,
required: true
},
FBGBUSSFileList: {
type: Array,
required: true
},
LSBBBUSSFileList: {
type: Array,
required: true
},
BZSMBUSSFileList: {
type: Array,
required: true
},
QTWJBUSSFileList: {
type: Array,
required: true
},
GLWJBUSSFileList: {
type: Array,
required: true
},
disabledState: {
type: Boolean,
default: false
},
verifySarStandard: {
type: Boolean,
default: false
},
opinionsShow: {
type: Boolean,
default: false
},
},
data () {
return {
opinionsAdoptedOptions:[
{value: '1',label: '采纳'},
{value: '2',label: '不采纳'},
],
countryOptions:[],//国家地区
standSortOptions: [], // 标准类别
standNatureOptions: [], // 标准性质
standStateOptions: [], // 文本状态
standSystemOptions: [], // 标准体系
busVppsOptions: [], // 车系体系架构
busVppsChildOptions: [], // 车系体系架构子集合
modelOptions: [], // 模块体系架构
modelChildOptions: [], // 模块体系架构子集合
applyArcticOptions: [], // 适用车型
gkglbmOptions: [], // 归口管理部门
categoryOptions: [], // 能源类型
applyAuthOptions: [], // 适用认证
cysdOptions: [], // 我司参与深度
cbcdOptions: [], // 采标程度
wssmrOptions: [], // 我司署名人
sycpxOptions: [], // 适用产品线
zrbmOptions: [], // 责任部门
zrgcsOptions: [], // 责任工程师
qcdwOption: [], // 起草单位
txlbOptions: [], // 体系类别
standSortConfigOptions: [], // 标准类别下拉框
adoptExtentOptions: [], // 采标程度下拉框
emergyKindOptions: [], // 能源种类下拉框
categoryConfigOptions: [], // 所属类别下拉框
assemClassOptions: [], // 总成分类下拉框
qcdwOptions:[],//起草单位下拉框
qcrOptions:[],//起草人下拉框
nylxOptions:[],//能源类型下拉框
syrzOptions:[],//适用认证下拉框
data: [], // 标准列表数据
ListForm: {}, // 新增数据
}
},
computed: {
...mapGetters(['userInfo'])
},
methods: {
downloadFile (data) {
//文件id中出现了','字符,去除掉
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + data.id
},
setMap(data){
data.forEach(item => {
this.$set(this.textStatusMap, item.value, item.label)
})
},
busVsFunc(){
this.$http.get('sarVppsTree/list', '', {
_this: this
}, res => {
this.busVppsOptions = []
this.busVppsOptions = res.data
})
},
modelFunc(){
this.$http.get('sarModelTree/list', '', {
_this: this
}, res => {
this.modelOptions = []
this.modelOptions = res.data
})
},
},
mounted () {
this.$http.get('sys/dictype/getDicTypeListCode', '', {
_this: this
}, res => {
this.countryOptions = res.data.COUNTRY
this.applyCountryOptions = res.data.COUNTRY
this.regionOptions = res.data.REGION // 区域
this.standStateOptions = res.data.BUSSSTATE
this.energyKindOptions = res.data.ENERGYTYPES
this.standGeneraOptions = res.data.BUSSBIGCLASS
this.standSubclassOptions = res.data.BUSSFINECLASS
this.standSortOptions = res.data.BUSSSTANDCLASS // 标准类别
this.standNatureOptions = res.data.SARPROPERTY // 标准性质
this.standStateOptions = res.data.TEXTSTATUSBUSS // 文本状态
this.standSystemOptions = res.data.TXLBBUSS // 标准体系
this.applyArcticOptions = res.data.ENERGYTYPES // 适用车型
this.categoryOptions = res.data.NYLXCLASS // 能源类型
this.applyAuthOptions = res.data.SYRZCLASS // 适用认证
this.cysdOptions = res.data.WSCYSD // 我司参与深度
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
this.txlbOptions = res.data.TXLBCLASS // 体系类别
this.qcdwOptions = res.data.QCDW // 起草单位
this.qcrOptions = res.data.QCRBUSS // 起草人
this.nylxOptions = res.data.NYLXCLASS // 能源类型
this.syrzOptions = res.data.SYRZCLASS // 适用认证
this.sycpxOptions = res.data.SYCPXCLASS // 适用产品线
this.zrgcsOptions = res.data.ZRGCSCLASS // 责任工程师
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
this.gkglbmOptions=res.data.GKGLBM;//归口管理部门
this.setMap(this.standStateOptions)
})
this.busVsFunc()
this.modelFunc()
}
}
</script>
<style scoped>
</style>
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -634,7 +634,7 @@ export default {
this.energyKindOptions = res.data.ENERGYTYPES
this.standGeneraOptions = res.data.BUSSBIGCLASS
this.standSubclassOptions = res.data.BUSSFINECLASS
this.standSortOptions = res.data.STANDCLASSIFY //
this.standSortOptions = res.data.BUSSSTANDCLASS //
this.standNatureOptions = res.data.SARPROPERTY //
this.standStateOptions = res.data.TEXTSTATUSBUSS //
this.standSystemOptions = res.data.TXLBBUSS //
@@ -252,6 +252,17 @@
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="汇总评审意见文件" prop="GLWJBUSSName" class="add-form-item form-item-disabled">
<div v-if="summaryFileList.length>0" v-for="(value,index) in this.summaryFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">
<!-- {{ value.name }} -->
{{value.name}}
</div>
<div v-else>
- -
</div>
</el-form-item>
</el-col>
</el-row>
</div>
</form>
@@ -292,6 +303,10 @@ export default {
type: Array,
required: true
},
summaryFileList: {
type: Array,
required: true
},
disabledState: {
type: Boolean,
default: false
@@ -387,7 +402,7 @@ export default {
this.energyKindOptions = res.data.ENERGYTYPES
this.standGeneraOptions = res.data.BUSSBIGCLASS
this.standSubclassOptions = res.data.BUSSFINECLASS
this.standSortOptions = res.data.STANDCLASSIFY //
this.standSortOptions = res.data.BUSSSTANDCLASS //
this.standNatureOptions = res.data.SARPROPERTY //
this.standStateOptions = res.data.TEXTSTATUSBUSS //
this.standSystemOptions = res.data.TXLBBUSS //
@@ -543,12 +543,12 @@
</el-form-item>
</el-card>
</el-timeline-item>
<el-timeline-item timestamp="选择标准法规部高级经理审核" prop="bzUserName" placement="top" :color="roleForm.bzUserName ? '#66b1ff' : ''">
<el-timeline-item timestamp="选择标准法规部高级经理" prop="bzUserName" placement="top" :color="roleForm.bzUserName ? '#66b1ff' : ''">
<el-card>
<el-form-item prop="bzUserName" style="margin-bottom: 0">
<h4>标准法规部高级经理审核</h4>
<h4>标准法规部高级经理</h4>
<div style="margin-top: 10px;width: 300px;">
<el-input v-model="roleForm.bzUserName" placeholder="选择标准法规部高级经理审核" @click.native="choiceZRR('bzUserId', '选择标准法规部高级经理审核', roleForm.bzUserId)"></el-input>
<el-input v-model="roleForm.bzUserName" placeholder="选择标准法规部高级经理" @click.native="choiceZRR('bzUserId', '选择标准法规部高级经理', roleForm.bzUserId)"></el-input>
</div>
</el-form-item>
</el-card>
@@ -656,7 +656,7 @@
</el-form-item>
<el-form-item label="编号/名称" class="search-item">
<el-input
v-model="replaceLawsNumForm.standNumber"
v-model="replaceLawsNumForm.numberName"
placeholder="根据编号/名称查找"
clearable
:maxlength="100"></el-input>
@@ -2631,7 +2631,7 @@
this.energyKindOptions = res.data.ENERGYTYPES
this.standGeneraOptions = res.data.BUSSBIGCLASS
this.standSubclassOptions = res.data.BUSSFINECLASS
this.standSortOptions = res.data.STANDCLASSIFY //
this.standSortOptions = res.data.BUSSSTANDCLASS //
this.standNatureOptions = res.data.SARPROPERTY //
this.standStateOptions = res.data.TEXTSTATUSBUSS //
this.standSystemOptions = res.data.TXLBBUSS //
@@ -25,6 +25,7 @@
:BZSMBUSSFileList = "BZSMBUSSFileList"
:QTWJBUSSFileList = "QTWJBUSSFileList"
:GLWJBUSSFileList = "GLWJBUSSFileList"
:summaryFileList = "summaryFileList"
:disabledState = "disabledState"
:verifySarStandard = "verifySarStandard"
:opinionsShow = "true"
@@ -270,7 +271,7 @@
</el-form-item>
<el-form-item label="编号/名称" class="search-item">
<el-input
v-model="replaceLawsNumForm.standNumber"
v-model="replaceLawsNumForm.numberName"
placeholder="根据编号/名称查找"
clearable
:maxlength="100"></el-input>
@@ -664,6 +665,7 @@
LSBBBUSSFileList: [],
QTWJBUSSFileList: [],
GLWJBUSSFileList: [],
summaryFileList: [],
caFileList: [],
FBGBJBDFileList: [],
xgdFileList: [],
@@ -799,6 +801,8 @@
modelData:[],
modelDataNameVerify:[],
modelDataZrUserVerify:[],
summaryFile:'',
summaryFileName:'',
//
country:[],
//
@@ -2298,6 +2302,7 @@
this.LSBBBUSSFileList=this.assemble(processForm.LSBBBUSS,processForm.LSBBBUSSName);
this.QTWJBUSSFileList=this.assemble(processForm.QTWJBUSS,processForm.QTWJBUSSName);
this.GLWJBUSSFileList=this.assemble(processForm.GLWJBUSS,processForm.GLWJBUSSName);
this.summaryFileList=this.assemble(processForm.summaryFile,processForm.summaryFileName);
}
}).catch(e => {
})
@@ -2348,7 +2353,7 @@
this.energyKindOptions = res.data.ENERGYTYPES
this.standGeneraOptions = res.data.BUSSBIGCLASS
this.standSubclassOptions = res.data.BUSSFINECLASS
this.standSortOptions = res.data.STANDCLASSIFY //
this.standSortOptions = res.data.BUSSSTANDCLASS //
this.standNatureOptions = res.data.SARPROPERTY //
this.standStateOptions = res.data.TEXTSTATUSBUSS //
this.standSystemOptions = res.data.TXLBBUSS //
@@ -25,6 +25,7 @@
:BZSMBUSSFileList = "BZSMBUSSFileList"
:QTWJBUSSFileList = "QTWJBUSSFileList"
:GLWJBUSSFileList = "GLWJBUSSFileList"
:summaryFileList = "summaryFileList"
:disabledState = "disabledState"
:verifySarStandard = "verifySarStandard"
:opinionsShow = "true"
@@ -270,7 +271,7 @@
</el-form-item>
<el-form-item label="编号/名称" class="search-item">
<el-input
v-model="replaceLawsNumForm.standNumber"
v-model="replaceLawsNumForm.numberName"
placeholder="根据编号/名称查找"
clearable
:maxlength="100"></el-input>
@@ -664,6 +665,7 @@
LSBBBUSSFileList: [],
QTWJBUSSFileList: [],
GLWJBUSSFileList: [],
summaryFileList: [],
caFileList: [],
FBGBJBDFileList: [],
xgdFileList: [],
@@ -799,6 +801,8 @@
modelData:[],
modelDataNameVerify:[],
modelDataZrUserVerify:[],
summaryFile:'',
summaryFileName:'',
country:[],
//
standSort: '',
@@ -2297,6 +2301,7 @@
this.LSBBBUSSFileList=this.assemble(processForm.LSBBBUSS,processForm.LSBBBUSSName);
this.QTWJBUSSFileList=this.assemble(processForm.QTWJBUSS,processForm.QTWJBUSSName);
this.GLWJBUSSFileList=this.assemble(processForm.GLWJBUSS,processForm.GLWJBUSSName);
this.summaryFileList=this.assemble(processForm.summaryFile,processForm.summaryFileName);
}
}).catch(e => {
})
@@ -2347,7 +2352,7 @@
this.energyKindOptions = res.data.ENERGYTYPES
this.standGeneraOptions = res.data.BUSSBIGCLASS
this.standSubclassOptions = res.data.BUSSFINECLASS
this.standSortOptions = res.data.STANDCLASSIFY //
this.standSortOptions = res.data.BUSSSTANDCLASS //
this.standNatureOptions = res.data.SARPROPERTY //
this.standStateOptions = res.data.TEXTSTATUSBUSS //
this.standSystemOptions = res.data.TXLBBUSS //
@@ -25,6 +25,7 @@
:BZSMBUSSFileList = "BZSMBUSSFileList"
:QTWJBUSSFileList = "QTWJBUSSFileList"
:GLWJBUSSFileList = "GLWJBUSSFileList"
:summaryFileList = "summaryFileList"
:disabledState = "disabledState"
:verifySarStandard = "verifySarStandard"
:opinionsShow = "true"
@@ -264,7 +265,7 @@
</el-form-item>
<el-form-item label="编号/名称" class="search-item">
<el-input
v-model="replaceLawsNumForm.standNumber"
v-model="replaceLawsNumForm.numberName"
placeholder="根据编号/名称查找"
clearable
:maxlength="100"></el-input>
@@ -648,6 +649,7 @@
LSBBBUSSFileList: [],
QTWJBUSSFileList: [],
GLWJBUSSFileList: [],
summaryFileList: [],
caFileList: [],
FBGBJBDFileList: [],
xgdFileList: [],
@@ -783,6 +785,8 @@
modelData:[],
modelDataNameVerify:[],
modelDataZrUserVerify:[],
summaryFile:'',
summaryFileName:'',
country:[],
//
standSort: '',
@@ -2284,6 +2288,7 @@
this.LSBBBUSSFileList=this.assemble(processForm.LSBBBUSS,processForm.LSBBBUSSName);
this.QTWJBUSSFileList=this.assemble(processForm.QTWJBUSS,processForm.QTWJBUSSName);
this.GLWJBUSSFileList=this.assemble(processForm.GLWJBUSS,processForm.GLWJBUSSName);
this.summaryFileList=this.assemble(processForm.summaryFile,processForm.summaryFileName);
}
}).catch(e => {
})
@@ -2348,7 +2353,7 @@
this.energyKindOptions = res.data.ENERGYTYPES
this.standGeneraOptions = res.data.BUSSBIGCLASS
this.standSubclassOptions = res.data.BUSSFINECLASS
this.standSortOptions = res.data.STANDCLASSIFY //
this.standSortOptions = res.data.BUSSSTANDCLASS //
this.standNatureOptions = res.data.SARPROPERTY //
this.standStateOptions = res.data.TEXTSTATUSBUSS //
this.standSystemOptions = res.data.TXLBBUSS //
@@ -44,6 +44,7 @@
<!-- </el-select>-->
<!-- </el-form-item>-->
<el-form-item
style="margin:0;"
prop="commentText"
>
<el-input
@@ -266,7 +267,7 @@
</el-form-item>
<el-form-item label="编号/名称" class="search-item">
<el-input
v-model="replaceLawsNumForm.standNumber"
v-model="replaceLawsNumForm.numberName"
placeholder="根据编号/名称查找"
clearable
:maxlength="100"></el-input>
@@ -2406,7 +2407,7 @@
this.energyKindOptions = res.data.ENERGYTYPES
this.standGeneraOptions = res.data.BUSSBIGCLASS
this.standSubclassOptions = res.data.BUSSFINECLASS
this.standSortOptions = res.data.STANDCLASSIFY //
this.standSortOptions = res.data.BUSSSTANDCLASS //
this.standNatureOptions = res.data.SARPROPERTY //
this.standStateOptions = res.data.TEXTSTATUSBUSS //
this.standSystemOptions = res.data.TXLBBUSS //
@@ -39,11 +39,11 @@
<template slot="title">文件汇总</template>
</ProcessTitle>
<template>
<div class="prc-content-border" style="height: 66vh;position: relative;">
<div class="prc-content-border" style="height: auto;position: relative;">
<el-table
ref="selection"
tooltip-effect="dark"
style="width: 100%;margin-bottom: 20px;overflow-y:auto;height:56vh;border-bottom: 1px solid #EBEEF5;"
style="width: 100%;margin-bottom: 20px;overflow-y:auto;height:auto;border-bottom: 1px solid #EBEEF5;"
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
fontWeight: 'bold', height: '48px'}"
:data="form.fileModelList"
@@ -321,7 +321,7 @@
</el-form-item>
<el-form-item label="编号/名称" class="search-item">
<el-input
v-model="replaceLawsNumForm.standNumber"
v-model="replaceLawsNumForm.numberName"
placeholder="根据编号/名称查找"
clearable
:maxlength="100"></el-input>
@@ -2522,7 +2522,7 @@
this.energyKindOptions = res.data.ENERGYTYPES
this.standGeneraOptions = res.data.BUSSBIGCLASS
this.standSubclassOptions = res.data.BUSSFINECLASS
this.standSortOptions = res.data.STANDCLASSIFY //
this.standSortOptions = res.data.BUSSSTANDCLASS //
this.standNatureOptions = res.data.SARPROPERTY //
this.standStateOptions = res.data.TEXTSTATUSBUSS //
this.standSystemOptions = res.data.TXLBBUSS //
@@ -36,6 +36,7 @@
:model="formTongGuo"
:rules="rules">
<el-form-item
style="margin:0;"
prop="approvalOpinion"
>
<!-- <el-select @change="getRule" v-model="formTongGuo.approvalOpinion" placeholder="请审批" style="margin-bottom: 20px;">-->
@@ -268,7 +269,7 @@
</el-form-item>
<el-form-item label="编号/名称" class="search-item">
<el-input
v-model="replaceLawsNumForm.standNumber"
v-model="replaceLawsNumForm.numberName"
placeholder="根据编号/名称查找"
clearable
:maxlength="100"></el-input>
@@ -2362,7 +2363,7 @@
this.energyKindOptions = res.data.ENERGYTYPES
this.standGeneraOptions = res.data.BUSSBIGCLASS
this.standSubclassOptions = res.data.BUSSFINECLASS
this.standSortOptions = res.data.STANDCLASSIFY //
this.standSortOptions = res.data.BUSSSTANDCLASS //
this.standNatureOptions = res.data.SARPROPERTY //
this.standStateOptions = res.data.TEXTSTATUSBUSS //
this.standSystemOptions = res.data.TXLBBUSS //
@@ -362,7 +362,7 @@
</el-form-item>
<el-form-item label="编号/名称" class="search-item">
<el-input
v-model="replaceLawsNumForm.standNumber"
v-model="replaceLawsNumForm.numberName"
placeholder="根据编号/名称查找"
clearable
:maxlength="100"></el-input>
@@ -2552,7 +2552,7 @@
this.energyKindOptions = res.data.ENERGYTYPES
this.standGeneraOptions = res.data.BUSSBIGCLASS
this.standSubclassOptions = res.data.BUSSFINECLASS
this.standSortOptions = res.data.STANDCLASSIFY //
this.standSortOptions = res.data.BUSSSTANDCLASS //
this.standNatureOptions = res.data.SARPROPERTY //
this.standStateOptions = res.data.TEXTSTATUSBUSS //
this.standSystemOptions = res.data.TXLBBUSS //
@@ -39,11 +39,11 @@
<template slot="title">意见信息</template>
</ProcessTitle>
<template>
<div class="prc-content-border" style="height: 66vh;position: relative;">
<div class="prc-content-border" style="height: auto;position: relative;">
<el-table
ref="selection"
tooltip-effect="dark"
style="width: 100%;margin-bottom: 20px;overflow-y:auto;height:56vh;border-bottom: 1px solid #EBEEF5;"
style="width: 100%;margin-bottom: 20px;overflow-y:auto;height:auto;border-bottom: 1px solid #EBEEF5;"
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
fontWeight: 'bold', height: '48px'}"
@selection-change="handleSelectionChange"
@@ -85,6 +85,36 @@
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="汇总评审意见文件" prop="summaryFileName" class="add-form-item form-item-disabled">
<el-input
disabled
style="display: none;"
v-model="form.summaryFileName"
clearable
></el-input>
<div style="display: flex;justify-content: space-between">
<div style="width: 80%;">
<div v-for="(item,index) in summaryFileList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')">{{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button>
</span>
</div>
</div>
<div style="width: 20%;">
<el-button
type="primary"
class="common-button-primary"
size="mini"
style="margin-left: 10px; margin-top: 11px; float: right;"
@click="fileUpload('summaryFile')">
<i class="el-icon-upload"></i>
</el-button>
</div>
</div>
</el-form-item>
</el-col>
</el-row>
</div>
</template>
@@ -326,7 +356,7 @@
</el-form-item>
<el-form-item label="编号/名称" class="search-item">
<el-input
v-model="replaceLawsNumForm.standNumber"
v-model="replaceLawsNumForm.numberName"
placeholder="根据编号/名称查找"
clearable
:maxlength="100"></el-input>
@@ -719,6 +749,7 @@
LSBBBUSSFileList: [],
QTWJBUSSFileList: [],
GLWJBUSSFileList: [],
summaryFileList: [],
caFileList: [],
FBGBJBDFileList: [],
xgdFileList: [],
@@ -861,6 +892,8 @@
opinionsAdopted:'', //
footFile:'',
footFileName:'',
summaryFile:'',
summaryFileName:'',
//
country:[],
//
@@ -1365,6 +1398,7 @@
this.LSBBBUSSFileList=this.assemble(this.form.LSBBBUSS,this.form.LSBBBUSSName);
this.QTWJBUSSFileList=this.assemble(this.form.QTWJBUSS,this.form.QTWJBUSSName);
this.GLWJBUSSFileList=this.assemble(this.form.GLWJBUSS,this.form.GLWJBUSSName);
this.summaryFileList=this.assemble(this.form.summaryFile,this.form.summaryFileName);
this.roleForm = mes.roleForm
this.commentText = mes.commentText
this.formKey++
@@ -2021,6 +2055,10 @@
this.GLWJBUSSFileList = this.GLWJBUSSFileList.filter ( item => item.response === undefined);
this.GLWJBUSSFileList.push(fileObj)
break;
case 'summaryFile':
this.summaryFileList = this.summaryFileList.filter ( item => item.response === undefined);
this.summaryFileList.push(fileObj)
break;
default : ;
}
this.formKey++
@@ -2057,6 +2095,9 @@
case 'GLWJBUSS':
this.fileList=this.GLWJBUSSFileList
break;
case 'summaryFile':
this.fileList=this.summaryFileList
break;
default : ;
}
this.fileMadel = true;
@@ -2081,6 +2122,9 @@
case 'GLWJBUSS':
this.GLWJBUSSFileList = fileList
break;
case 'summaryFile':
this.summaryFileList = fileList
break;
default : ;
}
this.formKey++
@@ -2272,6 +2316,9 @@
this.form.GLWJBUSS=this.GLWJBUSSFileList.map(item => item.id).join(",")
this.form.GLWJBUSSName=this.GLWJBUSSFileList.map(item => item.name).join(",")
this.form.summaryFile=this.summaryFileList.map(item => item.id).join(",")
this.form.summaryFileName=this.summaryFileList.map(item => item.name).join(",")
},
//
deletedId(data, ids) {
@@ -2480,9 +2527,9 @@
this.FBGBUSSFileList=this.assemble(processForm.FBGBUSS,processForm.FBGBUSSName);
this.BZSMBUSSFileList=this.assemble(processForm.BZSMBUSS,processForm.BZSMBUSSName);
this.LSBBBUSSFileList=this.assemble(processForm.LSBBBUSS,processForm.LSBBBUSSName);
console.log(this.LSBBBUSSFileList)
this.QTWJBUSSFileList=this.assemble(processForm.QTWJBUSS,processForm.QTWJBUSSName);
this.GLWJBUSSFileList=this.assemble(processForm.GLWJBUSS,processForm.GLWJBUSSName);
this.summaryFileList=this.assemble(processForm.summaryFile,processForm.summaryFileName);
this.formKey++
}
}).catch(e => {
@@ -2535,7 +2582,7 @@
this.energyKindOptions = res.data.ENERGYTYPES
this.standGeneraOptions = res.data.BUSSBIGCLASS
this.standSubclassOptions = res.data.BUSSFINECLASS
this.standSortOptions = res.data.STANDCLASSIFY //
this.standSortOptions = res.data.BUSSSTANDCLASS //
this.standNatureOptions = res.data.SARPROPERTY //
this.standStateOptions = res.data.TEXTSTATUSBUSS //
this.standSystemOptions = res.data.TXLBBUSS //
@@ -154,6 +154,7 @@
:BZSMBUSSFileList = "BZSMBUSSFileList"
:QTWJBUSSFileList = "QTWJBUSSFileList"
:GLWJBUSSFileList = "GLWJBUSSFileList"
:summaryFileList = "summaryFileList"
:disabledState = "disabledState"
:verifySarStandard = "verifySarStandard"
:opinionsShow = "true"
@@ -364,7 +365,7 @@
</el-form-item>
<el-form-item label="编号/名称" class="search-item">
<el-input
v-model="replaceLawsNumForm.standNumber"
v-model="replaceLawsNumForm.numberName"
placeholder="根据编号/名称查找"
clearable
:maxlength="100"></el-input>
@@ -769,6 +770,7 @@
LSBBBUSSFileList: [],
QTWJBUSSFileList: [],
GLWJBUSSFileList: [],
summaryFileList: [],
caFileList: [],
FBGBJBDFileList: [],
xgdFileList: [],
@@ -905,71 +907,8 @@
modelData:[],
modelDataNameVerify:[],
modelDataZrUserVerify:[],
//
country:[],
textStatus: '', //
standInData: '0', //
standNumber: '', //
standNature: '', //
signFlag: '1', //
standSystem: '',//
standSystemName: '',//
gxhbq: '', //
//
ssrq: '', // ()
xcxssrq: '', // ()
zccssrq: '', // ()
ssrqgj: '', // ()
xcxssrqgj: '', // ()
zccssrqgj: '', // ()
//
ca: '', //
FBGBJBD: '', // 稿
xgd: '', //
bpg: '', // 稿
ssg: '', // 稿
zqyjg: '', // 稿
jdwj: '', //
zbjbd: '', //
kwj: '', //
caName: '', //
fbgbjbdName: '', // 稿
xgdName: '', //
bpgName: '', // 稿
ssgName: '', // 稿
zqyjgName: '', // 稿
jdwjName: '', //
zbjbdName: '', //
kwjName: '', //
glwjName: '', //
//
txlb: '', //
gkdw: '', //
qcdw: [], //
wssmr: [], //
cysd: '', //
cllx: [], //
nylx: [],//
sycpx: [],// 线
syrz: [], //
zrbm: [], //
zrgcs: [], //
cycvppsbm: '', // --VPPS
cycvppscn: '', // --vpps
kccvppsbm: '', // --VPPS
kccvppscn: '', // --vpps
dybxh: '', //
dymc: '', //
//
dtbjh: '', //
cbbh: '', //
cbcd: '', //
yybj: '', //
bfbdtbzh: '', //
byybj: '', //
glwj: '', //
xglc: '', //
chjl: '', //
summaryFile:'',
summaryFileName:'',
//
standSort: '',
standCode: '',
@@ -1501,6 +1440,7 @@
this.LSBBBUSSFileList=this.assemble(this.form.LSBBBUSS,this.form.LSBBBUSSName);
this.QTWJBUSSFileList=this.assemble(this.form.QTWJBUSS,this.form.QTWJBUSSName);
this.GLWJBUSSFileList=this.assemble(this.form.GLWJBUSS,this.form.GLWJBUSSName);
this.summaryFileList=this.assemble(this.form.summaryFile,this.form.summaryFileName);
this.roleForm = mes.roleForm
this.commentText = mes.commentText
})
@@ -2555,6 +2495,7 @@
this.LSBBBUSSFileList=this.assemble(processForm.LSBBBUSS,processForm.LSBBBUSSName);
this.QTWJBUSSFileList=this.assemble(processForm.QTWJBUSS,processForm.QTWJBUSSName);
this.GLWJBUSSFileList=this.assemble(processForm.GLWJBUSS,processForm.GLWJBUSSName);
this.summaryFileList=this.assemble(processForm.summaryFile,processForm.summaryFileName);
}
}).catch(e => {
})
@@ -2606,7 +2547,7 @@
this.energyKindOptions = res.data.ENERGYTYPES
this.standGeneraOptions = res.data.BUSSBIGCLASS
this.standSubclassOptions = res.data.BUSSFINECLASS
this.standSortOptions = res.data.STANDCLASSIFY //
this.standSortOptions = res.data.BUSSSTANDCLASS //
this.standNatureOptions = res.data.SARPROPERTY //
this.standStateOptions = res.data.TEXTSTATUSBUSS //
this.standSystemOptions = res.data.TXLBBUSS //
@@ -154,6 +154,7 @@
:BZSMBUSSFileList = "BZSMBUSSFileList"
:QTWJBUSSFileList = "QTWJBUSSFileList"
:GLWJBUSSFileList = "GLWJBUSSFileList"
:summaryFileList = "summaryFileList"
:disabledState = "disabledState"
:verifySarStandard = "verifySarStandard"
:opinionsShow = "true"
@@ -368,7 +369,7 @@
</el-form-item>
<el-form-item label="编号/名称" class="search-item">
<el-input
v-model="replaceLawsNumForm.standNumber"
v-model="replaceLawsNumForm.numberName"
placeholder="根据编号/名称查找"
clearable
:maxlength="100"></el-input>
@@ -783,6 +784,7 @@
LSBBBUSSFileList: [],
QTWJBUSSFileList: [],
GLWJBUSSFileList: [],
summaryFileList: [],
caFileList: [],
FBGBJBDFileList: [],
xgdFileList: [],
@@ -919,6 +921,8 @@
modelData:[],
modelDataNameVerify:[],
modelDataZrUserVerify:[],
summaryFile:'',
summaryFileName:'',
//
country:[],
//
@@ -1471,6 +1475,7 @@
this.LSBBBUSSFileList=this.assemble(this.form.LSBBBUSS,this.form.LSBBBUSSName);
this.QTWJBUSSFileList=this.assemble(this.form.QTWJBUSS,this.form.QTWJBUSSName);
this.GLWJBUSSFileList=this.assemble(this.form.GLWJBUSS,this.form.GLWJBUSSName);
this.summaryFileList=this.assemble(this.form.summaryFile,this.form.summaryFileName);
this.roleForm = mes.roleForm
this.commentText = mes.commentText
})
@@ -2534,6 +2539,7 @@
this.LSBBBUSSFileList=this.assemble(processForm.LSBBBUSS,processForm.LSBBBUSSName);
this.QTWJBUSSFileList=this.assemble(processForm.QTWJBUSS,processForm.QTWJBUSSName);
this.GLWJBUSSFileList=this.assemble(processForm.GLWJBUSS,processForm.GLWJBUSSName);
this.summaryFileList=this.assemble(processForm.summaryFile,processForm.summaryFileName);
}
}).catch(e => {
})
@@ -2585,7 +2591,7 @@
this.energyKindOptions = res.data.ENERGYTYPES
this.standGeneraOptions = res.data.BUSSBIGCLASS
this.standSubclassOptions = res.data.BUSSFINECLASS
this.standSortOptions = res.data.STANDCLASSIFY //
this.standSortOptions = res.data.BUSSSTANDCLASS //
this.standNatureOptions = res.data.SARPROPERTY //
this.standStateOptions = res.data.TEXTSTATUSBUSS //
this.standSystemOptions = res.data.TXLBBUSS //
@@ -154,6 +154,7 @@
:BZSMBUSSFileList = "BZSMBUSSFileList"
:QTWJBUSSFileList = "QTWJBUSSFileList"
:GLWJBUSSFileList = "GLWJBUSSFileList"
:summaryFileList = "summaryFileList"
:disabledState = "disabledState"
:verifySarStandard = "verifySarStandard"
:opinionsShow = "true"
@@ -368,7 +369,7 @@
</el-form-item>
<el-form-item label="编号/名称" class="search-item">
<el-input
v-model="replaceLawsNumForm.standNumber"
v-model="replaceLawsNumForm.numberName"
placeholder="根据编号/名称查找"
clearable
:maxlength="100"></el-input>
@@ -783,6 +784,7 @@
LSBBBUSSFileList: [],
QTWJBUSSFileList: [],
GLWJBUSSFileList: [],
summaryFileList: [],
caFileList: [],
FBGBJBDFileList: [],
xgdFileList: [],
@@ -919,6 +921,8 @@
modelData:[],
modelDataNameVerify:[],
modelDataZrUserVerify:[],
summaryFile:'',
summaryFileName:'',
//
country:[],
//
@@ -1471,6 +1475,7 @@
this.LSBBBUSSFileList=this.assemble(this.form.LSBBBUSS,this.form.LSBBBUSSName);
this.QTWJBUSSFileList=this.assemble(this.form.QTWJBUSS,this.form.QTWJBUSSName);
this.GLWJBUSSFileList=this.assemble(this.form.GLWJBUSS,this.form.GLWJBUSSName);
this.summaryFileList=this.assemble(this.form.summaryFile,this.form.summaryFileName);
this.roleForm = mes.roleForm
this.commentText = mes.commentText
})
@@ -2536,6 +2541,7 @@
this.LSBBBUSSFileList=this.assemble(processForm.LSBBBUSS,processForm.LSBBBUSSName);
this.QTWJBUSSFileList=this.assemble(processForm.QTWJBUSS,processForm.QTWJBUSSName);
this.GLWJBUSSFileList=this.assemble(processForm.GLWJBUSS,processForm.GLWJBUSSName);
this.summaryFileList=this.assemble(processForm.summaryFile,processForm.summaryFileName);
}
}).catch(e => {
})
@@ -2587,7 +2593,7 @@
this.energyKindOptions = res.data.ENERGYTYPES
this.standGeneraOptions = res.data.BUSSBIGCLASS
this.standSubclassOptions = res.data.BUSSFINECLASS
this.standSortOptions = res.data.STANDCLASSIFY //
this.standSortOptions = res.data.BUSSSTANDCLASS //
this.standNatureOptions = res.data.SARPROPERTY //
this.standStateOptions = res.data.TEXTSTATUSBUSS //
this.standSystemOptions = res.data.TXLBBUSS //
@@ -320,7 +320,7 @@
</el-form-item>
<el-form-item label="编号/名称" class="search-item">
<el-input
v-model="replaceLawsNumForm.standNumber"
v-model="replaceLawsNumForm.numberName"
placeholder="根据编号/名称查找"
clearable
:maxlength="100"></el-input>
@@ -2521,7 +2521,7 @@
this.energyKindOptions = res.data.ENERGYTYPES
this.standGeneraOptions = res.data.BUSSBIGCLASS
this.standSubclassOptions = res.data.BUSSFINECLASS
this.standSortOptions = res.data.STANDCLASSIFY //
this.standSortOptions = res.data.BUSSSTANDCLASS //
this.standNatureOptions = res.data.SARPROPERTY //
this.standStateOptions = res.data.TEXTSTATUSBUSS //
this.standSystemOptions = res.data.TXLBBUSS //
@@ -39,11 +39,11 @@
<template slot="title">意见信息</template>
</ProcessTitle>
<template>
<div class="prc-content-border" style="height: 66vh;position: relative;">
<div class="prc-content-border" style="height: auto;position: relative;">
<el-table
ref="selection"
tooltip-effect="dark"
style="width: 100%;margin-bottom: 20px;overflow-y:auto;height:56vh;border-bottom: 1px solid #EBEEF5;"
style="width: 100%;margin-bottom: 20px;overflow-y:auto;height:auto;border-bottom: 1px solid #EBEEF5;"
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
fontWeight: 'bold', height: '48px'}"
@selection-change="handleSelectionChange"
@@ -85,6 +85,36 @@
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="汇总评审意见文件" prop="summaryFileName" class="add-form-item form-item-disabled">
<el-input
disabled
style="display: none;"
v-model="form.summaryFileName"
clearable
></el-input>
<div style="display: flex;justify-content: space-between">
<div style="width: 80%;">
<div v-for="(item,index) in summaryFileList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass">
<span style="width: 80%;" @click="handleFilePreview(item,'preview')">{{ item.name }}</span>
<span style="width: 20%;margin-left: 15px;">
<el-button type="primary" size="mini" plain icon="el-icon-download" @click="handleFilePreview(item,'down')"></el-button>
</span>
</div>
</div>
<div style="width: 20%;">
<el-button
type="primary"
class="common-button-primary"
size="mini"
style="margin-left: 10px; margin-top: 11px; float: right;"
@click="fileUpload('summaryFile')">
<i class="el-icon-upload"></i>
</el-button>
</div>
</div>
</el-form-item>
</el-col>
</el-row>
</div>
</template>
@@ -326,7 +356,7 @@
</el-form-item>
<el-form-item label="编号/名称" class="search-item">
<el-input
v-model="replaceLawsNumForm.standNumber"
v-model="replaceLawsNumForm.numberName"
placeholder="根据编号/名称查找"
clearable
:maxlength="100"></el-input>
@@ -719,6 +749,7 @@
LSBBBUSSFileList: [],
QTWJBUSSFileList: [],
GLWJBUSSFileList: [],
summaryFileList: [],
caFileList: [],
FBGBJBDFileList: [],
xgdFileList: [],
@@ -861,6 +892,8 @@
opinionsAdopted:'', //
footFile:'',
footFileName:'',
summaryFile:'',
summaryFileName:'',
//
country:[],
//
@@ -1365,6 +1398,7 @@
this.LSBBBUSSFileList=this.assemble(this.form.LSBBBUSS,this.form.LSBBBUSSName);
this.QTWJBUSSFileList=this.assemble(this.form.QTWJBUSS,this.form.QTWJBUSSName);
this.GLWJBUSSFileList=this.assemble(this.form.GLWJBUSS,this.form.GLWJBUSSName);
this.summaryFileList=this.assemble(this.form.summaryFile,this.form.summaryFileName);
this.roleForm = mes.roleForm
this.commentText = mes.commentText
this.formKey++
@@ -2021,6 +2055,10 @@
this.GLWJBUSSFileList = this.GLWJBUSSFileList.filter ( item => item.response === undefined);
this.GLWJBUSSFileList.push(fileObj)
break;
case 'summaryFile':
this.summaryFileList = this.summaryFileList.filter ( item => item.response === undefined);
this.summaryFileList.push(fileObj)
break;
default : ;
}
this.formKey++
@@ -2057,6 +2095,9 @@
case 'GLWJBUSS':
this.fileList=this.GLWJBUSSFileList
break;
case 'summaryFile':
this.fileList=this.summaryFileList
break;
default : ;
}
this.fileMadel = true;
@@ -2081,6 +2122,9 @@
case 'GLWJBUSS':
this.GLWJBUSSFileList = fileList
break;
case 'summaryFile':
this.summaryFileList = fileList
break;
default : ;
}
this.formKey++
@@ -2272,6 +2316,9 @@
this.form.GLWJBUSS=this.GLWJBUSSFileList.map(item => item.id).join(",")
this.form.GLWJBUSSName=this.GLWJBUSSFileList.map(item => item.name).join(",")
this.form.summaryFile=this.summaryFileList.map(item => item.id).join(",")
this.form.summaryFileName=this.summaryFileList.map(item => item.name).join(",")
},
//
deletedId(data, ids) {
@@ -2480,9 +2527,9 @@
this.FBGBUSSFileList=this.assemble(processForm.FBGBUSS,processForm.FBGBUSSName);
this.BZSMBUSSFileList=this.assemble(processForm.BZSMBUSS,processForm.BZSMBUSSName);
this.LSBBBUSSFileList=this.assemble(processForm.LSBBBUSS,processForm.LSBBBUSSName);
console.log(this.LSBBBUSSFileList)
this.QTWJBUSSFileList=this.assemble(processForm.QTWJBUSS,processForm.QTWJBUSSName);
this.GLWJBUSSFileList=this.assemble(processForm.GLWJBUSS,processForm.GLWJBUSSName);
this.summaryFileList=this.assemble(processForm.summaryFile,processForm.summaryFileName);
this.formKey++
}
}).catch(e => {
@@ -2535,7 +2582,7 @@
this.energyKindOptions = res.data.ENERGYTYPES
this.standGeneraOptions = res.data.BUSSBIGCLASS
this.standSubclassOptions = res.data.BUSSFINECLASS
this.standSortOptions = res.data.STANDCLASSIFY //
this.standSortOptions = res.data.BUSSSTANDCLASS //
this.standNatureOptions = res.data.SARPROPERTY //
this.standStateOptions = res.data.TEXTSTATUSBUSS //
this.standSystemOptions = res.data.TXLBBUSS //
@@ -18,255 +18,17 @@
label-width="210px"
>
<div style="flex: auto;" v-show="active === '1'">
<ProcessTitle>
<template slot="title">基础信息</template>
</ProcessTitle>
<div class="prc-content-border">
<el-row :gutter="24">
<el-col :span="12">
<el-form-item label="企标类别" prop="standSort" class="add-form-item form-item-disabled">
<el-select v-model="form.standSort" filterable clearable placeholder="" :disabled="disabledState" style="appearance: none">
<el-option
v-for="item in standSortOptions"
:key="item.value"
:value="item.value"
:label="item.label"
></el-option>
</el-select>
</el-form-item>
<el-form-item label="中文名称" prop="standName" class="add-form-item form-item-disabled">
<el-input
v-model="form.standName" :disabled="disabledState"
clearable
></el-input>
</el-form-item>
<el-form-item label="文本状态" prop="textStatusBuss" class="add-form-item form-item-disabled">
<el-select :popper-append-to-body="false" v-model="form.textStatusBuss" placeholder="" :disabled="disabledState">
<el-option
v-for="item in standStateOptions"
:key="item.value"
:value="item.value"
:label="item.label"
></el-option>
</el-select>
</el-form-item>
<el-form-item v-show="verifySarStandard" label="企标实施日期" prop="putTime" class="add-form-item form-item-disabled">
<el-datePicker v-model="form.putTime" :disabled="disabledState"
:editable="false"></el-datePicker>
</el-form-item>
<el-form-item v-show="verifySarStandard" label="复审日期" prop="FSRQBUSS" class="add-form-item form-item-disabled">
<el-datePicker v-model="form.FSRQBUSS"
:editable="false"
:disabled="true"
value-format="yyyy-MM-dd"
clearable></el-datePicker>
</el-form-item>
</el-col>
<el-col :span="12">
<!-- <el-form-item label="国家/地区" prop="country" class="add-form-item form-item-disabled">-->
<!-- <el-select :popper-append-to-body="false" v-model="form.country" multiple placeholder="国家/地区">-->
<!-- <el-option-->
<!-- v-for="item in countryOptions"-->
<!-- placeholder="请选择"-->
<!-- :key="item.value"-->
<!-- :value="item.value"-->
<!-- :label="item.label"-->
<!-- ></el-option>-->
<!-- </el-select>-->
<!-- </el-form-item>-->
<el-form-item label="企标编号" prop="standNumber" class="add-form-item form-item-disabled">
<el-input
v-model="form.standNumber" :disabled="disabledState"
clearable
></el-input>
</el-form-item>
<el-form-item label="英文名称" prop="standEnName" class="add-form-item form-item-disabled">
<el-input
v-model="form.standEnName" :disabled="disabledState"
clearable
></el-input>
</el-form-item>
<el-form-item v-show="verifySarStandard" label="标准年份" prop="standYear" class="add-form-item form-item-disabled">
<el-input v-model="form.standYear" :disabled="disabledState"
clearable></el-input>
</el-form-item>
<el-form-item v-show="verifySarStandard" label="发布日期" prop="issueTime" class="add-form-item form-item-disabled">
<el-datePicker v-model="form.issueTime" :disabled="disabledState"
:editable="false"
></el-datePicker>
</el-form-item>
<el-form-item v-show="verifySarStandard" label="废止日期" prop="FZRQBUSS" class="add-form-item form-item-disabled">
<el-datePicker v-model="form.FZRQBUSS" :disabled="disabledState"
:editable="false"
value-format="yyyy-MM-dd"
clearable></el-datePicker>
</el-form-item>
</el-col>
</el-row>
</div>
<ProcessTitle v-show="verifySarStandard">
<template slot="title">过程稿件</template>
</ProcessTitle>
<div class="prc-content-border" v-show="verifySarStandard">
<el-row :gutter="24">
<el-col :span="12">
<el-form-item label="发布稿" prop="FBGBUSSName" class="add-form-item form-item-disabled">
<div v-if="FBGBUSSFileList.length>0" v-for="(value,index) in this.FBGBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">
<!-- {{ value.name }} -->
{{value.name}}
</div>
<div v-else>
- -
</div>
</el-form-item>
<el-form-item label="历史版本" prop="LSBBBUSSName" class="add-form-item form-item-disabled">
<div v-if="LSBBBUSSFileList.length>0" v-for="(value,index) in this.LSBBBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">
<!-- {{ value.name }} -->
{{value.name}}
</div>
<div v-else>
- -
</div>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="编制说明" prop="BZSMBUSSName" class="add-form-item form-item-disabled">
<div v-if="BZSMBUSSFileList.length>0" v-for="(value,index) in this.BZSMBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">
<!-- {{ value.name }} -->
{{value.name}}
</div>
<div v-else>
- -
</div>
</el-form-item>
<el-form-item label="其他文件" prop="QTWJBUSSName" class="add-form-item form-item-disabled">
<div v-if="QTWJBUSSFileList.length>0" v-for="(value,index) in this.QTWJBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">
<!-- {{ value.name }} -->
{{value.name}}
</div>
<div v-else>
- -
</div>
</el-form-item>
</el-col>
</el-row>
</div>
<ProcessTitle v-show="verifySarStandard">
<template slot="title">适用范围</template>
</ProcessTitle>
<div class="prc-content-border" v-show="verifySarStandard">
<el-row :gutter="24">
<el-col :span="12">
<el-form-item label="起草部门" prop="QCDW" class="add-form-item form-item-disabled">
<el-select :popper-append-to-body="false" v-model="form.QCDW" placeholder="" :disabled="disabledState" multiple>
<el-option
v-for="item in qcdwOptions"
:key="item.value"
:value="item.value"
:label="item.label"
></el-option>
</el-select>
</el-form-item>
<el-form-item label="文件上传人员" prop="WJSCRYBUSSName" class="add-form-item form-item-disabled">
<el-input
v-model="form.WJSCRYBUSSName"
:disabled="true"
clearable
></el-input>
</el-form-item>
<el-form-item label="能源类型" prop="NYLXCLASS" class="add-form-item form-item-disabled">
<el-select :popper-append-to-body="false" v-model="form.NYLXCLASS" placeholder="" :disabled="disabledState" multiple>
<el-option
v-for="item in categoryOptions"
:key="item.value"
:value="item.value"
:label="item.label"
></el-option>
</el-select>
</el-form-item>
<el-form-item label="体系类别" prop="TXLBBUSS" class="add-form-item form-item-disabled">
<el-input v-model="form.TXLBBUSS" :disabled="disabledState" clearable></el-input>
</el-form-item>
<el-form-item label="模块VPPS编码" title="模块VPPS编码" class="add-form-item form-item-disabled">
<el-input v-model="form.VPPSBMBUSS" :disabled="disabledState"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="起草人" prop="QCRBUSS" class="add-form-item form-item-disabled">
<el-select :popper-append-to-body="false" v-model="form.QCRBUSS" placeholder="" :disabled="disabledState" >
<el-option
v-for="item in qcrOptions"
:key="item.value"
:value="item.value"
:label="item.label"
></el-option>
</el-select>
</el-form-item>
<el-form-item label="适用车型" prop="SYCXCLASS" class="add-form-item form-item-disabled">
<el-select :popper-append-to-body="false" v-model="form.SYCXCLASS" placeholder="" :disabled="disabledState" multiple>
<el-option
v-for="item in applyArcticOptions"
:key="item.value"
:value="item.value"
:label="item.label"
></el-option>
</el-select>
</el-form-item>
<el-form-item label="适用产品线" prop="SYCPXCLASS" class="add-form-item form-item-disabled">
<el-select :popper-append-to-body="false" v-model="form.SYCPXCLASS" placeholder="" :disabled="disabledState" multiple>
<el-option
v-for="item in sycpxOptions"
:key="item.value"
:value="item.value"
:label="item.label"
></el-option>
</el-select>
</el-form-item>
<el-form-item label="模块中文名称" prop="VPPSCNBUSS" class="add-form-item form-item-disabled">
<el-input v-model="form.VPPSCNBUSS" clearable :disabled="true"></el-input>
</el-form-item>
</el-col>
</el-row>
</div>
<ProcessTitle v-show="verifySarStandard">
<template slot="title">关联信息</template>
</ProcessTitle>
<div class="prc-content-border" v-show="verifySarStandard">
<el-row :gutter="24">
<el-col :span="12">
<el-form-item label="代替企标编号" prop="DTQBBHBUSS" class="add-form-item form-item-disabled">
<el-input
v-model="form.DTQBBHBUSS" :disabled="disabledState"
clearable
></el-input>
</el-form-item>
<el-form-item label="关联文件" prop="GLWJBUSSName" class="add-form-item form-item-disabled">
<div v-if="QTWJBUSSFileList.length>0" v-for="(value,index) in this.QTWJBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">
<!-- {{ value.name }} -->
{{value.name}}
</div>
<div v-else>
- -
</div>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="被代替企标编号" prop="BDTWJHLAWS" class="add-form-item form-item-disabled">
<el-input
v-model="form.BDTWJHLAWS" :disabled="disabledState"
clearable
></el-input>
</el-form-item>
<el-form-item label="上传时间" prop="XCSJBUSS" class="add-form-item form-item-disabled">
<el-input
v-model="form.XCSJBUSS"
clearable
:disabled="true"
></el-input>
</el-form-item>
</el-col>
</el-row>
</div>
<formList
:form = "form"
:FBGBUSSFileList = "FBGBUSSFileList"
:LSBBBUSSFileList = "LSBBBUSSFileList"
:BZSMBUSSFileList = "BZSMBUSSFileList"
:QTWJBUSSFileList = "QTWJBUSSFileList"
:GLWJBUSSFileList = "GLWJBUSSFileList"
:disabledState = "disabledState"
:verifySarStandard = "verifySarStandard"
:opinionsShow = "true"
></formList>
<!-- <div>-->
<!-- <el-collapse accordion v-model="activeName">-->
<!-- <el-collapse-item title="审批意见" name = "1">-->
@@ -504,7 +266,7 @@
</el-form-item>
<el-form-item label="编号/名称" class="search-item">
<el-input
v-model="replaceLawsNumForm.standNumber"
v-model="replaceLawsNumForm.numberName"
placeholder="根据编号/名称查找"
clearable
:maxlength="100"></el-input>
@@ -800,6 +562,7 @@
</template>
<script>
import formList from './common/formList.vue'
import ProcessHeader from '../../components/ProcessHeader'
import ProcessFooter from '../../components/ProcessFooter'
import ProcessTitle from '../../components/ProcessTitle'
@@ -811,6 +574,7 @@
export default {
name: "bussLibraryDetail",
components: {
formList,
ProcessHeader,
ProcessFooter,
ProcessTitle,
@@ -1021,6 +785,8 @@
modelData:[],
modelDataNameVerify:[],
modelDataZrUserVerify:[],
summaryFile:'',
summaryFileName:'',
//
country:[],
//
@@ -2541,7 +2307,7 @@
this.energyKindOptions = res.data.ENERGYTYPES
this.standGeneraOptions = res.data.BUSSBIGCLASS
this.standSubclassOptions = res.data.BUSSFINECLASS
this.standSortOptions = res.data.STANDCLASSIFY //
this.standSortOptions = res.data.BUSSSTANDCLASS //
this.standNatureOptions = res.data.SARPROPERTY //
this.standStateOptions = res.data.TEXTSTATUSBUSS //
this.standSystemOptions = res.data.TXLBBUSS //
@@ -880,6 +880,7 @@ export default {
}else{
this.qdform = item.form
this.dataList =item.form.dataList
this.commentText = item.commentText
this.detailedId = item.form.detailedListId;
}
});
@@ -889,6 +889,7 @@ export default {
}else{
this.qdform = item.form
this.dataList =item.form.dataList
this.commentText = item.commentText
this.detailedId = item.form.detailedListId;
}
});
@@ -883,6 +883,7 @@ export default {
}else{
this.qdform = item.form
this.dataList =item.form.dataList
this.commentText = item.commentText
this.detailedId = item.form.detailedListId;
}
});
@@ -204,6 +204,21 @@
</div>
</el-card>
</div>
<div class="process-name">
<el-card shadow="hover" v-btn-permission="''">
<div class="card-box" @click="handleCreateProcess('buss2')">
<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="'5af5073695c2e1d12ca3d5a6afae67b5'">
<div class="card-box" @click="handleCreateProcess('23')">
@@ -403,6 +418,12 @@
name: 'bussLibrary1'
})
break
case 'buss2':
// -
this.$router.push({
name: 'bussLibraryProduct1'
})
break
case '2':
//
this.$router.push({
@@ -489,6 +489,174 @@ export default {
})
}
break
case 'buss2':
if (row.taskInfo === '企标编写') {
this.$router.push({
name: 'bussLibraryProduct2',
query: {
taskIds: row.taskIds,
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
prcType: row.prcType
}
})
}else if (row.taskInfo === '企标编写汇总修订'){
this.$router.push({
name: 'bussLibraryProduct3',
query: {
taskIds: row.taskIds,
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
prcType: row.prcType
}
})
}else if (row.taskInfo === '重新企标编写汇总修订'){
this.$router.push({
name: 'bussLibraryProductC3',
query: {
taskIds: row.taskIds,
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
prcType: row.prcType
}
})
}else if (row.taskInfo === '总院各中心兼职标准化员/各事业部标准化员初审'){
this.$router.push({
name: 'bussLibraryProduct4',
query: {
taskIds: row.taskIds,
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
prcType: row.prcType
}
})
}else if (row.taskInfo === '会签征求意见'){
this.$router.push({
name: 'bussLibraryProduct5',
query: {
taskIds: row.taskIds,
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
prcType: row.prcType
}
})
}else if (row.taskInfo === '意见汇总及标准修改'){
this.$router.push({
name: 'bussLibraryProduct6',
query: {
taskIds: row.taskIds,
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
prcType: row.prcType
}
})
}else if (row.taskInfo === '重新意见汇总及标准修改'){
this.$router.push({
name: 'bussLibraryProductC6',
query: {
taskIds: row.taskIds,
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
prcType: row.prcType
}
})
}else if (row.taskInfo === '总院标准法规部产品标准工程师/各事业部标准法规部复审'){
this.$router.push({
name: 'bussLibraryProduct7',
query: {
taskIds: row.taskIds,
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
prcType: row.prcType
}
})
}else if (row.taskInfo === '总院项目总工/各事业部整车所产品经理审核'){
this.$router.push({
name: 'bussLibraryProduct8',
query: {
taskIds: row.taskIds,
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
prcType: row.prcType
}
})
}else if (row.taskInfo === '总院标准法规部高级经理/各事业部标准业务/认证业务经理审核'){
this.$router.push({
name: 'bussLibraryProduct9',
query: {
taskIds: row.taskIds,
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
prcType: row.prcType
}
})
}else if (row.taskInfo === '总院产品工程经理/各事业部技术中心主任审定'){
this.$router.push({
name: 'bussLibraryProduct10',
query: {
taskIds: row.taskIds,
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
prcType: row.prcType
}
})
}else if (row.taskInfo === '总院技术管理中心主任/各事业部主管标准业务高级经理审定'){
this.$router.push({
name: 'bussLibraryProduct11',
query: {
taskIds: row.taskIds,
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
prcType: row.prcType
}
})
}else if (row.taskInfo === '总院平台总监/各事业部研发副总裁批准'){
this.$router.push({
name: 'bussLibraryProduct12',
query: {
taskIds: row.taskIds,
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
prcType: row.prcType
}
})
}else if (row.taskInfo === '总院标准法规部产品标准工程师/各事业部标准化员发布'){
this.$router.push({
name: 'bussLibraryProduct13',
query: {
taskIds: row.taskIds,
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
prcType: row.prcType
}
})
}else if (row.taskInfo === '抄送'){
this.$router.push({
name: 'bussLibraryProduct14',
query: {
taskIds: row.taskIds,
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
prcType: row.prcType
}
})
}
break;
case '2':
if (row.taskInfo === '责任对接人选择责任人') {
this.$router.push({
@@ -300,7 +300,7 @@ export default {
verifySarStandard: true,
}
})
}else if (row.taskInfo === '企标汇总修订'){
}else if (row.taskInfo === '企标编写汇总修订'){
this.$router.push({
name: 'bussLibrary3',
query: {
@@ -310,7 +310,7 @@ export default {
verifySarStandard: true,
}
})
}else if (row.taskInfo === '标准化员审批'){
}else if (row.taskInfo === '总院各中心兼职标准化员/各事业部标准化员初审'){
this.$router.push({
name: 'bussLibrary4',
query: {
@@ -320,7 +320,7 @@ export default {
verifySarStandard: true,
}
})
}else if (row.taskInfo === '重新企标汇总修订'){
}else if (row.taskInfo === '重新企标编写汇总修订'){
this.$router.push({
name: 'bussLibraryC3',
query: {
@@ -340,7 +340,7 @@ export default {
verifySarStandard: true,
}
})
}else if (mes.taskInfo === '主起草人修订并组织评审'){
}else if (mes.taskInfo === '技术委员会评审/评审意见修改评审'){
this.$router.push({
name: 'bussLibrary6',
query: {
@@ -350,7 +350,7 @@ export default {
verifySarStandard: true,
}
})
}else if (mes.taskInfo === '标准法规工程师复审'){
}else if (mes.taskInfo === '标准法规部标准化工程师复审'){
this.$router.push({
name: 'bussLibrary7',
query: {
@@ -360,7 +360,7 @@ export default {
verifySarStandard: true,
}
})
}else if (mes.taskInfo === '重新修订并组织评审'){
}else if (mes.taskInfo === '重新技术委员会评审/评审意见修改评审'){
this.$router.push({
name: 'bussLibraryC6',
query: {
@@ -370,7 +370,7 @@ export default {
verifySarStandard: true,
}
})
}else if (mes.taskInfo === '技术委员会负责人/起草中心主任审核'){
}else if (mes.taskInfo === '起草单位高级经理审核'){
this.$router.push({
name: 'bussLibrary8',
query: {
@@ -380,7 +380,7 @@ export default {
verifySarStandard: true,
}
})
}else if (mes.taskInfo === '标准法规部部长审核'){
}else if (mes.taskInfo === '标准法规部高级经理审核'){
this.$router.push({
name: 'bussLibrary9',
query: {
@@ -390,7 +390,7 @@ export default {
verifySarStandard: true,
}
})
}else if (mes.taskInfo === '专委会副主任/起草单位中心主任审定'){
}else if (mes.taskInfo === '起草单位中心主任审定'){
this.$router.push({
name: 'bussLibrary10',
query: {
@@ -400,7 +400,7 @@ export default {
verifySarStandard: true,
}
})
}else if (mes.taskInfo === '专委会主任/总院院长或主管副院长批准'){
}else if (mes.taskInfo === '总院院长或总院主管副院长批准'){
this.$router.push({
name: 'bussLibrary11',
query: {
@@ -410,7 +410,7 @@ export default {
verifySarStandard: true,
}
})
}else if (mes.taskInfo === '主起草人培训'){
}else if (mes.taskInfo === '标准法规部标准化工程师发布'){
this.$router.push({
name: 'bussLibrary12',
query: {
@@ -432,6 +432,71 @@ export default {
}
})
}
break
case 'buss2':
if(mes !== null && mes.taskInfo !== null) {
if (mes.taskInfo === '企标编写') {
this.$router.push({
name: 'bussLibraryProduct2',
query: {
type: 'buss1',
processName: mes.taskInfo,
bpnId: id,
verifySarStandard: true,
}
})
}else if (row.taskInfo === '企标编写汇总修订'){
this.$router.push({
name: 'bussLibraryProduct3',
query: {
type: 'buss1',
processName: mes.taskInfo,
bpnId: id,
verifySarStandard: true,
}
})
}else if (row.taskInfo === '重新企标编写汇总修订'){
this.$router.push({
name: 'bussLibraryProductC3',
query: {
type: 'buss1',
processName: mes.taskInfo,
bpnId: id,
verifySarStandard: true,
}
})
}else if (mes.taskInfo === '意见汇总及标准修改'){
this.$router.push({
name: 'bussLibraryProduct6',
query: {
type: 'buss1',
processName: mes.taskInfo,
bpnId: id,
verifySarStandard: true,
}
})
}else if (mes.taskInfo === '重新意见汇总及标准修改'){
this.$router.push({
name: 'bussLibraryProductC6',
query: {
type: 'buss1',
processName: mes.taskInfo,
bpnId: id,
verifySarStandard: true,
}
})
}
}else {
this.$router.push({
name: 'bussLibraryProduct1',
query: {
type: '1',
processName: '发起企标制修订流程',
bpnId: id,
verifySarStandard: true,
}
})
}
break
//
case '2':
@@ -3576,7 +3576,7 @@ export default {
// },
//
clearAllSearch(flag) {
if (flag === 'sarStandardsSearch') {
if (flag === 'sarStandardsSearch' || flag === 'standCommonlySearch') {
//
this.sarStandardsSearch.country = ''
this.sarStandardsSearch.standSort = ''
@@ -3593,7 +3593,7 @@ export default {
this.sarStandardsSearch.synopsis = ''
this.sarStandardsSearch.category = ''
this.isAdvancedSearch = false
} else if (flag === 'standCommonlySearch') {
// } else if (flag === 'standCommonlySearch') {
this.standCommonlySearch.standName = ''
this.standCommonlySearch.standNumber = ''
this.pageChange(1)
@@ -4272,7 +4272,12 @@ export default {
this.sarStandardsSearch.page = page
}
this.standCommonlySearch.page = page
this.getDomesticStandardTable(this.standCommonlySearch)
if (this.sarStandardsSearch) {
this.getDomesticStandardTable(this.sarStandardsSearch)
} else {
this.getDomesticStandardTable(this.standCommonlySearch)
}
},
//
pageSizeChange(pageSize) {
@@ -4283,6 +4288,7 @@ export default {
},
//
getDomesticStandardTable(item) {
console.log(item)
if (item !== '' && item !== null && item !== undefined) {
item.pageSize = this.$store.getters.userInfo.configContent
}
@@ -4293,6 +4299,7 @@ export default {
}
// this.sarStandardsSearch.menuId = this.selectSarMenu.id
const formData = {...data}
console.log(formData)
if (!item) {
formData.menuId = this.sarStandardsSearch.menuId
} else {
@@ -596,7 +596,7 @@
useLevel: '',
isRelate: '',
esStandRelations: '',
area: '',
area: [],
tsJson: '',
tsJsonName: '',
rqbJson: '',
@@ -838,6 +838,8 @@
url = 'esRevisePlan/es-revise-plan/addPlan'
tips = '添加'
}
let arr = JSON.parse(JSON.stringify(this.addForm))
arr.area = arr.area.join(',')
this.$http.post(url, this.addForm, {
_this: this
}, res => {
@@ -939,6 +941,16 @@
this.DrawerType = 'edit'
this.addDrawer = true
this.addForm = {
esMatingRelations: command[0].esMatingRelations,
technologic: command[0].technologic,
useLevel: command[0].useLevel,
isRelate: command[0].isRelate,
esStandRelations: command[0].esStandRelations,
area: command[0].area,
tsJson: command[0].tsJson,
tsJsonName: command[0].tsJsonName,
rqbJson: command[0].rqbJson,
rqbName: command[0].rqbName,
unitName:command[0].unitName,
id: command[0].id,
unit: command[0].unit, //
@@ -954,6 +966,9 @@
drafterName: command[0].drafterName, //
drafter: command[0].drafter,
}
if (typeof (this.addForm.area) === 'string') {
this.addForm.area = command[0].area.split(',')
}
break
case '删除':
this.$confirm('您是否确认删除选中数据?', '提示', {
@@ -983,6 +998,9 @@
this.DrawerType = 'see'
this.addDrawer = true
this.addForm = command[0]
if (typeof (this.addForm.area) === 'string') {
this.addForm.area = command[0].area.split(',')
}
break
}
},
@@ -1008,7 +1026,6 @@
this.QCDWList = res.data.QCDW //
this.standSystemOptions = res.data.TXLBBUSS //
this.BZList = res.data.ENERGYTYPES
console.log(this.BZList);
}, e => {
})
},
+155 -1
View File
@@ -1067,7 +1067,8 @@ const routes = [
requireAuth: true,
title: '企标制修订流程及企业标准库流程'
}
},{
},
{
path: '/bussLibraryDetail',
name: 'bussLibraryDetail',
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk/stepDetail.vue'),
@@ -1076,6 +1077,159 @@ const routes = [
title: '企标制修订流程及企业标准库流程'
}
},
{
path: '/bussLibraryProduct1',
name: 'bussLibraryProduct1',
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk-product/step1.vue'),
meta: {
requireAuth: true,
title: '企标制修订-产品标准'
}
},
{
path: '/bussLibraryProduct2',
name: 'bussLibraryProduct2',
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk-product/step2.vue'),
meta: {
requireAuth: true,
title: '企标制修订-产品标准'
}
},
{
path: '/bussLibraryProduct3',
name: 'bussLibraryProduct3',
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk-product/step3.vue'),
meta: {
requireAuth: true,
title: '企标制修订-产品标准'
}
},
{
path: '/bussLibraryProductC3',
name: 'bussLibraryProductC3',
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk-product/stepC3.vue'),
meta: {
requireAuth: true,
title: '企标制修订-产品标准'
}
},
{
path: '/bussLibraryProduct4',
name: 'bussLibraryProduct4',
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk-product/step4.vue'),
meta: {
requireAuth: true,
title: '企标制修订-产品标准'
}
},
{
path: '/bussLibraryProduct5',
name: 'bussLibraryProduct5',
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk-product/step5.vue'),
meta: {
requireAuth: true,
title: '企标制修订-产品标准'
}
},
{
path: '/bussLibraryProduct6',
name: 'bussLibraryProduct6',
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk-product/step6.vue'),
meta: {
requireAuth: true,
title: '企标制修订-产品标准'
}
},
{
path: '/bussLibraryProductC6',
name: 'bussLibraryProductC6',
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk-product/stepC6.vue'),
meta: {
requireAuth: true,
title: '企标制修订-产品标准'
}
},
{
path: '/bussLibraryProduct7',
name: 'bussLibraryProduct7',
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk-product/step7.vue'),
meta: {
requireAuth: true,
title: '企标制修订-产品标准'
}
},
{
path: '/bussLibraryProduct8',
name: 'bussLibraryProduct8',
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk-product/step8.vue'),
meta: {
requireAuth: true,
title: '企标制修订-产品标准'
}
},
{
path: '/bussLibraryProduct9',
name: 'bussLibraryProduct9',
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk-product/step9.vue'),
meta: {
requireAuth: true,
title: '企标制修订-产品标准'
}
},
{
path: '/bussLibraryProduct10',
name: 'bussLibraryProduct10',
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk-product/step10.vue'),
meta: {
requireAuth: true,
title: '企标制修订-产品标准'
}
},
{
path: '/bussLibraryProduct11',
name: 'bussLibraryProduct11',
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk-product/step11.vue'),
meta: {
requireAuth: true,
title: '企标制修订-产品标准'
}
},
{
path: '/bussLibraryProduct12',
name: 'bussLibraryProduct12',
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk-product/step12.vue'),
meta: {
requireAuth: true,
title: '企标制修订-产品标准'
}
},
{
path: '/bussLibraryProduct13',
name: 'bussLibraryProduct13',
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk-product/step13.vue'),
meta: {
requireAuth: true,
title: '企标制修订-产品标准'
}
},
{
path: '/bussLibraryProduct14',
name: 'bussLibraryProduct14',
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk-product/step14.vue'),
meta: {
requireAuth: true,
title: '企标制修订-产品标准'
}
},
{
path: '/bussLibraryProductDetail',
name: 'bussLibraryProductDetail',
component: () => import('@/pages/processCenter/pages/creatProcess/qbrk-product/stepDetail.vue'),
meta: {
requireAuth: true,
title: '企标制修订-产品标准'
}
},
{
path: '/bzdyStep1',
name: 'bzdyStep1',