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

This commit is contained in:
yanyizhou
2021-12-21 14:52:24 +08:00
7 changed files with 42 additions and 32 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"
@@ -827,17 +827,19 @@
</el-formItem> </el-formItem>
<el-form-item> <el-form-item>
<el-button <el-button
icon="el-icon-search"
type="primary" type="primary"
class="common-button-primary" class="common-button-primary"
@click="handleSearchStandard" size="mini"
round> style="margin-left: 5px"
@click="handleSearchStandard">
查询
</el-button> </el-button>
<el-button <el-button
class="common-button-default" class="common-button-default"
icon="el-icon-refresh-left" size="mini"
@click="handleResetSearch" @click="handleResetSearch">
round></el-button> 清空
</el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
@@ -1664,11 +1666,11 @@
this.standardCheckedList = data this.standardCheckedList = data
}, },
handleResetSearch() { handleResetSearch() {
this.standardSearchForm.standType = 'INLAND' // this.standardSearchForm.standType = 'INLAND'
this.standardSearchForm.standNumber = '' this.standardSearchForm.lawsNumber = ''
this.standardSearchForm.standSort = '' this.standardSearchForm.lawsName = ''
this.standardSearchForm.standName = '' this.standardSearchForm.lawsEnName = ''
this.standardSearchForm.standEnName = '' this.standardSearchForm.lawsTextState = ''
setTimeout(() => { setTimeout(() => {
this.handleSearchStandard() this.handleSearchStandard()
}, 100) }, 100)
@@ -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()