Merge branch 'develop' of http://101.36.229.190:90/LAWS/laws-system-front-FOTON into develop
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -92,17 +92,11 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
width: {
|
width: {
|
||||||
type: Number,
|
type: String,
|
||||||
default () {
|
default () {
|
||||||
return 593;
|
return "";
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
height: {
|
|
||||||
type: Number,
|
|
||||||
default () {
|
|
||||||
return 300;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
@@ -110,7 +104,7 @@
|
|||||||
isShowSelect: false, // 是否显示树状选择器
|
isShowSelect: false, // 是否显示树状选择器
|
||||||
options: [],
|
options: [],
|
||||||
selectedData: [], // 选中的节点
|
selectedData: [], // 选中的节点
|
||||||
style: 'width:' + this.width + 'px;' + 'height:' + this.height + 'px;',
|
style: 'width:' + this.width + 'px;' + 'height:100%;',
|
||||||
selectStyle: 'width:100%;',
|
selectStyle: 'width:100%;',
|
||||||
checkedIds: [],
|
checkedIds: [],
|
||||||
checkedData: []
|
checkedData: []
|
||||||
|
|||||||
@@ -341,7 +341,7 @@ export default {
|
|||||||
{required: true, message: '所属模块不能为空', trigger: 'change'}
|
{required: true, message: '所属模块不能为空', trigger: 'change'}
|
||||||
],
|
],
|
||||||
showIndex: [
|
showIndex: [
|
||||||
{ type: 'number', required: true, message: '请输入排序号', trigger: 'blur' },
|
{ type: 'number', required: true, message: '不能为空且为正整数', trigger: 'blur' },
|
||||||
{ type: 'number', min: 0, max: 999, message: '请输入0-999之间的整数', trigger: 'blur' }
|
{ type: 'number', min: 0, max: 999, message: '请输入0-999之间的整数', trigger: 'blur' }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -32,10 +32,9 @@
|
|||||||
<el-button
|
<el-button
|
||||||
class="common-button-primary"
|
class="common-button-primary"
|
||||||
type="primary"
|
type="primary"
|
||||||
icon="el-icon-search"
|
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="searchBtn"
|
@click="searchBtn"
|
||||||
></el-button>
|
>搜索</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="" class="search-item btn-box">
|
<el-form-item label="" class="search-item btn-box">
|
||||||
<el-button
|
<el-button
|
||||||
|
|||||||
@@ -2621,9 +2621,9 @@ export default {
|
|||||||
const dynamicFormField = standEO ? standEO.attrInfoMap : {}
|
const dynamicFormField = standEO ? standEO.attrInfoMap : {}
|
||||||
formFieldList.forEach((field) => {
|
formFieldList.forEach((field) => {
|
||||||
// 相关流程权限
|
// 相关流程权限
|
||||||
if (field.attrField === 'XGLC' && !this.$_has('6A52PZCAX8BAUUJ2TSQ4')) {
|
// if (field.attrField === 'XGLC' && !this.$_has('6A52PZCAX8BAUUJ2TSQ4')) {
|
||||||
return
|
// return
|
||||||
}
|
// }
|
||||||
console.log("displayLocation");
|
console.log("displayLocation");
|
||||||
console.log(displayLocation);
|
console.log(displayLocation);
|
||||||
displayLocation.forEach((location) => {
|
displayLocation.forEach((location) => {
|
||||||
@@ -2693,6 +2693,7 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
this.dynamicFormField = displayLocation
|
this.dynamicFormField = displayLocation
|
||||||
|
console.log(this.dynamicFormField)
|
||||||
})
|
})
|
||||||
sessionStorage.setItem('displayLocation', JSON.stringify(displayLocation))
|
sessionStorage.setItem('displayLocation', JSON.stringify(displayLocation))
|
||||||
this.loading = false
|
this.loading = false
|
||||||
|
|||||||
@@ -97,32 +97,32 @@
|
|||||||
label="操作"
|
label="操作"
|
||||||
width="50px"
|
width="50px"
|
||||||
align="center">
|
align="center">
|
||||||
<!-- <template slot-scope="scope">-->
|
<!-- <template slot-scope="scope">
|
||||||
<!-- <el-button-->
|
<el-button
|
||||||
<!-- class="opera-btn"-->
|
class="opera-btn"
|
||||||
<!-- size="mini"-->
|
size="mini"
|
||||||
<!-- type="primary"-->
|
type="primary"
|
||||||
<!-- @click="handlePreview(scope.row)">查看</el-button>-->
|
@click="handlePreview(scope.row)">查看</el-button>
|
||||||
<!-- <el-button-->
|
<el-button
|
||||||
<!-- class="opera-btn"-->
|
class="opera-btn"
|
||||||
<!-- size="mini"-->
|
size="mini"
|
||||||
<!-- type="danger"-->
|
type="danger"
|
||||||
<!-- @click="delFileEditInfo(scope.row.id)">删除</el-button>-->
|
@click="delFileEditInfo(scope.row.id)">删除</el-button>
|
||||||
<!-- <el-button-->
|
<el-button
|
||||||
<!-- class="opera-btn"-->
|
class="opera-btn"
|
||||||
<!-- size="mini"-->
|
size="mini"
|
||||||
<!-- type="primary"-->
|
type="primary"
|
||||||
<!-- @click="enjoyInfo(scope.row)">分享</el-button>-->
|
@click="enjoyInfo(scope.row)">分享</el-button>
|
||||||
<!-- <el-button size="mini" class="opera-btn" type="primary" v-if="scope.row.collectBtn" @click="collectInfo(scope.row)">收藏</el-button>-->
|
<el-button size="mini" class="opera-btn" type="primary" v-if="scope.row.collectBtn" @click="collectInfo(scope.row)">收藏</el-button>
|
||||||
<!-- <el-button size="mini" class="opera-btn" type="primary" v-else @click="cancelCollectInfo(scope.row)">取消收藏</el-button>-->
|
<el-button size="mini" class="opera-btn" type="primary" v-else @click="cancelCollectInfo(scope.row)">取消收藏</el-button>
|
||||||
<!-- </template>-->
|
</template>-->
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-dropdown trigger="click" @command="handleCommand">
|
<el-dropdown trigger="click" @command="handleCommand">
|
||||||
<i class="iconfont"></i>
|
<i class="iconfont"></i>
|
||||||
<el-dropdown-menu slot="dropdown">
|
<el-dropdown-menu slot="dropdown">
|
||||||
<el-dropdown-item v-btn-permission="''" :command="[scope.row, '查看']">查看</el-dropdown-item>
|
<el-dropdown-item v-btn-permission="''" :command="[scope.row, '查看']">查看</el-dropdown-item>
|
||||||
<el-dropdown-item v-btn-permission="''" :command="[scope.row, '删除']">删除</el-dropdown-item>
|
<el-dropdown-item v-btn-permission="''" :command="[scope.row, '删除']">删除</el-dropdown-item>
|
||||||
<el-dropdown-item v-btn-permission="''" :command="[scope.row, '分享']">分享</el-dropdown-item>
|
<!-- <el-dropdown-item v-btn-permission="''" :command="[scope.row, '分享']">分享</el-dropdown-item>
|
||||||
<el-dropdown-item
|
<el-dropdown-item
|
||||||
v-if="scope.row.collectBtn"
|
v-if="scope.row.collectBtn"
|
||||||
v-btn-permission="''"
|
v-btn-permission="''"
|
||||||
@@ -136,7 +136,7 @@
|
|||||||
:command="[scope.row, '取消收藏']"
|
:command="[scope.row, '取消收藏']"
|
||||||
>
|
>
|
||||||
取消收藏
|
取消收藏
|
||||||
</el-dropdown-item>
|
</el-dropdown-item>-->
|
||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -115,9 +115,9 @@
|
|||||||
<el-dropdown-item :command="[scope.row, '删除']" v-btn-permission=""
|
<el-dropdown-item :command="[scope.row, '删除']" v-btn-permission=""
|
||||||
>删除</el-dropdown-item
|
>删除</el-dropdown-item
|
||||||
>
|
>
|
||||||
<el-dropdown-item :command="[scope.row, '在线编辑']" v-btn-permission=""
|
<!-- <el-dropdown-item :command="[scope.row, '在线编辑']" v-btn-permission=""
|
||||||
>在线编辑</el-dropdown-item
|
>在线编辑</el-dropdown-item
|
||||||
>
|
>-->
|
||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</div>
|
</div>
|
||||||
@@ -472,9 +472,9 @@ export default {
|
|||||||
case "删除":
|
case "删除":
|
||||||
this.delSingalData(command[0]);
|
this.delSingalData(command[0]);
|
||||||
break;
|
break;
|
||||||
case "在线编辑":
|
/*case "在线编辑":
|
||||||
this.downloadFile(command[0]);
|
this.downloadFile(command[0]);
|
||||||
break;
|
break;*/
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 修改成表格样式后,选择项勾选改变
|
// 修改成表格样式后,选择项勾选改变
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
<div class="headerTabsItem" :class="active === '2' ? 'active' : ''" @click="handleTabs('2')">人员信息</div>
|
<div class="headerTabsItem" :class="active === '2' ? 'active' : ''" @click="handleTabs('2')">人员信息</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-show="active === '1'">
|
<div class="content" v-show="active === '1'">
|
||||||
<div style="flex: auto; overflow: auto;">
|
<div style="overflow: auto;">
|
||||||
<el-form
|
<el-form
|
||||||
ref="bzzqyjForm"
|
ref="bzzqyjForm"
|
||||||
:model="form"
|
:model="form"
|
||||||
@@ -49,6 +49,52 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
|
<ProcessTitle>
|
||||||
|
<template slot="title">拆分信息</template>
|
||||||
|
</ProcessTitle>
|
||||||
|
<div class="action-bar">
|
||||||
|
<el-button type="primary" class="common-button-primary add-button" size="mini" @click="choiceZRRS('', 2, '')">批量编辑</el-button>
|
||||||
|
</div>
|
||||||
|
<el-table border
|
||||||
|
ref="selection"
|
||||||
|
:data="itemList"
|
||||||
|
tooltip-effect="dark"
|
||||||
|
style="width: 100%;"
|
||||||
|
height="100%"
|
||||||
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||||
|
fontWeight: 'bold', height: '48px'}"
|
||||||
|
@selection-change="handleSelectionChange"
|
||||||
|
row-key="id">
|
||||||
|
<el-table-column type="selection" width="55" align="center"/>
|
||||||
|
<el-table-column
|
||||||
|
prop="itemsNum"
|
||||||
|
label="条款号"
|
||||||
|
width="170"
|
||||||
|
align="center">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="itemsName"
|
||||||
|
label="条款名称"
|
||||||
|
width="170"
|
||||||
|
align="center">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="itermsConditions"
|
||||||
|
label="条款内容"
|
||||||
|
show-overflow-tooltip
|
||||||
|
align="center">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
label="责任人"
|
||||||
|
width="170"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-input v-model="scope.row.zrUserId" style="display: none;"/>
|
||||||
|
<el-input v-model="scope.row.zrUserIdName" placeholder="请选择责任人" @click.native="choiceZRRS(scope.row.zrUserId, 1, scope.$index)"/>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
<loading :loading="loading">数据获取中</loading>
|
||||||
<el-collapse accordion>
|
<el-collapse accordion>
|
||||||
<el-collapse-item title="意见填写">
|
<el-collapse-item title="意见填写">
|
||||||
<div style="margin: 10px 0;">
|
<div style="margin: 10px 0;">
|
||||||
@@ -82,21 +128,6 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-card>
|
</el-card>
|
||||||
</el-timeline-item>
|
</el-timeline-item>
|
||||||
<el-timeline-item timestamp="对接部门责任人" placement="top" :color="roleForm.zrUserId ? '#66b1ff' : ''">
|
|
||||||
<el-card>
|
|
||||||
<el-form-item prop="zrUserId" style="margin-bottom: 0">
|
|
||||||
<h4>对接部门责任人</h4>
|
|
||||||
<div style="margin-top: 10px;width: 300px;">
|
|
||||||
<el-input v-model="roleForm.zrUserId" style="display: none;"/>
|
|
||||||
<el-input
|
|
||||||
v-model="roleForm.zrUserIdName"
|
|
||||||
placeholder="选择责任部门对接人"
|
|
||||||
@click.native="choiceZRRS">
|
|
||||||
</el-input>
|
|
||||||
</div>
|
|
||||||
</el-form-item>
|
|
||||||
</el-card>
|
|
||||||
</el-timeline-item>
|
|
||||||
<el-timeline-item timestamp="批准解读流程" placement="top" :color="roleForm.deptUserId ? '#66b1ff' : ''">
|
<el-timeline-item timestamp="批准解读流程" placement="top" :color="roleForm.deptUserId ? '#66b1ff' : ''">
|
||||||
<el-card>
|
<el-card>
|
||||||
<el-form-item prop="deptUserId" style="margin-bottom: 0">
|
<el-form-item prop="deptUserId" style="margin-bottom: 0">
|
||||||
@@ -126,7 +157,7 @@
|
|||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
<el-drawer
|
<el-drawer
|
||||||
title="标准征求意见数据库"
|
title="标准拆分数据库"
|
||||||
:visible.sync="listModel"
|
:visible.sync="listModel"
|
||||||
size="900px"
|
size="900px"
|
||||||
custom-class="demo-drawer"
|
custom-class="demo-drawer"
|
||||||
@@ -234,14 +265,15 @@
|
|||||||
size="800px">
|
size="800px">
|
||||||
<el-tree
|
<el-tree
|
||||||
v-if="modalshowflag2"
|
v-if="modalshowflag2"
|
||||||
style="height: 100%; overflow: auto;"
|
|
||||||
node-key="id"
|
node-key="id"
|
||||||
|
style="height: 100%; overflow: auto;"
|
||||||
class="filter-tree"
|
class="filter-tree"
|
||||||
:data="treeData"
|
:data="treeData"
|
||||||
:props="defaultProps"
|
:props="defaultProps"
|
||||||
:default-checked-keys="nodeList2"
|
:default-checked-keys="nodeList2"
|
||||||
highlight-current
|
highlight-current
|
||||||
check-strictly
|
check-strictly
|
||||||
|
@check="drawerCheck2"
|
||||||
default-expand-all
|
default-expand-all
|
||||||
:expand-on-click-node="false"
|
:expand-on-click-node="false"
|
||||||
show-checkbox
|
show-checkbox
|
||||||
@@ -265,6 +297,7 @@
|
|||||||
name: "bzjdStep1",
|
name: "bzjdStep1",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
loading: false,
|
||||||
standId: '',
|
standId: '',
|
||||||
commentText: '',
|
commentText: '',
|
||||||
textarea: '', // 意见
|
textarea: '', // 意见
|
||||||
@@ -303,8 +336,6 @@
|
|||||||
roleForm: {
|
roleForm: {
|
||||||
applyUserIdName: this.$store.getters.userInfo.userName,
|
applyUserIdName: this.$store.getters.userInfo.userName,
|
||||||
applyUserId: this.$store.getters.userInfo.userId,
|
applyUserId: this.$store.getters.userInfo.userId,
|
||||||
zrUserId: '',
|
|
||||||
zrUserIdName: '',
|
|
||||||
deptUserId: '',
|
deptUserId: '',
|
||||||
deptUserIdName: ''
|
deptUserIdName: ''
|
||||||
},
|
},
|
||||||
@@ -328,7 +359,10 @@
|
|||||||
label: 'name'
|
label: 'name'
|
||||||
},
|
},
|
||||||
roleRow: {},
|
roleRow: {},
|
||||||
itemList: []
|
itemList: [],
|
||||||
|
zrType: '',
|
||||||
|
zrIndex: '',
|
||||||
|
zrIdList: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
@@ -401,6 +435,7 @@
|
|||||||
},
|
},
|
||||||
enterDrawer() {
|
enterDrawer() {
|
||||||
if (this.selectedList.length === 1) {
|
if (this.selectedList.length === 1) {
|
||||||
|
this.loading = true
|
||||||
let deposit = new Map();
|
let deposit = new Map();
|
||||||
this.standInfoList.forEach(item => {
|
this.standInfoList.forEach(item => {
|
||||||
deposit.set(item.id, item);
|
deposit.set(item.id, item);
|
||||||
@@ -427,9 +462,13 @@
|
|||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
|
res.data.list.forEach(item => {
|
||||||
|
item.zrUserId = ''
|
||||||
|
item.zrUserIdName= ''
|
||||||
|
})
|
||||||
this.itemList = res.data.list
|
this.itemList = res.data.list
|
||||||
console.log(res);
|
|
||||||
}
|
}
|
||||||
|
this.loading = false
|
||||||
})
|
})
|
||||||
} else if (this.selectedList.length > 1) {
|
} else if (this.selectedList.length > 1) {
|
||||||
this.$message.warning("只能选择一条数据进行带入");
|
this.$message.warning("只能选择一条数据进行带入");
|
||||||
@@ -470,12 +509,37 @@
|
|||||||
this.roleRow = this.$refs.tree.getCheckedNodes()[0]
|
this.roleRow = this.$refs.tree.getCheckedNodes()[0]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
choiceZRRS () {
|
drawerCheck2 (data) {
|
||||||
this.nodeList2 = []
|
var getlist = this.$refs.tree2.getCheckedNodes().concat(this.$refs.tree2.getHalfCheckedNodes());
|
||||||
if ( this.roleForm.zrUserId.length > 0) {
|
if(getlist.length == 1) {
|
||||||
this.nodeList2 = this.roleForm.zrUserId.split(',')
|
this.roleRow = getlist[0]
|
||||||
|
}else {
|
||||||
|
this.$refs.tree2.setCheckedKeys([data.id]);
|
||||||
|
this.roleRow = this.$refs.tree2.getCheckedNodes()[0]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
handleSelectionChange (val) {
|
||||||
|
this.zrIdList = []
|
||||||
|
val.forEach( item => {
|
||||||
|
this.zrIdList.push(item.id)
|
||||||
|
})
|
||||||
|
},
|
||||||
|
choiceZRRS (row, type, index) {
|
||||||
|
if (type === 1) {
|
||||||
|
this.zrIndex= index
|
||||||
|
this.zrType = type
|
||||||
|
this.nodeList2.push(row)
|
||||||
|
this.modalshowflag2 = true
|
||||||
|
} else {
|
||||||
|
// 批量
|
||||||
|
if (this.zrIdList.length > 0) {
|
||||||
|
this.zrType = type
|
||||||
|
this.nodeList2 = []
|
||||||
|
this.modalshowflag2 = true
|
||||||
|
} else {
|
||||||
|
this.$message.warning('请选择要编辑的数据')
|
||||||
|
}
|
||||||
}
|
}
|
||||||
this.modalshowflag2 = true
|
|
||||||
},
|
},
|
||||||
saveUserInfo2 () {
|
saveUserInfo2 () {
|
||||||
var idList = ''
|
var idList = ''
|
||||||
@@ -488,8 +552,19 @@
|
|||||||
idList += item.id
|
idList += item.id
|
||||||
nameList += item.name
|
nameList += item.name
|
||||||
})
|
})
|
||||||
this.roleForm.zrUserId = idList
|
if (this.zrType == 1) {
|
||||||
this.roleForm.zrUserIdName = nameList
|
this.itemList[this.zrIndex].zrUserId = idList
|
||||||
|
this.itemList[this.zrIndex].zrUserIdName = nameList
|
||||||
|
} else {
|
||||||
|
this.itemList.forEach( item => {
|
||||||
|
this.zrIdList.forEach( items => {
|
||||||
|
if (item.id === items) {
|
||||||
|
item.zrUserId = idList
|
||||||
|
item.zrUserIdName = nameList
|
||||||
|
}
|
||||||
|
})
|
||||||
|
})
|
||||||
|
}
|
||||||
this.modalshowflag2 = false
|
this.modalshowflag2 = false
|
||||||
},
|
},
|
||||||
cancleUserInfo2 () {
|
cancleUserInfo2 () {
|
||||||
@@ -504,28 +579,38 @@
|
|||||||
if (valid) {
|
if (valid) {
|
||||||
this.$refs['Form'].validate((valid) => {
|
this.$refs['Form'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.$http.get('lawss/activiti/startProcess', {
|
let b = 0
|
||||||
type: '9'
|
for (let a = 0; a < this.itemList.length; a++) {
|
||||||
}, {}, res => {
|
if (!this.itemList[a].zrUserId) {
|
||||||
if (res.ok) {
|
b++
|
||||||
var json = Object.assign(this.form, this.roleForm)
|
|
||||||
json.commentText = this.commentText
|
|
||||||
json.standInData = this.standId
|
|
||||||
json.itemList = this.itemList
|
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
|
||||||
json: JSON.stringify(json),
|
|
||||||
taskId: res.data,
|
|
||||||
userId: this.$store.getters.userInfo.userId
|
|
||||||
}, {}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success('流程发起成功')
|
|
||||||
this.$router.push('/processCenter')
|
|
||||||
}
|
|
||||||
})
|
|
||||||
} else {
|
|
||||||
this.$message.warning('流程启动失败')
|
|
||||||
}
|
}
|
||||||
})
|
}
|
||||||
|
if (b > 0) {
|
||||||
|
this.$message.warning('请选择责任人')
|
||||||
|
} else {
|
||||||
|
this.$http.get('lawss/activiti/startProcess', {
|
||||||
|
type: '9'
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.ok) {
|
||||||
|
var json = Object.assign(this.form, this.roleForm)
|
||||||
|
json.commentText = this.commentText
|
||||||
|
json.standInData = this.standId
|
||||||
|
json.itemList = this.itemList
|
||||||
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
|
json: JSON.stringify(json),
|
||||||
|
taskId: res.data,
|
||||||
|
userId: this.$store.getters.userInfo.userId
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success('流程发起成功')
|
||||||
|
this.$router.push('/processCenter')
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.$message.warning('流程启动失败')
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
return this.$message.warning('请完善人员信息')
|
return this.$message.warning('请完善人员信息')
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<template>
|
||||||
|
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: "step4"
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
</style>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<template>
|
||||||
|
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: "step5"
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
</style>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<template>
|
||||||
|
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: "step6"
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
</style>
|
||||||
@@ -7,16 +7,17 @@
|
|||||||
</ProcessHeader>
|
</ProcessHeader>
|
||||||
<div class="headerTabs">
|
<div class="headerTabs">
|
||||||
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||||
<div class="headerTabsItem" :class="active === '2' ? 'active' : ''" @click="handleTabs('2')">流程信息</div>
|
<div class="headerTabsItem" :class="active === '2' ? 'active' : ''" @click="handleTabs('2')">人员信息</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-if="active === '1'">
|
<div class="content">
|
||||||
<div style="flex: auto; overflow: auto;">
|
<el-form
|
||||||
<el-form
|
ref="form"
|
||||||
ref="qbkwForm"
|
:model="form"
|
||||||
:model="form"
|
:rules="rules"
|
||||||
class="label-input-form"
|
class="label-input-form"
|
||||||
label-width="210px"
|
label-width="210px"
|
||||||
>
|
>
|
||||||
|
<div style="flex: auto; overflow: auto;" v-show="active === '1'">
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
</ProcessTitle>
|
</ProcessTitle>
|
||||||
@@ -41,12 +42,11 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="标准年份" prop="standYear" class="add-form-item form-item-disabled">
|
<el-form-item label="标准年份" prop="standYear" class="add-form-item form-item-disabled">
|
||||||
<el-date-picker
|
<el-input
|
||||||
v-model="form.standYear"
|
v-model.number="form.standYear"
|
||||||
type="year"
|
placeholder="请输入标准标准年份"
|
||||||
placeholder="请选择标准年份"
|
clearable
|
||||||
value-format="yyyy">
|
></el-input>
|
||||||
</el-date-picker>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="标准中文名称" prop="standName" class="add-form-item form-item-disabled">
|
<el-form-item label="标准中文名称" prop="standName" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
@@ -115,6 +115,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="标准体系" prop="standSystem" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="标准体系" prop="standSystem" class="add-form-item form-item-disabled">
|
||||||
<tree-select
|
<tree-select
|
||||||
|
width = "340"
|
||||||
:data="standSystemOptions"
|
:data="standSystemOptions"
|
||||||
:defaultProps="defaultProps" :checkedKeys="defaultCheckedKeys"
|
:defaultProps="defaultProps" :checkedKeys="defaultCheckedKeys"
|
||||||
:nodeKey="nodeKey" @popoverHide="popoverHide"></tree-select>
|
:nodeKey="nodeKey" @popoverHide="popoverHide"></tree-select>
|
||||||
@@ -621,6 +622,13 @@
|
|||||||
placeholder="请输入代替标准号"
|
placeholder="请输入代替标准号"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
class="common-button-primary"
|
||||||
|
size="mini"
|
||||||
|
style="position:absolute;top: 10px;right: 0;"
|
||||||
|
@click="selectLaws('dtbjh'),config.attrName = '代替标准号'"
|
||||||
|
>{{'手动查找'}}</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="采标程度" prop="cbcd" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="采标程度" prop="cbcd" class="add-form-item form-item-disabled">
|
||||||
<el-select v-model="form.cbcd" placeholder="请选择采标程度">
|
<el-select v-model="form.cbcd" placeholder="请选择采标程度">
|
||||||
@@ -628,13 +636,13 @@
|
|||||||
<el-option label="采标程度2" value="2"></el-option>
|
<el-option label="采标程度2" value="2"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="相关流程" prop="xglc" class="add-form-item form-item-disabled">
|
<!-- <el-form-item label="相关流程" prop="xglc" class="add-form-item form-item-disabled">-->
|
||||||
<el-input
|
<!-- <el-input-->
|
||||||
v-model="form.xglc"
|
<!-- v-model="form.xglc"-->
|
||||||
placeholder="请输入相关流程"
|
<!-- placeholder="请输入相关流程"-->
|
||||||
clearable
|
<!-- clearable-->
|
||||||
></el-input>
|
<!-- ></el-input>-->
|
||||||
</el-form-item>
|
<!-- </el-form-item>-->
|
||||||
<el-form-item label="关联文件" prop="glwj" class="add-form-item form-item-disabled">
|
<el-form-item label="关联文件" prop="glwj" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
disabled
|
disabled
|
||||||
@@ -663,6 +671,13 @@
|
|||||||
placeholder="请输入引用标准"
|
placeholder="请输入引用标准"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
class="common-button-primary"
|
||||||
|
size="mini"
|
||||||
|
style="position:absolute;top: 10px;right: 0;"
|
||||||
|
@click="selectLaws('yybj'),config.attrName = '引用标准'"
|
||||||
|
>{{'手动查找'}}</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="采标编号" prop="cbbh" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="采标编号" prop="cbbh" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
@@ -677,21 +692,78 @@
|
|||||||
placeholder="请输入被引用标准"
|
placeholder="请输入被引用标准"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
class="common-button-primary"
|
||||||
|
size="mini"
|
||||||
|
style="position:absolute;top: 10px;right: 0;"
|
||||||
|
@click="selectLaws('byybj'),config.attrName = '被引用标准'"
|
||||||
|
>{{'手动查找'}}</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="参会记录" prop="chjl" class="add-form-item form-item-disabled">
|
<!-- <el-form-item v-if="form.standInData === '0'" label="参会记录" prop="chjl" class="add-form-item form-item-disabled">-->
|
||||||
<el-input
|
<!-- <el-input-->
|
||||||
v-model="form.chjl"
|
<!-- v-model="form.chjl"-->
|
||||||
placeholder="请输入参会记录"
|
<!-- placeholder="请输入参会记录"-->
|
||||||
clearable
|
<!-- clearable-->
|
||||||
></el-input>
|
<!-- ></el-input>-->
|
||||||
</el-form-item>
|
<!-- </el-form-item>-->
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</div>
|
</div>
|
||||||
</el-form>
|
|
||||||
</div>
|
</div>
|
||||||
<el-collapse accordion>
|
<div class="block" style="padding-top: 20px;" v-show="active === '2'">
|
||||||
<el-collapse-item title="意见填写">
|
<el-timeline>
|
||||||
|
<el-form
|
||||||
|
ref="userForm"
|
||||||
|
:model="roleForm"
|
||||||
|
:rules="roleRules"
|
||||||
|
class="label-input-form">
|
||||||
|
<el-timeline-item timestamp="发起流程" placement="top" :color="roleForm.prcCreateUserName ? '#66b1ff' : ''">
|
||||||
|
<el-card>
|
||||||
|
<el-form-item prop="prcCreateUserName" style="margin-bottom: 0">
|
||||||
|
<h4>流程发起人</h4>
|
||||||
|
<div style="margin-top: 10px;width: 300px;">
|
||||||
|
<el-input disabled v-model="roleForm.prcCreateUserName" placeholder="流程发起人"></el-input>
|
||||||
|
</div>
|
||||||
|
</el-form-item>
|
||||||
|
</el-card>
|
||||||
|
</el-timeline-item>
|
||||||
|
<el-timeline-item timestamp="选择会签责任人" prop="zrUserName" placement="top" :color="roleForm.zrUserName ? '#66b1ff' : ''">
|
||||||
|
<el-card>
|
||||||
|
<el-form-item prop="zrUserName" style="margin-bottom: 0">
|
||||||
|
<h4>会签责任人</h4>
|
||||||
|
<div style="margin-top: 10px;width: 300px;">
|
||||||
|
<el-input v-model="roleForm.zrUserName" placeholder="选择会签责任人" @click.native="choiceZRR('zrUserId', '选择责任人', form.zrUserId)">
|
||||||
|
</el-input></div>
|
||||||
|
</el-form-item>
|
||||||
|
</el-card>
|
||||||
|
</el-timeline-item>
|
||||||
|
<el-timeline-item timestamp="修订申请人" placement="top" :color="roleForm.applyUpdUserName ? '#66b1ff' : ''">
|
||||||
|
<el-card>
|
||||||
|
<el-form-item prop="applyUpdUserName" style="margin-bottom: 0">
|
||||||
|
<h4>修订申请人</h4>
|
||||||
|
<div style="margin-top: 10px;width: 300px;">
|
||||||
|
<el-input disabled v-model="roleForm.applyUpdUserName" placeholder="修订申请人"></el-input>
|
||||||
|
</div>
|
||||||
|
</el-form-item>
|
||||||
|
</el-card>
|
||||||
|
</el-timeline-item>
|
||||||
|
<el-timeline-item timestamp="选择标准法规业务经理" prop="jlUserName" placement="top" :color="roleForm.jlUserName ? '#66b1ff' : ''">
|
||||||
|
<el-card>
|
||||||
|
<el-form-item prop="jlUserName" style="margin-bottom: 0">
|
||||||
|
<h4>标准法规业务经理</h4>
|
||||||
|
<div style="margin-top: 10px;width: 300px;">
|
||||||
|
<el-input v-model="roleForm.jlUserName" placeholder="标准法规业务经理" @click.native="choiceZRR('jlUserId', '选择标准法规业务经理', form.jlUserId)"></el-input>
|
||||||
|
</div>
|
||||||
|
</el-form-item>
|
||||||
|
</el-card>
|
||||||
|
</el-timeline-item>
|
||||||
|
</el-form>
|
||||||
|
</el-timeline>
|
||||||
|
</div>
|
||||||
|
</el-form>
|
||||||
|
<el-collapse v-model="activeName" accordion>
|
||||||
|
<el-collapse-item title="意见填写" name="1">
|
||||||
<div style="margin: 10px 0;">
|
<div style="margin: 10px 0;">
|
||||||
<el-input
|
<el-input
|
||||||
type="textarea"
|
type="textarea"
|
||||||
@@ -704,52 +776,6 @@
|
|||||||
</el-collapse-item>
|
</el-collapse-item>
|
||||||
</el-collapse>
|
</el-collapse>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-if="active === '2'">
|
|
||||||
<div class="block" style="padding-top: 20px;">
|
|
||||||
<el-timeline>
|
|
||||||
<el-timeline-item timestamp="发起流程" placement="top" :color="user1 ? '#66b1ff' : ''">
|
|
||||||
<el-card>
|
|
||||||
<h4>流程发起人</h4>
|
|
||||||
<div style="margin-top: 10px;width: 300px;">
|
|
||||||
<el-input v-model="user1" placeholder="流程发起人"></el-input>
|
|
||||||
</div>
|
|
||||||
</el-card>
|
|
||||||
</el-timeline-item>
|
|
||||||
<el-timeline-item timestamp="选择责任人" placement="top" :color="user2 ? '#66b1ff' : ''">
|
|
||||||
<el-card>
|
|
||||||
<h4>责任人</h4>
|
|
||||||
<div style="margin-top: 10px;width: 300px;">
|
|
||||||
<el-input v-model="user2" placeholder="选择责任人">
|
|
||||||
</el-input></div>
|
|
||||||
</el-card>
|
|
||||||
</el-timeline-item>
|
|
||||||
<el-timeline-item timestamp="填写意见" placement="top" :color="user3 ? '#66b1ff' : ''">
|
|
||||||
<el-card>
|
|
||||||
<h4>责任人</h4>
|
|
||||||
<div style="margin-top: 10px;width: 300px;">
|
|
||||||
<el-input v-model="user3" placeholder="责任人"></el-input>
|
|
||||||
</div>
|
|
||||||
</el-card>
|
|
||||||
</el-timeline-item>
|
|
||||||
<el-timeline-item timestamp="意见汇总并发起会签" placement="top" :color="user4 ? '#66b1ff' : ''">
|
|
||||||
<el-card>
|
|
||||||
<h4>标准法规工程师</h4>
|
|
||||||
<div style="margin-top: 10px;width: 300px;">
|
|
||||||
<el-input v-model="user4" placeholder="标准法规工程师"></el-input>
|
|
||||||
</div>
|
|
||||||
</el-card>
|
|
||||||
</el-timeline-item>
|
|
||||||
<el-timeline-item timestamp="审核" placement="top" :color="user5 ? '#66b1ff' : ''">
|
|
||||||
<el-card>
|
|
||||||
<h4>责任对接人,标准法规部部门负责人</h4>
|
|
||||||
<div style="margin-top: 10px;width: 300px;">
|
|
||||||
<el-input v-model="user5" placeholder="责任对接人,标准法规部部门负责人"></el-input>
|
|
||||||
</div>
|
|
||||||
</el-card>
|
|
||||||
</el-timeline-item>
|
|
||||||
</el-timeline>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-save
|
show-save
|
||||||
show-submit
|
show-submit
|
||||||
@@ -777,6 +803,130 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
<el-dialog
|
||||||
|
:title="config.attrName"
|
||||||
|
:visible.sync="replaceLawsNumModel"
|
||||||
|
width="875px"
|
||||||
|
:close-on-click-modal="false"
|
||||||
|
@close="replaceLawsNumModelCancel"
|
||||||
|
:append-to-body="true"
|
||||||
|
>
|
||||||
|
<div class="search-area">
|
||||||
|
<div class="left">
|
||||||
|
<el-form :modal="replaceLawsNumForm" :inline="true" class="label-input-form" @keyup.enter.native="getReplaceLawsNumRowFirst">
|
||||||
|
<el-form-item label="标准来源" class="search-item" v-if="dataSource">
|
||||||
|
<el-select
|
||||||
|
v-model="replaceLawsNumForm.standType"
|
||||||
|
placeholder="请选择标准来源"
|
||||||
|
@change="dataSourceChange">
|
||||||
|
<el-option value="INLAND" label="国内标准库"></el-option>
|
||||||
|
<el-option value="FOREIGN" label="国外标准库"></el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="编号/名称" class="search-item">
|
||||||
|
<el-input
|
||||||
|
v-model="replaceLawsNumForm.standNumber"
|
||||||
|
placeholder="根据编号/名称查找"
|
||||||
|
clearable
|
||||||
|
:maxlength="100"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item class="search-item btn-box">
|
||||||
|
<el-button
|
||||||
|
icon="el-icon-search"
|
||||||
|
type="primary"
|
||||||
|
class="common-button-primary"
|
||||||
|
round
|
||||||
|
@click="getReplaceLawsNumRowFirst">
|
||||||
|
</el-button>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item class="search-item btn-box">
|
||||||
|
<el-button
|
||||||
|
class="common-button-default"
|
||||||
|
icon="el-icon-refresh-left"
|
||||||
|
round
|
||||||
|
type="default"
|
||||||
|
@click="getResetLawsNumRow"></el-button>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<el-table
|
||||||
|
ref="selections"
|
||||||
|
:data="replaceLawsNumRow"
|
||||||
|
tooltip-effect="dark"
|
||||||
|
style="width: 100%;overflow-y: auto;overflow-x: hidden;"
|
||||||
|
border
|
||||||
|
:height="300"
|
||||||
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||||
|
fontWeight: 'bold', height: '48px'}"
|
||||||
|
@selection-change="selectReplaceStandNumRowChange">
|
||||||
|
<el-table-column
|
||||||
|
type="selection"
|
||||||
|
width="55"
|
||||||
|
align="center">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
label="标准编号">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSort }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a>
|
||||||
|
<a v-else class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSort }} {{ scope.row.standNumber }}</a>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="standName"
|
||||||
|
label="标准名称">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="issueTime"
|
||||||
|
label="发布日期"
|
||||||
|
width="130">
|
||||||
|
<template slot-scope="scope">{{ scope.row.issueTime ? $moment(scope.row.issueTime).format('YYYY-MM-DD') : '' }}</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="standStateShow"
|
||||||
|
label="标准状态"
|
||||||
|
width="130">
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
<loading :loading="replaceLoading">{{$t('m.dataAcquisition')}}</loading>
|
||||||
|
<!--分页-->
|
||||||
|
<pagination
|
||||||
|
style="position: relative;"
|
||||||
|
:page="replacePage"
|
||||||
|
:total="replaceTotal"
|
||||||
|
@pageChange="pageChangeReplace"
|
||||||
|
@pageSizeChange="pageSizeChangeReplace"></pagination>
|
||||||
|
<div slot="footer" class="demo-drawer-footer">
|
||||||
|
<el-button class="common-button-default" icon="el-icon-close" @click="replaceLawsNumModel = false">取消</el-button>
|
||||||
|
<el-button type="primary" round class="common-button-primary" icon="el-icon-check" @click="replaceLawsNumModelBt">提交</el-button>
|
||||||
|
</div>
|
||||||
|
</el-dialog>
|
||||||
|
<el-drawer
|
||||||
|
:title="drawerTitle"
|
||||||
|
:visible.sync="modalShowFlag"
|
||||||
|
:wrapperClosable="false"
|
||||||
|
size="800px">
|
||||||
|
<el-tree
|
||||||
|
v-if="modalShowFlag"
|
||||||
|
node-key="id"
|
||||||
|
style="height: 100%; overflow: auto;"
|
||||||
|
class="filter-tree"
|
||||||
|
:data="treeData"
|
||||||
|
:props="defaultUserProps"
|
||||||
|
:default-checked-keys="nodeList"
|
||||||
|
highlight-current
|
||||||
|
check-strictly
|
||||||
|
@check="drawerCheck"
|
||||||
|
default-expand-all
|
||||||
|
:expand-on-click-node="false"
|
||||||
|
show-checkbox
|
||||||
|
ref="tree">
|
||||||
|
</el-tree>
|
||||||
|
<div id="roleFormButton" class="demo-drawer-footer">
|
||||||
|
<el-button class="common-button-primary" size="mini" icon="el-icon-check" type="primary" @click="saveUserInfo">确定</el-button>
|
||||||
|
<el-button class="common-button-default" size="mini" icon="el-icon-close" @click="cancelUserInfo">取消</el-button>
|
||||||
|
</div>
|
||||||
|
</el-drawer>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -791,8 +941,36 @@
|
|||||||
name: "bzrkStep1",
|
name: "bzrkStep1",
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
|
activeName:'1',
|
||||||
|
roleRow: {},
|
||||||
commentText: '', // 意见
|
commentText: '', // 意见
|
||||||
title: '', // 新增编辑抽屉标题
|
title: '', // 新增编辑抽屉标题
|
||||||
|
config: {
|
||||||
|
attrName : '',
|
||||||
|
},
|
||||||
|
dataSource: false,
|
||||||
|
replaceLawsNumModel: false,
|
||||||
|
replaceLawType: '',
|
||||||
|
sarBussionessLawsEO: {
|
||||||
|
replaceLawsNum: ''
|
||||||
|
},
|
||||||
|
// 代替标准号
|
||||||
|
replaceLawsNumForm: {
|
||||||
|
dataSource: '',
|
||||||
|
standNumber: '', // 标准编号
|
||||||
|
page: 1,
|
||||||
|
pageSize: this.$store.getters.userInfo.configContent,
|
||||||
|
total: 0,
|
||||||
|
standType: 'INLAND',
|
||||||
|
quoteIdList: '',
|
||||||
|
validFlag: '0',
|
||||||
|
menuId: 'nomenu'
|
||||||
|
},
|
||||||
|
replaceLawsNumRow: [], // 代替政策号 数组内容
|
||||||
|
replaceTotal: 0,
|
||||||
|
selectedListRep: [],
|
||||||
|
replaceLoading: true,
|
||||||
|
replacePage: 1,
|
||||||
ListModel: false, // 新增编辑抽屉开关
|
ListModel: false, // 新增编辑抽屉开关
|
||||||
active: '1', // 默认显示
|
active: '1', // 默认显示
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
@@ -801,6 +979,15 @@
|
|||||||
children: 'children',
|
children: 'children',
|
||||||
label: 'menuName'
|
label: 'menuName'
|
||||||
},
|
},
|
||||||
|
nodeList: [],
|
||||||
|
type: '',
|
||||||
|
defaultUserProps: {
|
||||||
|
children: 'children',
|
||||||
|
label: 'name'
|
||||||
|
},
|
||||||
|
treeData: [], // 人员数据
|
||||||
|
modalShowFlag: false, // drawer开关
|
||||||
|
drawerTitle: '', //drawer标题
|
||||||
nodeKey: 'id',
|
nodeKey: 'id',
|
||||||
defaultCheckedKeys: [],
|
defaultCheckedKeys: [],
|
||||||
fileUrl: 'api/att/attFile/upload',
|
fileUrl: 'api/att/attFile/upload',
|
||||||
@@ -877,6 +1064,58 @@
|
|||||||
xglc: '', // 相关流程
|
xglc: '', // 相关流程
|
||||||
chjl: '', // 参会记录
|
chjl: '', // 参会记录
|
||||||
}, // 标准信息
|
}, // 标准信息
|
||||||
|
roleForm:{
|
||||||
|
zrUserId: '',
|
||||||
|
zrUserName: '',
|
||||||
|
jlUserId: '',
|
||||||
|
jlUserName: '',
|
||||||
|
applyUpdUserId: this.$store.getters.userInfo.userId,
|
||||||
|
applyUpdUserName: this.$store.getters.userInfo.userName,
|
||||||
|
prcCreateUser: this.$store.getters.userInfo.userId,
|
||||||
|
prcCreateUserName: this.$store.getters.userInfo.userName,
|
||||||
|
},
|
||||||
|
roleRules:{
|
||||||
|
zrUserName: [
|
||||||
|
{ required: true, message: '请选择会签责任人', trigger: 'blur' },
|
||||||
|
],
|
||||||
|
jlUserName: [
|
||||||
|
{ required: true, message: '选择标准法规业务经理', trigger: 'blur' },
|
||||||
|
],
|
||||||
|
},
|
||||||
|
rules:{
|
||||||
|
standSort: [
|
||||||
|
{ required: true, message: '请选择标准类别', trigger: 'change' }
|
||||||
|
],
|
||||||
|
standNumber: [
|
||||||
|
{ required: true, message: '请输入标准编号', trigger: 'blur' },
|
||||||
|
{ min: 1, max: 100, message: '长度在 1 到 100 个字符', trigger: 'blur' }
|
||||||
|
],
|
||||||
|
standYear: [
|
||||||
|
{ required: true, message: '请输入标准年份'},
|
||||||
|
{ type: 'number', message: '年标准年份必须为数字值'}
|
||||||
|
],
|
||||||
|
standName: [
|
||||||
|
{ required: true, message: '请输入标准名称', trigger: 'blur' },
|
||||||
|
{ min: 1, max: 100, message: '长度在 1 到 100 个字符', trigger: 'blur' }
|
||||||
|
],
|
||||||
|
standNature: [
|
||||||
|
{ required: false, message: '请选择标准性质', trigger: 'change' }
|
||||||
|
],
|
||||||
|
textStatus: [
|
||||||
|
{ required: true, message: '请选择文本状态', trigger: 'change' }
|
||||||
|
],
|
||||||
|
issueTime: [
|
||||||
|
{ required: true, message: '请选择标准发布日期', trigger: 'change' }
|
||||||
|
],
|
||||||
|
qcdw: [
|
||||||
|
{ required: true, message: '请选择起草单位', trigger: 'change' }
|
||||||
|
],
|
||||||
|
cysd: [
|
||||||
|
{ required: true, message: '请选择我司参与深度', trigger: 'change' }
|
||||||
|
],
|
||||||
|
},
|
||||||
|
zrUserIds: [], // 选择多个会签责任人
|
||||||
|
userType:'', // 选择用户ID判断
|
||||||
standSortOptions: [], // 标准类别
|
standSortOptions: [], // 标准类别
|
||||||
standNatureOptions: [], // 标准性质
|
standNatureOptions: [], // 标准性质
|
||||||
standStateOptions: [], // 文本状态
|
standStateOptions: [], // 文本状态
|
||||||
@@ -891,11 +1130,6 @@
|
|||||||
txlbOptions: [], // 体系类别
|
txlbOptions: [], // 体系类别
|
||||||
data: [], // 标准列表数据
|
data: [], // 标准列表数据
|
||||||
ListForm: {}, // 新增数据
|
ListForm: {}, // 新增数据
|
||||||
user1: '',
|
|
||||||
user2: '',
|
|
||||||
user3: '',
|
|
||||||
user4: '',
|
|
||||||
user5: '',
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
@@ -905,6 +1139,225 @@
|
|||||||
TreeSelect
|
TreeSelect
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
saveUserInfo () {
|
||||||
|
if (this.userType === 'zrUserId') {
|
||||||
|
this.roleForm.zrUserId = this.zrUserIds.map(item => item.id).join(",")
|
||||||
|
this.roleForm.zrUserName = this.zrUserIds.map(item => item.name).join(",")
|
||||||
|
} else if (this.userType === 'jlUserId') {
|
||||||
|
this.roleForm.jlUserId = this.roleRow.id
|
||||||
|
this.roleForm.jlUserName = this.roleRow.name
|
||||||
|
}
|
||||||
|
|
||||||
|
this.modalShowFlag = false
|
||||||
|
},
|
||||||
|
cancelUserInfo () {
|
||||||
|
this.modalShowFlag = false
|
||||||
|
},
|
||||||
|
drawerCheck (data) {
|
||||||
|
if(this.userType === 'zrUserId'){
|
||||||
|
|
||||||
|
if(this.zrUserIds.length > 0){
|
||||||
|
const list = this.zrUserIds.filter ( item => item.id === data.id);
|
||||||
|
if(list.length === 0){
|
||||||
|
this.zrUserIds.push(data)
|
||||||
|
}else {
|
||||||
|
this.zrUserIds.forEach((item,index) => {
|
||||||
|
if(item.id === data.id){
|
||||||
|
this.zrUserIds.splice(index,1)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}else {
|
||||||
|
this.zrUserIds.push(data)
|
||||||
|
}
|
||||||
|
|
||||||
|
console.log(this.zrUserIds)
|
||||||
|
}else {
|
||||||
|
var getlist = this.$refs.tree.getCheckedNodes().concat(this.$refs.tree.getHalfCheckedNodes());
|
||||||
|
if(getlist.length == 1) {
|
||||||
|
this.roleRow = getlist[0]
|
||||||
|
}else {
|
||||||
|
this.$refs.tree.setCheckedKeys([data.id]);
|
||||||
|
this.roleRow = this.$refs.tree.getCheckedNodes()[0]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
choiceZRR (type, title, id) {
|
||||||
|
this.nodeList = []
|
||||||
|
this.nodeList.push(id)
|
||||||
|
this.userType = type
|
||||||
|
this.drawerTitle = title
|
||||||
|
this.modalShowFlag = true
|
||||||
|
},
|
||||||
|
getTree () {
|
||||||
|
this.$http.get('SarInstitution/institution/institutionAndUser', {}, {}, res=> {
|
||||||
|
this.treeData = res.data
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 代替政策号 请求数据
|
||||||
|
getReplaceLawsNumRowFirst () {
|
||||||
|
if (this.sarBussionessLawsEO.replaceLawsNum !== null && this.sarBussionessLawsEO.replaceLawsNum !== '') {
|
||||||
|
this.replaceLawsNumForm.quoteIdList = this.quoteIdList1.toString() === '' ? '' : this.quoteIdList1
|
||||||
|
} else {
|
||||||
|
this.quoteIdList1 = []
|
||||||
|
this.replaceLawsNumForm.quoteIdList = ''
|
||||||
|
}
|
||||||
|
this.replaceLawsNumForm.page = 1
|
||||||
|
this.replacePage = 1
|
||||||
|
this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage', 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 => {
|
||||||
|
})
|
||||||
|
},
|
||||||
|
dataSourceChange (val) {
|
||||||
|
},
|
||||||
|
handleChange (event) {
|
||||||
|
// const value = event.target.value
|
||||||
|
const value = event
|
||||||
|
this.$emit('input', value)
|
||||||
|
if (value.length==1000){
|
||||||
|
return this.$message({
|
||||||
|
message: '相关标准不能输入超过1000个字符',
|
||||||
|
type: 'warning'
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
// 代替政策编号-取消
|
||||||
|
replaceLawsNumModelCancel () {
|
||||||
|
// this.replaceLawsNumModel = false
|
||||||
|
this.$refs.selections.clearSelection()
|
||||||
|
},
|
||||||
|
// 代替政策号 table选择事件
|
||||||
|
selectReplaceStandNumRowChange (row) {
|
||||||
|
this.selectedListRep = row
|
||||||
|
},
|
||||||
|
// 代替政策分页
|
||||||
|
pageChangeReplace (page) {
|
||||||
|
this.replacePage = page
|
||||||
|
this.replaceLawsNumForm.page = page
|
||||||
|
this.getReplaceLawsNumRow()
|
||||||
|
},
|
||||||
|
pageSizeChangeReplace (pageSize) {
|
||||||
|
// this.replaceRows = pageSize
|
||||||
|
this.replaceLawsNumForm.pageSize = pageSize
|
||||||
|
this.getReplaceLawsNumRow()
|
||||||
|
},
|
||||||
|
// 代替政策编号确定
|
||||||
|
replaceLawsNumModelBt () {
|
||||||
|
let textArr = []
|
||||||
|
|
||||||
|
if (typeof this.value === 'string') {
|
||||||
|
if (this.value) {
|
||||||
|
textArr = this.value.split(',')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (this.selectedListRep.length === 0) {
|
||||||
|
return this.$message({
|
||||||
|
message: '请先选择数据',
|
||||||
|
type: 'warning'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
if (this.selectedListRep.length + textArr.length > 20) {
|
||||||
|
return this.$message({
|
||||||
|
message: '标准最多选择20项',
|
||||||
|
type: 'warning'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
this.selectedListRep.map((item) => {
|
||||||
|
let texts = ''
|
||||||
|
if (item.standYear != null && item.standYear !== '') {
|
||||||
|
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber + '-' + item.standYear : item.standNumber + '-' + item.standYear
|
||||||
|
} else {
|
||||||
|
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber : item.standNumber
|
||||||
|
}
|
||||||
|
textArr.push(texts)
|
||||||
|
textArr = [...new Set(textArr)]
|
||||||
|
this.replaceLawsNumModel = false
|
||||||
|
})
|
||||||
|
// this.SarLawsInfoEO.replaceLawsNum = textArr.join(',')
|
||||||
|
if(this.replaceLawType === 'dtbjh'){
|
||||||
|
this.form.dtbjh = textArr.join(',')
|
||||||
|
}else if(this.replaceLawType === 'yybj'){
|
||||||
|
this.form.yybj = textArr.join(',')
|
||||||
|
}else {
|
||||||
|
this.form.byybj = textArr.join(',')
|
||||||
|
}
|
||||||
|
// this.$emit('input', textArr.join(','))
|
||||||
|
this.$refs.selections.clearSelection()
|
||||||
|
},
|
||||||
|
// 点击查看
|
||||||
|
handlePreview (item) {
|
||||||
|
let routeUrl = this.$router.resolve({
|
||||||
|
name: 'OtherStandardDetails',
|
||||||
|
params: {
|
||||||
|
id: item.id,
|
||||||
|
pageType: 'INLAND_STAND'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
window.open(routeUrl.href, '_blank')
|
||||||
|
},
|
||||||
|
getResetLawsNumRow () {
|
||||||
|
this.replaceLawsNumForm = {
|
||||||
|
standNumber: '', // 标准编号
|
||||||
|
page: 1,
|
||||||
|
pageSize: this.$store.getters.userInfo.configContent,
|
||||||
|
total: 0,
|
||||||
|
standType: 'INLAND',
|
||||||
|
quoteIdList: '',
|
||||||
|
validFlag: '0'
|
||||||
|
}
|
||||||
|
this.getReplaceLawsNumRow()
|
||||||
|
},
|
||||||
|
selectLaws (type) {
|
||||||
|
// if (this.standNumFlag === 1) {
|
||||||
|
// this.$refs.selections.selectAll(false)
|
||||||
|
// }
|
||||||
|
// this.sarBussionessLawsEO.replaceLawsNum = ''
|
||||||
|
this.replaceLawsNumModel = true
|
||||||
|
this.replaceLawType = ''
|
||||||
|
this.replaceLawType = type
|
||||||
|
this.getReplaceLawsNumRow()
|
||||||
|
},
|
||||||
|
// 代替政策号 请求数据
|
||||||
|
getReplaceLawsNumRow () {
|
||||||
|
if (this.sarBussionessLawsEO.replaceLawsNum !== null && this.sarBussionessLawsEO.replaceLawsNum !== '') {
|
||||||
|
this.replaceLawsNumForm.quoteIdList = this.quoteIdList1.toString() === '' ? '' : this.quoteIdList1
|
||||||
|
} else {
|
||||||
|
this.quoteIdList1 = []
|
||||||
|
this.replaceLawsNumForm.quoteIdList = ''
|
||||||
|
}
|
||||||
|
this.replaceLawsNumForm.standType = this.form.standInData === '1' ? 'FOREIGN' : 'INLAND'
|
||||||
|
this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage', 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 => {
|
||||||
|
})
|
||||||
|
},
|
||||||
beginImportFile (file) {
|
beginImportFile (file) {
|
||||||
var filename = file.name
|
var filename = file.name
|
||||||
var index1 = filename.lastIndexOf('.')
|
var index1 = filename.lastIndexOf('.')
|
||||||
@@ -1026,33 +1479,46 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
var json = this.form
|
this.$refs['form'].validate((valid) => {
|
||||||
json.zrUserId = this.$store.getters.userInfo.userId
|
if (valid) {
|
||||||
json.jlUserId = this.$store.getters.userInfo.userId
|
this.$refs['userForm'].validate((valid) => {
|
||||||
json.commentText = this.commentText
|
if (valid) {
|
||||||
json.applyUpdUserId = this.$store.getters.userInfo.userId
|
var json = Object.assign(this.form, this.roleForm)
|
||||||
json.prcCreateUser = this.$store.getters.userInfo.userId
|
json.zrUserId = this.form.zrUserId
|
||||||
json.prcCreateUserName = this.$store.getters.userInfo.account
|
json.jlUserId = this.form.jlUserId
|
||||||
this.$http.get('lawss/activiti/startProcess', {type: '1'}, {
|
json.commentText = this.commentText
|
||||||
_this: this
|
json.applyUpdUserId = this.form.applyUpdUserId
|
||||||
}, res => {
|
json.prcCreateUser = this.form.prcCreateUser
|
||||||
if (res.ok) {
|
json.prcCreateUserName = this.form.prcCreateUserName
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
this.$http.get('lawss/activiti/startProcess', {type: '1'}, {
|
||||||
taskIds: res.data,
|
_this: this
|
||||||
userId : this.$store.getters.userInfo.userId,
|
}, res => {
|
||||||
json: JSON.stringify(json)
|
if (res.ok) {
|
||||||
}, {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
_this: this
|
taskIds: res.data,
|
||||||
}, res => {
|
userId : this.$store.getters.userInfo.userId,
|
||||||
if (res.success) {
|
json: JSON.stringify(json)
|
||||||
this.$message.success(res.message)
|
}, {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success(res.message)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}else {
|
||||||
|
this.$message.warning('请检查人员信息表单是否填写完整')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
} else {
|
||||||
|
this.$message.warning('请检查基础信息表单是否填写完整')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
|
this.getTree()
|
||||||
this.$http.get('sys/dictype/getDicTypeListCode', '', {
|
this.$http.get('sys/dictype/getDicTypeListCode', '', {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
|
|||||||
@@ -350,10 +350,10 @@
|
|||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="起草单位" prop="fbjg" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="起草单位" prop="qcdw" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
disabled
|
disabled
|
||||||
v-model="form.fbjg"
|
v-model="form.qcdw"
|
||||||
placeholder="请选择起草单位"
|
placeholder="请选择起草单位"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
@@ -521,8 +521,8 @@
|
|||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<el-collapse accordion>
|
<el-collapse accordion v-model="activeName">
|
||||||
<el-collapse-item title="意见填写">
|
<el-collapse-item title="意见填写" name = "1">
|
||||||
<div style="margin: 10px 0;">
|
<div style="margin: 10px 0;">
|
||||||
<el-select v-model="approvalOpinion" placeholder="请审批" style="margin-bottom: 20px;">
|
<el-select v-model="approvalOpinion" placeholder="请审批" style="margin-bottom: 20px;">
|
||||||
<el-option label="驳回" value="1"></el-option>
|
<el-option label="驳回" value="1"></el-option>
|
||||||
@@ -678,6 +678,7 @@
|
|||||||
name: "bzrkStep2",
|
name: "bzrkStep2",
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
|
activeName:'1',
|
||||||
// 当前流程类型(1待办/2已办)
|
// 当前流程类型(1待办/2已办)
|
||||||
processType: 1,
|
processType: 1,
|
||||||
detailData: [],
|
detailData: [],
|
||||||
@@ -743,7 +744,7 @@
|
|||||||
// 适用范围
|
// 适用范围
|
||||||
txlb: '', // 体系类别
|
txlb: '', // 体系类别
|
||||||
gkdw: '', // 归口管理部门
|
gkdw: '', // 归口管理部门
|
||||||
fbjg: '', // 起草单位
|
qcdw: '', // 起草单位
|
||||||
wssmr: '', // 我司署名人
|
wssmr: '', // 我司署名人
|
||||||
cysd: '', // 我司参与深度
|
cysd: '', // 我司参与深度
|
||||||
cllx: '', // 适用车型
|
cllx: '', // 适用车型
|
||||||
|
|||||||
@@ -343,10 +343,10 @@
|
|||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="起草单位" prop="fbjg" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="起草单位" prop="qcdw" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
disabled
|
disabled
|
||||||
v-model="form.fbjg"
|
v-model="form.qcdw"
|
||||||
placeholder="请选择起草单位"
|
placeholder="请选择起草单位"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
@@ -514,8 +514,8 @@
|
|||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<el-collapse accordion>
|
<el-collapse accordion v-model="activeName">
|
||||||
<el-collapse-item title="意见填写">
|
<el-collapse-item title="意见填写" name="1">
|
||||||
<div style="margin: 10px 0;">
|
<div style="margin: 10px 0;">
|
||||||
<!-- <el-select v-model="approvalOpinion" placeholder="请审批" style="margin-bottom: 20px;">-->
|
<!-- <el-select v-model="approvalOpinion" placeholder="请审批" style="margin-bottom: 20px;">-->
|
||||||
<!-- <el-option label="驳回" value="1"></el-option>-->
|
<!-- <el-option label="驳回" value="1"></el-option>-->
|
||||||
@@ -671,6 +671,7 @@ export default {
|
|||||||
name: "bzrkStep3",
|
name: "bzrkStep3",
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
|
activeName:'1',
|
||||||
// 当前流程类型(1待办/2已办)
|
// 当前流程类型(1待办/2已办)
|
||||||
processType: 1,
|
processType: 1,
|
||||||
detailData: [],
|
detailData: [],
|
||||||
@@ -735,7 +736,7 @@ export default {
|
|||||||
// 适用范围
|
// 适用范围
|
||||||
txlb: '', // 体系类别
|
txlb: '', // 体系类别
|
||||||
gkdw: '', // 归口管理部门
|
gkdw: '', // 归口管理部门
|
||||||
fbjg: '', // 起草单位
|
qcdw: '', // 起草单位
|
||||||
wssmr: '', // 我司署名人
|
wssmr: '', // 我司署名人
|
||||||
cysd: '', // 我司参与深度
|
cysd: '', // 我司参与深度
|
||||||
cllx: '', // 适用车型
|
cllx: '', // 适用车型
|
||||||
|
|||||||
@@ -13,8 +13,9 @@
|
|||||||
<div class="content" v-if="active === '1'">
|
<div class="content" v-if="active === '1'">
|
||||||
<div style="flex: auto; overflow: auto;">
|
<div style="flex: auto; overflow: auto;">
|
||||||
<el-form
|
<el-form
|
||||||
ref="qbkwForm"
|
ref="form"
|
||||||
:model="form"
|
:model="form"
|
||||||
|
:rules="rules"
|
||||||
class="label-input-form"
|
class="label-input-form"
|
||||||
label-width="210px"
|
label-width="210px"
|
||||||
>
|
>
|
||||||
@@ -115,6 +116,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="标准体系" prop="standSystem" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="标准体系" prop="standSystem" class="add-form-item form-item-disabled">
|
||||||
<tree-select v-if="treeStatus"
|
<tree-select v-if="treeStatus"
|
||||||
|
width = "340"
|
||||||
:data="standSystemOptions"
|
:data="standSystemOptions"
|
||||||
:defaultProps="defaultProps" :checkedKeys="defaultCheckedKeys"
|
:defaultProps="defaultProps" :checkedKeys="defaultCheckedKeys"
|
||||||
:nodeKey="nodeKey" @popoverHide="popoverHide"></tree-select>
|
:nodeKey="nodeKey" @popoverHide="popoverHide"></tree-select>
|
||||||
@@ -509,9 +511,9 @@
|
|||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="起草单位" prop="fbjg" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="起草单位" prop="qcdw" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="form.fbjg"
|
v-model="form.qcdw"
|
||||||
placeholder="请选择起草单位"
|
placeholder="请选择起草单位"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
@@ -612,6 +614,13 @@
|
|||||||
placeholder="请输入代替标准号"
|
placeholder="请输入代替标准号"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
class="common-button-primary"
|
||||||
|
size="mini"
|
||||||
|
style="position:absolute;top: 10px;right: 0;"
|
||||||
|
@click="selectLaws('dtbjh'),config.attrName = '代替标准号'"
|
||||||
|
>{{'手动查找'}}</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="采标程度" prop="cbcd" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="采标程度" prop="cbcd" class="add-form-item form-item-disabled">
|
||||||
<el-select v-model="form.cbcd" placeholder="请选择采标程度">
|
<el-select v-model="form.cbcd" placeholder="请选择采标程度">
|
||||||
@@ -654,6 +663,13 @@
|
|||||||
placeholder="请输入引用标准"
|
placeholder="请输入引用标准"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
class="common-button-primary"
|
||||||
|
size="mini"
|
||||||
|
style="position:absolute;top: 10px;right: 0;"
|
||||||
|
@click="selectLaws('dtbjh'),config.attrName = '代替标准号'"
|
||||||
|
>{{'手动查找'}}</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="采标编号" prop="cbbh" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="采标编号" prop="cbbh" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
@@ -668,6 +684,13 @@
|
|||||||
placeholder="请输入被引用标准"
|
placeholder="请输入被引用标准"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
class="common-button-primary"
|
||||||
|
size="mini"
|
||||||
|
style="position:absolute;top: 10px;right: 0;"
|
||||||
|
@click="selectLaws('dtbjh'),config.attrName = '代替标准号'"
|
||||||
|
>{{'手动查找'}}</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="参会记录" prop="chjl" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="参会记录" prop="chjl" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
@@ -682,8 +705,8 @@
|
|||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<el-collapse accordion>
|
<el-collapse accordion v-model="activeName">
|
||||||
<el-collapse-item title="意见填写">
|
<el-collapse-item title="意见填写" name="1">
|
||||||
<div style="margin: 10px 0;">
|
<div style="margin: 10px 0;">
|
||||||
<!-- <el-select v-model="approvalOpinion" placeholder="请审批" style="margin-bottom: 20px;">-->
|
<!-- <el-select v-model="approvalOpinion" placeholder="请审批" style="margin-bottom: 20px;">-->
|
||||||
<!-- <el-option label="驳回" value="1"></el-option>-->
|
<!-- <el-option label="驳回" value="1"></el-option>-->
|
||||||
@@ -843,6 +866,104 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
<el-dialog
|
||||||
|
:title="config.attrName"
|
||||||
|
:visible.sync="replaceLawsNumModel"
|
||||||
|
width="875px"
|
||||||
|
:close-on-click-modal="false"
|
||||||
|
@close="replaceLawsNumModelCancel"
|
||||||
|
:append-to-body="true"
|
||||||
|
>
|
||||||
|
<div class="search-area">
|
||||||
|
<div class="left">
|
||||||
|
<el-form :modal="replaceLawsNumForm" :inline="true" class="label-input-form" @keyup.enter.native="getReplaceLawsNumRowFirst">
|
||||||
|
<el-form-item label="标准来源" class="search-item" v-if="dataSource">
|
||||||
|
<el-select
|
||||||
|
v-model="replaceLawsNumForm.standType"
|
||||||
|
placeholder="请选择标准来源"
|
||||||
|
@change="dataSourceChange">
|
||||||
|
<el-option value="INLAND" label="国内标准库"></el-option>
|
||||||
|
<el-option value="FOREIGN" label="国外标准库"></el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="编号/名称" class="search-item">
|
||||||
|
<el-input
|
||||||
|
v-model="replaceLawsNumForm.standNumber"
|
||||||
|
placeholder="根据编号/名称查找"
|
||||||
|
clearable
|
||||||
|
:maxlength="100"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item class="search-item btn-box">
|
||||||
|
<el-button
|
||||||
|
icon="el-icon-search"
|
||||||
|
type="primary"
|
||||||
|
class="common-button-primary"
|
||||||
|
round
|
||||||
|
@click="getReplaceLawsNumRowFirst">
|
||||||
|
</el-button>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item class="search-item btn-box">
|
||||||
|
<el-button
|
||||||
|
class="common-button-default"
|
||||||
|
icon="el-icon-refresh-left"
|
||||||
|
round
|
||||||
|
type="default"
|
||||||
|
@click="getResetLawsNumRow"></el-button>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<el-table
|
||||||
|
ref="selections"
|
||||||
|
:data="replaceLawsNumRow"
|
||||||
|
tooltip-effect="dark"
|
||||||
|
style="width: 100%;overflow-y: auto;overflow-x: hidden;"
|
||||||
|
border
|
||||||
|
:height="300"
|
||||||
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||||
|
fontWeight: 'bold', height: '48px'}"
|
||||||
|
@selection-change="selectReplaceStandNumRowChange">
|
||||||
|
<el-table-column
|
||||||
|
type="selection"
|
||||||
|
width="55"
|
||||||
|
align="center">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
label="标准编号">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSort }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a>
|
||||||
|
<a v-else class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSort }} {{ scope.row.standNumber }}</a>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="standName"
|
||||||
|
label="标准名称">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="issueTime"
|
||||||
|
label="发布日期"
|
||||||
|
width="130">
|
||||||
|
<template slot-scope="scope">{{ scope.row.issueTime ? $moment(scope.row.issueTime).format('YYYY-MM-DD') : '' }}</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="standStateShow"
|
||||||
|
label="标准状态"
|
||||||
|
width="130">
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
<loading :loading="replaceLoading">{{$t('m.dataAcquisition')}}</loading>
|
||||||
|
<!--分页-->
|
||||||
|
<pagination
|
||||||
|
style="position: relative;"
|
||||||
|
:page="replacePage"
|
||||||
|
:total="replaceTotal"
|
||||||
|
@pageChange="pageChangeReplace"
|
||||||
|
@pageSizeChange="pageSizeChangeReplace"></pagination>
|
||||||
|
<div slot="footer" class="demo-drawer-footer">
|
||||||
|
<el-button class="common-button-default" icon="el-icon-close" @click="replaceLawsNumModel = false">取消</el-button>
|
||||||
|
<el-button type="primary" round class="common-button-primary" icon="el-icon-check" @click="replaceLawsNumModelBt">提交</el-button>
|
||||||
|
</div>
|
||||||
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -857,6 +978,7 @@ export default {
|
|||||||
name: "bzrkStep4",
|
name: "bzrkStep4",
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
|
activeName:'1',
|
||||||
// 当前流程类型(1待办/2已办)
|
// 当前流程类型(1待办/2已办)
|
||||||
processType: 1,
|
processType: 1,
|
||||||
detailData: [],
|
detailData: [],
|
||||||
@@ -880,6 +1002,64 @@ export default {
|
|||||||
fileUrl: 'api/att/attFile/upload',
|
fileUrl: 'api/att/attFile/upload',
|
||||||
fileMadel: false,
|
fileMadel: false,
|
||||||
fileType: '',
|
fileType: '',
|
||||||
|
config: {
|
||||||
|
attrName : '',
|
||||||
|
},
|
||||||
|
dataSource: false,
|
||||||
|
replaceLawsNumModel: false,
|
||||||
|
replaceLawType: '',
|
||||||
|
sarBussionessLawsEO: {
|
||||||
|
replaceLawsNum: ''
|
||||||
|
},
|
||||||
|
// 代替标准号
|
||||||
|
replaceLawsNumForm: {
|
||||||
|
dataSource: '',
|
||||||
|
standNumber: '', // 标准编号
|
||||||
|
page: 1,
|
||||||
|
pageSize: this.$store.getters.userInfo.configContent,
|
||||||
|
total: 0,
|
||||||
|
standType: 'INLAND',
|
||||||
|
quoteIdList: '',
|
||||||
|
validFlag: '0',
|
||||||
|
menuId: 'nomenu'
|
||||||
|
},
|
||||||
|
replaceLawsNumRow: [], // 代替政策号 数组内容
|
||||||
|
replaceTotal: 0,
|
||||||
|
selectedListRep: [],
|
||||||
|
replaceLoading: true,
|
||||||
|
replacePage: 1,
|
||||||
|
rules:{
|
||||||
|
standSort: [
|
||||||
|
{ required: true, message: '请选择标准类别', trigger: 'change' }
|
||||||
|
],
|
||||||
|
standNumber: [
|
||||||
|
{ required: true, message: '请输入标准编号', trigger: 'blur' },
|
||||||
|
{ min: 1, max: 100, message: '长度在 1 到 100 个字符', trigger: 'blur' }
|
||||||
|
],
|
||||||
|
standYear: [
|
||||||
|
{ required: true, message: '请输入标准年份'},
|
||||||
|
{ type: 'number', message: '年标准年份必须为数字值'}
|
||||||
|
],
|
||||||
|
standName: [
|
||||||
|
{ required: true, message: '请输入标准名称', trigger: 'blur' },
|
||||||
|
{ min: 1, max: 100, message: '长度在 1 到 100 个字符', trigger: 'blur' }
|
||||||
|
],
|
||||||
|
standNature: [
|
||||||
|
{ required: false, message: '请选择标准性质', trigger: 'change' }
|
||||||
|
],
|
||||||
|
textStatus: [
|
||||||
|
{ required: true, message: '请选择文本状态', trigger: 'change' }
|
||||||
|
],
|
||||||
|
issueTime: [
|
||||||
|
{ required: true, message: '请选择标准发布日期', trigger: 'change' }
|
||||||
|
],
|
||||||
|
qcdw: [
|
||||||
|
{ required: true, message: '请选择起草单位', trigger: 'change' }
|
||||||
|
],
|
||||||
|
cysd: [
|
||||||
|
{ required: true, message: '请选择我司参与深度', trigger: 'change' }
|
||||||
|
],
|
||||||
|
},
|
||||||
form: {
|
form: {
|
||||||
// 基础信息
|
// 基础信息
|
||||||
textStatus: '', // 文本状态
|
textStatus: '', // 文本状态
|
||||||
@@ -926,7 +1106,7 @@ export default {
|
|||||||
// 适用范围
|
// 适用范围
|
||||||
txlb: '', // 体系类别
|
txlb: '', // 体系类别
|
||||||
gkdw: '', // 归口管理部门
|
gkdw: '', // 归口管理部门
|
||||||
fbjg: '', // 起草单位
|
qcdw: '', // 起草单位
|
||||||
wssmr: '', // 我司署名人
|
wssmr: '', // 我司署名人
|
||||||
cysd: '', // 我司参与深度
|
cysd: '', // 我司参与深度
|
||||||
cllx: '', // 适用车型
|
cllx: '', // 适用车型
|
||||||
@@ -992,6 +1172,170 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
// 代替政策号 请求数据
|
||||||
|
getReplaceLawsNumRowFirst () {
|
||||||
|
if (this.sarBussionessLawsEO.replaceLawsNum !== null && this.sarBussionessLawsEO.replaceLawsNum !== '') {
|
||||||
|
this.replaceLawsNumForm.quoteIdList = this.quoteIdList1.toString() === '' ? '' : this.quoteIdList1
|
||||||
|
} else {
|
||||||
|
this.quoteIdList1 = []
|
||||||
|
this.replaceLawsNumForm.quoteIdList = ''
|
||||||
|
}
|
||||||
|
this.replaceLawsNumForm.page = 1
|
||||||
|
this.replacePage = 1
|
||||||
|
this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage', 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 => {
|
||||||
|
})
|
||||||
|
},
|
||||||
|
dataSourceChange (val) {
|
||||||
|
},
|
||||||
|
handleChange (event) {
|
||||||
|
// const value = event.target.value
|
||||||
|
const value = event
|
||||||
|
this.$emit('input', value)
|
||||||
|
if (value.length==1000){
|
||||||
|
return this.$message({
|
||||||
|
message: '相关标准不能输入超过1000个字符',
|
||||||
|
type: 'warning'
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
// 代替政策编号-取消
|
||||||
|
replaceLawsNumModelCancel () {
|
||||||
|
// this.replaceLawsNumModel = false
|
||||||
|
this.$refs.selections.clearSelection()
|
||||||
|
},
|
||||||
|
// 代替政策号 table选择事件
|
||||||
|
selectReplaceStandNumRowChange (row) {
|
||||||
|
this.selectedListRep = row
|
||||||
|
},
|
||||||
|
// 代替政策分页
|
||||||
|
pageChangeReplace (page) {
|
||||||
|
this.replacePage = page
|
||||||
|
this.replaceLawsNumForm.page = page
|
||||||
|
this.getReplaceLawsNumRow()
|
||||||
|
},
|
||||||
|
pageSizeChangeReplace (pageSize) {
|
||||||
|
// this.replaceRows = pageSize
|
||||||
|
this.replaceLawsNumForm.pageSize = pageSize
|
||||||
|
this.getReplaceLawsNumRow()
|
||||||
|
},
|
||||||
|
// 代替政策编号确定
|
||||||
|
replaceLawsNumModelBt () {
|
||||||
|
let textArr = []
|
||||||
|
|
||||||
|
if (typeof this.value === 'string') {
|
||||||
|
if (this.value) {
|
||||||
|
textArr = this.value.split(',')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (this.selectedListRep.length === 0) {
|
||||||
|
return this.$message({
|
||||||
|
message: '请先选择数据',
|
||||||
|
type: 'warning'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
if (this.selectedListRep.length + textArr.length > 20) {
|
||||||
|
return this.$message({
|
||||||
|
message: '标准最多选择20项',
|
||||||
|
type: 'warning'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
this.selectedListRep.map((item) => {
|
||||||
|
let texts = ''
|
||||||
|
if (item.standYear != null && item.standYear !== '') {
|
||||||
|
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber + '-' + item.standYear : item.standNumber + '-' + item.standYear
|
||||||
|
} else {
|
||||||
|
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber : item.standNumber
|
||||||
|
}
|
||||||
|
textArr.push(texts)
|
||||||
|
textArr = [...new Set(textArr)]
|
||||||
|
this.replaceLawsNumModel = false
|
||||||
|
})
|
||||||
|
// this.SarLawsInfoEO.replaceLawsNum = textArr.join(',')
|
||||||
|
if(this.replaceLawType === 'dtbjh'){
|
||||||
|
this.form.dtbjh = textArr.join(',')
|
||||||
|
}else if(this.replaceLawType === 'yybj'){
|
||||||
|
this.form.yybj = textArr.join(',')
|
||||||
|
}else {
|
||||||
|
this.form.byybj = textArr.join(',')
|
||||||
|
}
|
||||||
|
// this.$emit('input', textArr.join(','))
|
||||||
|
this.$refs.selections.clearSelection()
|
||||||
|
},
|
||||||
|
// 点击查看
|
||||||
|
handlePreview (item) {
|
||||||
|
let routeUrl = this.$router.resolve({
|
||||||
|
name: 'OtherStandardDetails',
|
||||||
|
params: {
|
||||||
|
id: item.id,
|
||||||
|
pageType: 'INLAND_STAND'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
window.open(routeUrl.href, '_blank')
|
||||||
|
},
|
||||||
|
getResetLawsNumRow () {
|
||||||
|
this.replaceLawsNumForm = {
|
||||||
|
standNumber: '', // 标准编号
|
||||||
|
page: 1,
|
||||||
|
pageSize: this.$store.getters.userInfo.configContent,
|
||||||
|
total: 0,
|
||||||
|
standType: 'INLAND',
|
||||||
|
quoteIdList: '',
|
||||||
|
validFlag: '0'
|
||||||
|
}
|
||||||
|
this.getReplaceLawsNumRow()
|
||||||
|
},
|
||||||
|
selectLaws (type) {
|
||||||
|
// if (this.standNumFlag === 1) {
|
||||||
|
// this.$refs.selections.selectAll(false)
|
||||||
|
// }
|
||||||
|
// this.sarBussionessLawsEO.replaceLawsNum = ''
|
||||||
|
this.replaceLawsNumModel = true
|
||||||
|
this.replaceLawType = ''
|
||||||
|
this.replaceLawType = type
|
||||||
|
this.getReplaceLawsNumRow()
|
||||||
|
},
|
||||||
|
// 代替政策号 请求数据
|
||||||
|
getReplaceLawsNumRow () {
|
||||||
|
if (this.sarBussionessLawsEO.replaceLawsNum !== null && this.sarBussionessLawsEO.replaceLawsNum !== '') {
|
||||||
|
this.replaceLawsNumForm.quoteIdList = this.quoteIdList1.toString() === '' ? '' : this.quoteIdList1
|
||||||
|
} else {
|
||||||
|
this.quoteIdList1 = []
|
||||||
|
this.replaceLawsNumForm.quoteIdList = ''
|
||||||
|
}
|
||||||
|
this.replaceLawsNumForm.standType = this.form.standInData === '1' ? 'FOREIGN' : 'INLAND'
|
||||||
|
this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage', 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 => {
|
||||||
|
})
|
||||||
|
},
|
||||||
beginImportFile (file) {
|
beginImportFile (file) {
|
||||||
var filename = file.name
|
var filename = file.name
|
||||||
var index1 = filename.lastIndexOf('.')
|
var index1 = filename.lastIndexOf('.')
|
||||||
@@ -1128,22 +1472,25 @@ export default {
|
|||||||
},
|
},
|
||||||
handleSave() {},
|
handleSave() {},
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.form.commentText = this.commentText
|
this.$refs['form'].validate((valid) => {
|
||||||
this.form.approvalOpinion = this.approvalOpinion
|
if (valid) {
|
||||||
const json = JSON.stringify(this.form);
|
this.form.commentText = this.commentText
|
||||||
console.log(json)
|
this.form.approvalOpinion = this.approvalOpinion
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
const json = JSON.stringify(this.form);
|
||||||
taskIds: this.taskIds,
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
userId : this.userId,
|
taskIds: this.taskIds,
|
||||||
json: json
|
userId : this.userId,
|
||||||
}, {
|
json: json
|
||||||
_this: this
|
}, {
|
||||||
}, res => {
|
_this: this
|
||||||
if (res.success) {
|
}, res => {
|
||||||
this.$message.success(res.message)
|
if (res.success) {
|
||||||
}else {
|
this.$message.success(res.message)
|
||||||
this.$message.success(res.message)
|
}else {
|
||||||
}
|
this.$message.success(res.message)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -613,6 +613,39 @@ export default {
|
|||||||
prcType: row.prcType
|
prcType: row.prcType
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
} else if (row.taskInfo === '4') {
|
||||||
|
this.$router.push({
|
||||||
|
name: 'bzjdStep4',
|
||||||
|
query: {
|
||||||
|
taskIds: row.taskIds,
|
||||||
|
prcId: row.prcId,
|
||||||
|
prcNum: row.prcNum,
|
||||||
|
prcName: row.prcName,
|
||||||
|
prcType: row.prcType
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else if (row.taskInfo === '5') {
|
||||||
|
this.$router.push({
|
||||||
|
name: 'bzjdStep5',
|
||||||
|
query: {
|
||||||
|
taskIds: row.taskIds,
|
||||||
|
prcId: row.prcId,
|
||||||
|
prcNum: row.prcNum,
|
||||||
|
prcName: row.prcName,
|
||||||
|
prcType: row.prcType
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else if (row.taskInfo === '6') {
|
||||||
|
this.$router.push({
|
||||||
|
name: 'bzjdStep6',
|
||||||
|
query: {
|
||||||
|
taskIds: row.taskIds,
|
||||||
|
prcId: row.prcId,
|
||||||
|
prcNum: row.prcNum,
|
||||||
|
prcName: row.prcName,
|
||||||
|
prcType: row.prcType
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -395,6 +395,7 @@
|
|||||||
>
|
>
|
||||||
<template slot="label">标准体系</template>
|
<template slot="label">标准体系</template>
|
||||||
<tree-select
|
<tree-select
|
||||||
|
width = "593"
|
||||||
:data="standSystemOptions"
|
:data="standSystemOptions"
|
||||||
:defaultProps="defaultProps" :checkedKeys="defaultCheckedKeys"
|
:defaultProps="defaultProps" :checkedKeys="defaultCheckedKeys"
|
||||||
:nodeKey="nodeKey" @popoverHide="popoverHide"></tree-select>
|
:nodeKey="nodeKey" @popoverHide="popoverHide"></tree-select>
|
||||||
|
|||||||
@@ -618,6 +618,33 @@ const routes = [
|
|||||||
title: '标准解读流程'
|
title: '标准解读流程'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/bzjdStep4',
|
||||||
|
name: 'bzjdStep4',
|
||||||
|
component: () => import('@/pages/processCenter/pages/creatProcess/bzjd/step4.vue'),
|
||||||
|
meta: {
|
||||||
|
requireAuth: true,
|
||||||
|
title: '标准解读流程'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: '/bzjdStep5',
|
||||||
|
name: 'bzjdStep5',
|
||||||
|
component: () => import('@/pages/processCenter/pages/creatProcess/bzjd/step5.vue'),
|
||||||
|
meta: {
|
||||||
|
requireAuth: true,
|
||||||
|
title: '标准解读流程'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: '/bzjdStep6',
|
||||||
|
name: 'bzjdStep6',
|
||||||
|
component: () => import('@/pages/processCenter/pages/creatProcess/bzjd/step6.vue'),
|
||||||
|
meta: {
|
||||||
|
requireAuth: true,
|
||||||
|
title: '标准解读流程'
|
||||||
|
}
|
||||||
|
},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
// 本地工具
|
// 本地工具
|
||||||
|
|||||||
Reference in New Issue
Block a user