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

This commit is contained in:
super_liu
2021-12-21 14:42:32 +08:00
7 changed files with 38 additions and 30 deletions
@@ -348,7 +348,7 @@
</el-timeline-item> </el-timeline-item>
<el-timeline-item timestamp="批准" placement="top" :color="roleForm.startUser ? '#66b1ff' : ''"> <el-timeline-item timestamp="批准" placement="top" :color="roleForm.startUser ? '#66b1ff' : ''">
<el-card> <el-card>
<el-form-item prop="totalLeader" style="margin-bottom: 0"> <el-form-item prop="directorUserName" style="margin-bottom: 0">
<h4>总院技术委员会主任</h4> <h4>总院技术委员会主任</h4>
<div style="margin-top: 10px;width: 300px;"> <div style="margin-top: 10px;width: 300px;">
<el-input v-model="roleForm.directorUserId" style="display: none;"></el-input> <el-input v-model="roleForm.directorUserId" style="display: none;"></el-input>
@@ -749,8 +749,8 @@ export default {
} else { } else {
this.roleForm.dockUser = idList this.roleForm.dockUser = idList
this.roleForm.dockUserName = nameList this.roleForm.dockUserName = nameList
this.rh_pageData.comityInRole = nameList // this.rh_pageData.comityInRole = nameList
this.rh_pageData.comityInRoleId = idList // this.rh_pageData.comityInRoleId = idList
} }
this.roleShowflag = false this.roleShowflag = false
}, },
@@ -810,7 +810,7 @@ export default {
roleList: this.roleForm, roleList: this.roleForm,
rh_pageData: this.rh_pageData, rh_pageData: this.rh_pageData,
commentText: this.commentText, commentText: this.commentText,
directorList: this.rh_pageData.comityInRoleId, directorList: this.roleForm.dockUser,
} }
this.$refs['rh_pageData'].validate((valid) => { this.$refs['rh_pageData'].validate((valid) => {
if (valid) { if (valid) {
@@ -84,7 +84,7 @@
<template slot="title">拆分信息</template> <template slot="title">拆分信息</template>
</ProcessTitle> </ProcessTitle>
<div class="action-bar"> <div class="action-bar">
<el-button type="primary" class="common-button-primary add-button" size="mini" @click="PLedit"> <el-button :disabled="!itemList.length" type="primary" class="common-button-primary add-button" size="mini" @click="PLedit">
批量编辑 批量编辑
</el-button> </el-button>
</div> </div>
@@ -85,7 +85,7 @@
<template slot="title">拆分信息</template> <template slot="title">拆分信息</template>
</ProcessTitle> </ProcessTitle>
<div class="action-bar"> <div class="action-bar">
<el-button type="primary" class="common-button-primary add-button" size="mini" @click="PLedit"> <el-button :disabled="!itemList.length" type="primary" class="common-button-primary add-button" size="mini" @click="PLedit">
批量编辑 批量编辑
</el-button> </el-button>
</div> </div>
@@ -66,7 +66,7 @@
<template slot="title">拆分信息</template> <template slot="title">拆分信息</template>
</ProcessTitle> </ProcessTitle>
<div class="action-bar"> <div class="action-bar">
<el-button type="primary" class="common-button-primary add-button" size="mini" @click="choiceZRRS('', 2, '')">批量编辑</el-button> <el-button :disabled="!itemList.length" type="primary" class="common-button-primary add-button" size="mini" @click="choiceZRRS('', 2, '')">批量编辑</el-button>
</div> </div>
<el-table border <el-table border
ref="selection" ref="selection"
@@ -66,7 +66,7 @@
<template slot="title">拆分信息</template> <template slot="title">拆分信息</template>
</ProcessTitle> </ProcessTitle>
<div class="action-bar"> <div class="action-bar">
<el-button type="primary" :disabled="acceptShow" class="common-button-primary add-button" size="mini" @click="choiceZRR">批量编辑</el-button> <el-button type="primary" :disabled="acceptShow && !itemList.length" class="common-button-primary add-button" size="mini" @click="choiceZRR">批量编辑</el-button>
</div> </div>
<el-table border <el-table border
ref="selection" ref="selection"
@@ -1545,8 +1545,8 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<!-- 体系类别--> <!-- 体系类别-->
<el-form-item label="体系类别" class="add-form-item form-item-disabled"> <el-form-item label="标准体系" class="add-form-item form-item-disabled">
<el-select v-model="advanceSearchMapping.TXLB" placeholder="根据体系类别查找" clearable <el-select v-model="advanceSearchMapping.TXLB" placeholder="根据标准体系查找" clearable
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"> @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
<el-option v-for="opt in txlbOptions" :value="opt.value === undefined ? '' :opt.value" <el-option v-for="opt in txlbOptions" :value="opt.value === undefined ? '' :opt.value"
:key="opt.value" :key="opt.value"
@@ -1841,17 +1841,17 @@
<el-input v-model="advanceSearchMapping.CBBH" clearable placeholder="根据采标编号查找" <el-input v-model="advanceSearchMapping.CBBH" clearable placeholder="根据采标编号查找"
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input> @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input>
</el-form-item> </el-form-item>
<!-- 引用标准-->
<el-form-item label="引用标准" class="add-form-item form-item-disabled">
<el-input v-model="advanceSearchMapping.YYBJ" clearable placeholder="根据引用标准查找"
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input>
</el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<!-- 被代替标准号--> <!-- 被代替标准号-->
<el-form-item label="被代替标准号" class="add-form-item form-item-disabled"> <!-- <el-form-item label="被代替标准号" class="add-form-item form-item-disabled">-->
<el-input v-model="sarStandardsSearch.replacedStandNum" clearable placeholder="根据被代替标准号查找" <!-- <el-input v-model="sarStandardsSearch.replacedStandNum" clearable placeholder="根据被代替标准号查找"-->
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input>-->
<!-- </el-form-item>-->
<!-- 引用标准-->
<el-form-item label="引用标准" class="add-form-item form-item-disabled">
<el-input v-model="advanceSearchMapping.YYBJ" clearable placeholder="根据引用标准查找"
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input> @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input>
</el-form-item> </el-form-item>
<!-- 被引用标准--> <!-- 被引用标准-->
@@ -475,19 +475,27 @@ export default {
} }
}, },
mounted() { mounted() {
this.fileInfoLists = JSON.parse(this.$route.query.item.wkfiles) if (JSON.parse(this.$route.query.item.wkfiles).length) {
let json = JSON.parse(this.$route.query.item.files)[0] this.fileInfoLists = JSON.parse(this.$route.query.item.wkfiles)
this.$http.get('SarStandItems/sar-stand-items/querySarItemAndInterpretation', { } else {
standId: json.standId, this.fileInfoLists = []
fileType: json.standFileClassify, }
pageSize: 9999, if (JSON.parse(this.$route.query.item.files).length) {
page: 1 let json = JSON.parse(this.$route.query.item.files)[0]
}, {}, res => { this.$http.get('SarStandItems/sar-stand-items/querySarItemAndInterpretation', {
if (res.ok) { standId: json.standId,
this.options = res.data.list fileType: json.standFileClassify,
} pageSize: 9999,
}, e => { page: 1
}) }, {}, res => {
if (res.ok) {
this.options = res.data.list
}
}, e => {
})
} else {
this.options = []
}
this.getList() this.getList()
this.getIdeaKey() this.getIdeaKey()
this.getFileInfo() this.getFileInfo()