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

This commit is contained in:
Mr.Z
2021-08-27 14:44:31 +08:00
@@ -82,7 +82,9 @@
<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 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"
@@ -114,7 +116,9 @@
show-overflow-tooltip show-overflow-tooltip
align="center"> align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button size="mini" type="primary" @click="itermsConditionsOpen(scope.row.itermsConditions)" class="common-button-primary">查看条款内容</el-button> <el-button size="mini" type="primary" @click="itermsConditionsOpen(scope.row.itermsConditions)" class="common-button-primary">
查看条款内容
</el-button>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
@@ -211,11 +215,13 @@
size="mini" size="mini"
class="common-button-primary" class="common-button-primary"
@click="sarStandCompareHisInfo">查询</el-button> @click="sarStandCompareHisInfo">查询
</el-button>
<el-button <el-button
class="common-button-default" class="common-button-default"
size="mini" size="mini"
@click="clearSearchStand">清空</el-button> @click="clearSearchStand">清空
</el-button>
</el-formItem> </el-formItem>
</el-form> </el-form>
</div> </div>
@@ -300,7 +306,10 @@
label="标准号" label="标准号"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<div v-if="scope.row.standYear">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</div> <div v-if="scope.row.standYear">{{ scope.row.standSortShow }} {{
scope.row.standNumber
}}-{{ scope.row.standYear }}
</div>
<div v-else>{{ scope.row.standSortShow }} {{ scope.row.standNumber }}</div> <div v-else>{{ scope.row.standSortShow }} {{ scope.row.standNumber }}</div>
</template> </template>
</el-table-column> </el-table-column>
@@ -357,7 +366,8 @@
size="800px"> size="800px">
<div style="height: 500px;overflow: auto;" v-html="itermsConditionsTitle"></div> <div style="height: 500px;overflow: auto;" v-html="itermsConditionsTitle"></div>
<div slot="footer"> <div slot="footer">
<el-button class="common-button-default" size="mini" icon="el-icon-close" @click="itermsConditionsClose">关闭</el-button> <el-button class="common-button-default" size="mini" icon="el-icon-close" @click="itermsConditionsClose">关闭
</el-button>
</div> </div>
</el-dialog> </el-dialog>
<Role-tree <Role-tree
@@ -376,6 +386,7 @@
import ProcessFooter from '../../components/ProcessFooter' import ProcessFooter from '../../components/ProcessFooter'
import ProcessTitle from '../../components/ProcessTitle' import ProcessTitle from '../../components/ProcessTitle'
import {saveTaskFirst} from 'api/process' import {saveTaskFirst} from 'api/process'
export default { export default {
name: "bzjdStep1", name: "bzjdStep1",
data() { data() {
@@ -463,6 +474,7 @@
}, },
roleRow: {}, roleRow: {},
itemList: [], itemList: [],
itemListOld: [],
zrType: '', zrType: '',
zrIndex: '', zrIndex: '',
zrIdList: [] zrIdList: []
@@ -645,7 +657,13 @@
item.zrUserId = '' item.zrUserId = ''
item.zrUserIdName = '' item.zrUserIdName = ''
}) })
this.itemList = res.data.list
this.itemList = res.data.list.filter(item =>{
return item.workFlowShow === '1'
})
this.itemListOld = res.data.list.filter(item =>{
return item.workFlowShow === '0'
})
} }
this.loading = false this.loading = false
}) })
@@ -790,6 +808,7 @@
json.commentText = this.commentText json.commentText = this.commentText
json.standInData = this.sarType json.standInData = this.sarType
json.itemList = this.itemList json.itemList = this.itemList
json.itemListOld = this.itemListOld
this.$http.post('lawss/activiti/completeTask', { this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json), json: JSON.stringify(json),
taskId: res.data, taskId: res.data,
@@ -830,6 +849,7 @@
<style lang="less" scoped> <style lang="less" scoped>
@import '~@/assets/styles/style'; @import '~@/assets/styles/style';
@import '~@/assets/styles/mixins'; @import '~@/assets/styles/mixins';
.bzjdStep1 { .bzjdStep1 {
/deep/ .el-drawer__container { /deep/ .el-drawer__container {
.prc-content-border { .prc-content-border {
@@ -837,8 +857,10 @@
padding: 0 20px 0; padding: 0 20px 0;
} }
} }
position: relative; position: relative;
height: 100%; height: 100%;
.headerTabs { .headerTabs {
height: 52px; height: 52px;
display: flex; display: flex;
@@ -846,6 +868,7 @@
position: absolute; position: absolute;
top: 0; top: 0;
right: 10px; right: 10px;
.headerTabsItem { .headerTabsItem {
border: 1px solid #c1c1c1; border: 1px solid #c1c1c1;
padding: 0 5px; padding: 0 5px;
@@ -853,12 +876,14 @@
line-height: 30px; line-height: 30px;
cursor: pointer; cursor: pointer;
} }
.active { .active {
border: 1px solid #E6A23C; border: 1px solid #E6A23C;
color: #fff; color: #fff;
background: #E6A23C; background: #E6A23C;
} }
} }
.content { .content {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@@ -866,33 +891,41 @@
height: calc(~'100% - 107px'); height: calc(~'100% - 107px');
overflow: auto; overflow: auto;
} }
.standardForComments { .standardForComments {
height: 100%; height: 100%;
background: #fff; background: #fff;
.el-divider--horizontal { .el-divider--horizontal {
display: block; display: block;
height: 1px; height: 1px;
width: 100%; width: 100%;
margin: 0; margin: 0;
} }
flex-direction: column; flex-direction: column;
.action-bar { .action-bar {
margin-bottom: 5px; margin-bottom: 5px;
padding: 0; padding: 0;
} }
.content { .content {
flex: auto; flex: auto;
overflow: hidden; overflow: hidden;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
.table-wrap { .table-wrap {
flex: auto; flex: auto;
overflow: hidden; overflow: hidden;
position: relative; position: relative;
} }
} }
& > .pagination { & > .pagination {
position: static; position: static;
/deep/ .pagination-slot { /deep/ .pagination-slot {
padding: 0; padding: 0;
} }