Merge branch 'develop' into 'test'
Develop See merge request LAWS/laws-system-front-FOTON!177
This commit is contained in:
@@ -445,6 +445,9 @@ tr.el-table__row{
|
|||||||
.el-table th>.cell {
|
.el-table th>.cell {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
.el-table td>.cell {
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
.el-table th.gutter{
|
.el-table th.gutter{
|
||||||
display: table-cell !important;
|
display: table-cell !important;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -102,6 +102,15 @@
|
|||||||
:loading="submitLoading"
|
:loading="submitLoading"
|
||||||
v-if="showConfirm"
|
v-if="showConfirm"
|
||||||
>接收待办</el-button>
|
>接收待办</el-button>
|
||||||
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
size="small"
|
||||||
|
class="common-button-primary"
|
||||||
|
icon="el-icon-check"
|
||||||
|
@click="handleSubmit"
|
||||||
|
:loading="submitLoading"
|
||||||
|
v-if="showAffirm"
|
||||||
|
>确认</el-button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 组织机构树 -->
|
<!-- 组织机构树 -->
|
||||||
@@ -179,6 +188,10 @@ export default {
|
|||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false
|
default: false
|
||||||
},
|
},
|
||||||
|
showAffirm: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false
|
||||||
|
},
|
||||||
showConfirm: {
|
showConfirm: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false
|
default: false
|
||||||
|
|||||||
@@ -436,6 +436,8 @@ export default {
|
|||||||
message: response.message,
|
message: response.message,
|
||||||
type: 'success'
|
type: 'success'
|
||||||
})
|
})
|
||||||
|
} else {
|
||||||
|
this.$message.error('程序异常,上传失败')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
importFileSuccess2 (response, file) {
|
importFileSuccess2 (response, file) {
|
||||||
@@ -456,6 +458,8 @@ export default {
|
|||||||
message: response.message,
|
message: response.message,
|
||||||
type: 'success'
|
type: 'success'
|
||||||
})
|
})
|
||||||
|
} else {
|
||||||
|
this.$message.error('程序异常,上传失败')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
fileUpload () {
|
fileUpload () {
|
||||||
|
|||||||
@@ -84,6 +84,7 @@
|
|||||||
<div v-else>
|
<div v-else>
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
|
:disabled="acceptShow"
|
||||||
class="common-button-primary"
|
class="common-button-primary"
|
||||||
@click="fileUpload"
|
@click="fileUpload"
|
||||||
size="mini">
|
size="mini">
|
||||||
@@ -94,6 +95,7 @@
|
|||||||
<el-form-item label="回执说明" prop="dyhz" class="add-form-item form-item-disabled">
|
<el-form-item label="回执说明" prop="dyhz" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="form.dyhz"
|
v-model="form.dyhz"
|
||||||
|
:disabled="acceptShow"
|
||||||
style="height: 150px"
|
style="height: 150px"
|
||||||
type="textarea"
|
type="textarea"
|
||||||
:autosize="{ minRows: 1, maxRows: 5}"
|
:autosize="{ minRows: 1, maxRows: 5}"
|
||||||
@@ -185,10 +187,13 @@
|
|||||||
show-submit
|
show-submit
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="saveLoading"
|
||||||
|
:show-submit="submitShow"
|
||||||
|
:show-confirm="acceptShow"
|
||||||
show-transfer
|
show-transfer
|
||||||
@transfer="handleTransfer"
|
@transfer="handleTransfer"
|
||||||
@save="handleSave"
|
@save="handleSave"
|
||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
|
@accept="handleAccept"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
<Role-tree
|
<Role-tree
|
||||||
@@ -223,7 +228,7 @@
|
|||||||
import ProcessHeader from '../../components/ProcessHeader'
|
import ProcessHeader from '../../components/ProcessHeader'
|
||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import {inboundLiaisonDetail,processCreateStand,saveTaskForPub,changeAssigneeNew} from 'api/process'
|
import {inboundLiaisonDetail,processCreateStand,saveTaskForPub,changeAssigneeNew,execTask} from 'api/process'
|
||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@@ -239,6 +244,9 @@
|
|||||||
active: '1', // 默认显示
|
active: '1', // 默认显示
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
|
submitShow: false,
|
||||||
|
acceptShow: false,
|
||||||
|
todoId: '',
|
||||||
form: {
|
form: {
|
||||||
dyhz: '',
|
dyhz: '',
|
||||||
title: '', // 调研标题
|
title: '', // 调研标题
|
||||||
@@ -374,6 +382,19 @@
|
|||||||
this.saveLoading = false
|
this.saveLoading = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
// 接受按钮
|
||||||
|
handleAccept(){
|
||||||
|
this.isSubmit = true
|
||||||
|
execTask({
|
||||||
|
todoId: this.todoId // 当前节点ID
|
||||||
|
}).then(res => {
|
||||||
|
if (res.sign && res.sign === '0') {
|
||||||
|
this.$message.success('接收成功')
|
||||||
|
this.$router.push('/processCenter')
|
||||||
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
},
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.$refs['qbkwForm'].validate((valid) => {
|
this.$refs['qbkwForm'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
@@ -406,6 +427,15 @@
|
|||||||
pId: this.pId
|
pId: this.pId
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
let data = JSON.parse(res.mesg)
|
let data = JSON.parse(res.mesg)
|
||||||
|
let commitStatus = res.commitStatus
|
||||||
|
if(commitStatus && commitStatus > 0){
|
||||||
|
this.acceptShow = true
|
||||||
|
this.submitShow = false
|
||||||
|
}else {
|
||||||
|
this.acceptShow = false
|
||||||
|
this.submitShow = true
|
||||||
|
}
|
||||||
|
this.todoId = res.id
|
||||||
this.form.title = data.title || data.form.title
|
this.form.title = data.title || data.form.title
|
||||||
this.form.date = data.date || data.form.date
|
this.form.date = data.date || data.form.date
|
||||||
this.json = data || data.form
|
this.json = data || data.form
|
||||||
|
|||||||
@@ -73,6 +73,14 @@
|
|||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="截止日期" prop="endTime" class="add-form-item form-item-disabled">
|
||||||
|
<el-date-picker
|
||||||
|
v-model="form.endTime"
|
||||||
|
type="date"
|
||||||
|
placeholder="请选择截止日期"
|
||||||
|
value-format="yyyy-MM-dd">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</div>
|
</div>
|
||||||
@@ -471,6 +479,7 @@ export default {
|
|||||||
id: '',
|
id: '',
|
||||||
itemsNum: '',
|
itemsNum: '',
|
||||||
itemsName: '',
|
itemsName: '',
|
||||||
|
endTime: '',
|
||||||
standId: '',
|
standId: '',
|
||||||
statusId: '',
|
statusId: '',
|
||||||
itemsNum1: '',
|
itemsNum1: '',
|
||||||
@@ -484,6 +493,9 @@ export default {
|
|||||||
itemsName: [
|
itemsName: [
|
||||||
{required: true, message: '请输入标准名称/政策名称', trigger: 'change'},
|
{required: true, message: '请输入标准名称/政策名称', trigger: 'change'},
|
||||||
],
|
],
|
||||||
|
endTime: [
|
||||||
|
{required: true, message: '请输入截止时间', trigger: 'change'},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
// 标准征求意见数据可库
|
// 标准征求意见数据可库
|
||||||
standCommonlySearch: {
|
standCommonlySearch: {
|
||||||
|
|||||||
@@ -128,7 +128,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="choiceZRR">批量编辑</el-button>
|
<el-button type="primary" :disabled="acceptShow" class="common-button-primary add-button" size="mini" @click="choiceZRR">批量编辑</el-button>
|
||||||
</div>
|
</div>
|
||||||
<el-table border
|
<el-table border
|
||||||
ref="selection"
|
ref="selection"
|
||||||
@@ -177,6 +177,7 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
:disabled="acceptShow"
|
||||||
prop="changePoint"
|
prop="changePoint"
|
||||||
width="150"
|
width="150"
|
||||||
v-if="form.itemsNum1"
|
v-if="form.itemsNum1"
|
||||||
@@ -184,7 +185,7 @@
|
|||||||
align="center">
|
align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div class="el-input">
|
<div class="el-input">
|
||||||
<input class="el-input__inner" type="text" v-model.lazy="scope.row.changePoint" placeholder="请输入基于上一版本差异" maxlength="500">
|
<input :disabled="acceptShow" class="el-input__inner" type="text" v-model.lazy="scope.row.changePoint" placeholder="请输入基于上一版本差异" maxlength="500">
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -196,7 +197,7 @@
|
|||||||
align="center">
|
align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div class="el-input">
|
<div class="el-input">
|
||||||
<input class="el-input__inner" type="text" v-model.lazy="scope.row.changePoint" placeholder="请输入相对于国行标差异点" maxlength="500" >
|
<input :disabled="acceptShow" class="el-input__inner" type="text" v-model.lazy="scope.row.changePoint" placeholder="请输入相对于国行标差异点" maxlength="500" >
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -206,7 +207,7 @@
|
|||||||
label="符合项状态"
|
label="符合项状态"
|
||||||
align="center">
|
align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<My-select v-model="scope.row.complianceRequir" :options="fhList"></My-select>
|
<My-select :disabled="acceptShow" v-model="scope.row.complianceRequir" :options="fhList"></My-select>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -216,7 +217,7 @@
|
|||||||
align="center">
|
align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div class="el-input">
|
<div class="el-input">
|
||||||
<input class="el-input__inner" type="text" v-model.lazy="scope.row.complianceState" placeholder="请输入合规性分析" maxlength="500">
|
<input :disabled="acceptShow" class="el-input__inner" type="text" v-model.lazy="scope.row.complianceState" placeholder="请输入合规性分析" maxlength="500">
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -227,6 +228,7 @@
|
|||||||
align="center">
|
align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
|
:disabled="acceptShow"
|
||||||
v-model.lazy="scope.row.newData"
|
v-model.lazy="scope.row.newData"
|
||||||
type="date"
|
type="date"
|
||||||
placeholder="选择新车型实施日期">
|
placeholder="选择新车型实施日期">
|
||||||
@@ -240,6 +242,7 @@
|
|||||||
align="center">
|
align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
|
:disabled="acceptShow"
|
||||||
v-model.lazy="scope.row.onlineData"
|
v-model.lazy="scope.row.onlineData"
|
||||||
type="date"
|
type="date"
|
||||||
placeholder="选择新车型实施日期">
|
placeholder="选择新车型实施日期">
|
||||||
@@ -252,7 +255,7 @@
|
|||||||
label="适用车型"
|
label="适用车型"
|
||||||
align="center">
|
align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<My-select v-model="scope.row.applyArctic" :options="cxList"></My-select>
|
<My-select :disabled="acceptShow" v-model="scope.row.applyArctic" :options="cxList"></My-select>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -342,14 +345,17 @@
|
|||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-save
|
:show-save="submitShow"
|
||||||
show-submit
|
show-submit
|
||||||
|
:show-submit="submitShow"
|
||||||
|
:show-confirm="acceptShow"
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="saveLoading"
|
||||||
show-transfer
|
:show-transfer="submitShow"
|
||||||
@transfer="handleTransfer"
|
@transfer="handleTransfer"
|
||||||
@save="handleSave"
|
@save="handleSave"
|
||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
|
@accept="handleAccept"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
<Role-tree
|
<Role-tree
|
||||||
@@ -444,7 +450,7 @@
|
|||||||
import ProcessHeader from '../../components/ProcessHeader'
|
import ProcessHeader from '../../components/ProcessHeader'
|
||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import {inboundLiaisonDetail,processCreateStand,saveTaskForPub,changeAssigneeNew} from 'api/process'
|
import {inboundLiaisonDetail,processCreateStand,saveTaskForPub,changeAssigneeNew,execTask} from 'api/process'
|
||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@@ -488,6 +494,9 @@
|
|||||||
active: '1', // 默认显示
|
active: '1', // 默认显示
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
|
submitShow: false,
|
||||||
|
acceptShow: false,
|
||||||
|
todoId: '',
|
||||||
form: {
|
form: {
|
||||||
itemsNum: '',
|
itemsNum: '',
|
||||||
itemsName: '',
|
itemsName: '',
|
||||||
@@ -614,6 +623,19 @@
|
|||||||
this.saveLoading = false
|
this.saveLoading = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
// 接受按钮
|
||||||
|
handleAccept(){
|
||||||
|
this.isSubmit = true
|
||||||
|
execTask({
|
||||||
|
todoId: this.todoId // 当前节点ID
|
||||||
|
}).then(res => {
|
||||||
|
if (res.sign && res.sign === '0') {
|
||||||
|
this.$message.success('接收成功')
|
||||||
|
this.$router.push('/processCenter')
|
||||||
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
},
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.$refs['bzzqyjForm'].validate((valid) => {
|
this.$refs['bzzqyjForm'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
@@ -691,6 +713,15 @@
|
|||||||
pId: this.pId
|
pId: this.pId
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
let data = JSON.parse(res.mesg)
|
let data = JSON.parse(res.mesg)
|
||||||
|
let commitStatus = res.commitStatus
|
||||||
|
if(commitStatus && commitStatus > 0){
|
||||||
|
this.acceptShow = true
|
||||||
|
this.submitShow = false
|
||||||
|
}else {
|
||||||
|
this.acceptShow = false
|
||||||
|
this.submitShow = true
|
||||||
|
}
|
||||||
|
this.todoId = res.id
|
||||||
this.form.itemsNum = data.itemsNum || data.form.itemsNum
|
this.form.itemsNum = data.itemsNum || data.form.itemsNum
|
||||||
this.form.itemsName = data.itemsName || data.form.itemsName
|
this.form.itemsName = data.itemsName || data.form.itemsName
|
||||||
if (data.form) {
|
if (data.form) {
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
<template>
|
<template><div class="bzrkStep1">
|
||||||
<div class="bzrkStep1">
|
|
||||||
<!-- 标准入库流程-->
|
<!-- 标准入库流程-->
|
||||||
<ProcessHeader toggle>
|
<ProcessHeader toggle>
|
||||||
<template slot="proName">标准入库流程</template>
|
<template slot="proName">标准入库流程</template>
|
||||||
@@ -221,14 +220,14 @@
|
|||||||
<div class="prc-content-border" v-show="verifySarStandard">
|
<div class="prc-content-border" v-show="verifySarStandard">
|
||||||
<el-row :gutter="24">
|
<el-row :gutter="24">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item v-show="form.standInData === '0'" label="修改单" prop="xgd" class="add-form-item form-item-disabled">
|
<el-form-item v-show="form.standInData === '0'" label="修改单" prop="xgd" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
disabled
|
disabled
|
||||||
style="display: none;"
|
style="display: none;"
|
||||||
v-model="form.xgdName"
|
v-model="form.xgdName"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
<div v-if="form.xgdName">
|
<div v-if="xgdFileList.length>0">
|
||||||
<!-- {{ form.xgdName }}-->
|
<!-- {{ form.xgdName }}-->
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
@@ -251,14 +250,14 @@
|
|||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="发布稿" prop="fbgbjbdName" class="add-form-item form-item-disabled">
|
<el-form-item label="发布稿" prop="fbgbjbdName" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
disabled
|
disabled
|
||||||
style="display: none;"
|
style="display: none;"
|
||||||
v-model="form.fbgbjbdName"
|
v-model="form.fbgbjbdName"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
<div v-if="form.fbgbjbdName">
|
<div v-if="FBGBJBDFileList.length>0">
|
||||||
<!-- {{ form.fbgbjbdName }}-->
|
<!-- {{ form.fbgbjbdName }}-->
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
@@ -288,7 +287,7 @@
|
|||||||
v-model="form.ssgName"
|
v-model="form.ssgName"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
<div v-if="form.ssgName">
|
<div v-if="ssgFileList.length>0">
|
||||||
<!-- {{ form.ssgName }}-->
|
<!-- {{ form.ssgName }}-->
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
@@ -318,7 +317,7 @@
|
|||||||
v-model="form.caName"
|
v-model="form.caName"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
<div v-if="form.caName">
|
<div v-if="caFileList.length>0">
|
||||||
<!-- {{ form.caName }}-->
|
<!-- {{ form.caName }}-->
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
@@ -341,14 +340,14 @@
|
|||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-show="form.standInData === '1'" label="增补件" prop="zbjbd" class="add-form-item form-item-disabled">
|
<el-form-item v-show="form.standInData === '1'" label="增补件" prop="zbjbd" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
disabled
|
disabled
|
||||||
style="display: none;"
|
style="display: none;"
|
||||||
v-model="form.zbjbdName"
|
v-model="form.zbjbdName"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
<div v-if="form.zbjbdName">
|
<div v-if="zbjbdFileList.length>0">
|
||||||
<!-- {{ form.zbjbdName }}-->
|
<!-- {{ form.zbjbdName }}-->
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
@@ -373,14 +372,14 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item v-show="form.standInData === '1'" label="勘误件" prop="kwj" class="add-form-item form-item-disabled">
|
<el-form-item v-show="form.standInData === '1'" label="勘误件" prop="kwj" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
disabled
|
disabled
|
||||||
style="display: none;"
|
style="display: none;"
|
||||||
v-model="form.kwjName"
|
v-model="form.kwjName"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
<div v-if="form.kwjName">
|
<div v-if="kwjFileList.length>0">
|
||||||
<!-- {{ form.kwjName }}-->
|
<!-- {{ form.kwjName }}-->
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
@@ -410,7 +409,7 @@
|
|||||||
v-model="form.jdwjName"
|
v-model="form.jdwjName"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
<div v-if="form.jdwjName">
|
<div v-if="jdwjFileList.length>0">
|
||||||
<!-- {{ form.jdwjName }}-->
|
<!-- {{ form.jdwjName }}-->
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
@@ -440,7 +439,7 @@
|
|||||||
v-model="form.bpgName"
|
v-model="form.bpgName"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
<div v-if="form.bpgName">
|
<div v-if="bpgFileList.length>0">
|
||||||
<!-- {{ form.bpgName }}-->
|
<!-- {{ form.bpgName }}-->
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
@@ -470,7 +469,7 @@
|
|||||||
v-model="form.zqyjgName"
|
v-model="form.zqyjgName"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
<div v-if="form.zqyjgName">
|
<div v-if="zqyjgFileList.length>0">
|
||||||
<!-- {{ form.zqyjgName }}-->
|
<!-- {{ form.zqyjgName }}-->
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
@@ -910,6 +909,7 @@
|
|||||||
accept=".pdf, .PDF, .ppt, .PPT, .pptx,.PPTX, .doc, .DOC, .docx, .DOCX, .xls, .xlsx"
|
accept=".pdf, .PDF, .ppt, .PPT, .pptx,.PPTX, .doc, .DOC, .docx, .DOCX, .xls, .xlsx"
|
||||||
:before-upload="beginImportFile"
|
:before-upload="beginImportFile"
|
||||||
:on-success="importFileSuccess"
|
:on-success="importFileSuccess"
|
||||||
|
:on-remove="removeOneFile"
|
||||||
:show-file-list="true"
|
:show-file-list="true"
|
||||||
>
|
>
|
||||||
<div style="padding: 20px 0">
|
<div style="padding: 20px 0">
|
||||||
@@ -1269,7 +1269,7 @@
|
|||||||
jdwjFileList: [],
|
jdwjFileList: [],
|
||||||
zbjbdFileList: [],
|
zbjbdFileList: [],
|
||||||
kwjFileList: [],
|
kwjFileList: [],
|
||||||
qlwjFileList: [],
|
glwjFileList: [],
|
||||||
filterText:'',
|
filterText:'',
|
||||||
textStatusMap: {}, // 文本状态id与name对应
|
textStatusMap: {}, // 文本状态id与name对应
|
||||||
standardDrawer: false,
|
standardDrawer: false,
|
||||||
@@ -1726,7 +1726,7 @@
|
|||||||
data.forEach(item => {
|
data.forEach(item => {
|
||||||
this.$set(this.textStatusMap, item.value, item.label)
|
this.$set(this.textStatusMap, item.value, item.label)
|
||||||
})
|
})
|
||||||
|
|
||||||
},
|
},
|
||||||
clearFormData(data){
|
clearFormData(data){
|
||||||
this.form = {
|
this.form = {
|
||||||
@@ -1817,7 +1817,7 @@
|
|||||||
const bringData = this.standardCheckedList[0]
|
const bringData = this.standardCheckedList[0]
|
||||||
bringData.signFlag = this.form.signFlag && this.form.signFlag != '' ? this.form.signFlag : '0'
|
bringData.signFlag = this.form.signFlag && this.form.signFlag != '' ? this.form.signFlag : '0'
|
||||||
bringData.standInData = this.form.standInData && this.form.standInData != '' ? this.form.standInData : '0'
|
bringData.standInData = this.form.standInData && this.form.standInData != '' ? this.form.standInData : '0'
|
||||||
|
|
||||||
const json = Object.assign(bringData, bringData.attrInfoCaseMap);
|
const json = Object.assign(bringData, bringData.attrInfoCaseMap);
|
||||||
this.form = JSON.parse(JSON.stringify(json))
|
this.form = JSON.parse(JSON.stringify(json))
|
||||||
|
|
||||||
@@ -1847,6 +1847,15 @@
|
|||||||
this.busVsFunc()
|
this.busVsFunc()
|
||||||
this.modelFunc()
|
this.modelFunc()
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
|
|
||||||
|
console.log("this.form",this.form);
|
||||||
|
// 遍历对象初始化文件信息
|
||||||
|
for(const p in this.form) {
|
||||||
|
if (typeof (this.form[p]) != "function") {
|
||||||
|
this.initializeFileList(p,this.form[p]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
} else if (this.standardCheckedList.length > 1) {
|
} else if (this.standardCheckedList.length > 1) {
|
||||||
this.$message.warning('最多可以带入一条标准信息')
|
this.$message.warning('最多可以带入一条标准信息')
|
||||||
} else {
|
} else {
|
||||||
@@ -1860,7 +1869,63 @@
|
|||||||
this.standardDrawer = false
|
this.standardDrawer = false
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
},
|
},initializeFileList(property ,value){
|
||||||
|
switch (property){
|
||||||
|
case 'xgd':
|
||||||
|
this.getFileList(value,this.xgdFileList);
|
||||||
|
break;
|
||||||
|
case 'fbgbjbd':
|
||||||
|
this.getFileList(value,this.FBGBJBDFileList);
|
||||||
|
break;
|
||||||
|
case 'ssg':
|
||||||
|
this.getFileList(value,this.ssgFileList);
|
||||||
|
break;
|
||||||
|
case 'ca':
|
||||||
|
this.getFileList(value,this.caFileList);
|
||||||
|
break;
|
||||||
|
case 'zbjbd':
|
||||||
|
this.getFileList(value,this.zbjbdFileList);
|
||||||
|
break;
|
||||||
|
case 'kwj':
|
||||||
|
this.getFileList(value,this.kwjFileList);
|
||||||
|
break;
|
||||||
|
case 'jdwj':
|
||||||
|
debugger
|
||||||
|
this.getFileList(value,this.jdwjFileList);
|
||||||
|
break;
|
||||||
|
case 'bpg':
|
||||||
|
this.getFileList(value,this.bpgFileList);
|
||||||
|
break;
|
||||||
|
case 'zqyjg':
|
||||||
|
this.getFileList(value,this.zqyjgFileList);
|
||||||
|
break;
|
||||||
|
default: ;
|
||||||
|
}
|
||||||
|
},getFileList(fileIds,defaultFileList){
|
||||||
|
|
||||||
|
// 对象为引用传递
|
||||||
|
this.$http.get('att/attFile/getMultiFileInfos', {
|
||||||
|
fileIds: fileIds
|
||||||
|
}, {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
debugger
|
||||||
|
let fileList = res.data
|
||||||
|
if (fileList != null && fileList.length > 0) {
|
||||||
|
for (let i = 0; i < fileList.length; i++) {
|
||||||
|
let obj = {name: '', response: {}}
|
||||||
|
obj.name = fileList[i].oldFileName
|
||||||
|
obj.response.data = fileList[i]
|
||||||
|
|
||||||
|
|
||||||
|
//根据以‘,’分割的id查询到的文件信息,放入对应的文件list中
|
||||||
|
defaultFileList.push(obj)
|
||||||
|
console.log("defaultFileList",defaultFileList);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}, e => {
|
||||||
|
})
|
||||||
|
},
|
||||||
handleStandardPageChange (page) {
|
handleStandardPageChange (page) {
|
||||||
this.standardSearchForm.page = page
|
this.standardSearchForm.page = page
|
||||||
this.handleSearchStandard()
|
this.handleSearchStandard()
|
||||||
@@ -2219,83 +2284,122 @@
|
|||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
// this.fileMadel = false
|
// this.fileMadel = false
|
||||||
// this.fileList = []
|
// this.fileList = []
|
||||||
if(this.fileType === 'fbgbjbd'){
|
// if(this.fileType === 'fbgbjbd'){
|
||||||
this.FBGBJBDFileList=fileList;
|
// this.FBGBJBDFileList=fileList;
|
||||||
this.form.fbgbjbd += response.data.id+',';
|
//
|
||||||
if( this.form.fbgbjbdName=== undefined){
|
//
|
||||||
this.form.fbgbjbdName=''
|
// this.form.fbgbjbd += response.data.id+',';
|
||||||
}
|
// if( this.form.fbgbjbdName=== undefined){
|
||||||
this.form.fbgbjbdName += response.data.name+',';
|
// this.form.fbgbjbdName=''
|
||||||
}else if(this.fileType === 'xgd'){
|
// }
|
||||||
this.xgdFileList=fileList;
|
// this.form.fbgbjbdName += response.data.name+',';
|
||||||
this.form.xgd += response.data.id+',';
|
// }else if(this.fileType === 'xgd'){
|
||||||
if( this.form.xgdName=== undefined){
|
// this.xgdFileList=fileList;
|
||||||
this.form.xgdName=''
|
|
||||||
}
|
|
||||||
this.form.xgdName += response.data.name+',';
|
|
||||||
}else if(this.fileType === 'bpg'){
|
|
||||||
this.bpgFileList=fileList;
|
|
||||||
this.form.bpg += response.data.id+',';
|
|
||||||
if( this.form.bpgName=== undefined){
|
|
||||||
this.form.bpgName=''
|
|
||||||
}
|
|
||||||
this.form.bpgName += response.data.name+',';
|
|
||||||
}else if(this.fileType === 'ssg'){
|
|
||||||
this.ssgFileList=fileList;
|
|
||||||
this.form.ssg += response.data.id+',';
|
|
||||||
if( this.form.ssgName=== undefined){
|
|
||||||
this.form.ssgName=''
|
|
||||||
}
|
|
||||||
this.form.ssgName += response.data.name+',';
|
|
||||||
}else if(this.fileType === 'zqyjg'){
|
|
||||||
this.zqyjgFileList=fileList;
|
|
||||||
this.form.zqyjg += response.data.id+',';
|
|
||||||
if( this.form.zqyjgName=== undefined){
|
|
||||||
this.form.zqyjgName=''
|
|
||||||
}
|
|
||||||
this.form.zqyjgName += response.data.name+',';
|
|
||||||
}else if(this.fileType === 'jdwj'){
|
|
||||||
this.jdwjFileList=fileList;
|
|
||||||
this.form.jdwj += response.data.id+',';
|
|
||||||
if( this.form.jdwjName=== undefined){
|
|
||||||
this.form.jdwjName=''
|
|
||||||
}
|
|
||||||
this.form.jdwjName += response.data.name+',';
|
|
||||||
}else if(this.fileType === 'kwj'){
|
|
||||||
this.kwjFileList=fileList;
|
|
||||||
this.form.kwj += response.data.id+',';
|
|
||||||
if( this.form.kwjName=== undefined){
|
|
||||||
this.form.kwjName=''
|
|
||||||
}
|
|
||||||
this.form.kwjName += response.data.name+',';
|
|
||||||
}
|
|
||||||
// else if(this.fileType === 'xgd'){
|
|
||||||
// this.xgdFileList=fileList;
|
|
||||||
// this.form.xgd += response.data.id+',';
|
// this.form.xgd += response.data.id+',';
|
||||||
|
// if( this.form.xgdName=== undefined){
|
||||||
|
// this.form.xgdName=''
|
||||||
|
// }
|
||||||
// this.form.xgdName += response.data.name+',';
|
// this.form.xgdName += response.data.name+',';
|
||||||
|
// }else if(this.fileType === 'bpg'){
|
||||||
|
// this.bpgFileList=fileList;
|
||||||
|
// this.form.bpg += response.data.id+',';
|
||||||
|
// if( this.form.bpgName=== undefined){
|
||||||
|
// this.form.bpgName=''
|
||||||
|
// }
|
||||||
|
// this.form.bpgName += response.data.name+',';
|
||||||
|
// }else if(this.fileType === 'ssg'){
|
||||||
|
// this.ssgFileList=fileList;
|
||||||
|
// this.form.ssg += response.data.id+',';
|
||||||
|
// if( this.form.ssgName=== undefined){
|
||||||
|
// this.form.ssgName=''
|
||||||
|
// }
|
||||||
|
// this.form.ssgName += response.data.name+',';
|
||||||
|
// }else if(this.fileType === 'zqyjg'){
|
||||||
|
// this.zqyjgFileList=fileList;
|
||||||
|
// this.form.zqyjg += response.data.id+',';
|
||||||
|
// if( this.form.zqyjgName=== undefined){
|
||||||
|
// this.form.zqyjgName=''
|
||||||
|
// }
|
||||||
|
// this.form.zqyjgName += response.data.name+',';
|
||||||
|
// }else if(this.fileType === 'jdwj'){
|
||||||
|
// this.jdwjFileList=fileList;
|
||||||
|
// this.form.jdwj += response.data.id+',';
|
||||||
|
// if( this.form.jdwjName=== undefined){
|
||||||
|
// this.form.jdwjName=''
|
||||||
|
// }
|
||||||
|
// this.form.jdwjName += response.data.name+',';
|
||||||
|
// }else if(this.fileType === 'kwj'){
|
||||||
|
// this.kwjFileList=fileList;
|
||||||
|
// this.form.kwj += response.data.id+',';
|
||||||
|
// if( this.form.kwjName=== undefined){
|
||||||
|
// this.form.kwjName=''
|
||||||
|
// }
|
||||||
|
// this.form.kwjName += response.data.name+',';
|
||||||
// }
|
// }
|
||||||
else if(this.fileType === 'glwj'){
|
// // else if(this.fileType === 'xgd'){
|
||||||
this.qlwjFileList=fileList;
|
// // this.xgdFileList=fileList;
|
||||||
this.form.glwj += response.data.id+',';
|
// // this.form.xgd += response.data.id+',';
|
||||||
if( this.form.glwjName=== undefined){
|
// // this.form.xgdName += response.data.name+',';
|
||||||
this.form.glwjName=''
|
// // }
|
||||||
}
|
// else if(this.fileType === 'glwj'){
|
||||||
this.form.glwjName += response.data.name+',';
|
// this.qlwjFileList=fileList;
|
||||||
}else if(this.fileType === 'ca'){
|
// this.form.glwj += response.data.id+',';
|
||||||
|
// if( this.form.glwjName=== undefined){
|
||||||
|
// this.form.glwjName=''
|
||||||
|
// }
|
||||||
|
// this.form.glwjName += response.data.name+',';
|
||||||
|
// }else if(this.fileType === 'ca'){
|
||||||
|
// this.caFileList=fileList;
|
||||||
|
// console.log(this.caFieList)
|
||||||
|
// this.form.ca += response.data.id+',';
|
||||||
|
// if( this.form.caName=== undefined){
|
||||||
|
// this.form.caName=''
|
||||||
|
// }
|
||||||
|
// this.form.caName += response.data.name+',';
|
||||||
|
// }else if(this.fileType === 'zbjbd'){
|
||||||
|
// this.zbjbdFileList=fileList;
|
||||||
|
// this.form.zbjbd += response.data.id+',';
|
||||||
|
// if( this.form.zbjbdName=== undefined){
|
||||||
|
// this.form.zbjbdName=''
|
||||||
|
// }
|
||||||
|
// this.form.zbjbdName += response.data.name+',';
|
||||||
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
switch (this.fileType){
|
||||||
|
case 'fbgbjbd':
|
||||||
|
this.FBGBJBDFileList=fileList;
|
||||||
|
console.log("FBGJBDFileList",this.FBGBJBDFileList);
|
||||||
|
break;
|
||||||
|
case 'xgd' :
|
||||||
|
this.xgdFileList=fileList;
|
||||||
|
break;
|
||||||
|
case 'bpg':
|
||||||
|
this.bpgFileList=fileList;
|
||||||
|
break;
|
||||||
|
case 'ssg':
|
||||||
|
this.ssgFileList=fileList;
|
||||||
|
break;
|
||||||
|
case 'zqyjg':
|
||||||
|
this.zqyjgFileList=fileList;
|
||||||
|
break;
|
||||||
|
case 'jdwj':
|
||||||
|
this.jdwjFileList=fileList;
|
||||||
|
break;
|
||||||
|
case 'kwj':
|
||||||
|
this.kwjFileList=fileList;
|
||||||
|
break;
|
||||||
|
case 'ca':
|
||||||
this.caFileList=fileList;
|
this.caFileList=fileList;
|
||||||
this.form.ca += response.data.id+',';
|
break;
|
||||||
if( this.form.caName=== undefined){
|
case 'zbjbd':
|
||||||
this.form.caName=''
|
this.zbjbdFileList=fileList
|
||||||
}
|
break;
|
||||||
this.form.caName += response.data.name+',';
|
case 'glwj':
|
||||||
}else if(this.fileType === 'zbjbd'){
|
this.glwjFileList=fileList
|
||||||
this.zbjbdFileList=fileList;
|
break
|
||||||
this.form.zbjbd += response.data.id+',';
|
default : ;
|
||||||
if( this.form.zbjbdName=== undefined){
|
}
|
||||||
this.form.zbjbdName=''
|
|
||||||
}
|
|
||||||
this.form.zbjbdName += response.data.name+',';
|
|
||||||
}
|
|
||||||
this.$message({
|
this.$message({
|
||||||
showClose: true,
|
showClose: true,
|
||||||
message: response.message,
|
message: response.message,
|
||||||
@@ -2308,30 +2412,101 @@
|
|||||||
// this.fileMadel = true;//此句应在最后执行,否则会有先显示没变换的的文件列表,在显示变换了的文件列表
|
// this.fileMadel = true;//此句应在最后执行,否则会有先显示没变换的的文件列表,在显示变换了的文件列表
|
||||||
|
|
||||||
this.fileType = type;
|
this.fileType = type;
|
||||||
if (type==='ca'){
|
// if (type==='ca'){
|
||||||
this.fileList=this.caFileList;
|
// this.fileList=this.caFileList;
|
||||||
}else if (type==='fbgbjbd'){
|
// }else if (type==='fbgbjbd'){
|
||||||
this.fileList=this.FBGBJBDFileList;
|
// this.fileList=this.FBGBJBDFileList;
|
||||||
}else if (type==='xgd'){
|
// }else if (type==='xgd'){
|
||||||
this.fileList=this.xgdFileList;
|
// this.fileList=this.xgdFileList;
|
||||||
}else if(type==='bpg'){
|
// }else if(type==='bpg'){
|
||||||
this.fileList=this.bpgFileList;
|
// this.fileList=this.bpgFileList;
|
||||||
}else if (type==='ssg'){
|
// }else if (type==='ssg'){
|
||||||
this.fileList=this.ssgFileList;
|
// this.fileList=this.ssgFileList;
|
||||||
}else if (type==='zqyjg'){
|
// }else if (type==='zqyjg'){
|
||||||
this.fileList=this.zqyjgFileList;
|
// this.fileList=this.zqyjgFileList;
|
||||||
}else if (type==='jdwj'){
|
// }else if (type==='jdwj'){
|
||||||
this.fileList=this.jdwjFileList;
|
// this.fileList=this.jdwjFileList;
|
||||||
}else if (type==='zbjbd'){
|
// }else if (type==='zbjbd'){
|
||||||
|
// this.fileList=this.zbjbdFileList;
|
||||||
|
// }else if (type==='kwj'){
|
||||||
|
// this.fileList=this.kwjFileList;
|
||||||
|
// }else if (type==='glwj'){
|
||||||
|
// this.fileList=this.qlwjFileList;
|
||||||
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
switch (this.fileType){
|
||||||
|
case 'fbgbjbd':
|
||||||
|
this.fileList=this.FBGBJBDFileList
|
||||||
|
break;
|
||||||
|
case 'xgd' :
|
||||||
|
this.fileList=this.xgdFileList
|
||||||
|
break;
|
||||||
|
case 'bpg':
|
||||||
|
this.fileList=this.bpgFileList
|
||||||
|
break;
|
||||||
|
case 'ssg':
|
||||||
|
this.fileList=this.ssgFileList
|
||||||
|
break;
|
||||||
|
case 'zqyjg':
|
||||||
|
this.fileList=this.zqyjgFileList
|
||||||
|
break;
|
||||||
|
case 'jdwj':
|
||||||
|
this.fileList=this.jdwjFileList
|
||||||
|
case 'kwj':
|
||||||
|
this.fileList=this.kwjFileList
|
||||||
|
break;
|
||||||
|
case 'ca':
|
||||||
|
this.fileList=this.caFileList
|
||||||
|
break;
|
||||||
|
case 'zbjbd':
|
||||||
this.fileList=this.zbjbdFileList;
|
this.fileList=this.zbjbdFileList;
|
||||||
}else if (type==='kwj'){
|
break;
|
||||||
this.fileList=this.kwjFileList;
|
case 'glwj':
|
||||||
}else if (type==='glwj'){
|
this.fileList=this.glwjFileList;
|
||||||
this.fileList=this.qlwjFileList;
|
break
|
||||||
}
|
default : ;
|
||||||
|
}
|
||||||
this.fileMadel = true;
|
this.fileMadel = true;
|
||||||
|
|
||||||
},
|
},
|
||||||
|
removeOneFile(file, fileList) {
|
||||||
|
|
||||||
|
switch (this.fileType){
|
||||||
|
case 'fbgbjbd':
|
||||||
|
this.FBGBJBDFileList=fileList;
|
||||||
|
break;
|
||||||
|
case 'xgd' :
|
||||||
|
this.xgdFileList=fileList;
|
||||||
|
break;
|
||||||
|
case 'bpg':
|
||||||
|
this.bpgFileList=fileList;
|
||||||
|
break;
|
||||||
|
case 'ssg':
|
||||||
|
this.ssgFileList=fileList;
|
||||||
|
break;
|
||||||
|
case 'zqyjg':
|
||||||
|
this.zqyjgFileList=fileList;
|
||||||
|
break;
|
||||||
|
case 'jdwj':
|
||||||
|
this.jdwjFileList=fileList;
|
||||||
|
break;
|
||||||
|
case 'kwj':
|
||||||
|
this.kwjFileList=fileList;
|
||||||
|
break;
|
||||||
|
case 'ca':
|
||||||
|
this.caFileList=fileList;
|
||||||
|
break;
|
||||||
|
case 'zbjbd':
|
||||||
|
this.zbjbdFileList=fileList
|
||||||
|
break;
|
||||||
|
case 'glwj':
|
||||||
|
this.glwjFileList=fileList
|
||||||
|
break
|
||||||
|
default : ;
|
||||||
|
}
|
||||||
|
},
|
||||||
popoverHide (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHide (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData) {
|
if(checkedData) {
|
||||||
if(checkedData.length > 0 && checkedData.length != 0){
|
if(checkedData.length > 0 && checkedData.length != 0){
|
||||||
@@ -2444,12 +2619,48 @@
|
|||||||
this.saveLoading = false
|
this.saveLoading = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
fileInfoHandle(){
|
||||||
|
|
||||||
|
//拼接文件名和id 提交到流程Activity
|
||||||
|
this.form.fbgbjbd=this.FBGBJBDFileList.map(item => item.response.data.id).join(",")
|
||||||
|
this.form.fbgbjbdName=this.FBGBJBDFileList.map(item => item.response.data.name).join(",")
|
||||||
|
|
||||||
|
this.form.xgd=this.xgdFileList.map(item => item.response.data.id).join(",")
|
||||||
|
this.form.xgdName=this.xgdFileList.map(item => item.response.data.name).join(",")
|
||||||
|
|
||||||
|
this.form.bpg=this.bpgFileList.map(item => item.response.data.id).join(",")
|
||||||
|
this.form.bpgName=this.bpgFileList.map(item => item.response.data.name).join(",")
|
||||||
|
|
||||||
|
this.form.ssg=this.ssgFileList.map(item => item.response.data.id).join(",")
|
||||||
|
this.form.ssgName=this.ssgFileList.map(item => item.response.data.name).join(",")
|
||||||
|
|
||||||
|
this.form.zqyjg=this.zqyjgFileList.map(item => item.response.data.id).join(",")
|
||||||
|
this.form.zqyjgName=this.zqyjgFileList.map(item => item.response.data.name).join(",")
|
||||||
|
|
||||||
|
this.form.jdwj=this.jdwjFileList.map(item => item.response.data.id).join(",")
|
||||||
|
this.form.jdwjName=this.jdwjFileList.map(item => item.response.data.name).join(",")
|
||||||
|
|
||||||
|
this.form.kwj=this.kwjFileList.map(item => item.response.data.id).join(",")
|
||||||
|
this.form.kwjName=this.kwjFileList.map(item => item.response.data.name).join(",")
|
||||||
|
|
||||||
|
this.form.ca=this.caFileList.map(item => item.response.data.id).join(",")
|
||||||
|
this.form.caName=this.caFileList.map(item => item.response.data.name).join(",")
|
||||||
|
|
||||||
|
this.form.zbjbd=this.zbjbdFileList.map(item => item.response.data.id).join(",")
|
||||||
|
this.form.zbjbdName=this.zbjbdFileList.map(item => item.response.data.name).join(",")
|
||||||
|
|
||||||
|
this.form.glwj=this.glwjFileList.map(item => item.response.data.id).join(",")
|
||||||
|
this.form.glwjName=this.glwjFileList.map(item => item.response.data.name).join(",")
|
||||||
|
|
||||||
|
|
||||||
|
},
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
// this.form.country=this.countryArr;
|
// this.form.country=this.countryArr;
|
||||||
this.$refs['form'].validate((valid) => {
|
this.$refs['form'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.$refs['userForm'].validate((valid) => {
|
this.$refs['userForm'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
|
this.fileInfoHandle()
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
this.form.country=this.countryArr;
|
this.form.country=this.countryArr;
|
||||||
var json = Object.assign(this.form, this.roleForm)
|
var json = Object.assign(this.form, this.roleForm)
|
||||||
|
|||||||
@@ -211,40 +211,41 @@
|
|||||||
<el-row :gutter="24">
|
<el-row :gutter="24">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item v-if="form.standInData === '0'" label="修改单" prop="xgdName" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="修改单" prop="xgdName" class="add-form-item form-item-disabled">
|
||||||
<div style="cursor: pointer;color: #00b7ee" v-if="form.xgdName" @click="downloadFile('xgd')">
|
<div v-if="xgdFileMap.length>0" v-for="(value,index) in this.xgdFileMap" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile('xgd',value.id)">
|
||||||
{{ form.xgdName }}
|
<!-- {{ value.name }} -->
|
||||||
|
{{value.name}}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
- -
|
- -
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="发布稿" prop="fbgbjbdName" class="add-form-item form-item-disabled">
|
<el-form-item label="发布稿" prop="fbgbjbdName" class="add-form-item form-item-disabled">
|
||||||
<div style="cursor: pointer;color: #00b7ee" v-if="form.fbgbjbdName" @click="downloadFile('fbgbjbd')">
|
<div v-if="form.fbgbjbdName" v-for="(value,index) in this.fbgbjbdFileMap" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile('fbgbjbd',value.id)">
|
||||||
{{ form.fbgbjbdName }}
|
{{value.name}}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
- -
|
- -
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '1'" label="增补件" prop="zbjbdName" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '1'" label="增补件" prop="zbjbdName" class="add-form-item form-item-disabled">
|
||||||
<div v-if="form.zbjbdName" style="cursor: pointer;color: #00b7ee" @click="downloadFile('zbjbd')">
|
<div v-if="form.zbjbdName" v-for="(value,index) in this.zbjbdFileMap" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile('zbjbd',value.id)">
|
||||||
{{ form.zbjbdName }}
|
{{value.name}}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
- -
|
- -
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="送审稿" prop="ssgName" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="送审稿" prop="ssgName" class="add-form-item form-item-disabled">
|
||||||
<div v-if="form.ssgName" style="cursor: pointer;color: #00b7ee" @click="downloadFile('ssg')">
|
<div v-if="form.ssgName" v-for="(value,index) in this.ssgFileMap" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile('ssg',value.id)">
|
||||||
{{ form.ssgName }}
|
{{value.name}}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
- -
|
- -
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="草案" prop="caName" class="add-form-item form-item-disabled">
|
<el-form-item label="草案" prop="caName" class="add-form-item form-item-disabled">
|
||||||
<div v-if="form.caName" style="cursor: pointer;color: #00b7ee" @click="downloadFile('ca')">
|
<div v-if="form.caName" v-for="(value,index) in this.caFileMap" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile('ca',value.id)">
|
||||||
{{ form.caName }}
|
{{value.name}}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
- -
|
- -
|
||||||
@@ -253,32 +254,32 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item v-if="form.standInData === '1'" label="勘误件" prop="kwjName" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '1'" label="勘误件" prop="kwjName" class="add-form-item form-item-disabled">
|
||||||
<div v-if="form.kwjName" style="cursor: pointer;color: #00b7ee" @click="downloadFile('kwj')">
|
<div v-if="form.kwjName" v-for="(value,index) in this.kwjFileMap" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile('kwj',value.id)">
|
||||||
{{ form.kwjName }}
|
{{value.name}}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
- -
|
- -
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="解读文件" prop="jdwjName" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="解读文件" prop="jdwjName" class="add-form-item form-item-disabled">
|
||||||
<div v-if="form.jdwjName" style="cursor: pointer;color: #00b7ee" @click="downloadFile('jdwj')">
|
<div v-if="form.jdwjName" v-for="(value,index) in this.jdwjFileMap" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile('jdwj',value.id)">
|
||||||
{{ form.jdwjName }}
|
{{value.name}}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
- -
|
- -
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="报批稿" prop="bpgName" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="报批稿" prop="bpgName" class="add-form-item form-item-disabled">
|
||||||
<div v-if="form.bpgName" style="cursor: pointer;color: #00b7ee" @click="downloadFile('bpg')">
|
<div v-if="form.bpgName" v-for="(value,index) in this.bpgFileMap" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile('bpg',value.id)">
|
||||||
{{ form.bpgName }}
|
{{value.name}}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
- -
|
- -
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.standInData === '0'" label="征求意见稿" prop="zqyjgName" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '0'" label="征求意见稿" prop="zqyjgName" class="add-form-item form-item-disabled">
|
||||||
<div v-if="form.zqyjgName" style="cursor: pointer;color: #00b7ee" @click="downloadFile('zqyjg')">
|
<div v-if="form.zqyjgName" v-for="(value,index) in this.zqyjgFileMap" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile('zqyjg',value.id)">
|
||||||
{{ form.zqyjgName }}
|
{{value.name}}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
- -
|
- -
|
||||||
@@ -693,6 +694,17 @@ export default {
|
|||||||
name: "bzrkStep3",
|
name: "bzrkStep3",
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
|
xgdFileMap: [],
|
||||||
|
fbgbjbdFileMap: [],
|
||||||
|
bpgFileMap: [],
|
||||||
|
ssgFileMap: [],
|
||||||
|
zqyjgFileMap: [],
|
||||||
|
jdwjFileMap: [],
|
||||||
|
kwjFileMap: [],
|
||||||
|
glwjFileMap: [],
|
||||||
|
caFileMap: [],
|
||||||
|
zbjbdFileMap: [],
|
||||||
|
|
||||||
xgdFileId: '',
|
xgdFileId: '',
|
||||||
fbgbjbdFileId: '',
|
fbgbjbdFileId: '',
|
||||||
bpgFileId: '',
|
bpgFileId: '',
|
||||||
@@ -883,28 +895,28 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
downloadFile (fileType) {
|
downloadFile (fileType,fileId) {
|
||||||
if(fileType === 'fbgbjbd'){
|
if(fileType === 'fbgbjbd'){
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.fbgbjbdFileId.replace(",","");
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + fileId;
|
||||||
}else if(fileType === 'xgd'){
|
}else if(fileType === 'xgd'){
|
||||||
|
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.xgdFileId.replace(",","");
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + fileId;
|
||||||
}else if(fileType === 'bpg'){
|
}else if(fileType === 'bpg'){
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.bpgFileId.replace(",","");
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + fileId;
|
||||||
}else if(fileType === 'ssg'){
|
}else if(fileType === 'ssg'){
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.ssgFileId.replace(",","");
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + fileId;
|
||||||
}else if(fileType === 'zqyjg'){
|
}else if(fileType === 'zqyjg'){
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.zqyjgFileId.replace(",","");
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + fileId;
|
||||||
}else if(fileType === 'jdwj'){
|
}else if(fileType === 'jdwj'){
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.jdwjFileId.replace(",","");
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + fileId;
|
||||||
}else if(fileType === 'kwj'){
|
}else if(fileType === 'kwj'){
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.kwjFileId.replace(",","");
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + fileId;
|
||||||
}else if(fileType === 'glwj'){
|
}else if(fileType === 'glwj'){
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.glwjFileId.replace(",","");
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + fileId;
|
||||||
}else if(fileType === 'ca'){
|
}else if(fileType === 'ca'){
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.caFileId.replace(",","");
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + fileId;
|
||||||
}else if(fileType === 'zbjbd'){
|
}else if(fileType === 'zbjbd'){
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.zbjbdFileId.replace(",","");
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + fileId;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
popoverHide (checkedIds, checkedData) {
|
popoverHide (checkedIds, checkedData) {
|
||||||
@@ -960,6 +972,19 @@ export default {
|
|||||||
this.detailData = res
|
this.detailData = res
|
||||||
}, e => {})
|
}, e => {})
|
||||||
},
|
},
|
||||||
|
assemble(ids,names){
|
||||||
|
console.log("name",names)
|
||||||
|
console.log("id",ids)
|
||||||
|
let list= new Array();
|
||||||
|
let idArray=ids.split(',');
|
||||||
|
let nameArray=names.split(',');
|
||||||
|
console.log("idarray",idArray);
|
||||||
|
for(var i=0;i<idArray.length;i++){
|
||||||
|
list.push({id:idArray[i],name:nameArray[i]});
|
||||||
|
}
|
||||||
|
|
||||||
|
return list;
|
||||||
|
},
|
||||||
getData() {
|
getData() {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
inboundLiaisonDetail({
|
inboundLiaisonDetail({
|
||||||
@@ -978,6 +1003,35 @@ export default {
|
|||||||
this.glwjFileId = processForm.glwj
|
this.glwjFileId = processForm.glwj
|
||||||
this.caFileId = processForm.ca
|
this.caFileId = processForm.ca
|
||||||
this.zbjbdFileId = processForm.zbjbd
|
this.zbjbdFileId = processForm.zbjbd
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
this.xgdFileMap=this.assemble(processForm.xgd,processForm.xgdName);
|
||||||
|
console.log("xgdName",this.xgdFileMap);
|
||||||
|
|
||||||
|
this.fbgbjbdFileMap=this.assemble(processForm.fbgbjbd,processForm.fbgbjbdName);
|
||||||
|
// fbgbjbdFileMap: {},
|
||||||
|
this.bpgFileMap=this.assemble(processForm.bpg,processForm.bpgName);
|
||||||
|
// bpgFileMap: {},
|
||||||
|
this.ssgFileMap=this.assemble(processForm.ssg,processForm.ssgName);
|
||||||
|
// ssgFileMap: {},
|
||||||
|
this.zqyjgFileMap=this.assemble(processForm.zqyjg,processForm.zqyjgName);
|
||||||
|
// zqyjgFileMap: {},
|
||||||
|
this.jdwjFileMap=this.assemble(processForm.jdwj,processForm.jdwj);
|
||||||
|
// jdwjFileMap: {},
|
||||||
|
this.kwjFileMap=this.assemble(processForm.kwj,processForm.kwjName);
|
||||||
|
// kwjFileMap: {},
|
||||||
|
this.glwjFileMap=this.assemble(processForm.glwj,processForm.glwjName);
|
||||||
|
// glwjFileMap: {},
|
||||||
|
this.caFileMap=this.assemble(processForm.ca,processForm.caName);
|
||||||
|
// caFileMap: {},
|
||||||
|
this.zbjbdFileMap=this.assemble(processForm.zbjbd,processForm.zbjbdName);
|
||||||
|
// zbjbdFileMap: {},
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
this.getFormFieldList(processForm)
|
this.getFormFieldList(processForm)
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -222,10 +222,11 @@
|
|||||||
:show-confirm="acceptShow"
|
:show-confirm="acceptShow"
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="saveLoading"
|
||||||
|
:show-save="submitShow"
|
||||||
|
:show-transfer="submitShow"
|
||||||
@save="handleSave"
|
@save="handleSave"
|
||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
@accept="handleAccept"
|
@accept="handleAccept"
|
||||||
show-transfer
|
|
||||||
@transfer="handleTransfer"
|
@transfer="handleTransfer"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
|
|||||||
@@ -110,6 +110,7 @@
|
|||||||
<el-table-column label="佐证材料" align="center" width="150">
|
<el-table-column label="佐证材料" align="center" width="150">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-upload
|
<el-upload
|
||||||
|
:disabled="acceptShow"
|
||||||
multiple
|
multiple
|
||||||
ref="uploadFile"
|
ref="uploadFile"
|
||||||
:action="uploadPath"
|
:action="uploadPath"
|
||||||
@@ -122,6 +123,7 @@
|
|||||||
:on-success="handleOnsuccess"
|
:on-success="handleOnsuccess"
|
||||||
>
|
>
|
||||||
<el-button
|
<el-button
|
||||||
|
:disabled="acceptShow"
|
||||||
type="primary"
|
type="primary"
|
||||||
class="common-button-primary"
|
class="common-button-primary"
|
||||||
@click="uploadFile(scope.row)"
|
@click="uploadFile(scope.row)"
|
||||||
@@ -218,12 +220,15 @@
|
|||||||
show-save
|
show-save
|
||||||
show-submit
|
show-submit
|
||||||
show-transfer
|
show-transfer
|
||||||
|
:show-submit="submitShow"
|
||||||
|
:show-confirm="acceptShow"
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="saveLoading"
|
||||||
:transferLoading="turnLoading"
|
:transferLoading="turnLoading"
|
||||||
@transfer="handleTurnTo"
|
@transfer="handleTurnTo"
|
||||||
@save="handleSave"
|
@save="handleSave"
|
||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
|
@accept="handleAccept"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
<Role-tree
|
<Role-tree
|
||||||
@@ -240,7 +245,7 @@
|
|||||||
import ProcessHeader from '../../components/ProcessHeader'
|
import ProcessHeader from '../../components/ProcessHeader'
|
||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import {inboundLiaisonDetail, completeTask, saveTaskForPub, changeAssigneeNew} from "@/api/process"
|
import {inboundLiaisonDetail, completeTask, saveTaskForPub, changeAssigneeNew,execTask} from "@/api/process"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "wfhxzgStep4",
|
name: "wfhxzgStep4",
|
||||||
@@ -262,6 +267,9 @@ export default {
|
|||||||
active: '1', // 默认显示
|
active: '1', // 默认显示
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
|
submitShow: false,
|
||||||
|
acceptShow: false,
|
||||||
|
todoId: '',
|
||||||
turnLoading: false,
|
turnLoading: false,
|
||||||
dataList: [],
|
dataList: [],
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
@@ -316,6 +324,15 @@ export default {
|
|||||||
}
|
}
|
||||||
inboundLiaisonDetail(params).then(res => {
|
inboundLiaisonDetail(params).then(res => {
|
||||||
const processForm = JSON.parse(res.mesg)
|
const processForm = JSON.parse(res.mesg)
|
||||||
|
let commitStatus = res.commitStatus
|
||||||
|
if(commitStatus && commitStatus > 0){
|
||||||
|
this.acceptShow = true
|
||||||
|
this.submitShow = false
|
||||||
|
}else {
|
||||||
|
this.acceptShow = false
|
||||||
|
this.submitShow = true
|
||||||
|
}
|
||||||
|
this.todoId = res.id
|
||||||
this.getFormFieldList(processForm)
|
this.getFormFieldList(processForm)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -481,6 +498,19 @@ export default {
|
|||||||
this.saveLoading = false
|
this.saveLoading = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
// 接受按钮
|
||||||
|
handleAccept(){
|
||||||
|
this.isSubmit = true
|
||||||
|
execTask({
|
||||||
|
todoId: this.todoId // 当前节点ID
|
||||||
|
}).then(res => {
|
||||||
|
if (res.sign && res.sign === '0') {
|
||||||
|
this.$message.success('接收成功')
|
||||||
|
this.$router.push('/processCenter')
|
||||||
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
},
|
||||||
// 提交按钮
|
// 提交按钮
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
|
|||||||
@@ -61,6 +61,14 @@
|
|||||||
placeholder="请输入标准名称"
|
placeholder="请输入标准名称"
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="截止日期" prop="endTime" class="add-form-item form-item-disabled">
|
||||||
|
<el-date-picker
|
||||||
|
v-model="listForm.endTime"
|
||||||
|
type="date"
|
||||||
|
placeholder="请选择截止日期"
|
||||||
|
value-format="yyyy-MM-dd">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
<el-form-item label="认证工程师" prop="certifiedEngineerName" class="add-form-item form-item-disabled">
|
<el-form-item label="认证工程师" prop="certifiedEngineerName" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="listForm.certifiedEngineerName"
|
v-model="listForm.certifiedEngineerName"
|
||||||
@@ -521,6 +529,9 @@ export default {
|
|||||||
standNumber: [
|
standNumber: [
|
||||||
{ required: true, message: "请填写标准编号", trigger: "change" }
|
{ required: true, message: "请填写标准编号", trigger: "change" }
|
||||||
],
|
],
|
||||||
|
endTime: [
|
||||||
|
{required: true, message: '请输入截止时间', trigger: 'change'},
|
||||||
|
],
|
||||||
qualityEngineer: [
|
qualityEngineer: [
|
||||||
{ required: true, message: "请选择质量工程师", trigger: "change" }
|
{ required: true, message: "请选择质量工程师", trigger: "change" }
|
||||||
],
|
],
|
||||||
@@ -554,6 +565,7 @@ export default {
|
|||||||
listForm: {
|
listForm: {
|
||||||
standNumber: "", //标准编号
|
standNumber: "", //标准编号
|
||||||
standName: "",//标准名称
|
standName: "",//标准名称
|
||||||
|
endTime:'',
|
||||||
standType: "", //标准类型
|
standType: "", //标准类型
|
||||||
XCXSSRQ: "", //新车型实施日期
|
XCXSSRQ: "", //新车型实施日期
|
||||||
ZCCSSRQ: "", //在产车实施日期
|
ZCCSSRQ: "", //在产车实施日期
|
||||||
|
|||||||
@@ -493,15 +493,18 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-save
|
:show-save="submitShow"
|
||||||
show-transfer
|
:show-transfer="submitShow"
|
||||||
show-submit
|
show-submit
|
||||||
|
:show-submit="submitShow"
|
||||||
|
:show-confirm="acceptShow"
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:transfer-loading="isTransfer"
|
:transfer-loading="isTransfer"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="saveLoading"
|
||||||
@save="handleSave"
|
@save="handleSave"
|
||||||
@transfer="handleTransfer"
|
@transfer="handleTransfer"
|
||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
|
@accept="handleAccept"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
<!-- 福田全公司选人解决方案 -->
|
<!-- 福田全公司选人解决方案 -->
|
||||||
@@ -520,7 +523,7 @@ import ProcessHeader from "../../components/ProcessHeader";
|
|||||||
import ProcessFooter from "../../components/ProcessFooter";
|
import ProcessFooter from "../../components/ProcessFooter";
|
||||||
import ProcessTitle from "../../components/ProcessTitle";
|
import ProcessTitle from "../../components/ProcessTitle";
|
||||||
import Moment from 'moment';
|
import Moment from 'moment';
|
||||||
import { inboundLiaisonDetail, saveTaskForPub ,changeAssigneeNew } from "api/process";
|
import { inboundLiaisonDetail, saveTaskForPub ,changeAssigneeNew,execTask } from "api/process";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "xmpgStep4",
|
name: "xmpgStep4",
|
||||||
@@ -551,6 +554,9 @@ export default {
|
|||||||
listType: "country", //选择的清单类型
|
listType: "country", //选择的清单类型
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
|
submitShow: false,
|
||||||
|
acceptShow: false,
|
||||||
|
todoId: '',
|
||||||
tabValue: "listOfCountries",
|
tabValue: "listOfCountries",
|
||||||
selectedList: [], //选择清单的选择框
|
selectedList: [], //选择清单的选择框
|
||||||
selectList: [], //选择标准的选择框
|
selectList: [], //选择标准的选择框
|
||||||
@@ -689,6 +695,15 @@ export default {
|
|||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res) {
|
if (res) {
|
||||||
const processForm = JSON.parse(res.mesg);
|
const processForm = JSON.parse(res.mesg);
|
||||||
|
let commitStatus = res.commitStatus
|
||||||
|
if(commitStatus && commitStatus > 0){
|
||||||
|
this.acceptShow = true
|
||||||
|
this.submitShow = false
|
||||||
|
}else {
|
||||||
|
this.acceptShow = false
|
||||||
|
this.submitShow = true
|
||||||
|
}
|
||||||
|
this.todoId = res.id
|
||||||
this.getFormFieldList(processForm);
|
this.getFormFieldList(processForm);
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
@@ -758,6 +773,19 @@ export default {
|
|||||||
this.saveLoading = false;
|
this.saveLoading = false;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
// 接受按钮
|
||||||
|
handleAccept(){
|
||||||
|
this.isSubmit = true
|
||||||
|
execTask({
|
||||||
|
todoId: this.todoId // 当前节点ID
|
||||||
|
}).then(res => {
|
||||||
|
if (res.sign && res.sign === '0') {
|
||||||
|
this.$message.success('接收成功')
|
||||||
|
this.$router.push('/processCenter')
|
||||||
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.listForm.prcCreateUser = this.$store.getters.userInfo.userId;
|
this.listForm.prcCreateUser = this.$store.getters.userInfo.userId;
|
||||||
|
|||||||
@@ -593,12 +593,11 @@ export default {
|
|||||||
* @description: 动态表单读取
|
* @description: 动态表单读取
|
||||||
*/
|
*/
|
||||||
getFormFieldList (item) {
|
getFormFieldList (item) {
|
||||||
console.log(item);
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.listForm = JSON.parse(JSON.stringify(item))
|
this.listForm = JSON.parse(JSON.stringify(item))
|
||||||
this.listForm.prcNum = this.prcNum
|
this.listForm.prcNum = this.prcNum
|
||||||
this.listForm.prcName = this.prcName
|
this.listForm.prcName = this.prcName
|
||||||
this.dataList = item.step3DTOS
|
this.dataList = item.dataList
|
||||||
this.listForm.id = item.step3DTOS[0].id
|
this.listForm.id = item.step3DTOS[0].id
|
||||||
this.listForm.standName = item.step3DTOS[0].standName
|
this.listForm.standName = item.step3DTOS[0].standName
|
||||||
this.listForm.standNumber = item.step3DTOS[0].standNumber
|
this.listForm.standNumber = item.step3DTOS[0].standNumber
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<ProcessHeader toggle>
|
<ProcessHeader toggle>
|
||||||
<template slot="proName">项目合规评估流程</template>
|
<template slot="proName">项目合规评估流程</template>
|
||||||
<template slot="proNode">标准法规部领导审批</template>
|
<template slot="proNode">标准法规部领导审批</template>
|
||||||
</ProcessHeader>xmpgStep7
|
</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 === '3' ? 'active' : ''" @click="handleTabs('3')">审批历史</div>
|
<div class="headerTabsItem" :class="active === '3' ? 'active' : ''" @click="handleTabs('3')">审批历史</div>
|
||||||
|
|||||||
@@ -42,6 +42,14 @@
|
|||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="截止日期" prop="endTime" class="add-form-item form-item-disabled">
|
||||||
|
<el-date-picker
|
||||||
|
v-model="listForm.endTime"
|
||||||
|
type="date"
|
||||||
|
placeholder="请选择截止日期"
|
||||||
|
value-format="yyyy-MM-dd">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</el-form>
|
</el-form>
|
||||||
@@ -374,6 +382,7 @@ export default {
|
|||||||
listForm: {
|
listForm: {
|
||||||
projectNumber: "", //项目编号
|
projectNumber: "", //项目编号
|
||||||
projectName: "", //项目名称
|
projectName: "", //项目名称
|
||||||
|
endTime: '',
|
||||||
dataList: [], //项目下的标准数据
|
dataList: [], //项目下的标准数据
|
||||||
breakdownList: [] //标准下的分解单数据
|
breakdownList: [] //标准下的分解单数据
|
||||||
},
|
},
|
||||||
@@ -386,7 +395,10 @@ export default {
|
|||||||
],
|
],
|
||||||
projectName: [
|
projectName: [
|
||||||
{ required: true, message: "请填写项目名称", trigger: "change" }
|
{ required: true, message: "请填写项目名称", trigger: "change" }
|
||||||
]
|
],
|
||||||
|
endTime: [
|
||||||
|
{required: true, message: '请输入截止时间', trigger: 'change'},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
//选人的验证
|
//选人的验证
|
||||||
roleFormRules: {
|
roleFormRules: {
|
||||||
|
|||||||
@@ -425,12 +425,15 @@
|
|||||||
show-save
|
show-save
|
||||||
show-submit
|
show-submit
|
||||||
show-transfer
|
show-transfer
|
||||||
|
:show-submit="submitShow"
|
||||||
|
:show-confirm="acceptShow"
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:transfer-loading="isTransfer"
|
:transfer-loading="isTransfer"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="saveLoading"
|
||||||
@save="handleSave"
|
@save="handleSave"
|
||||||
@transfer="handleTransfer"
|
@transfer="handleTransfer"
|
||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
|
@accept="handleAccept"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
<!-- 福田全公司选人解决方案 -->
|
<!-- 福田全公司选人解决方案 -->
|
||||||
@@ -518,7 +521,7 @@
|
|||||||
import ProcessHeader from "../../components/ProcessHeader";
|
import ProcessHeader from "../../components/ProcessHeader";
|
||||||
import ProcessFooter from "../../components/ProcessFooter";
|
import ProcessFooter from "../../components/ProcessFooter";
|
||||||
import ProcessTitle from "../../components/ProcessTitle";
|
import ProcessTitle from "../../components/ProcessTitle";
|
||||||
import {inboundLiaisonDetail, saveTaskForPub, changeAssigneeNew} from "api/process";
|
import {inboundLiaisonDetail, saveTaskForPub, changeAssigneeNew, execTask} from "api/process";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "xmpg2Step6",
|
name: "xmpg2Step6",
|
||||||
@@ -564,6 +567,9 @@ export default {
|
|||||||
processType: 1,
|
processType: 1,
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
|
submitShow: false,
|
||||||
|
acceptShow: false,
|
||||||
|
todoId: '',
|
||||||
showColumn: true,
|
showColumn: true,
|
||||||
drawerTitle: "", //drawer标题
|
drawerTitle: "", //drawer标题
|
||||||
modalshowflag: false, // drawer开关
|
modalshowflag: false, // drawer开关
|
||||||
@@ -785,6 +791,15 @@ export default {
|
|||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res) {
|
if (res) {
|
||||||
const processForm = JSON.parse(res.mesg);
|
const processForm = JSON.parse(res.mesg);
|
||||||
|
let commitStatus = res.commitStatus
|
||||||
|
if(commitStatus && commitStatus > 0){
|
||||||
|
this.acceptShow = true
|
||||||
|
this.submitShow = false
|
||||||
|
}else {
|
||||||
|
this.acceptShow = false
|
||||||
|
this.submitShow = true
|
||||||
|
}
|
||||||
|
this.todoId = res.id
|
||||||
this.getFormFieldList(processForm);
|
this.getFormFieldList(processForm);
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
@@ -840,6 +855,19 @@ export default {
|
|||||||
this.saveLoading = false;
|
this.saveLoading = false;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
// 接受按钮
|
||||||
|
handleAccept(){
|
||||||
|
this.isSubmit = true
|
||||||
|
execTask({
|
||||||
|
todoId: this.todoId // 当前节点ID
|
||||||
|
}).then(res => {
|
||||||
|
if (res.sign && res.sign === '0') {
|
||||||
|
this.$message.success('接收成功')
|
||||||
|
this.$router.push('/processCenter')
|
||||||
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.isSubmit = true;
|
this.isSubmit = true;
|
||||||
|
|||||||
@@ -57,6 +57,14 @@
|
|||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-button size="mini" type="primary" style="margin-top: 1%;" @click="choiceList">选择清单</el-button>
|
<el-button size="mini" type="primary" style="margin-top: 1%;" @click="choiceList">选择清单</el-button>
|
||||||
|
<el-form-item label="截止日期" prop="endTime" class="add-form-item form-item-disabled">
|
||||||
|
<el-date-picker
|
||||||
|
v-model="qdform.endTime"
|
||||||
|
type="date"
|
||||||
|
placeholder="请选择截止日期"
|
||||||
|
value-format="yyyy-MM-dd">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</div>
|
</div>
|
||||||
@@ -424,7 +432,8 @@ export default {
|
|||||||
qdform: {
|
qdform: {
|
||||||
projectNumber: "",
|
projectNumber: "",
|
||||||
projectName: "",
|
projectName: "",
|
||||||
detailedListName: ""
|
detailedListName: "",
|
||||||
|
endTime:'',
|
||||||
},
|
},
|
||||||
roleForm: {
|
roleForm: {
|
||||||
startUserName: this.$store.getters.userInfo.userName,
|
startUserName: this.$store.getters.userInfo.userName,
|
||||||
@@ -444,7 +453,10 @@ export default {
|
|||||||
],
|
],
|
||||||
detailedListName: [
|
detailedListName: [
|
||||||
{ required: true, message: "请输入清单名称", trigger: "change" }
|
{ required: true, message: "请输入清单名称", trigger: "change" }
|
||||||
]
|
],
|
||||||
|
endTime: [
|
||||||
|
{required: true, message: '请输入截止时间', trigger: 'change'},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
// 角色验证
|
// 角色验证
|
||||||
roleFormRules: {
|
roleFormRules: {
|
||||||
|
|||||||
@@ -384,13 +384,17 @@
|
|||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-save
|
show-save
|
||||||
show-transfer
|
show-transfer
|
||||||
|
show-affirm
|
||||||
show-confirm
|
show-confirm
|
||||||
|
:show-submit="submitShow"
|
||||||
|
:show-confirm="acceptShow"
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:transfer-loading="isTransfer"
|
:transfer-loading="isTransfer"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="saveLoading"
|
||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
@transfer="handleTransfer"
|
@transfer="handleTransfer"
|
||||||
@save="handleSave"
|
@save="handleSave"
|
||||||
|
@accept="handleAccept"
|
||||||
:approval="true"
|
:approval="true"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
@@ -431,6 +435,9 @@ export default {
|
|||||||
processType: 1,
|
processType: 1,
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
|
submitShow: false,
|
||||||
|
acceptShow: false,
|
||||||
|
todoId: '',
|
||||||
projectId: "",
|
projectId: "",
|
||||||
detailedId: "",
|
detailedId: "",
|
||||||
standModel: false,
|
standModel: false,
|
||||||
@@ -568,6 +575,15 @@ export default {
|
|||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res) {
|
if (res) {
|
||||||
const processForm = JSON.parse(res.mesg);
|
const processForm = JSON.parse(res.mesg);
|
||||||
|
let commitStatus = res.commitStatus
|
||||||
|
if(commitStatus && commitStatus > 0){
|
||||||
|
this.acceptShow = true
|
||||||
|
this.submitShow = false
|
||||||
|
}else {
|
||||||
|
this.acceptShow = false
|
||||||
|
this.submitShow = true
|
||||||
|
}
|
||||||
|
this.todoId = res.id
|
||||||
this.getFormFieldList(processForm);
|
this.getFormFieldList(processForm);
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
@@ -617,6 +633,19 @@ export default {
|
|||||||
// });
|
// });
|
||||||
// });
|
// });
|
||||||
// },
|
// },
|
||||||
|
// 接受按钮
|
||||||
|
handleAccept(){
|
||||||
|
this.isSubmit = true
|
||||||
|
execTask({
|
||||||
|
todoId: this.todoId // 当前节点ID
|
||||||
|
}).then(res => {
|
||||||
|
if (res.sign && res.sign === '0') {
|
||||||
|
this.$message.success('接收成功')
|
||||||
|
this.$router.push('/processCenter')
|
||||||
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
},
|
||||||
//保存事件
|
//保存事件
|
||||||
handleSave() {
|
handleSave() {
|
||||||
this.saveLoading = true;
|
this.saveLoading = true;
|
||||||
|
|||||||
@@ -1072,7 +1072,7 @@
|
|||||||
width="500"
|
width="500"
|
||||||
:data="standSystemOptions"
|
:data="standSystemOptions"
|
||||||
:defaultProps="defaultProps" :checkedKeys="defaultCheckedKeys"
|
:defaultProps="defaultProps" :checkedKeys="defaultCheckedKeys"
|
||||||
:nodeKey="nodeKey" @popoverHide="popoverHide"></tree-select-new>
|
:nodeKey="nodeKey" @popoverHide="popoverHide" @popoverHideCancel="popoverHideCancel"></tree-select-new>
|
||||||
<tree-select-new
|
<tree-select-new
|
||||||
width="500"
|
width="500"
|
||||||
:lazy=true
|
:lazy=true
|
||||||
@@ -2406,6 +2406,9 @@ export default {
|
|||||||
this.modalShowFlag1 = false
|
this.modalShowFlag1 = false
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
},
|
},
|
||||||
|
popoverHideCancel(){
|
||||||
|
this.modalShowFlag1 = false
|
||||||
|
},
|
||||||
popoverHideBusVs(checkedIds, checkedData, isShow, isLoadChild, topId) {
|
popoverHideBusVs(checkedIds, checkedData, isShow, isLoadChild, topId) {
|
||||||
if (checkedData && checkedData.length != 0) {
|
if (checkedData && checkedData.length != 0) {
|
||||||
if (checkedData.length > 0) {
|
if (checkedData.length > 0) {
|
||||||
|
|||||||
@@ -882,7 +882,8 @@
|
|||||||
class="add-form-item"
|
class="add-form-item"
|
||||||
>
|
>
|
||||||
<template slot="label">关联模块--乘用车VPPS编码</template>
|
<template slot="label">关联模块--乘用车VPPS编码</template>
|
||||||
<el-input v-model="sarStandardsInfoEO.CYCVPPSBM" placeholder="选择乘用车VPPS编码" @click.native="choiceZRR2('cycvppsbm', '乘用车VPPS', sarStandardsInfoEO.cycvppsbm)"></el-input>
|
<el-input v-model="sarStandardsInfoEO.CYCVPPSBM" placeholder="选择乘用车VPPS编码"
|
||||||
|
@click.native="choiceZRR2('cycvppsbm', '乘用车VPPS', sarStandardsInfoEO.cycvppsbm)"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="field.attrField === 'KCCVPPSBM'">
|
<template v-else-if="field.attrField === 'KCCVPPSBM'">
|
||||||
@@ -1422,7 +1423,7 @@
|
|||||||
:url="url"
|
:url="url"
|
||||||
:urlChild="urlChild"
|
:urlChild="urlChild"
|
||||||
:defaultProps="defaultCodeProps" :checkedKeys="defaultCheckedKeys1"
|
:defaultProps="defaultCodeProps" :checkedKeys="defaultCheckedKeys1"
|
||||||
:nodeKey="nodeKeyCode" @popoverHide="popoverHideBusVs"></tree-select-new>
|
:nodeKey="nodeKeyCode" @popoverHide="popoverHideBusVs" @popoverHideCancel="popoverHideBusVsCancel"></tree-select-new>
|
||||||
<tree-select-new
|
<tree-select-new
|
||||||
width="500"
|
width="500"
|
||||||
:lazy=true
|
:lazy=true
|
||||||
@@ -1433,7 +1434,7 @@
|
|||||||
:url="url"
|
:url="url"
|
||||||
:urlChild="urlChild"
|
:urlChild="urlChild"
|
||||||
:defaultProps="defaultCodeProps" :checkedKeys="defaultCheckedKeys2"
|
:defaultProps="defaultCodeProps" :checkedKeys="defaultCheckedKeys2"
|
||||||
:nodeKey="nodeKeyCode" @popoverHide="popoverHideCarVs"></tree-select-new>
|
:nodeKey="nodeKeyCode" @popoverHide="popoverHideCarVs" @popoverHideCancel="popoverHideCarVsCancel"></tree-select-new>
|
||||||
<tree-select-new
|
<tree-select-new
|
||||||
width="500"
|
width="500"
|
||||||
:lazy=true
|
:lazy=true
|
||||||
@@ -1444,7 +1445,7 @@
|
|||||||
:url="url"
|
:url="url"
|
||||||
:urlChild="urlChild"
|
:urlChild="urlChild"
|
||||||
:defaultProps="defaultModelProps" :checkedKeys="defaultCheckedKeys3"
|
:defaultProps="defaultModelProps" :checkedKeys="defaultCheckedKeys3"
|
||||||
:nodeKey="nodeKeyModel" @popoverHide="popoverHideModel"></tree-select-new>
|
:nodeKey="nodeKeyModel" @popoverHide="popoverHideModel" @popoverHideCancel="popoverHideModelCancel"></tree-select-new>
|
||||||
<!-- 导入失败 -->
|
<!-- 导入失败 -->
|
||||||
<el-dialog :visible.sync="importFailed" :close-on-click-modal="false" width="400px">
|
<el-dialog :visible.sync="importFailed" :close-on-click-modal="false" width="400px">
|
||||||
<p slot="title" style="color:#f60">
|
<p slot="title" style="color:#f60">
|
||||||
@@ -2220,7 +2221,6 @@ export default {
|
|||||||
this.urlChild = "sarModelTree/childByList"
|
this.urlChild = "sarModelTree/childByList"
|
||||||
},
|
},
|
||||||
popoverHideBusVs(checkedIds, checkedData, isShow, isLoadChild, topId) {
|
popoverHideBusVs(checkedIds, checkedData, isShow, isLoadChild, topId) {
|
||||||
debugger
|
|
||||||
if (checkedData) {
|
if (checkedData) {
|
||||||
if (checkedData.length > 0) {
|
if (checkedData.length > 0) {
|
||||||
this.sarStandardsInfoEO.CYCVPPSBM = checkedData.map(item => item.code).join(",")
|
this.sarStandardsInfoEO.CYCVPPSBM = checkedData.map(item => item.code).join(",")
|
||||||
@@ -2233,6 +2233,9 @@ export default {
|
|||||||
this.modalShowFlag2 = false
|
this.modalShowFlag2 = false
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
},
|
},
|
||||||
|
popoverHideBusVsCancel(){
|
||||||
|
this.modalShowFlag2 = false
|
||||||
|
},
|
||||||
popoverHideCarVs(checkedIds, checkedData, isShow, isLoadChild, topId) {
|
popoverHideCarVs(checkedIds, checkedData, isShow, isLoadChild, topId) {
|
||||||
if (checkedData) {
|
if (checkedData) {
|
||||||
if (checkedData.length > 0) {
|
if (checkedData.length > 0) {
|
||||||
@@ -2245,6 +2248,8 @@ export default {
|
|||||||
}
|
}
|
||||||
this.modalShowFlag3 = false
|
this.modalShowFlag3 = false
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
|
},popoverHideCarVsCancel(){
|
||||||
|
this.modalShowFlag3 = false
|
||||||
},
|
},
|
||||||
popoverHideModel(checkedIds, checkedData, isShow, isLoadChild, topId) {
|
popoverHideModel(checkedIds, checkedData, isShow, isLoadChild, topId) {
|
||||||
if (checkedData) {
|
if (checkedData) {
|
||||||
@@ -2258,6 +2263,8 @@ export default {
|
|||||||
}
|
}
|
||||||
this.modalShowFlag4 = false
|
this.modalShowFlag4 = false
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
|
},popoverHideModelCancel(){
|
||||||
|
this.modalShowFlag4 = false
|
||||||
},
|
},
|
||||||
// 将文本状态的id与name对应
|
// 将文本状态的id与name对应
|
||||||
setMap(data) {
|
setMap(data) {
|
||||||
|
|||||||
Reference in New Issue
Block a user