@@ -216,7 +216,7 @@
|
|||||||
:loading="isSubmit"
|
:loading="isSubmit"
|
||||||
>{{ btnName }}</el-button
|
>{{ btnName }}</el-button
|
||||||
>
|
>
|
||||||
<!-- <el-button @click="uploadSave" type="primary">转换</Button>-->
|
<!--<el-button @click="uploadSave" type="primary">转换</Button>-->
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -53,7 +53,7 @@
|
|||||||
size="small"
|
size="small"
|
||||||
class="common-button-danger"
|
class="common-button-danger"
|
||||||
@click="beforeBack"
|
@click="beforeBack"
|
||||||
:loading="isSubmit"
|
:loading="isSubmitBack"
|
||||||
v-if="showBack">
|
v-if="showBack">
|
||||||
<i class="iconfont" style="font-size: 12px;"></i>
|
<i class="iconfont" style="font-size: 12px;"></i>
|
||||||
{{ backBTNText }}</el-button>
|
{{ backBTNText }}</el-button>
|
||||||
@@ -151,6 +151,11 @@ export default {
|
|||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false
|
default: false
|
||||||
},
|
},
|
||||||
|
// 保存按钮loading
|
||||||
|
isSubmitBack: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false
|
||||||
|
},
|
||||||
// 是否默认委托事件
|
// 是否默认委托事件
|
||||||
defaultEntrust: {
|
defaultEntrust: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
|
|||||||
@@ -45,18 +45,23 @@
|
|||||||
v-model="form.modelName"
|
v-model="form.modelName"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
<div v-if="form.modelName" @click="fileUpload" class="fileClass">
|
<!-- <div v-if="form.modelName" @click="fileUpload" class="fileClass">-->
|
||||||
{{ form.modelName }}
|
<!-- {{ form.modelName }}-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
<div v-else>
|
<!-- <div v-else>-->
|
||||||
<el-button
|
<!-- <el-button-->
|
||||||
type="primary"
|
<!-- type="primary"-->
|
||||||
class="common-button-primary"
|
<!-- class="common-button-primary"-->
|
||||||
@click="fileUpload"
|
<!-- @click="fileUpload"-->
|
||||||
size="mini">
|
<!-- size="mini">-->
|
||||||
点击上传
|
<!-- 点击上传-->
|
||||||
|
<!-- </el-button>-->
|
||||||
|
|
||||||
|
<el-button type="primary" @click="fileUpload">
|
||||||
|
<i class="el-icon-upload el-icon--right"></i>
|
||||||
|
{{isFileUploadStr}}
|
||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
@@ -169,6 +174,7 @@
|
|||||||
></Role-tree>
|
></Role-tree>
|
||||||
<el-dialog width='400px' :visible.sync="fileMadel" title="上传文件">
|
<el-dialog width='400px' :visible.sync="fileMadel" title="上传文件">
|
||||||
<el-upload
|
<el-upload
|
||||||
|
class="upload-demo"
|
||||||
multiple
|
multiple
|
||||||
drag
|
drag
|
||||||
:action="fileUrl"
|
:action="fileUrl"
|
||||||
@@ -177,13 +183,15 @@
|
|||||||
accept=".ZIP, .zip, .docx, .DOCX, .xls, .xlsx"
|
accept=".ZIP, .zip, .docx, .DOCX, .xls, .xlsx"
|
||||||
:before-upload="beginImportFile"
|
:before-upload="beginImportFile"
|
||||||
:on-success="importFileSuccess"
|
:on-success="importFileSuccess"
|
||||||
:show-file-list="false"
|
:on-progress="progressFile"
|
||||||
|
:show-file-list="true"
|
||||||
>
|
>
|
||||||
<div style="padding: 20px 0">
|
<div style="padding: 20px 0">
|
||||||
<i class="el-icon-upload" style="color: #3399ff"></i>
|
<i class="el-icon-upload" style="color: #3399ff"></i>
|
||||||
<p>点击或拖拽上传文件</p>
|
<p>点击或拖拽上传文件</p>
|
||||||
</div>
|
</div>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
|
<el-progress style="width: 380px; margin-top: 5px;" v-show="progressType" :percentage="loadProgress"></el-progress>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -198,6 +206,9 @@ export default {
|
|||||||
name: "bzdyStep1",
|
name: "bzdyStep1",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
isFileUploadStr:'点击上传',
|
||||||
|
progressType: false,
|
||||||
|
loadProgress: 0,
|
||||||
commentText: '',
|
commentText: '',
|
||||||
nodeList: [],
|
nodeList: [],
|
||||||
nodeList2: [],
|
nodeList2: [],
|
||||||
@@ -310,6 +321,10 @@ export default {
|
|||||||
this.drawerTitle = title
|
this.drawerTitle = title
|
||||||
this.modalshowflag = true
|
this.modalshowflag = true
|
||||||
},
|
},
|
||||||
|
progressFile (event, file, fileList) {
|
||||||
|
let loadProgress = Math.floor(event.percent)
|
||||||
|
this.loadProgress = loadProgress
|
||||||
|
},
|
||||||
// 导入按钮 上传之前的钩子
|
// 导入按钮 上传之前的钩子
|
||||||
beginImportFile (file) {
|
beginImportFile (file) {
|
||||||
var filename = file.name
|
var filename = file.name
|
||||||
@@ -318,11 +333,13 @@ export default {
|
|||||||
var fileSuffix = filename.substring(index1, index2)
|
var fileSuffix = filename.substring(index1, index2)
|
||||||
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
// const fileSuffix = file.name.split('.')[1] // 后缀名
|
||||||
// 判断上传文件格式
|
// 判断上传文件格式
|
||||||
|
this.progressType = true
|
||||||
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
if (fileSuffix === '.ppt' || fileSuffix === '.docx' || fileSuffix === '.DOCX' || fileSuffix === '.PPT' || fileSuffix === '.xls' || fileSuffix === '.xlsx') {
|
||||||
return true
|
return true
|
||||||
} else {
|
} else {
|
||||||
this.spinShow = false
|
this.spinShow = false
|
||||||
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS文件')
|
this.$message.error('文件' + file.name + '格式不正确,请上传PPT,DOCX,XLS文件')
|
||||||
|
this.progressType = false
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
// 判断文件上传大小
|
// 判断文件上传大小
|
||||||
@@ -331,6 +348,7 @@ export default {
|
|||||||
return true
|
return true
|
||||||
} else {
|
} else {
|
||||||
this.$message.error('文件' + file.name + '大小不超过200M')
|
this.$message.error('文件' + file.name + '大小不超过200M')
|
||||||
|
this.progressType = false
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
return true
|
return true
|
||||||
@@ -338,7 +356,10 @@ export default {
|
|||||||
// 导入标准数据成功后执行
|
// 导入标准数据成功后执行
|
||||||
importFileSuccess (response, file) {
|
importFileSuccess (response, file) {
|
||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
this.fileMadel = false
|
this.isFileUploadStr='点击查看已上传文件';
|
||||||
|
this.fileMadel = true;
|
||||||
|
this.loadProgress = 0
|
||||||
|
this.progressType = false
|
||||||
this.form.model = response.data.id
|
this.form.model = response.data.id
|
||||||
this.form.modelName = response.data.name
|
this.form.modelName = response.data.name
|
||||||
this.$message({
|
this.$message({
|
||||||
@@ -412,7 +433,7 @@ export default {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted () {}
|
mounted () {},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@@ -102,12 +102,12 @@
|
|||||||
width="100"
|
width="100"
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<!-- <el-table-column-->
|
||||||
prop="itemsTitle"
|
<!-- prop="itemsTitle"-->
|
||||||
label="条款内容"
|
<!-- label="条款内容"-->
|
||||||
show-overflow-tooltip
|
<!-- show-overflow-tooltip-->
|
||||||
align="center">
|
<!-- align="center">-->
|
||||||
</el-table-column>
|
<!-- </el-table-column>-->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="technicalRequir"
|
prop="technicalRequir"
|
||||||
width="150"
|
width="150"
|
||||||
@@ -118,7 +118,6 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
v-if="sarType === 'INLAND'"
|
|
||||||
prop="changePoint"
|
prop="changePoint"
|
||||||
width="150"
|
width="150"
|
||||||
label="基于上一版本差异"
|
label="基于上一版本差异"
|
||||||
@@ -538,17 +537,17 @@
|
|||||||
}
|
}
|
||||||
itemList.forEach(item => {
|
itemList.forEach(item => {
|
||||||
item.unitDeptName = this.$store.getters.userInfo.orgName
|
item.unitDeptName = this.$store.getters.userInfo.orgName
|
||||||
item.onlineData = ''
|
item.onlineData = item.onlineData || ''
|
||||||
item.newData = ''
|
item.newData = item.newData || ''
|
||||||
item.complianceState = ''
|
item.complianceState = item.complianceState || ''
|
||||||
item.oldNumber = ''
|
item.oldNumber = item.oldNumber || ''
|
||||||
item.complianceRequir = '1'
|
item.complianceRequir = item.complianceRequir || '1'
|
||||||
item.changePoint = ''
|
item.changePoint = item.changePoint || ''
|
||||||
item.technicalRequir = ''
|
item.technicalRequir = item.technicalRequir || ''
|
||||||
item.itemsTitle = item.itermsConditions
|
item.itemsTitle = item.itermsConditions
|
||||||
})
|
})
|
||||||
console.log(2);
|
|
||||||
this.itemList = itemList
|
this.itemList = itemList
|
||||||
|
console.log(this.itemList)
|
||||||
this.loading = false
|
this.loading = false
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -155,6 +155,21 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
<el-collapse accordion>
|
||||||
|
<el-collapse-item title="意见填写">
|
||||||
|
<div style="margin: 10px 0;">
|
||||||
|
<el-input
|
||||||
|
type="textarea"
|
||||||
|
:rows="3"
|
||||||
|
resize="none"
|
||||||
|
placeholder="请输入意见"
|
||||||
|
v-model="commentText">
|
||||||
|
</el-input>
|
||||||
|
</div>
|
||||||
|
</el-collapse-item>
|
||||||
|
</el-collapse>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-show="active === '2'">
|
<div class="content" v-show="active === '2'">
|
||||||
<div class="block" style="padding-top: 20px;">
|
<div class="block" style="padding-top: 20px;">
|
||||||
@@ -735,6 +750,7 @@ export default {
|
|||||||
pageSizeNo: this.$store.getters.userInfo.configContent
|
pageSizeNo: this.$store.getters.userInfo.configContent
|
||||||
},
|
},
|
||||||
standList: [], //新添加的标准
|
standList: [], //新添加的标准
|
||||||
|
commentText: '',
|
||||||
modalshowflag: false, // drawer开关
|
modalshowflag: false, // drawer开关
|
||||||
modalshowflag2: false,
|
modalshowflag2: false,
|
||||||
nodeList2: [],
|
nodeList2: [],
|
||||||
@@ -1052,6 +1068,7 @@ export default {
|
|||||||
if (this.dataList.length < 1) {
|
if (this.dataList.length < 1) {
|
||||||
this.$message.warning("标准不能为空");
|
this.$message.warning("标准不能为空");
|
||||||
} else {
|
} else {
|
||||||
|
this.listForm.commentText = this.commentText
|
||||||
var json = Object.assign(this.listForm, this.roleForm);
|
var json = Object.assign(this.listForm, this.roleForm);
|
||||||
this.$refs["qdfbForm"].validate((valid) => {
|
this.$refs["qdfbForm"].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
|
|||||||
@@ -134,6 +134,21 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
<el-collapse accordion>
|
||||||
|
<el-collapse-item title="意见填写">
|
||||||
|
<div style="margin: 10px 0;">
|
||||||
|
<el-input
|
||||||
|
type="textarea"
|
||||||
|
:rows="3"
|
||||||
|
resize="none"
|
||||||
|
placeholder="请输入意见"
|
||||||
|
v-model="commentText">
|
||||||
|
</el-input>
|
||||||
|
</div>
|
||||||
|
</el-collapse-item>
|
||||||
|
</el-collapse>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-show="active === '3'">
|
<div class="content" v-show="active === '3'">
|
||||||
<div class="flow-list">
|
<div class="flow-list">
|
||||||
@@ -421,6 +436,7 @@ export default {
|
|||||||
totalNo: 0,
|
totalNo: 0,
|
||||||
prcNum: '',
|
prcNum: '',
|
||||||
pageSizeNo: this.$store.getters.userInfo.configContent,
|
pageSizeNo: this.$store.getters.userInfo.configContent,
|
||||||
|
commentText:'',
|
||||||
listForm: {
|
listForm: {
|
||||||
listName: "", //清单名称
|
listName: "", //清单名称
|
||||||
// applyRegion: "", //适用区域
|
// applyRegion: "", //适用区域
|
||||||
@@ -677,6 +693,7 @@ export default {
|
|||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
|
this.listForm.commentText = this.commentText
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
|
|||||||
@@ -0,0 +1,537 @@
|
|||||||
|
<!--标准法规清单发布 - 业务经理审批-->
|
||||||
|
<template>
|
||||||
|
<div class="bzqdfb-step4">
|
||||||
|
<ProcessHeader toggle>
|
||||||
|
<template slot="proName">标准清单发布/更新流程</template>
|
||||||
|
<template slot="proNode">业务经理审批</template>
|
||||||
|
</ProcessHeader>
|
||||||
|
<div class="headerTabs">
|
||||||
|
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||||
|
<div class="headerTabsItem" :class="active === '3' ? 'active' : ''" @click="handleTabs('3')">审批历史</div>
|
||||||
|
</div>
|
||||||
|
<div class="content" v-show="active == '1'">
|
||||||
|
<div style="flex: auto; overflow: auto">
|
||||||
|
<process-title>
|
||||||
|
<template slot="title">基础信息</template>
|
||||||
|
</process-title>
|
||||||
|
<el-form
|
||||||
|
:model="listForm"
|
||||||
|
class="label-input-form prc-content-border"
|
||||||
|
label-width="150px"
|
||||||
|
>
|
||||||
|
<el-row :gutter="24">
|
||||||
|
<el-col :span="24">
|
||||||
|
<el-form-item label="清单名称" prop="listName" class="add-form-item form-item-disabled">
|
||||||
|
<el-input
|
||||||
|
disabled
|
||||||
|
v-model="listForm.listName"
|
||||||
|
placeholder="请输入清单名称"
|
||||||
|
clearable
|
||||||
|
></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="清单说明" prop="descriptionList" class="add-form-item form-item-disabled">
|
||||||
|
<el-input
|
||||||
|
disabled
|
||||||
|
v-model="listForm.descriptionList"
|
||||||
|
placeholder="请输入清单说明"
|
||||||
|
clearable
|
||||||
|
></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="附件" prop="modelName" class="add-form-item form-item-disabled">
|
||||||
|
<div class="file-box" v-if="listForm.model">
|
||||||
|
<p> {{ listForm.modelName }}
|
||||||
|
<i
|
||||||
|
title="下载"
|
||||||
|
@click="downloadFile(listForm.model)"
|
||||||
|
class="icon-download"
|
||||||
|
v-btn-permission="''"
|
||||||
|
/>
|
||||||
|
<i
|
||||||
|
title="下载带水印"
|
||||||
|
@click="downloadFileByWater(listForm.model,listForm.modelName)"
|
||||||
|
class="icon-download2"
|
||||||
|
v-btn-permission="''"
|
||||||
|
/>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div v-else>
|
||||||
|
暂无数据
|
||||||
|
</div>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
</el-form>
|
||||||
|
<process-title>
|
||||||
|
<template slot="title">填写信息</template>
|
||||||
|
</process-title>
|
||||||
|
<el-table
|
||||||
|
:data="dataList"
|
||||||
|
border
|
||||||
|
height="64.6%"
|
||||||
|
style="width: 100%"
|
||||||
|
@selection-change="selectStandChange"
|
||||||
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||||
|
fontWeight: 'bold', height: '48px'}">
|
||||||
|
<el-table-column
|
||||||
|
prop="code"
|
||||||
|
width="180px"
|
||||||
|
label="标准号">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<a v-if="scope.row.standYear" class="table-jump"
|
||||||
|
@click="handlePreview(scope.row)">{{ scope.row.standSortShow }} {{
|
||||||
|
scope.row.standNumber
|
||||||
|
}}-{{ scope.row.standYear }}</a>
|
||||||
|
<a v-else @click="handlePreview(scope.row)" class="table-jump">{{
|
||||||
|
scope.row.standSortShow }}
|
||||||
|
{{ scope.row.standNumber }}</a>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="standName"
|
||||||
|
label="标准名称"
|
||||||
|
width="260px"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="issueTime"
|
||||||
|
sortable
|
||||||
|
label="发布日期">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="XCXSSRQ"
|
||||||
|
sortable
|
||||||
|
label="新车型实施日期">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.XCXSSRQ ? $moment(scope.row.XCXSSRQ).format("YYYY-MM-DD") : "" }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
show-overflow-tooltip
|
||||||
|
prop="ZCCSSRQ"
|
||||||
|
sortable
|
||||||
|
label="在产车实施日期">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.ZCCSSRQ ? $moment(scope.row.ZCCSSRQ).format("YYYY-MM-DD") : "" }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
show-overflow-tooltip
|
||||||
|
prop="textStatus"
|
||||||
|
width="120px"
|
||||||
|
label="文本状态">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ textStatusMap[scope.row.textStatus] }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<el-collapse accordion>
|
||||||
|
<el-collapse-item title="意见填写">
|
||||||
|
<div style="margin: 10px 0;">
|
||||||
|
<el-input
|
||||||
|
type="textarea"
|
||||||
|
:rows="3"
|
||||||
|
resize="none"
|
||||||
|
placeholder="请输入意见"
|
||||||
|
v-model="commentText">
|
||||||
|
</el-input>
|
||||||
|
</div>
|
||||||
|
</el-collapse-item>
|
||||||
|
</el-collapse>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="content" v-show="active === '3'">
|
||||||
|
<div class="flow-list">
|
||||||
|
<el-table
|
||||||
|
height="100%"
|
||||||
|
ref="selection"
|
||||||
|
:data="detailData"
|
||||||
|
tooltip-effect="dark"
|
||||||
|
style="width: 100%"
|
||||||
|
border
|
||||||
|
row-key="id"
|
||||||
|
:no-data-text="listNoDataText"
|
||||||
|
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}"
|
||||||
|
>
|
||||||
|
<el-table-column
|
||||||
|
type="selection"
|
||||||
|
width="55"
|
||||||
|
align="center">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="name"
|
||||||
|
label="任务步骤"
|
||||||
|
align="center"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="assignee"
|
||||||
|
label="任务受理人"
|
||||||
|
align="center"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="createTime"
|
||||||
|
label="创建时间"
|
||||||
|
sortable="custom"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.createTime ? $moment(scope.row.createTime).format("YYYY-MM-DD") : "" }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="endTime"
|
||||||
|
label="完成时间"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.endTime ? $moment(scope.row.endTime).format("YYYY-MM-DD") : "" }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="comment"
|
||||||
|
label="审批意见"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.commentText }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="completeFlag"
|
||||||
|
label="状态"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.endTime ? "已完成" : "未完成" }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
<loading :loading="loading">流程列表加载中</loading>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import ProcessHeader from "../../components/ProcessHeader";
|
||||||
|
import ProcessFooter from "../../components/ProcessFooter";
|
||||||
|
import ProcessTitle from "../../components/ProcessTitle";
|
||||||
|
import { inboundLiaisonDetail } from "api/process";
|
||||||
|
export default {
|
||||||
|
name: "bzqdfbStep1-4",
|
||||||
|
components: {
|
||||||
|
ProcessHeader,
|
||||||
|
ProcessFooter,
|
||||||
|
ProcessTitle
|
||||||
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
detailData: [],
|
||||||
|
// 当前流程类型(1待办/2已办)
|
||||||
|
processType: 1,
|
||||||
|
loading: false,
|
||||||
|
dataList: [],//清单里的标准数据
|
||||||
|
approvalOpinion: "", // 通过0/驳回1
|
||||||
|
active: "1",
|
||||||
|
listType: "country", //选择的清单类型
|
||||||
|
isSubmit: false,
|
||||||
|
saveLoading: false,
|
||||||
|
tabValue: "listOfCountries",
|
||||||
|
selectedList: [], //选择清单的选择框
|
||||||
|
selectList: [], //选择标准的选择框
|
||||||
|
bringData: [],
|
||||||
|
commentText: "", //填写会签意见
|
||||||
|
page: 1,
|
||||||
|
total: 0,
|
||||||
|
pageSize: this.$store.getters.userInfo.configContent,
|
||||||
|
listForm: {
|
||||||
|
listType: "", //区分是哪个清单
|
||||||
|
listName: "", //清单名称
|
||||||
|
descriptionList: "", //清单说明
|
||||||
|
enclosure: "", //附件
|
||||||
|
signFlag: "1", //是否会签 1为会签 2为不会签
|
||||||
|
approvalOpinion: "", // 通过/驳回
|
||||||
|
dataList: [{
|
||||||
|
standNumber: "", //标准号
|
||||||
|
cnName: "", //中文名称
|
||||||
|
enName: "", //英文名称
|
||||||
|
isSubTime: "", //发布日期
|
||||||
|
newCarTime: "", //新车型实施日期
|
||||||
|
oldCarTime: "", //在产车实施日期
|
||||||
|
applyCar: "", //适用车型
|
||||||
|
textState: "", //文本状态
|
||||||
|
id: ""
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
choiceForm: {}, //选择标准清单列表
|
||||||
|
// countryOptions: [], //适用区域下拉框数据
|
||||||
|
userId: this.$store.getters.userInfo.userId,
|
||||||
|
taskIds: this.$route.query.taskIds,
|
||||||
|
pId: this.$route.query.prcId,
|
||||||
|
signFlag: "1", //是否会签 1为会签 2为不会签
|
||||||
|
user1: "",
|
||||||
|
user2: "",
|
||||||
|
user3: "",
|
||||||
|
user4: "",
|
||||||
|
user5: "",
|
||||||
|
standMap: new Map(),
|
||||||
|
textStatusMap: {}// 文本状态id与name对应
|
||||||
|
};
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
processTable() {
|
||||||
|
this.$http.get("lawss/activiti/get_list_by_instance", {
|
||||||
|
prcNum: this.$route.query.prcNum,
|
||||||
|
sortWord: this.shunxu ? this.paixu : "",
|
||||||
|
shunxu: this.shunxu
|
||||||
|
}, {
|
||||||
|
loading: "loading",
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
this.detailData = res;
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
},
|
||||||
|
//tab发生变化
|
||||||
|
handleTabs(name) {
|
||||||
|
this.active = name;
|
||||||
|
},
|
||||||
|
choiceShow() {
|
||||||
|
this.ListModel = true;
|
||||||
|
},
|
||||||
|
// 点击查看
|
||||||
|
handlePreview(item) {
|
||||||
|
let routeUrl = this.$router.resolve({
|
||||||
|
name: "OtherStandardDetails",
|
||||||
|
params: {
|
||||||
|
id: item.id,
|
||||||
|
pageType: "INLAND_STAND"
|
||||||
|
}
|
||||||
|
});
|
||||||
|
window.open(routeUrl.href, "_blank");
|
||||||
|
},
|
||||||
|
//保存事件
|
||||||
|
handleSave() {
|
||||||
|
|
||||||
|
},
|
||||||
|
getData() {
|
||||||
|
return new Promise((resolve, reject) => {
|
||||||
|
inboundLiaisonDetail({
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
pId: this.pId
|
||||||
|
}).then(res => {
|
||||||
|
if (res) {
|
||||||
|
const processForm = JSON.parse(res.mesg);
|
||||||
|
this.getFormFieldList(processForm);
|
||||||
|
}
|
||||||
|
}).catch(e => {
|
||||||
|
});
|
||||||
|
});
|
||||||
|
},
|
||||||
|
/**
|
||||||
|
* @description: 动态表单读取
|
||||||
|
*/
|
||||||
|
getFormFieldList(item) {
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.listForm = JSON.parse(JSON.stringify(item));
|
||||||
|
this.listForm.prcNum = this.prcNum;
|
||||||
|
this.listForm.prcName = this.prcName;
|
||||||
|
this.listForm["id"] = item.id;
|
||||||
|
this.listForm.dataList = item.dataList;
|
||||||
|
this.dataList = item.dataList;
|
||||||
|
this.listForm.applyUpdUserId = item.applyUpdUserId;
|
||||||
|
this.listForm.jlUserId = item.jlUserId;
|
||||||
|
this.listForm.zrUserId = item.zrUserId;
|
||||||
|
});
|
||||||
|
},
|
||||||
|
// 请求上传的文件信息
|
||||||
|
getFileInfo() {
|
||||||
|
this.$http.get("att/attFile/getMultiFileInfos", {
|
||||||
|
fileIds: this.fileIds
|
||||||
|
}, {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
console.log(res);
|
||||||
|
this.$nextTick(() => {
|
||||||
|
res.data.map(item => {
|
||||||
|
this.listForm.modelName = item.oldFileName;
|
||||||
|
this.listForm.model = item.id;
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
},
|
||||||
|
/**
|
||||||
|
* @Description: 点击下载
|
||||||
|
*/
|
||||||
|
downloadFile(attId) {
|
||||||
|
if (attId != null && attId !== "") {
|
||||||
|
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId;
|
||||||
|
} else {
|
||||||
|
this.$message.error("请选择要下载的文件");
|
||||||
|
}
|
||||||
|
},
|
||||||
|
downloadFileByWater(attId, fileSuffix) {
|
||||||
|
let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
|
||||||
|
if (fileExtension !== "pdf" && fileExtension !== "PDF") {
|
||||||
|
this.$message.error("水印下载仅支持PDF,pdf格式文件");
|
||||||
|
} else {
|
||||||
|
if (attId != null && attId !== "") {
|
||||||
|
window.location.href = "/api/att/attFile/downloadFileForSarWaterMark?fileId=" + attId;
|
||||||
|
} else {
|
||||||
|
this.$message.error("请选择要下载的文件");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
//驳回事件
|
||||||
|
beforeBack() {
|
||||||
|
if (this.commentText === null || this.commentText === undefined || this.commentText === "") {
|
||||||
|
this.$message.warning("请填写审批意见");
|
||||||
|
} else {
|
||||||
|
this.listForm.approvalOpinion = "1";
|
||||||
|
this.handleSubmit();
|
||||||
|
}
|
||||||
|
},
|
||||||
|
//提交事件
|
||||||
|
handleSubmit() {
|
||||||
|
this.isSubmit = true
|
||||||
|
this.listForm.commentText = this.commentText;
|
||||||
|
const json = JSON.stringify(this.listForm);
|
||||||
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
userId: this.userId,
|
||||||
|
json: json
|
||||||
|
}, {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success(res.message);
|
||||||
|
this.$router.push("/processCenter");
|
||||||
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
});
|
||||||
|
},
|
||||||
|
//选择标准取消事件
|
||||||
|
closeDrawer() {
|
||||||
|
this.ListModel = false;
|
||||||
|
},
|
||||||
|
//标准表格选择框改变
|
||||||
|
selectStandChange(data) {
|
||||||
|
this.selectList = [];
|
||||||
|
for (let i = 0; i < data.length; i++) {
|
||||||
|
this.selectList.push(data[i].id);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
selectThree() {
|
||||||
|
|
||||||
|
},
|
||||||
|
pageChange(page) {
|
||||||
|
this.page = page;
|
||||||
|
this.searchData();
|
||||||
|
},
|
||||||
|
pageSizeChange(pageSize) {
|
||||||
|
this.pageSize = this.$store.getters.userInfo.configContent;
|
||||||
|
this.searchData();
|
||||||
|
},
|
||||||
|
// 将文本状态的id与name对应
|
||||||
|
setMap(data) {
|
||||||
|
data.forEach(item => {
|
||||||
|
this.$set(this.textStatusMap, item.value, item.label);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
computed: {
|
||||||
|
listNoDataText() {
|
||||||
|
return this.processType === 1 ? "暂无待办流程" : "暂无已办流程";
|
||||||
|
}
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
//从数据库中查询下拉框数据
|
||||||
|
this.$http.get("sys/dictype/getDicTypeListCode", {}, {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
this.countryOptions = res.data.COUNTRY;
|
||||||
|
this.standStateOptions = res.data.WBZTCLASS; // 文本状态
|
||||||
|
this.setMap(this.standStateOptions);
|
||||||
|
});
|
||||||
|
this.getData();
|
||||||
|
this.processTable();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less" scoped>
|
||||||
|
@import '~@/assets/styles/style';
|
||||||
|
|
||||||
|
.bzqdfb-step4 {
|
||||||
|
/deep/ .el-drawer__container {
|
||||||
|
.prc-content-border {
|
||||||
|
border: none;
|
||||||
|
padding: 0 20px 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.choiceBtn {
|
||||||
|
.el-button--primary {
|
||||||
|
width: 150px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
position: relative;
|
||||||
|
height: 100%;
|
||||||
|
|
||||||
|
.headerTabs {
|
||||||
|
height: 52px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
right: 10px;
|
||||||
|
|
||||||
|
.headerTabsItem {
|
||||||
|
border: 1px solid #c1c1c1;
|
||||||
|
padding: 0 5px;
|
||||||
|
height: 30px;
|
||||||
|
line-height: 30px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.active {
|
||||||
|
border: 1px solid #E6A23C;
|
||||||
|
color: #fff;
|
||||||
|
background: #E6A23C;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.content {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: space-between;
|
||||||
|
height: calc(~'100% - 103px');
|
||||||
|
overflow: auto;
|
||||||
|
|
||||||
|
.tableTitle {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
height: 30px;
|
||||||
|
line-height: 30px;
|
||||||
|
position: relative;
|
||||||
|
font-size: 13px;
|
||||||
|
font-weight: bold;
|
||||||
|
|
||||||
|
.tableButton {
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.accessStandardsAndRegulations {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.demo-drawer-content {
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
@@ -158,6 +158,21 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
<el-collapse accordion>
|
||||||
|
<el-collapse-item title="意见填写">
|
||||||
|
<div style="margin: 10px 0;">
|
||||||
|
<el-input
|
||||||
|
type="textarea"
|
||||||
|
:rows="3"
|
||||||
|
resize="none"
|
||||||
|
placeholder="请输入意见"
|
||||||
|
v-model="commentText">
|
||||||
|
</el-input>
|
||||||
|
</div>
|
||||||
|
</el-collapse-item>
|
||||||
|
</el-collapse>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-show="active === '2'">
|
<div class="content" v-show="active === '2'">
|
||||||
<div class="block" style="padding-top: 20px;">
|
<div class="block" style="padding-top: 20px;">
|
||||||
@@ -712,6 +727,7 @@ export default {
|
|||||||
pageSizeNo: this.$store.getters.userInfo.configContent
|
pageSizeNo: this.$store.getters.userInfo.configContent
|
||||||
},
|
},
|
||||||
standList: [], //新添加的标准
|
standList: [], //新添加的标准
|
||||||
|
commentText: '',
|
||||||
modalshowflag: false, // drawer开关
|
modalshowflag: false, // drawer开关
|
||||||
modalshowflag2: false,
|
modalshowflag2: false,
|
||||||
nodeList2: [],
|
nodeList2: [],
|
||||||
@@ -1024,6 +1040,7 @@ export default {
|
|||||||
if (this.dataList.length < 1) {
|
if (this.dataList.length < 1) {
|
||||||
this.$message.warning("标准不能为空");
|
this.$message.warning("标准不能为空");
|
||||||
} else {
|
} else {
|
||||||
|
this.listForm.commentText = this.commentText
|
||||||
var json = Object.assign(this.listForm, this.roleForm);
|
var json = Object.assign(this.listForm, this.roleForm);
|
||||||
this.$refs["qdfbForm"].validate((valid) => {
|
this.$refs["qdfbForm"].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
|
|||||||
@@ -387,9 +387,6 @@ export default {
|
|||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
if (this.commentText === null || this.commentText === undefined || this.commentText === "") {
|
|
||||||
this.$message.warning("请填写会签意见");
|
|
||||||
}else{
|
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
this.listForm.approvalOpinion = "";
|
this.listForm.approvalOpinion = "";
|
||||||
@@ -410,7 +407,6 @@ export default {
|
|||||||
}, e => {
|
}, e => {
|
||||||
|
|
||||||
});
|
});
|
||||||
}
|
|
||||||
},
|
},
|
||||||
//选择标准取消事件
|
//选择标准取消事件
|
||||||
closeDrawer() {
|
closeDrawer() {
|
||||||
|
|||||||
@@ -149,6 +149,21 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
<el-collapse accordion>
|
||||||
|
<el-collapse-item title="意见填写">
|
||||||
|
<div style="margin: 10px 0;">
|
||||||
|
<el-input
|
||||||
|
type="textarea"
|
||||||
|
:rows="3"
|
||||||
|
resize="none"
|
||||||
|
placeholder="请输入意见"
|
||||||
|
v-model="commentText">
|
||||||
|
</el-input>
|
||||||
|
</div>
|
||||||
|
</el-collapse-item>
|
||||||
|
</el-collapse>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-show="active === '3'">
|
<div class="content" v-show="active === '3'">
|
||||||
<div class="flow-list">
|
<div class="flow-list">
|
||||||
@@ -392,6 +407,7 @@ export default {
|
|||||||
// 当前流程类型(1待办/2已办)
|
// 当前流程类型(1待办/2已办)
|
||||||
processType: 1,
|
processType: 1,
|
||||||
searching: false,
|
searching: false,
|
||||||
|
commentText:'',
|
||||||
standardTypeOptions: [
|
standardTypeOptions: [
|
||||||
{
|
{
|
||||||
value: "INLAND",
|
value: "INLAND",
|
||||||
@@ -711,6 +727,7 @@ export default {
|
|||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
|
this.listForm.commentText = this.commentText
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
|
|||||||
@@ -401,9 +401,6 @@ export default {
|
|||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
if (this.commentText === null || this.commentText === undefined || this.commentText === "") {
|
|
||||||
this.$message.warning("请填写审批意见");
|
|
||||||
} else {
|
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
@@ -420,7 +417,6 @@ export default {
|
|||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
});
|
});
|
||||||
}
|
|
||||||
},
|
},
|
||||||
//选择标准取消事件
|
//选择标准取消事件
|
||||||
closeDrawer() {
|
closeDrawer() {
|
||||||
|
|||||||
@@ -862,8 +862,13 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
downloadFile (fileType) {
|
downloadFile (fileType) {
|
||||||
|
//文件id中出现了','字符,去除掉
|
||||||
if(fileType === 'fbgbjbd'){
|
if(fileType === 'fbgbjbd'){
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.fbgbjbdFileId
|
if(this.fbgbjbdFileId.search(',')){
|
||||||
|
this.fbgbjbdFileId=this.fbgbjbdFileId.replace(",","");
|
||||||
|
console.log(this.fbgbjbdFileId);
|
||||||
|
}
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.fbgbjbdFileId
|
||||||
}else if(fileType === 'xgd'){
|
}else if(fileType === 'xgd'){
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.xgdFileId
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.xgdFileId
|
||||||
}else if(fileType === 'bpg'){
|
}else if(fileType === 'bpg'){
|
||||||
@@ -885,11 +890,12 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
getRule(){
|
getRule(){
|
||||||
|
|
||||||
if (this.formTongGuo.approvalOpinion === '0') {
|
if (this.formTongGuo.approvalOpinion === '0') {
|
||||||
this.rules.commentText.required = false
|
this.rules.commentText[0].required = false;
|
||||||
this.$refs.formTongGuo.clearValidate('commentText')
|
this.$refs.formTongGuo.clearValidate('commentText')
|
||||||
} else {
|
}else {
|
||||||
this.rules.commentText.required = true
|
this.rules.commentText[0].required = true;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
popoverHide (checkedIds, checkedData) {
|
popoverHide (checkedIds, checkedData) {
|
||||||
@@ -964,6 +970,7 @@
|
|||||||
this.caFileId = processForm.ca
|
this.caFileId = processForm.ca
|
||||||
this.zbjbdFileId = processForm.zbjbd
|
this.zbjbdFileId = processForm.zbjbd
|
||||||
this.getFormFieldList(processForm)
|
this.getFormFieldList(processForm)
|
||||||
|
console.log(processForm);
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -836,6 +836,10 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
downloadFile (fileType) {
|
downloadFile (fileType) {
|
||||||
if(fileType === 'fbgbjbd'){
|
if(fileType === 'fbgbjbd'){
|
||||||
|
if(this.fbgbjbdFileId.search(',')){
|
||||||
|
this.fbgbjbdFileId=this.fbgbjbdFileId.replace(",","");
|
||||||
|
console.log(this.fbgbjbdFileId);
|
||||||
|
}
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.fbgbjbdFileId
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.fbgbjbdFileId
|
||||||
}else if(fileType === 'xgd'){
|
}else if(fileType === 'xgd'){
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.xgdFileId
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.xgdFileId
|
||||||
|
|||||||
@@ -815,6 +815,10 @@
|
|||||||
methods: {
|
methods: {
|
||||||
downloadFile (fileType) {
|
downloadFile (fileType) {
|
||||||
if(fileType === 'fbgbjbd'){
|
if(fileType === 'fbgbjbd'){
|
||||||
|
if(this.fbgbjbdFileId.search(',')){
|
||||||
|
this.fbgbjbdFileId=this.fbgbjbdFileId.replace(",","");
|
||||||
|
console.log(this.fbgbjbdFileId);
|
||||||
|
}
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.fbgbjbdFileId
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.fbgbjbdFileId
|
||||||
}else if(fileType === 'xgd'){
|
}else if(fileType === 'xgd'){
|
||||||
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.xgdFileId
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + this.xgdFileId
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
<el-table-column type="selection" width="55" align="center"/>
|
<el-table-column type="selection" width="55" align="center"/>
|
||||||
<el-table-column prop="standSerialNumber" label="标准号" show-overflow-tooltip align="center">
|
<el-table-column prop="standSerialNumber" label="标准号" show-overflow-tooltip align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSerialNumber }}</a>
|
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standId }}</a>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="standName" align="center" show-overflow-tooltip label="标准名称">
|
<el-table-column prop="standName" align="center" show-overflow-tooltip label="标准名称">
|
||||||
@@ -102,7 +102,7 @@
|
|||||||
<h4>确认+选择责任人</h4>
|
<h4>确认+选择责任人</h4>
|
||||||
<div style="margin-top: 10px;width: 300px;">
|
<div style="margin-top: 10px;width: 300px;">
|
||||||
<el-input v-model="roleForm.dutyUser" style="display: none;"></el-input>
|
<el-input v-model="roleForm.dutyUser" style="display: none;"></el-input>
|
||||||
<el-input v-model="roleForm.dutyUserName" :disabled="true" placeholder="确认+选择责任人" @click.native="choiceZRR('dockUser', '选择标准法规工程师', roleForm.dockUser)">
|
<el-input v-model="roleForm.dutyUserName" :disabled="true" placeholder="确认+选择责任人">
|
||||||
</el-input>
|
</el-input>
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -114,7 +114,7 @@
|
|||||||
<h4>负责人</h4>
|
<h4>负责人</h4>
|
||||||
<div style="margin-top: 10px;width: 300px;">
|
<div style="margin-top: 10px;width: 300px;">
|
||||||
<el-input v-model="roleForm.uploadUser" style="display: none;"></el-input>
|
<el-input v-model="roleForm.uploadUser" style="display: none;"></el-input>
|
||||||
<el-input v-model="roleForm.uploadUserName" :disabled="true" placeholder="选择负责人" @click.native="choiceZRR('dockUser', '选择标准法规工程师', roleForm.dockUser)">
|
<el-input v-model="roleForm.uploadUserName" :disabled="true" placeholder="负责人">
|
||||||
</el-input>
|
</el-input>
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -126,7 +126,7 @@
|
|||||||
<h4>分发负责人</h4>
|
<h4>分发负责人</h4>
|
||||||
<div style="margin-top: 10px;width: 300px;">
|
<div style="margin-top: 10px;width: 300px;">
|
||||||
<el-input v-model="roleForm.checkUser" style="display: none;"></el-input>
|
<el-input v-model="roleForm.checkUser" style="display: none;"></el-input>
|
||||||
<el-input v-model="roleForm.checkUserName" :disabled="true" placeholder="分发负责人" @click.native="choiceZRR('dockUser', '选择标准法规工程师', roleForm.dockUser)">
|
<el-input v-model="roleForm.checkUserName" :disabled="true" placeholder="分发负责人">
|
||||||
</el-input>
|
</el-input>
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -148,7 +148,7 @@
|
|||||||
<el-form :modal="queryUnqualidiedData" inline class="label-input-form">
|
<el-form :modal="queryUnqualidiedData" inline class="label-input-form">
|
||||||
<el-form-item label="标准号/标准名称" class="search-item">
|
<el-form-item label="标准号/标准名称" class="search-item">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="queryUnqualidiedData.standSerialNumber"
|
v-model="queryUnqualidiedData.standId"
|
||||||
placeholder="请输入"
|
placeholder="请输入"
|
||||||
clearable
|
clearable
|
||||||
:maxlength="100"></el-input>
|
:maxlength="100"></el-input>
|
||||||
@@ -210,9 +210,9 @@
|
|||||||
@selection-change="selectedChange"
|
@selection-change="selectedChange"
|
||||||
>
|
>
|
||||||
<el-table-column type="selection" width="55" align="center"/>
|
<el-table-column type="selection" width="55" align="center"/>
|
||||||
<el-table-column prop="standSerialNumber" align="center" show-overflow-tooltip label="标准号">
|
<el-table-column prop="standId" align="center" show-overflow-tooltip label="标准号">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSerialNumber }}</a>
|
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standId }}</a>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="standName" align="center" show-overflow-tooltip label="标准名称">
|
<el-table-column prop="standName" align="center" show-overflow-tooltip label="标准名称">
|
||||||
@@ -291,6 +291,7 @@ export default {
|
|||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
total: 0,
|
total: 0,
|
||||||
closeState: '1',
|
closeState: '1',
|
||||||
|
standId: '',
|
||||||
standSerialNumber: '', // 标准号/名称
|
standSerialNumber: '', // 标准号/名称
|
||||||
productName: '', // 项目名称
|
productName: '', // 项目名称
|
||||||
responsibleUnit: '' // 责任部门
|
responsibleUnit: '' // 责任部门
|
||||||
|
|||||||
@@ -97,9 +97,9 @@
|
|||||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||||
fontWeight: 'bold', height: '48px'}">
|
fontWeight: 'bold', height: '48px'}">
|
||||||
<el-table-column type="selection" width="55" align="center"/>
|
<el-table-column type="selection" width="55" align="center"/>
|
||||||
<el-table-column prop="standSerialNumber" show-overflow-tooltip label="标准号" align="center">
|
<el-table-column prop="standId" show-overflow-tooltip label="标准号" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSerialNumber }}</a>
|
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standId }}</a>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="standName" align="center" show-overflow-tooltip label="标准名称">
|
<el-table-column prop="standName" align="center" show-overflow-tooltip label="标准名称">
|
||||||
|
|||||||
@@ -99,9 +99,9 @@
|
|||||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||||
fontWeight: 'bold', height: '48px'}">
|
fontWeight: 'bold', height: '48px'}">
|
||||||
<el-table-column type="selection" width="55" align="center"/>
|
<el-table-column type="selection" width="55" align="center"/>
|
||||||
<el-table-column prop="standSerialNumber" show-overflow-tooltip label="标准号" align="center">
|
<el-table-column prop="standId" show-overflow-tooltip label="标准号" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSerialNumber }}</a>
|
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standId }}</a>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="standName" align="center" show-overflow-tooltip label="标准名称">
|
<el-table-column prop="standName" align="center" show-overflow-tooltip label="标准名称">
|
||||||
|
|||||||
@@ -87,9 +87,9 @@
|
|||||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||||
fontWeight: 'bold', height: '48px'}">
|
fontWeight: 'bold', height: '48px'}">
|
||||||
<el-table-column type="selection" width="55" align="center"/>
|
<el-table-column type="selection" width="55" align="center"/>
|
||||||
<el-table-column prop="standSerialNumber" align="center" show-overflow-tooltip label="标准号">
|
<el-table-column prop="standId" align="center" show-overflow-tooltip label="标准号">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSerialNumber }}</a>
|
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standId }}</a>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="standName" align="center" show-overflow-tooltip label="标准名称">
|
<el-table-column prop="standName" align="center" show-overflow-tooltip label="标准名称">
|
||||||
@@ -118,6 +118,7 @@
|
|||||||
accept=".ZIP, .zip, .docx, .DOCX, .xls, .xlsx"
|
accept=".ZIP, .zip, .docx, .DOCX, .xls, .xlsx"
|
||||||
:before-upload="handleBeforeUpload"
|
:before-upload="handleBeforeUpload"
|
||||||
:before-remove="handleBeforeRemove"
|
:before-remove="handleBeforeRemove"
|
||||||
|
:on-remove="handleONRemove"
|
||||||
:on-success="handleOnsuccess"
|
:on-success="handleOnsuccess"
|
||||||
>
|
>
|
||||||
<el-button
|
<el-button
|
||||||
@@ -314,12 +315,7 @@ export default {
|
|||||||
}
|
}
|
||||||
this.dataList.forEach(item => {
|
this.dataList.forEach(item => {
|
||||||
if (item.fileText.length !== 0) {
|
if (item.fileText.length !== 0) {
|
||||||
item.fileText.forEach(item1 => {
|
this.fileTextList = item.fileText
|
||||||
this.fileTextList.push({
|
|
||||||
id: item1.id,
|
|
||||||
name: item1.name
|
|
||||||
})
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
@@ -335,10 +331,18 @@ export default {
|
|||||||
// 文件上传成功
|
// 文件上传成功
|
||||||
handleOnsuccess(res, file, fileList) {
|
handleOnsuccess(res, file, fileList) {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
this.newDataList.push({
|
if (this.fileTextList !== null) {
|
||||||
id: res.data.attId,
|
this.newDataList = this.fileTextList
|
||||||
name: res.data.standName
|
this.newDataList.push({
|
||||||
})
|
id: res.data.attId,
|
||||||
|
name: res.data.standName
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.newDataList.push({
|
||||||
|
id: res.data.attId,
|
||||||
|
name: res.data.standName
|
||||||
|
})
|
||||||
|
}
|
||||||
this.fileListData.fileText = this.newDataList
|
this.fileListData.fileText = this.newDataList
|
||||||
this.$message({
|
this.$message({
|
||||||
showClose: true,
|
showClose: true,
|
||||||
@@ -377,14 +381,17 @@ export default {
|
|||||||
},
|
},
|
||||||
// 移除上传的文件
|
// 移除上传的文件
|
||||||
handleBeforeRemove(file, fileList) {
|
handleBeforeRemove(file, fileList) {
|
||||||
|
this.fileListData.fileText = fileList
|
||||||
this.fileTextList = fileList
|
this.fileTextList = fileList
|
||||||
this.newDataList.forEach((item, index) => {
|
/* this.newDataList.forEach((item, index) => {
|
||||||
if (file.name === item.name || file.id === item.id) {
|
if (file.name === item.name || file.id === item.id) {
|
||||||
this.newDataList.splice(index, 1)
|
this.newDataList.splice(index, 1)
|
||||||
}
|
console.log(this.dataList)
|
||||||
})
|
|
||||||
},
|
|
||||||
|
|
||||||
|
}
|
||||||
|
})*/
|
||||||
|
},
|
||||||
|
handleONRemove() {},
|
||||||
/************ ********* *****************/
|
/************ ********* *****************/
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview (item) {
|
handlePreview (item) {
|
||||||
|
|||||||
@@ -87,9 +87,9 @@
|
|||||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||||
fontWeight: 'bold', height: '48px'}">
|
fontWeight: 'bold', height: '48px'}">
|
||||||
<el-table-column type="selection" width="55" align="center"/>
|
<el-table-column type="selection" width="55" align="center"/>
|
||||||
<el-table-column prop="standSerialNumber" align="center" show-overflow-tooltip label="标准号">
|
<el-table-column prop="standId" align="center" show-overflow-tooltip label="标准号">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSerialNumber }}</a>
|
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standId }}</a>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="standName" align="center" show-overflow-tooltip label="标准名称">
|
<el-table-column prop="standName" align="center" show-overflow-tooltip label="标准名称">
|
||||||
@@ -201,7 +201,7 @@
|
|||||||
approval
|
approval
|
||||||
@back="handleSubmitNo"
|
@back="handleSubmitNo"
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:isSubmitBack="backLoading"
|
||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
submitBTNText="同意"
|
submitBTNText="同意"
|
||||||
>
|
>
|
||||||
@@ -357,6 +357,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleSubmitNo() {
|
handleSubmitNo() {
|
||||||
|
this.backLoading = true
|
||||||
if (this.commentText) {
|
if (this.commentText) {
|
||||||
var json = {
|
var json = {
|
||||||
responUserInfo: {
|
responUserInfo: {
|
||||||
@@ -372,12 +373,13 @@ export default {
|
|||||||
}, {}, res => {
|
}, {}, res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success('驳回成功')
|
this.$message.success('驳回成功')
|
||||||
this.fileTextList = []
|
|
||||||
this.$router.push('/processCenter')
|
this.$router.push('/processCenter')
|
||||||
|
this.backLoading = false
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning('请输入反馈意见')
|
this.$message.warning('请输入反馈意见')
|
||||||
|
this.backLoading = false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//未整改项抽屉中的查询按钮
|
//未整改项抽屉中的查询按钮
|
||||||
|
|||||||
@@ -114,6 +114,21 @@
|
|||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
<el-collapse accordion>
|
||||||
|
<el-collapse-item title="意见填写">
|
||||||
|
<div style="margin: 10px 0;">
|
||||||
|
<el-input
|
||||||
|
type="textarea"
|
||||||
|
:rows="3"
|
||||||
|
resize="none"
|
||||||
|
placeholder="请输入意见"
|
||||||
|
v-model="commentText">
|
||||||
|
</el-input>
|
||||||
|
</div>
|
||||||
|
</el-collapse-item>
|
||||||
|
</el-collapse>
|
||||||
|
</div>
|
||||||
<div class="content" v-show="active === '2'">
|
<div class="content" v-show="active === '2'">
|
||||||
<div class="block" style="padding-top: 20px;">
|
<div class="block" style="padding-top: 20px;">
|
||||||
<el-timeline>
|
<el-timeline>
|
||||||
@@ -390,6 +405,7 @@ export default {
|
|||||||
drawerTitle: "", //drawer标题
|
drawerTitle: "", //drawer标题
|
||||||
// 查询相关参数
|
// 查询相关参数
|
||||||
searching: false,
|
searching: false,
|
||||||
|
commentText:'',
|
||||||
standardSearch: {
|
standardSearch: {
|
||||||
standType: "",
|
standType: "",
|
||||||
standName: ""
|
standName: ""
|
||||||
|
|||||||
@@ -0,0 +1,456 @@
|
|||||||
|
<!--项目评估流程- 业务经理审批 -->
|
||||||
|
<template>
|
||||||
|
<div class="xmpg-step2">
|
||||||
|
<ProcessHeader toggle>
|
||||||
|
<template slot="proName">项目合规评估流程</template>
|
||||||
|
<template slot="proNode">业务经理审批流程</template>
|
||||||
|
</ProcessHeader>
|
||||||
|
<div class="headerTabs">
|
||||||
|
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||||
|
<div class="headerTabsItem" :class="active === '3' ? 'active' : ''" @click="handleTabs('3')">审批历史</div>
|
||||||
|
</div>
|
||||||
|
<div class="content" v-show="active === '1'">
|
||||||
|
<div style="flex: auto; overflow: auto">
|
||||||
|
<process-title>
|
||||||
|
<template slot="title">基础信息</template>
|
||||||
|
</process-title>
|
||||||
|
<el-form
|
||||||
|
:model="listForm"
|
||||||
|
class="label-input-form prc-content-border"
|
||||||
|
label-width="150px"
|
||||||
|
>
|
||||||
|
<el-row :gutter="24">
|
||||||
|
<el-col :span="24">
|
||||||
|
<el-form-item label="标准编号" prop="standNumber" class="add-form-item form-item-disabled">
|
||||||
|
<el-input
|
||||||
|
v-model="listForm.standNumber"
|
||||||
|
placeholder="请输入标准编号"
|
||||||
|
disabled
|
||||||
|
></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="标准名称" prop="standName" class="add-form-item form-item-disabled">
|
||||||
|
<el-input
|
||||||
|
v-model="listForm.standName"
|
||||||
|
placeholder="请输入标准名称"
|
||||||
|
disabled
|
||||||
|
></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="认证工程师" prop="certifiedEngineerName" class="add-form-item form-item-disabled">
|
||||||
|
<el-input
|
||||||
|
disabled
|
||||||
|
v-model="listForm.certifiedEngineerName"
|
||||||
|
placeholder="请选择认证工程师"
|
||||||
|
></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="质量工程师" prop="qualityEngineerName" class="add-form-item form-item-disabled">
|
||||||
|
<el-input
|
||||||
|
disabled
|
||||||
|
v-model="listForm.qualityEngineerName"
|
||||||
|
placeholder="请选择质量工程师"
|
||||||
|
></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
</el-form>
|
||||||
|
<process-title>
|
||||||
|
<template slot="title">填写信息</template>
|
||||||
|
</process-title>
|
||||||
|
<el-table
|
||||||
|
:data="dataList"
|
||||||
|
border
|
||||||
|
ref="selection"
|
||||||
|
height="49%"
|
||||||
|
style="width: 100%;"
|
||||||
|
@selection-change="selectStandChange"
|
||||||
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||||
|
fontWeight: 'bold', height: '48px'}">
|
||||||
|
<el-table-column
|
||||||
|
type="selection"
|
||||||
|
width="55"
|
||||||
|
align="center">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="productLine"
|
||||||
|
label="条款号">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="productLine"
|
||||||
|
label="产品线">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="productLine"
|
||||||
|
label="项目名称">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="uname"
|
||||||
|
label="产品线责任人">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="distributePerson"
|
||||||
|
label="分发责任人">
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<el-collapse accordion>
|
||||||
|
<el-collapse-item title="意见填写">
|
||||||
|
<div style="margin: 10px 0;">
|
||||||
|
<el-input
|
||||||
|
type="textarea"
|
||||||
|
:rows="3"
|
||||||
|
resize="none"
|
||||||
|
placeholder="请输入意见"
|
||||||
|
v-model="commentText">
|
||||||
|
</el-input>
|
||||||
|
</div>
|
||||||
|
</el-collapse-item>
|
||||||
|
</el-collapse>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="content" v-show="active === '3'">
|
||||||
|
<div class="flow-list" style="height: 100%">
|
||||||
|
<el-table
|
||||||
|
height="100%"
|
||||||
|
ref="selection"
|
||||||
|
:data="detailData"
|
||||||
|
tooltip-effect="dark"
|
||||||
|
style="width: 100%"
|
||||||
|
border
|
||||||
|
row-key="id"
|
||||||
|
:no-data-text="listNoDataText"
|
||||||
|
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}"
|
||||||
|
>
|
||||||
|
<el-table-column
|
||||||
|
type="selection"
|
||||||
|
width="55"
|
||||||
|
align="center">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="name"
|
||||||
|
label="任务步骤"
|
||||||
|
align="center"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="assignee"
|
||||||
|
label="任务受理人"
|
||||||
|
align="center"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="createTime"
|
||||||
|
label="创建时间"
|
||||||
|
sortable="custom"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.createTime ? $moment(scope.row.createTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="endTime"
|
||||||
|
label="完成时间"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.endTime ? $moment(scope.row.endTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="comment"
|
||||||
|
label="审批意见"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{scope.row.commentText}}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="completeFlag"
|
||||||
|
label="状态"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.endTime ? '已完成' : '未完成'}}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
<loading :loading="loading">流程列表加载中</loading>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import ProcessHeader from "../../components/ProcessHeader";
|
||||||
|
import ProcessFooter from "../../components/ProcessFooter";
|
||||||
|
import ProcessTitle from "../../components/ProcessTitle";
|
||||||
|
import { inboundLiaisonDetail, queryDetail } from "api/process";
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name: "xmpgStep1-2",
|
||||||
|
components: {
|
||||||
|
ProcessHeader,
|
||||||
|
ProcessFooter,
|
||||||
|
ProcessTitle
|
||||||
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
detailData: [],
|
||||||
|
// 当前流程类型(1待办/2已办)
|
||||||
|
processType: 1,
|
||||||
|
loading: false,
|
||||||
|
dataList: [],//清单里的标准数据
|
||||||
|
active: "1",
|
||||||
|
userId:this.$store.getters.userInfo.userId,
|
||||||
|
taskIds: this.$route.query.taskIds,
|
||||||
|
pId: this.$route.query.prcId,
|
||||||
|
listType: "country", //选择的清单类型
|
||||||
|
isSubmit: false,
|
||||||
|
saveLoading: false,
|
||||||
|
tabValue: "listOfCountries",
|
||||||
|
selectedList: [], //选择清单的选择框
|
||||||
|
selectList: [], //选择标准的选择框
|
||||||
|
bringData: [],
|
||||||
|
commentText: "", //填写会签意见
|
||||||
|
page: 1,
|
||||||
|
total: 0,
|
||||||
|
pageSize: this.$store.getters.userInfo.configContent,
|
||||||
|
listForm: {
|
||||||
|
passFlag: " ", //空为审批通过 1 为驳回
|
||||||
|
standNumber: "", //标准编号
|
||||||
|
standName: "",//标准名称
|
||||||
|
certifiedEngineer: "", //认证工程师
|
||||||
|
qualityEngineer: "", //质量工程师
|
||||||
|
certifiedEngineerName: "", //认证工程师
|
||||||
|
qualityEngineerName: "", //质量工程师
|
||||||
|
breakdownList: [{
|
||||||
|
applyArctic: "",
|
||||||
|
busStandCover: "",
|
||||||
|
claimType: "",
|
||||||
|
id: "",
|
||||||
|
itemsName: "",
|
||||||
|
itemsNum: "",
|
||||||
|
responsibleUnit: "", //责任部门
|
||||||
|
responsibleEngineer: "", //责任工程师
|
||||||
|
standId: "",
|
||||||
|
svpps: ""
|
||||||
|
}],
|
||||||
|
dataList: [{
|
||||||
|
projectLine: "", //产品线
|
||||||
|
uname: "",//产品线责任人
|
||||||
|
projectManager:"",// 产品线责任人id
|
||||||
|
distributePerson: "", //分发责任人
|
||||||
|
distributePersonId: "", //分发责任人id
|
||||||
|
id: "",
|
||||||
|
sarStandProjectLibraries: [{
|
||||||
|
projectManager: '',
|
||||||
|
projectLevel: '',
|
||||||
|
projectNumber: '',
|
||||||
|
projectEndDate: '',
|
||||||
|
currentNode: '',
|
||||||
|
projectGroup: '',
|
||||||
|
productLine: '',
|
||||||
|
projectClassification: '',
|
||||||
|
projectStatus: '',
|
||||||
|
projectStartDate: '',
|
||||||
|
id: '',
|
||||||
|
projectName: '',
|
||||||
|
projectPlatfor: ''
|
||||||
|
}]
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
choiceForm: {}, //选择标准清单列表
|
||||||
|
countryOptions: [], //适用区域下拉框数据
|
||||||
|
user1: "",
|
||||||
|
user2: "",
|
||||||
|
user3: "",
|
||||||
|
user4: "",
|
||||||
|
user5: "",
|
||||||
|
standMap: new Map()
|
||||||
|
};
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
processTable () {
|
||||||
|
this.$http.get('lawss/activiti/get_list_by_instance', {
|
||||||
|
prcNum: this.$route.query.prcNum,
|
||||||
|
sortWord: this.shunxu ? this.paixu : '',
|
||||||
|
shunxu: this.shunxu
|
||||||
|
}, {
|
||||||
|
loading: 'loading',
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
this.detailData = res
|
||||||
|
}, e => {})
|
||||||
|
},
|
||||||
|
//tab发生变化
|
||||||
|
handleTabs(name) {
|
||||||
|
this.active = name;
|
||||||
|
},
|
||||||
|
getData() {
|
||||||
|
return new Promise((resolve, reject) => {
|
||||||
|
inboundLiaisonDetail({
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
pId: this.pId
|
||||||
|
}).then(res => {
|
||||||
|
if (res) {
|
||||||
|
const processForm = JSON.parse(res.mesg)
|
||||||
|
this.getFormFieldList(processForm)
|
||||||
|
}
|
||||||
|
}).catch(e => {
|
||||||
|
})
|
||||||
|
})
|
||||||
|
},
|
||||||
|
/**
|
||||||
|
* @description: 动态表单读取
|
||||||
|
*/
|
||||||
|
getFormFieldList (item) {
|
||||||
|
this.$nextTick(() => {
|
||||||
|
console.log(item);
|
||||||
|
this.listForm = JSON.parse(JSON.stringify(item))
|
||||||
|
this.listForm.prcNum = this.prcNum
|
||||||
|
this.listForm.prcName = this.prcName
|
||||||
|
this.listForm['id'] = item.id
|
||||||
|
this.listForm.dataList = item.dataList
|
||||||
|
this.dataList = item.dataList
|
||||||
|
this.dataList.distributePerson = item.dataList[0].distributePerson
|
||||||
|
this.listForm.breakdownList = item.breakdownList
|
||||||
|
})
|
||||||
|
},
|
||||||
|
//驳回事件
|
||||||
|
beforeBack () {
|
||||||
|
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
|
||||||
|
this.$message.warning('请填写审批意见')
|
||||||
|
}else{
|
||||||
|
this.listForm.passFlag = '1'
|
||||||
|
this.handleSubmit()
|
||||||
|
}
|
||||||
|
},
|
||||||
|
//提交事件
|
||||||
|
handleSubmit() {
|
||||||
|
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
|
||||||
|
this.$message.warning('请填写审批意见')
|
||||||
|
}else{
|
||||||
|
this.listForm.commentText = this.commentText
|
||||||
|
const json = JSON.stringify(this.listForm);
|
||||||
|
this.isSubmit = true
|
||||||
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
userId: this.userId,
|
||||||
|
json: json,
|
||||||
|
}, {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success(res.message)
|
||||||
|
this.$router.push('/processCenter')
|
||||||
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
//标准表格选择框改变
|
||||||
|
selectStandChange(data) {
|
||||||
|
this.selectList = [];
|
||||||
|
for (let i = 0; i < data.length; i++) {
|
||||||
|
this.selectList.push(data[i].id);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
selectThree() {
|
||||||
|
|
||||||
|
},
|
||||||
|
pageChange(page) {
|
||||||
|
this.page = page;
|
||||||
|
this.searchData();
|
||||||
|
},
|
||||||
|
pageSizeChange(pageSize) {
|
||||||
|
this.pageSize = this.$store.getters.userInfo.configContent;
|
||||||
|
this.searchData();
|
||||||
|
}
|
||||||
|
},
|
||||||
|
computed: {
|
||||||
|
listNoDataText () {
|
||||||
|
return this.processType === 1 ? '暂无待办流程' : '暂无已办流程'
|
||||||
|
},
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
this.processTable()
|
||||||
|
this.getData()
|
||||||
|
}
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less" scoped>
|
||||||
|
@import '~@/assets/styles/style';
|
||||||
|
|
||||||
|
.xmpg-step2 {
|
||||||
|
/deep/ .el-drawer__container {
|
||||||
|
.prc-content-border {
|
||||||
|
border: none;
|
||||||
|
padding: 0 20px 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.choiceBtn {
|
||||||
|
.el-button--primary {
|
||||||
|
width: 150px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
position: relative;
|
||||||
|
height: 100%;
|
||||||
|
|
||||||
|
.headerTabs {
|
||||||
|
height: 52px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
right: 10px;
|
||||||
|
|
||||||
|
.headerTabsItem {
|
||||||
|
border: 1px solid #c1c1c1;
|
||||||
|
padding: 0 5px;
|
||||||
|
height: 30px;
|
||||||
|
line-height: 30px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.active {
|
||||||
|
border: 1px solid #E6A23C;
|
||||||
|
color: #fff;
|
||||||
|
background: #E6A23C;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.content {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: space-between;
|
||||||
|
height: calc(~'100% - 103px');
|
||||||
|
overflow: auto;
|
||||||
|
|
||||||
|
.tableTitle {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
height: 30px;
|
||||||
|
line-height: 30px;
|
||||||
|
position: relative;
|
||||||
|
font-size: 13px;
|
||||||
|
font-weight: bold;
|
||||||
|
|
||||||
|
.tableButton {
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.accessStandardsAndRegulations {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.demo-drawer-content {
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
<template>
|
|
||||||
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
name: "xmpgStep1-4"
|
|
||||||
};
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style scoped>
|
|
||||||
|
|
||||||
</style>
|
|
||||||
@@ -0,0 +1,581 @@
|
|||||||
|
<!--评估流程 - 标准法规部领导审批 -->
|
||||||
|
<template>
|
||||||
|
<div class="xmpg-step7">
|
||||||
|
<ProcessHeader toggle>
|
||||||
|
<template slot="proName">项目合规评估流程</template>
|
||||||
|
<template slot="proNode">标准法规部领导审批</template>
|
||||||
|
</ProcessHeader>
|
||||||
|
<div class="headerTabs">
|
||||||
|
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||||
|
<div class="headerTabsItem" :class="active === '3' ? 'active' : ''" @click="handleTabs('3')">审批历史</div>
|
||||||
|
</div>
|
||||||
|
<div class="content" v-show="active === '1'">
|
||||||
|
<div style="flex: auto; overflow: auto">
|
||||||
|
<process-title>
|
||||||
|
<template slot="title">基础信息</template>
|
||||||
|
</process-title>
|
||||||
|
<el-form
|
||||||
|
:model="listForm"
|
||||||
|
class="label-input-form prc-content-border"
|
||||||
|
label-width="150px"
|
||||||
|
>
|
||||||
|
<el-row :gutter="24">
|
||||||
|
<el-col :span="24">
|
||||||
|
<el-form-item label="标准编号" prop="standNumber" class="add-form-item form-item-disabled">
|
||||||
|
<el-input
|
||||||
|
v-model="listForm.standNumber"
|
||||||
|
placeholder="请输入标准编号"
|
||||||
|
disabled
|
||||||
|
></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="标准名称" prop="standName" class="add-form-item form-item-disabled">
|
||||||
|
<el-input
|
||||||
|
v-model="listForm.standName"
|
||||||
|
placeholder="请输入标准名称"
|
||||||
|
disabled
|
||||||
|
></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="认证工程师" prop="certifiedEngineerName" class="add-form-item form-item-disabled">
|
||||||
|
<el-input
|
||||||
|
v-model="listForm.certifiedEngineerName"
|
||||||
|
placeholder="请选择认证工程师"
|
||||||
|
disabled
|
||||||
|
></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="质量工程师" prop="qualityEngineerName" class="add-form-item form-item-disabled">
|
||||||
|
<el-input
|
||||||
|
v-model="listForm.qualityEngineerName"
|
||||||
|
placeholder="请选择质量工程师"
|
||||||
|
disabled
|
||||||
|
></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
</el-form>
|
||||||
|
<process-title>
|
||||||
|
<template slot="title">填写信息</template>
|
||||||
|
</process-title>
|
||||||
|
<div class="tableTitle">
|
||||||
|
</div>
|
||||||
|
<el-table
|
||||||
|
ref="multipleTable"
|
||||||
|
:data="dataList"
|
||||||
|
tooltip-effect="dark"
|
||||||
|
style="width: 100%"
|
||||||
|
border
|
||||||
|
@selection-change="selectStandChange"
|
||||||
|
:height="sarProStateTableHeight"
|
||||||
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||||
|
fontWeight: 'bold', fontFamily: 'MicrosoftYaHei-Bold', height: '48px'}">
|
||||||
|
<el-table-column
|
||||||
|
type="selection"
|
||||||
|
width="55"
|
||||||
|
align="center">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="productLine"
|
||||||
|
align="center"
|
||||||
|
width="200"
|
||||||
|
label="产品线">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="projectNumber"
|
||||||
|
align="center"
|
||||||
|
width="200"
|
||||||
|
label="项目编号">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="projectName"
|
||||||
|
align="center"
|
||||||
|
width="200"
|
||||||
|
label="项目名称">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="itemNum"
|
||||||
|
align="center"
|
||||||
|
width="200"
|
||||||
|
label="条款号">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="itemsName"
|
||||||
|
width="200"
|
||||||
|
align="center"
|
||||||
|
label="条款名称">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="xCXSSRQ"
|
||||||
|
width="200"
|
||||||
|
align="center"
|
||||||
|
label="新车型实施日期">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.xCXSSRQ ? $moment(scope.row.xCXSSRQ).format('YYYY-MM-DD') : '' }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="zCCSSRQ"
|
||||||
|
width="200"
|
||||||
|
align="center"
|
||||||
|
label="在产车实施日期">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.zCCSSRQ ? $moment(scope.row.zCCSSRQ).format('YYYY-MM-DD') : '' }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="productType"
|
||||||
|
align="center"
|
||||||
|
label="在研产品">
|
||||||
|
<el-table-column
|
||||||
|
prop="complianceReasons"
|
||||||
|
align="center"
|
||||||
|
width="160"
|
||||||
|
label="合规">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
align="center"
|
||||||
|
width="160"
|
||||||
|
prop="researchNonCompliance"
|
||||||
|
label="不合规">
|
||||||
|
<el-table-column
|
||||||
|
prop="noCompliance"
|
||||||
|
align="center"
|
||||||
|
width="160"
|
||||||
|
label="不合规项目">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="countermeasures"
|
||||||
|
align="center"
|
||||||
|
width="160"
|
||||||
|
label="应对措施">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="completionTime"
|
||||||
|
align="center"
|
||||||
|
width="160"
|
||||||
|
label="完成时间">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.completionTime ? $moment(scope.row.completionTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
align="center"
|
||||||
|
label="在产产品">
|
||||||
|
<el-table-column
|
||||||
|
prop="zcComplianceReasons"
|
||||||
|
align="center"
|
||||||
|
width="160"
|
||||||
|
label="合规(具体情况)">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
align="center"
|
||||||
|
width="160"
|
||||||
|
label="不合规">
|
||||||
|
<el-table-column
|
||||||
|
prop="zcNoCompliance"
|
||||||
|
align="center"
|
||||||
|
width="160"
|
||||||
|
label="不合规项目">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="zcCountermeasures"
|
||||||
|
align="center"
|
||||||
|
width="160"
|
||||||
|
label="应对措施">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="zcCompletionTime"
|
||||||
|
align="center"
|
||||||
|
width="160"
|
||||||
|
label="完成时间">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.zcCompletionTime ? $moment(scope.row.zcCompletionTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
fixed="right"
|
||||||
|
align="center"
|
||||||
|
width="150"
|
||||||
|
prop="implementer"
|
||||||
|
label="落实人">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
fixed="right"
|
||||||
|
align="center"
|
||||||
|
width="150"
|
||||||
|
prop="distributePerson"
|
||||||
|
label="责任人">
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<el-collapse accordion>
|
||||||
|
<el-collapse-item title="意见填写">
|
||||||
|
<div style="margin: 10px 0;">
|
||||||
|
<el-input
|
||||||
|
type="textarea"
|
||||||
|
:rows="3"
|
||||||
|
resize="none"
|
||||||
|
placeholder="请输入意见"
|
||||||
|
v-model="commentText">
|
||||||
|
</el-input>
|
||||||
|
</div>
|
||||||
|
</el-collapse-item>
|
||||||
|
</el-collapse>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="content" v-show="active === '3'">
|
||||||
|
<div class="flow-list" style="height: 100%">
|
||||||
|
<el-table
|
||||||
|
height="100%"
|
||||||
|
ref="selection"
|
||||||
|
:data="detailData"
|
||||||
|
tooltip-effect="dark"
|
||||||
|
style="width: 100%"
|
||||||
|
border
|
||||||
|
row-key="id"
|
||||||
|
:no-data-text="listNoDataText"
|
||||||
|
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}"
|
||||||
|
>
|
||||||
|
<el-table-column
|
||||||
|
type="selection"
|
||||||
|
width="55"
|
||||||
|
align="center">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="name"
|
||||||
|
label="任务步骤"
|
||||||
|
align="center"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="assignee"
|
||||||
|
label="任务受理人"
|
||||||
|
align="center"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="createTime"
|
||||||
|
label="创建时间"
|
||||||
|
sortable="custom"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.createTime ? $moment(scope.row.createTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="endTime"
|
||||||
|
label="完成时间"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.endTime ? $moment(scope.row.endTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="comment"
|
||||||
|
label="审批意见"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{scope.row.commentText}}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="completeFlag"
|
||||||
|
label="状态"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.endTime ? '已完成' : '未完成'}}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
<loading :loading="loading">流程列表加载中</loading>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import ProcessHeader from "../../components/ProcessHeader";
|
||||||
|
import ProcessFooter from "../../components/ProcessFooter";
|
||||||
|
import ProcessTitle from "../../components/ProcessTitle";
|
||||||
|
import { inboundLiaisonDetail, queryDetail } from "api/process";
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name: "xmpgStep1-7",
|
||||||
|
components: {
|
||||||
|
ProcessHeader,
|
||||||
|
ProcessFooter,
|
||||||
|
ProcessTitle
|
||||||
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
detailData: [],
|
||||||
|
sarProStateTableHeight: null, // 项目列表高度
|
||||||
|
// 当前流程类型(1待办/2已办)
|
||||||
|
processType: 1,
|
||||||
|
loading: false,
|
||||||
|
dataList: [],
|
||||||
|
active: "1",
|
||||||
|
userId:this.$store.getters.userInfo.userId,
|
||||||
|
taskIds: this.$route.query.taskIds,
|
||||||
|
pId: this.$route.query.prcId,
|
||||||
|
listType: "country", //选择的清单类型
|
||||||
|
isSubmit: false,
|
||||||
|
saveLoading: false,
|
||||||
|
tabValue: "listOfCountries",
|
||||||
|
selectedList: [], //选择清单的选择框
|
||||||
|
selectList: [], //选择标准的选择框
|
||||||
|
bringData: [],
|
||||||
|
commentText: "", //填写会签意见
|
||||||
|
page: 1,
|
||||||
|
total: 0,
|
||||||
|
pageSize: this.$store.getters.userInfo.configContent,
|
||||||
|
listForm: {
|
||||||
|
fenFlag: '1', //1为通过 其他为驳回
|
||||||
|
standNumber: "", //标准编号
|
||||||
|
standName: "",//标准名称
|
||||||
|
certifiedEngineerName: "", //认证工程师
|
||||||
|
qualityEngineerName: "", //质量工程师
|
||||||
|
breakdownList: [{ //分解单数据
|
||||||
|
implementer: "",
|
||||||
|
applyArctic: "",
|
||||||
|
busStandCover: "",
|
||||||
|
claimType: "",
|
||||||
|
id: "",
|
||||||
|
itemsName: "",
|
||||||
|
itemsNum: "",
|
||||||
|
responsibleUnit: "",
|
||||||
|
standId: "",
|
||||||
|
svpps: ""
|
||||||
|
}],
|
||||||
|
dataList: [{
|
||||||
|
implementer: "",
|
||||||
|
projectLine: "", //产品线
|
||||||
|
uname: "",//产品线责任人
|
||||||
|
distributePerson: "", //分发责任人
|
||||||
|
distributePersonId: "", //分发责任人id
|
||||||
|
id: "",
|
||||||
|
sarStandProjectLibraries: [{
|
||||||
|
projectManager: "",
|
||||||
|
projectLevel: "",
|
||||||
|
projectNumber: "",
|
||||||
|
projectEndDate: "",
|
||||||
|
currentNode: "",
|
||||||
|
projectGroup: "",
|
||||||
|
productLine: "",
|
||||||
|
projectClassification: "",
|
||||||
|
projectStatus: "",
|
||||||
|
projectStartDate: "",
|
||||||
|
id: "",
|
||||||
|
projectName: "",
|
||||||
|
projectPlatfor: ""
|
||||||
|
}]
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
choiceForm: {}, //选择标准清单列表
|
||||||
|
countryOptions: [], //适用区域下拉框数据
|
||||||
|
user1: "",
|
||||||
|
user2: "",
|
||||||
|
user3: "",
|
||||||
|
user4: "",
|
||||||
|
user5: "",
|
||||||
|
standMap: new Map()
|
||||||
|
};
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
processTable () {
|
||||||
|
this.$http.get('lawss/activiti/get_list_by_instance', {
|
||||||
|
prcNum: this.$route.query.prcNum,
|
||||||
|
sortWord: this.shunxu ? this.paixu : '',
|
||||||
|
shunxu: this.shunxu
|
||||||
|
}, {
|
||||||
|
loading: 'loading',
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
this.detailData = res
|
||||||
|
}, e => {})
|
||||||
|
},
|
||||||
|
//tab发生变化
|
||||||
|
handleTabs(name) {
|
||||||
|
this.active = name;
|
||||||
|
},
|
||||||
|
getData() {
|
||||||
|
return new Promise((resolve, reject) => {
|
||||||
|
inboundLiaisonDetail({
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
pId: this.pId
|
||||||
|
}).then(res => {
|
||||||
|
if (res) {
|
||||||
|
const processForm = JSON.parse(res.mesg)
|
||||||
|
this.getFormFieldList(processForm)
|
||||||
|
}
|
||||||
|
}).catch(e => {
|
||||||
|
})
|
||||||
|
})
|
||||||
|
},
|
||||||
|
/**
|
||||||
|
* @description: 动态表单读取
|
||||||
|
*/
|
||||||
|
getFormFieldList (item) {
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.listForm = JSON.parse(JSON.stringify(item))
|
||||||
|
this.listForm.prcNum = this.prcNum
|
||||||
|
this.listForm.prcName = this.prcName
|
||||||
|
this.listForm['id'] = item.id
|
||||||
|
this.dataList = item.dataList
|
||||||
|
})
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
//驳回事件
|
||||||
|
beforeBack () {
|
||||||
|
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
|
||||||
|
this.$message.warning('请填写审批意见')
|
||||||
|
} else {
|
||||||
|
this.listForm.fenFlag = '2'
|
||||||
|
this.handleSubmit()
|
||||||
|
}
|
||||||
|
},
|
||||||
|
//提交事件
|
||||||
|
handleSubmit() {
|
||||||
|
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
|
||||||
|
this.$message.warning('请填写审批意见')
|
||||||
|
} else {
|
||||||
|
this.listForm.prcCreateUser = this.$store.getters.userInfo.userId;
|
||||||
|
this.listForm.applyUpdUserId = this.$store.getters.userInfo.userId;
|
||||||
|
this.listForm.prcCreateUserName = this.$store.getters.userInfo.account;
|
||||||
|
this.listForm.zrUserId = this.$store.getters.userInfo.userId ;
|
||||||
|
this.listForm.commentText = this.commentText;
|
||||||
|
this.listForm.standId = this.listForm.standId;
|
||||||
|
this.listForm.fenFlag = "1";
|
||||||
|
this.listForm.dataList = this.dataList
|
||||||
|
const json = JSON.stringify(this.listForm);
|
||||||
|
this.isSubmit = true
|
||||||
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
userId: this.userId,
|
||||||
|
json: json,
|
||||||
|
}, {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success(res.message)
|
||||||
|
this.$router.push('/processCenter')
|
||||||
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
}, e => {
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
//标准表格选择框改变
|
||||||
|
selectStandChange(data) {
|
||||||
|
this.selectList = [];
|
||||||
|
for (let i = 0; i < data.length; i++) {
|
||||||
|
this.selectList.push(data[i].id);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
selectThree() {
|
||||||
|
|
||||||
|
},
|
||||||
|
pageChange(page) {
|
||||||
|
this.page = page;
|
||||||
|
this.searchData();
|
||||||
|
},
|
||||||
|
pageSizeChange(pageSize) {
|
||||||
|
this.pageSize = this.$store.getters.userInfo.configContent;
|
||||||
|
this.searchData();
|
||||||
|
}
|
||||||
|
},
|
||||||
|
computed: {
|
||||||
|
listNoDataText () {
|
||||||
|
return this.processType === 1 ? '暂无待办流程' : '暂无已办流程'
|
||||||
|
},
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
this.processTable()
|
||||||
|
this.getData()
|
||||||
|
}
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less" scoped>
|
||||||
|
@import '~@/assets/styles/style';
|
||||||
|
|
||||||
|
.xmpg-step7 {
|
||||||
|
/deep/ .el-drawer__container {
|
||||||
|
.prc-content-border {
|
||||||
|
border: none;
|
||||||
|
padding: 0 20px 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.choiceBtn {
|
||||||
|
.el-button--primary {
|
||||||
|
width: 150px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
position: relative;
|
||||||
|
height: 100%;
|
||||||
|
|
||||||
|
.headerTabs {
|
||||||
|
height: 52px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
right: 10px;
|
||||||
|
|
||||||
|
.headerTabsItem {
|
||||||
|
border: 1px solid #c1c1c1;
|
||||||
|
padding: 0 5px;
|
||||||
|
height: 30px;
|
||||||
|
line-height: 30px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.active {
|
||||||
|
border: 1px solid #E6A23C;
|
||||||
|
color: #fff;
|
||||||
|
background: #E6A23C;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.content {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: space-between;
|
||||||
|
height: calc(~'100% - 103px');
|
||||||
|
overflow: auto;
|
||||||
|
|
||||||
|
.tableTitle {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
height: 30px;
|
||||||
|
line-height: 30px;
|
||||||
|
position: relative;
|
||||||
|
font-size: 13px;
|
||||||
|
font-weight: bold;
|
||||||
|
|
||||||
|
.tableButton {
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.accessStandardsAndRegulations {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.demo-drawer-content {
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
|
||||||
@@ -101,6 +101,21 @@
|
|||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
<el-collapse accordion>
|
||||||
|
<el-collapse-item title="意见填写">
|
||||||
|
<div style="margin: 10px 0;">
|
||||||
|
<el-input
|
||||||
|
type="textarea"
|
||||||
|
:rows="3"
|
||||||
|
resize="none"
|
||||||
|
placeholder="请输入意见"
|
||||||
|
v-model="commentText">
|
||||||
|
</el-input>
|
||||||
|
</div>
|
||||||
|
</el-collapse-item>
|
||||||
|
</el-collapse>
|
||||||
|
</div>
|
||||||
<div class="content" v-show="active === '2'">
|
<div class="content" v-show="active === '2'">
|
||||||
<div class="block" style="padding-top: 20px;">
|
<div class="block" style="padding-top: 20px;">
|
||||||
<el-timeline>
|
<el-timeline>
|
||||||
@@ -374,6 +389,7 @@ export default {
|
|||||||
productData: [], //添加抽屉的数据
|
productData: [], //添加抽屉的数据
|
||||||
standList: [], //新添加的标准
|
standList: [], //新添加的标准
|
||||||
modalshowflag: false, // drawer开关
|
modalshowflag: false, // drawer开关
|
||||||
|
commentText: '',
|
||||||
drawerTitle: "", //drawer标题
|
drawerTitle: "", //drawer标题
|
||||||
// 查询相关参数
|
// 查询相关参数
|
||||||
searching: false,
|
searching: false,
|
||||||
@@ -658,6 +674,7 @@ export default {
|
|||||||
this.$message.warning("请选择分发责任人");
|
this.$message.warning("请选择分发责任人");
|
||||||
} else {
|
} else {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
|
this.listForm.commentText = this.commentText;
|
||||||
var json = Object.assign(this.listForm, this.roleForm);
|
var json = Object.assign(this.listForm, this.roleForm);
|
||||||
this.$refs["listForm"].validate((valid) => {
|
this.$refs["listForm"].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
|
|||||||
@@ -336,9 +336,6 @@ export default {
|
|||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
|
|
||||||
this.$message.warning('请填写审批意见')
|
|
||||||
}else{
|
|
||||||
this.listForm.commentText = this.commentText
|
this.listForm.commentText = this.commentText
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
@@ -356,7 +353,7 @@ export default {
|
|||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
}
|
|
||||||
},
|
},
|
||||||
//标准表格选择框改变
|
//标准表格选择框改变
|
||||||
selectStandChange(data) {
|
selectStandChange(data) {
|
||||||
@@ -464,4 +461,3 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|||||||
@@ -126,6 +126,7 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
|
||||||
<!-- 选择责任人-->
|
<!-- 选择责任人-->
|
||||||
<Role-tree
|
<Role-tree
|
||||||
check-box
|
check-box
|
||||||
|
|||||||
@@ -246,21 +246,21 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<!-- <div>-->
|
<div>
|
||||||
<!-- <el-collapse accordion>-->
|
<el-collapse accordion>
|
||||||
<!-- <el-collapse-item title="填写评估反馈">-->
|
<el-collapse-item title="意见填写">
|
||||||
<!-- <div style="margin: 10px 0;">-->
|
<div style="margin: 10px 0;">
|
||||||
<!-- <el-input-->
|
<el-input
|
||||||
<!-- type="textarea"-->
|
type="textarea"
|
||||||
<!-- :rows="3"-->
|
:rows="3"
|
||||||
<!-- resize="none"-->
|
resize="none"
|
||||||
<!-- placeholder="请输入您的评估分析"-->
|
placeholder="请输入意见"
|
||||||
<!-- v-model="commentText">-->
|
v-model="commentText">
|
||||||
<!-- </el-input>-->
|
</el-input>
|
||||||
<!-- </div>-->
|
</div>
|
||||||
<!-- </el-collapse-item>-->
|
</el-collapse-item>
|
||||||
<!-- </el-collapse>-->
|
</el-collapse>
|
||||||
<!-- </div>-->
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="content" v-show="active === '3'">
|
<div class="content" v-show="active === '3'">
|
||||||
@@ -616,5 +616,3 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -447,9 +447,6 @@ export default {
|
|||||||
},
|
},
|
||||||
//驳回事件
|
//驳回事件
|
||||||
beforeBack () {
|
beforeBack () {
|
||||||
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
|
|
||||||
this.$message.warning('请填写审批意见')
|
|
||||||
} else {
|
|
||||||
this.listForm.applyUpdUserId = this.dataList[0].distributePersonId
|
this.listForm.applyUpdUserId = this.dataList[0].distributePersonId
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
this.listForm.dataList = this.dataList
|
this.listForm.dataList = this.dataList
|
||||||
@@ -468,17 +465,13 @@ export default {
|
|||||||
}
|
}
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
}
|
|
||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
|
|
||||||
this.$message.warning('请填写审批意见')
|
|
||||||
}else {
|
|
||||||
this.listForm.applyUpdUserId = this.dataList[0].distributePersonId
|
this.listForm.applyUpdUserId = this.dataList[0].distributePersonId
|
||||||
this.listForm.commentText = this.commentText;
|
|
||||||
this.listForm.dataList = this.dataList
|
this.listForm.dataList = this.dataList
|
||||||
this.listForm.fenFlag = '2'
|
this.listForm.fenFlag = '2'
|
||||||
|
this.listForm.commentText = this.commentText;
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
@@ -495,7 +488,7 @@ export default {
|
|||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
}
|
|
||||||
},
|
},
|
||||||
//标准表格选择框改变
|
//标准表格选择框改变
|
||||||
selectStandChange(data) {
|
selectStandChange(data) {
|
||||||
@@ -602,6 +595,4 @@ export default {
|
|||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -452,9 +452,6 @@ export default {
|
|||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
|
|
||||||
this.$message.warning('请填写审批意见')
|
|
||||||
} else {
|
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
this.listForm.prcCreateUser = this.$store.getters.userInfo.userId;
|
this.listForm.prcCreateUser = this.$store.getters.userInfo.userId;
|
||||||
this.listForm.applyUpdUserId = this.$store.getters.userInfo.userId;
|
this.listForm.applyUpdUserId = this.$store.getters.userInfo.userId;
|
||||||
@@ -480,7 +477,7 @@ export default {
|
|||||||
}, e => {
|
}, e => {
|
||||||
|
|
||||||
});
|
});
|
||||||
}
|
|
||||||
},
|
},
|
||||||
//标准表格选择框改变
|
//标准表格选择框改变
|
||||||
selectStandChange(data) {
|
selectStandChange(data) {
|
||||||
@@ -588,5 +585,3 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -451,9 +451,6 @@ export default {
|
|||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
|
|
||||||
this.$message.warning('请填写审批意见')
|
|
||||||
} else {
|
|
||||||
this.listForm.prcCreateUser = this.$store.getters.userInfo.userId;
|
this.listForm.prcCreateUser = this.$store.getters.userInfo.userId;
|
||||||
this.listForm.applyUpdUserId = this.$store.getters.userInfo.userId;
|
this.listForm.applyUpdUserId = this.$store.getters.userInfo.userId;
|
||||||
this.listForm.prcCreateUserName = this.$store.getters.userInfo.account;
|
this.listForm.prcCreateUserName = this.$store.getters.userInfo.account;
|
||||||
@@ -479,7 +476,6 @@ export default {
|
|||||||
}, e => {
|
}, e => {
|
||||||
|
|
||||||
});
|
});
|
||||||
}
|
|
||||||
},
|
},
|
||||||
//标准表格选择框改变
|
//标准表格选择框改变
|
||||||
selectStandChange(data) {
|
selectStandChange(data) {
|
||||||
@@ -514,7 +510,6 @@ export default {
|
|||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
@import '~@/assets/styles/style';
|
@import '~@/assets/styles/style';
|
||||||
|
|
||||||
.xmpg-step7 {
|
.xmpg-step7 {
|
||||||
/deep/ .el-drawer__container {
|
/deep/ .el-drawer__container {
|
||||||
.prc-content-border {
|
.prc-content-border {
|
||||||
|
|||||||
@@ -87,22 +87,22 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="xcxssrqgj"
|
prop="xcxssrq"
|
||||||
width="190px"
|
width="190px"
|
||||||
align="center"
|
align="center"
|
||||||
label="新车型实施日期">
|
label="新车型实施日期">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.xcxssrqgj ? $moment(scope.row.xcxssrqgj).format("YYYY-MM-DD") : "" }}</span>
|
<span>{{ scope.row.xcxssrq ? $moment(scope.row.xcxssrq).format("YYYY-MM-DD") : "" }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zccssrqgj"
|
prop="zccssrq"
|
||||||
align="center"
|
align="center"
|
||||||
sortable
|
sortable
|
||||||
width="190px"
|
width="190px"
|
||||||
label="在产车实施日期">
|
label="在产车实施日期">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.zccssrqgj ? $moment(scope.row.zccssrqgj).format("YYYY-MM-DD") : "" }}</span>
|
<span>{{ scope.row.zccssrq ? $moment(scope.row.zccssrq).format("YYYY-MM-DD") : "" }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -140,6 +140,21 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
<el-collapse accordion>
|
||||||
|
<el-collapse-item title="意见填写">
|
||||||
|
<div style="margin: 10px 0;">
|
||||||
|
<el-input
|
||||||
|
type="textarea"
|
||||||
|
:rows="3"
|
||||||
|
resize="none"
|
||||||
|
placeholder="请输入意见"
|
||||||
|
v-model="commentText">
|
||||||
|
</el-input>
|
||||||
|
</div>
|
||||||
|
</el-collapse-item>
|
||||||
|
</el-collapse>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-show="active === '2'">
|
<div class="content" v-show="active === '2'">
|
||||||
<div class="block" style="padding-top: 20px;">
|
<div class="block" style="padding-top: 20px;">
|
||||||
@@ -337,6 +352,7 @@ export default {
|
|||||||
active: "1", //当前选中的type
|
active: "1", //当前选中的type
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
|
commentText: '',
|
||||||
//表单的数据
|
//表单的数据
|
||||||
listForm: {
|
listForm: {
|
||||||
projectNumber: "", //项目编号
|
projectNumber: "", //项目编号
|
||||||
@@ -406,7 +422,6 @@ export default {
|
|||||||
queryTaskFirst({
|
queryTaskFirst({
|
||||||
bpnId: this.$route.query.bpnId
|
bpnId: this.$route.query.bpnId
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
console.log(res.mes);
|
|
||||||
let mes = JSON.parse(res.mes);
|
let mes = JSON.parse(res.mes);
|
||||||
this.listForm = mes.form;
|
this.listForm = mes.form;
|
||||||
this.dataList = mes.form.dataList;
|
this.dataList = mes.form.dataList;
|
||||||
@@ -522,6 +537,7 @@ export default {
|
|||||||
},
|
},
|
||||||
//流程提交事件
|
//流程提交事件
|
||||||
handleSubmit(){
|
handleSubmit(){
|
||||||
|
this.listForm.commentText = this.commentText;
|
||||||
var json = Object.assign(this.listForm, this.roleForm)
|
var json = Object.assign(this.listForm, this.roleForm)
|
||||||
json.prcCreateUser = this.$store.getters.userInfo.userId;
|
json.prcCreateUser = this.$store.getters.userInfo.userId;
|
||||||
json.prcCreateUserName = this.$store.getters.userInfo.uName;
|
json.prcCreateUserName = this.$store.getters.userInfo.uName;
|
||||||
@@ -530,6 +546,7 @@ export default {
|
|||||||
if (valid) {
|
if (valid) {
|
||||||
this.$refs['roleForm'].validate((valid) => {
|
this.$refs['roleForm'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
|
this.isSubmit = true
|
||||||
this.$http.get("lawss/activiti/startProcess", { type: "6" }, {
|
this.$http.get("lawss/activiti/startProcess", { type: "6" }, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
@@ -545,6 +562,7 @@ export default {
|
|||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
|
this.isSubmit = false
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -0,0 +1,532 @@
|
|||||||
|
<template>
|
||||||
|
<div class="xmpg2-step12">
|
||||||
|
<ProcessHeader toggle>
|
||||||
|
<template slot="proName">项目合规评估流程-项目</template>
|
||||||
|
<template slot="proNode">责任人审核</template>
|
||||||
|
</ProcessHeader>
|
||||||
|
<div class="headerTabs">
|
||||||
|
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||||
|
<div class="headerTabsItem" :class="active === '3' ? 'active' : ''" @click="handleTabs('3')">审批历史</div>
|
||||||
|
</div>
|
||||||
|
<div class="content" v-show="active === '1'">
|
||||||
|
<div style="flex: auto; overflow: auto">
|
||||||
|
<process-title>
|
||||||
|
<template slot="title">基础信息</template>
|
||||||
|
</process-title>
|
||||||
|
<el-form
|
||||||
|
:model="listForm"
|
||||||
|
class="label-input-form prc-content-border"
|
||||||
|
label-width="150px"
|
||||||
|
>
|
||||||
|
<el-row :gutter="24">
|
||||||
|
<el-col :span="24">
|
||||||
|
<el-form-item label="项目编号" prop="projectNumber" class="add-form-item form-item-disabled">
|
||||||
|
<el-input
|
||||||
|
v-model="listForm.projectNumber"
|
||||||
|
placeholder="请输入项目编号"
|
||||||
|
disabled
|
||||||
|
clearable
|
||||||
|
></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="项目名称" prop="projectName" class="add-form-item form-item-disabled">
|
||||||
|
<el-input
|
||||||
|
v-model="listForm.projectName"
|
||||||
|
placeholder="请输入项目名称"
|
||||||
|
disabled
|
||||||
|
clearable
|
||||||
|
></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
</el-form>
|
||||||
|
<process-title style="margin-top:5px; margin-bottom: 5px">
|
||||||
|
<template slot="title">填写信息</template>
|
||||||
|
</process-title>
|
||||||
|
<el-table
|
||||||
|
:data="dataList"
|
||||||
|
style="width: 100%; border: 1px solid #cccccc"
|
||||||
|
row-key="standId"
|
||||||
|
height="70%"
|
||||||
|
border
|
||||||
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||||
|
fontWeight: 'bold', height: '48px'}"
|
||||||
|
>
|
||||||
|
<el-table-column
|
||||||
|
type="selection"
|
||||||
|
width="55"
|
||||||
|
align="center">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="standEnName"
|
||||||
|
label="标准编号"
|
||||||
|
width="180"
|
||||||
|
fixed="left"
|
||||||
|
align="center"
|
||||||
|
>
|
||||||
|
<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 @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standSort }}
|
||||||
|
{{ scope.row.standNumber }}</a>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="standName"
|
||||||
|
fixed="left"
|
||||||
|
width="180"
|
||||||
|
align="center"
|
||||||
|
label="标准名称"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="itemsNum"
|
||||||
|
align="center"
|
||||||
|
width="200"
|
||||||
|
label="条款号">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="itemsName"
|
||||||
|
width="200"
|
||||||
|
align="center"
|
||||||
|
label="条款名称">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="xcxssrqgj"
|
||||||
|
width="200"
|
||||||
|
align="center"
|
||||||
|
label="新车型实施日期">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.xcxssrqgj ? $moment(scope.row.xcxssrqgj).format("YYYY-MM-DD") : "" }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="zccssrqgj"
|
||||||
|
width="200"
|
||||||
|
align="center"
|
||||||
|
label="在产车实施日期">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.zccssrqgj ? $moment(scope.row.zccssrqgj).format("YYYY-MM-DD") : "" }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="productType"
|
||||||
|
align="center"
|
||||||
|
label="在研产品">
|
||||||
|
<el-table-column
|
||||||
|
prop="complianceReasons"
|
||||||
|
align="center"
|
||||||
|
width="160"
|
||||||
|
label="合规">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
align="center"
|
||||||
|
width="160"
|
||||||
|
prop="researchNonCompliance"
|
||||||
|
label="不合规">
|
||||||
|
<el-table-column
|
||||||
|
prop="noCompliance"
|
||||||
|
align="center"
|
||||||
|
width="160"
|
||||||
|
label="不合规项目">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="countermeasures"
|
||||||
|
align="center"
|
||||||
|
width="160"
|
||||||
|
label="应对措施">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="completionTime"
|
||||||
|
align="center"
|
||||||
|
width="160"
|
||||||
|
label="完成时间">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.completionTime ? $moment(scope.row.completionTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
align="center"
|
||||||
|
label="在产产品">
|
||||||
|
<el-table-column
|
||||||
|
prop="zcComplianceReasons"
|
||||||
|
align="center"
|
||||||
|
width="160"
|
||||||
|
label="合规(具体情况)">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
align="center"
|
||||||
|
width="160"
|
||||||
|
label="不合规">
|
||||||
|
<el-table-column
|
||||||
|
prop="zcNoCompliance"
|
||||||
|
align="center"
|
||||||
|
width="160"
|
||||||
|
label="不合规项目">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="zcCountermeasures"
|
||||||
|
align="center"
|
||||||
|
width="160"
|
||||||
|
label="应对措施">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="zcCompletionTime"
|
||||||
|
align="center"
|
||||||
|
width="160"
|
||||||
|
label="完成时间">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.zcCompletionTime ? $moment(scope.row.zcCompletionTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="workPeople"
|
||||||
|
align="center"
|
||||||
|
width="200"
|
||||||
|
label="责任人">
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<el-collapse accordion>
|
||||||
|
<el-collapse-item title="意见填写">
|
||||||
|
<div style="margin: 10px 0;">
|
||||||
|
<el-input
|
||||||
|
type="textarea"
|
||||||
|
:rows="3"
|
||||||
|
resize="none"
|
||||||
|
placeholder="请输入意见"
|
||||||
|
v-model="commentText">
|
||||||
|
</el-input>
|
||||||
|
</div>
|
||||||
|
</el-collapse-item>
|
||||||
|
</el-collapse>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="content" v-show="active === '3'">
|
||||||
|
<div class="flow-list" style="height: 100%">
|
||||||
|
<el-table
|
||||||
|
height="100%"
|
||||||
|
ref="selection"
|
||||||
|
:data="detailData"
|
||||||
|
tooltip-effect="dark"
|
||||||
|
style="width: 100%"
|
||||||
|
border
|
||||||
|
row-key="id"
|
||||||
|
:no-data-text="listNoDataText"
|
||||||
|
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}"
|
||||||
|
>
|
||||||
|
<el-table-column
|
||||||
|
type="selection"
|
||||||
|
width="55"
|
||||||
|
align="center">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="name"
|
||||||
|
label="任务步骤"
|
||||||
|
align="center"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="assignee"
|
||||||
|
label="任务受理人"
|
||||||
|
align="center"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="createTime"
|
||||||
|
label="创建时间"
|
||||||
|
sortable="custom"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.createTime ? $moment(scope.row.createTime).format("YYYY-MM-DD") : "" }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="endTime"
|
||||||
|
label="完成时间"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.endTime ? $moment(scope.row.endTime).format("YYYY-MM-DD") : "" }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="comment"
|
||||||
|
label="审批意见"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.commentText }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="completeFlag"
|
||||||
|
label="状态"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.endTime ? "已完成" : "未完成" }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
<loading :loading="loading">流程列表加载中</loading>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import ProcessHeader from "../../components/ProcessHeader";
|
||||||
|
import ProcessFooter from "../../components/ProcessFooter";
|
||||||
|
import ProcessTitle from "../../components/ProcessTitle";
|
||||||
|
import { inboundLiaisonDetail, queryDetail } from "api/process";
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name: "xmpg2Step1-12",
|
||||||
|
components: {
|
||||||
|
ProcessTitle,
|
||||||
|
ProcessHeader,
|
||||||
|
ProcessFooter
|
||||||
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
active: "1",
|
||||||
|
loading: false,
|
||||||
|
// 当前流程类型(1待办/2已办)
|
||||||
|
processType: 1,
|
||||||
|
isSubmit: false,
|
||||||
|
saveLoading: false,
|
||||||
|
//表单的数据
|
||||||
|
listForm: {
|
||||||
|
dlFlag: " ", //1审批通过 其他为驳回
|
||||||
|
projectNumber: "", //项目编号
|
||||||
|
projectName: "", //项目名称
|
||||||
|
dataList: [], //项目下的标准数据
|
||||||
|
breakdownList: [] //标准下的分解单数据
|
||||||
|
},
|
||||||
|
dataList: [], //展示的标准数据
|
||||||
|
commentText: "", //审批意见
|
||||||
|
detailData: [],//流程历史数据
|
||||||
|
userId: this.$store.getters.userInfo.userId,
|
||||||
|
taskIds: this.$route.query.taskIds,
|
||||||
|
pId: this.$route.query.prcId
|
||||||
|
};
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
// 点击查看
|
||||||
|
handlePreview(item) {
|
||||||
|
console.log(item)
|
||||||
|
let routeUrl = this.$router.resolve({
|
||||||
|
name: "OtherStandardDetails",
|
||||||
|
params: {
|
||||||
|
id: item.standId,
|
||||||
|
pageType: "INLAND_STAND"
|
||||||
|
}
|
||||||
|
});
|
||||||
|
window.open(routeUrl.href, "_blank");
|
||||||
|
},
|
||||||
|
//查询项目下的标准
|
||||||
|
getStandData() {
|
||||||
|
this.$http.get("sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage", {
|
||||||
|
standType: this.standardSearch.standType,
|
||||||
|
standNumber: this.standardSearch.standNumber,
|
||||||
|
page: this.pageNo,
|
||||||
|
pageSize: this.pageSizeNo
|
||||||
|
}, {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
this.standardData = res.data.list;
|
||||||
|
this.standardData.forEach(item => {
|
||||||
|
if(item.attrInfoMap === null){
|
||||||
|
this.$set(item, "ZCCSSRQ", '');
|
||||||
|
this.$set(item, "XCXSSRQ", '');
|
||||||
|
}else{
|
||||||
|
this.$set(item, "ZCCSSRQ", item.attrInfoMap.ZCCSSRQ);
|
||||||
|
this.$set(item, "XCXSSRQ", item.attrInfoMap.XCXSSRQ);
|
||||||
|
}
|
||||||
|
})
|
||||||
|
this.totalNo = res.data.count;
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
},
|
||||||
|
processTable() {
|
||||||
|
this.$http.get("lawss/activiti/get_list_by_instance", {
|
||||||
|
prcNum: this.$route.query.prcNum,
|
||||||
|
sortWord: this.shunxu ? this.paixu : "",
|
||||||
|
shunxu: this.shunxu
|
||||||
|
}, {
|
||||||
|
loading: "loading",
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
this.detailData = res;
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
},
|
||||||
|
//tab改变
|
||||||
|
handleTabs(type) {
|
||||||
|
this.active = type;
|
||||||
|
},
|
||||||
|
//获取数据
|
||||||
|
getData() {
|
||||||
|
return new Promise((resolve, reject) => {
|
||||||
|
inboundLiaisonDetail({
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
pId: this.pId
|
||||||
|
}).then(res => {
|
||||||
|
if (res) {
|
||||||
|
const processForm = JSON.parse(res.mesg);
|
||||||
|
this.getFormFieldList(processForm);
|
||||||
|
}
|
||||||
|
}).catch(e => {
|
||||||
|
});
|
||||||
|
});
|
||||||
|
},
|
||||||
|
//动态表单读取
|
||||||
|
getFormFieldList(item) {
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.listForm = JSON.parse(JSON.stringify(item));
|
||||||
|
this.listForm.prcNum = this.prcNum;
|
||||||
|
this.listForm.prcName = this.prcName;
|
||||||
|
this.listForm["id"] = item.id;
|
||||||
|
this.listForm.dataList = item.dataList;
|
||||||
|
this.dataList = item.dataList;
|
||||||
|
this.dataList.distributePerson = item.dataList[0].distributePerson;
|
||||||
|
this.listForm.breakdownList = item.breakdownList;
|
||||||
|
});
|
||||||
|
},
|
||||||
|
//驳回事件
|
||||||
|
beforeBack() {
|
||||||
|
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
|
||||||
|
this.$message.warning('请填写审批意见')
|
||||||
|
}else{
|
||||||
|
this.listForm.dlFlag = "2";
|
||||||
|
this.listForm.commentText = this.commentText;
|
||||||
|
const json = JSON.stringify(this.listForm);
|
||||||
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
userId: this.userId,
|
||||||
|
json: json
|
||||||
|
}, {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success(res.message);
|
||||||
|
this.$router.push("/processCenter");
|
||||||
|
}
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
//提交事件
|
||||||
|
handleSubmit() {
|
||||||
|
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
|
||||||
|
this.$message.warning('请填写审批意见')
|
||||||
|
}else{
|
||||||
|
this.listForm.dlFlag = "1";
|
||||||
|
this.listForm.commentText = this.commentText;
|
||||||
|
const json = JSON.stringify(this.listForm);
|
||||||
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
userId: this.userId,
|
||||||
|
json: json
|
||||||
|
}, {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success(res.message);
|
||||||
|
this.$router.push("/processCenter");
|
||||||
|
}
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
},
|
||||||
|
computed: {
|
||||||
|
listNoDataText() {
|
||||||
|
return this.processType === 1 ? "暂无待办流程" : "暂无已办流程";
|
||||||
|
}
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
this.processTable();
|
||||||
|
this.getData();
|
||||||
|
},
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less" scoped>
|
||||||
|
@import '~@/assets/styles/style';
|
||||||
|
|
||||||
|
.xmpg2-step12 {
|
||||||
|
/deep/ .el-drawer__container {
|
||||||
|
.prc-content-border {
|
||||||
|
border: none;
|
||||||
|
padding: 0 20px 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.choiceBtn {
|
||||||
|
.el-button--primary {
|
||||||
|
width: 150px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
position: relative;
|
||||||
|
height: 100%;
|
||||||
|
|
||||||
|
.headerTabs {
|
||||||
|
height: 52px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
right: 10px;
|
||||||
|
|
||||||
|
.headerTabsItem {
|
||||||
|
border: 1px solid #c1c1c1;
|
||||||
|
padding: 0 5px;
|
||||||
|
height: 30px;
|
||||||
|
line-height: 30px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.active {
|
||||||
|
border: 1px solid #E6A23C;
|
||||||
|
color: #fff;
|
||||||
|
background: #E6A23C;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.content {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: space-between;
|
||||||
|
height: calc(~'100% - 103px');
|
||||||
|
overflow: auto;
|
||||||
|
|
||||||
|
.tableTitle {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
height: 30px;
|
||||||
|
line-height: 30px;
|
||||||
|
position: relative;
|
||||||
|
font-size: 13px;
|
||||||
|
font-weight: bold;
|
||||||
|
|
||||||
|
.tableButton {
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.accessStandardsAndRegulations {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.demo-drawer-content {
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
+1
-1
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
name: "xmpgStep1-3"
|
name: "step1-2"
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@@ -140,6 +140,21 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
<el-collapse accordion>
|
||||||
|
<el-collapse-item title="意见填写">
|
||||||
|
<div style="margin: 10px 0;">
|
||||||
|
<el-input
|
||||||
|
type="textarea"
|
||||||
|
:rows="3"
|
||||||
|
resize="none"
|
||||||
|
placeholder="请输入意见"
|
||||||
|
v-model="commentText">
|
||||||
|
</el-input>
|
||||||
|
</div>
|
||||||
|
</el-collapse-item>
|
||||||
|
</el-collapse>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-show="active === '2'">
|
<div class="content" v-show="active === '2'">
|
||||||
<div class="block" style="padding-top: 20px;">
|
<div class="block" style="padding-top: 20px;">
|
||||||
@@ -340,7 +355,7 @@ export default {
|
|||||||
projectNumber: "", //项目编号
|
projectNumber: "", //项目编号
|
||||||
projectName: "", //项目名称
|
projectName: "", //项目名称
|
||||||
dataList: [], //项目下的标准数据
|
dataList: [], //项目下的标准数据
|
||||||
breakdownList: [], //标准下的分解单数据
|
breakdownList: [] //标准下的分解单数据
|
||||||
},
|
},
|
||||||
dataList: [], //下面标准的数据
|
dataList: [], //下面标准的数据
|
||||||
breakdownList: [], //标准下的条款数据
|
breakdownList: [], //标准下的条款数据
|
||||||
@@ -379,9 +394,11 @@ export default {
|
|||||||
modalshowflag: false, // drawer开关
|
modalshowflag: false, // drawer开关
|
||||||
drawerTitle: "", //drawer标题
|
drawerTitle: "", //drawer标题
|
||||||
nodeList: [],
|
nodeList: [],
|
||||||
|
commentText: "",
|
||||||
projectModel: false, //项目抽屉开关
|
projectModel: false, //项目抽屉开关
|
||||||
projectId: "", //项目id 用来查询标准
|
projectId: "", //项目id 用来查询标准
|
||||||
standId: [], //标准id 用来条款
|
standId: [], //标准id 用来条款
|
||||||
|
zrbmOptions: [],
|
||||||
searching: false,
|
searching: false,
|
||||||
//项目检索条件
|
//项目检索条件
|
||||||
projectSearch: {
|
projectSearch: {
|
||||||
@@ -452,8 +469,21 @@ export default {
|
|||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.listForm.dataList = res.data.records;
|
this.listForm.dataList = res.data.records;
|
||||||
|
|
||||||
this.dataList = res.data.records;
|
this.dataList = res.data.records;
|
||||||
|
this.listForm.dataList.forEach(item => {
|
||||||
|
// 责任部门转换
|
||||||
|
if (item.zrbm !== null || item.zrbm !== "") {
|
||||||
|
let k = (item.zrbm || "").split(",");
|
||||||
|
for (let i in this.zrbmOptions) {
|
||||||
|
for (let m = 0; m < k.length; m++) {
|
||||||
|
if (this.zrbmOptions[i].value === k[m]) {
|
||||||
|
k[m] = this.zrbmOptions[i].label;
|
||||||
|
}
|
||||||
|
item.zrbm = k.join(",");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
let ids = [];
|
let ids = [];
|
||||||
this.dataList.forEach(item => {
|
this.dataList.forEach(item => {
|
||||||
ids.push(item.standId);
|
ids.push(item.standId);
|
||||||
@@ -471,7 +501,7 @@ export default {
|
|||||||
{
|
{
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.listForm.breakdownList = res.data
|
this.listForm.breakdownList = res.data;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
//标准的多选框改变
|
//标准的多选框改变
|
||||||
@@ -488,62 +518,65 @@ export default {
|
|||||||
|
|
||||||
},
|
},
|
||||||
//流程保存事件
|
//流程保存事件
|
||||||
handleSave(){
|
handleSave() {
|
||||||
this.saveLoading = true
|
this.saveLoading = true;
|
||||||
let _formData = new FormData()
|
let _formData = new FormData();
|
||||||
_formData.append('id', this.bpnId || '')
|
_formData.append("id", this.bpnId || "");
|
||||||
_formData.append('createUser', this.$store.getters.userInfo.userId)
|
_formData.append("createUser", this.$store.getters.userInfo.userId);
|
||||||
_formData.append('createUserName', this.$store.getters.userInfo.userName)
|
_formData.append("createUserName", this.$store.getters.userInfo.userName);
|
||||||
_formData.append('prcType', '6')
|
_formData.append("prcType", "6");
|
||||||
_formData.append('json', JSON.stringify({
|
_formData.append("json", JSON.stringify({
|
||||||
form: this.form,
|
form: this.listForm,
|
||||||
roleForm: this.roleForm,
|
roleForm: this.roleForm,
|
||||||
commentText: this.commentText
|
commentText: this.commentText
|
||||||
}))
|
}));
|
||||||
saveTaskFirst(_formData).then(res => {
|
saveTaskFirst(_formData).then(res => {
|
||||||
this.saveLoading = false
|
this.saveLoading = false;
|
||||||
this.$message.success('保存成功')
|
this.$message.success("保存成功");
|
||||||
this.bpnId = res.result
|
this.bpnId = res.result;
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
this.saveLoading = false
|
this.saveLoading = false;
|
||||||
})
|
});
|
||||||
},
|
},
|
||||||
//流程提交事件
|
//流程提交事件
|
||||||
handleSubmit(){
|
handleSubmit() {
|
||||||
var json = Object.assign(this.listForm, this.roleForm)
|
this.listForm.commentText = this.commentText;
|
||||||
json.prcCreateUser = this.$store.getters.userInfo.userId;
|
var json = Object.assign(this.listForm, this.roleForm);
|
||||||
json.prcCreateUserName = this.$store.getters.userInfo.uName;
|
json.prcCreateUser = this.$store.getters.userInfo.userId;
|
||||||
json.standId = this.listForm.standId;
|
json.prcCreateUserName = this.$store.getters.userInfo.uName;
|
||||||
this.$refs['listForm'].validate((valid) => {
|
json.standId = this.listForm.standId;
|
||||||
|
this.$refs["listForm"].validate((valid) => {
|
||||||
|
if (valid) {
|
||||||
|
this.$refs["roleForm"].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.$refs['roleForm'].validate((valid) => {
|
this.isSubmit = true;
|
||||||
if (valid) {
|
this.$http.get("lawss/activiti/startProcess", { type: "6" }, {
|
||||||
this.$http.get("lawss/activiti/startProcess", { type: "6" }, {
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
if (res.ok) {
|
||||||
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
|
taskIds: res.data,
|
||||||
|
userId: this.$store.getters.userInfo.userId,
|
||||||
|
json: JSON.stringify(json)
|
||||||
|
}, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
if (res.ok) {
|
if (res.success) {
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$message.success(res.message);
|
||||||
taskIds: res.data,
|
this.$router.push("/processCenter");
|
||||||
userId: this.$store.getters.userInfo.userId,
|
|
||||||
json: JSON.stringify(json)
|
|
||||||
}, {
|
|
||||||
_this: this
|
|
||||||
}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success(res.message);
|
|
||||||
this.$router.push("/processCenter");
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
this.isSubmit = false;
|
||||||
});
|
});
|
||||||
} else {
|
|
||||||
return this.$message.warning("请完善人员信息");
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
return this.$message.warning("请完善基础信息");
|
return this.$message.warning("请完善人员信息");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
|
return this.$message.warning("请完善基础信息");
|
||||||
|
}
|
||||||
|
});
|
||||||
},
|
},
|
||||||
choiceZRR(type, title, id) {
|
choiceZRR(type, title, id) {
|
||||||
this.nodeList = [];
|
this.nodeList = [];
|
||||||
@@ -567,6 +600,14 @@ export default {
|
|||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.getProjectData();
|
this.getProjectData();
|
||||||
|
// 查询各下拉框数据
|
||||||
|
this.$http.get("sys/dictype/getDicTypeListCode", "", {
|
||||||
|
_this: this,
|
||||||
|
loading: "loading"
|
||||||
|
}, res => {
|
||||||
|
this.zrbmOptions = res.data.ZRBMCLASS; // 责任部门
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -431,9 +431,6 @@ export default {
|
|||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
|
|
||||||
this.$message.warning('请填写审批意见')
|
|
||||||
}else{
|
|
||||||
this.listForm.bzFlag = "1";
|
this.listForm.bzFlag = "1";
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
@@ -451,7 +448,6 @@ export default {
|
|||||||
}
|
}
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
}
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|||||||
@@ -275,12 +275,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-back
|
|
||||||
show-submit
|
show-submit
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="saveLoading"
|
||||||
:approval="true"
|
:approval="true"
|
||||||
@back="beforeBack"
|
|
||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
@@ -407,34 +405,8 @@ export default {
|
|||||||
this.listForm.breakdownList = item.breakdownList;
|
this.listForm.breakdownList = item.breakdownList;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
//驳回事件
|
|
||||||
beforeBack() {
|
|
||||||
if (this.commentText === null || this.commentText === undefined || this.commentText === '') {
|
|
||||||
this.$message.warning('请填写审批意见')
|
|
||||||
} else {
|
|
||||||
this.listForm.bzFlag = "2";
|
|
||||||
this.listForm.commentText = this.commentText;
|
|
||||||
const json = JSON.stringify(this.listForm);
|
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
|
||||||
taskIds: this.taskIds,
|
|
||||||
userId: this.userId,
|
|
||||||
json: json
|
|
||||||
}, {
|
|
||||||
_this: this
|
|
||||||
}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
this.$message.success(res.message);
|
|
||||||
this.$router.push("/processCenter");
|
|
||||||
}
|
|
||||||
}, e => {
|
|
||||||
});
|
|
||||||
}
|
|
||||||
},
|
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
if (this.commentText === null || this.commentText === undefined || this.commentText === '') {
|
|
||||||
this.$message.warning('请填写审批意见')
|
|
||||||
} else {
|
|
||||||
this.listForm.bzFlag = "1";
|
this.listForm.bzFlag = "1";
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
@@ -451,7 +423,6 @@ export default {
|
|||||||
}
|
}
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
}
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<div class="xmpg2-step12">
|
<div class="xmpg2-step12">
|
||||||
<ProcessHeader toggle>
|
<ProcessHeader toggle>
|
||||||
<template slot="proName">项目合规评估流程-项目</template>
|
<template slot="proName">项目合规评估流程-项目</template>
|
||||||
<template slot="proNode">责任人审核</template>
|
<template slot="proNode">标准法规部部长审核</template>
|
||||||
</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>
|
||||||
@@ -431,9 +431,6 @@ export default {
|
|||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
|
|
||||||
this.$message.warning('请填写审批意见')
|
|
||||||
}else{
|
|
||||||
this.listForm.dlFlag = "1";
|
this.listForm.dlFlag = "1";
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
@@ -450,7 +447,6 @@ export default {
|
|||||||
}
|
}
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
}
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|||||||
@@ -80,22 +80,22 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="xcxssrqgj"
|
prop="xcxssrq"
|
||||||
width="190px"
|
width="190px"
|
||||||
align="center"
|
align="center"
|
||||||
label="新车型实施日期">
|
label="新车型实施日期">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.xcxssrqgj ? $moment(scope.row.xcxssrqgj).format("YYYY-MM-DD") : "" }}</span>
|
<span>{{ scope.row.xcxssrq ? $moment(scope.row.xcxssrq).format("YYYY-MM-DD") : "" }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zccssrqgj"
|
prop="zccssrq"
|
||||||
align="center"
|
align="center"
|
||||||
sortable
|
sortable
|
||||||
width="190px"
|
width="190px"
|
||||||
label="在产车实施日期">
|
label="在产车实施日期">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.zccssrqgj ? $moment(scope.row.zccssrqgj).format("YYYY-MM-DD") : "" }}</span>
|
<span>{{ scope.row.zccssrq ? $moment(scope.row.zccssrq).format("YYYY-MM-DD") : "" }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -337,9 +337,7 @@ export default {
|
|||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
|
this.isSubmit = true
|
||||||
this.$message.warning('审批意见不能为空')
|
|
||||||
}else{
|
|
||||||
this.listForm.BZFlag = "1";
|
this.listForm.BZFlag = "1";
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
@@ -354,10 +352,10 @@ export default {
|
|||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
|
this.isSubmit = false
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
|
|||||||
@@ -106,6 +106,21 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
<el-collapse accordion>
|
||||||
|
<el-collapse-item title="意见填写">
|
||||||
|
<div style="margin: 10px 0;">
|
||||||
|
<el-input
|
||||||
|
type="textarea"
|
||||||
|
:rows="3"
|
||||||
|
resize="none"
|
||||||
|
placeholder="请输入意见"
|
||||||
|
v-model="commentText">
|
||||||
|
</el-input>
|
||||||
|
</div>
|
||||||
|
</el-collapse-item>
|
||||||
|
</el-collapse>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-show="active === '3'">
|
<div class="content" v-show="active === '3'">
|
||||||
<div class="flow-list" style="height: 100%">
|
<div class="flow-list" style="height: 100%">
|
||||||
@@ -333,9 +348,7 @@ export default {
|
|||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
if (this.listForm.jgUser == null || this.listForm.jgUser == undefined ) {
|
this.isSubmit = true
|
||||||
this.$message.warning("请选择架构经理");
|
|
||||||
} else {
|
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
@@ -349,9 +362,9 @@ export default {
|
|||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
|
this.isSubmit = false
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
}
|
|
||||||
},
|
},
|
||||||
choiceZRR(scope, type, title, id) {
|
choiceZRR(scope, type, title, id) {
|
||||||
if (scope != null) {
|
if (scope != null) {
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
</process-title>
|
</process-title>
|
||||||
<div class="tableTitle">
|
<div class="tableTitle">
|
||||||
<div class="tableButton">
|
<div class="tableButton">
|
||||||
<el-button plain class="common-button-primary" size="mini" @click="batchOperation">批量分发负责人</el-button>
|
<el-button plain class="common-button-primary" size="mini" @click="choiceZRRS('', 2, '')">批量分发责任人</el-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<el-table
|
<el-table
|
||||||
@@ -101,18 +101,32 @@
|
|||||||
align="center"
|
align="center"
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="分发责任人" prop="liablePeople" align="center">
|
<el-table-column
|
||||||
|
label="责任人"
|
||||||
|
width="170"
|
||||||
|
align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div v-if="scope.row.liablePeople == undefined">
|
<el-input v-model="scope.row.liablePeopleId" style="display: none;"/>
|
||||||
{{ "请选择分发责任人" }}
|
<el-input v-model="scope.row.liablePeople" placeholder="请选择落实人" @click.native="choiceZRRS(scope.row.liablePeopleId, 1, scope.$index)"/>
|
||||||
</div>
|
|
||||||
<div v-else class="fileClass">
|
|
||||||
{{ scope.row.liablePeople || "-" }}
|
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
<el-collapse accordion>
|
||||||
|
<el-collapse-item title="意见填写">
|
||||||
|
<div style="margin: 10px 0;">
|
||||||
|
<el-input
|
||||||
|
type="textarea"
|
||||||
|
:rows="3"
|
||||||
|
resize="none"
|
||||||
|
placeholder="请输入意见"
|
||||||
|
v-model="commentText">
|
||||||
|
</el-input>
|
||||||
|
</div>
|
||||||
|
</el-collapse-item>
|
||||||
|
</el-collapse>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-show="active === '3'">
|
<div class="content" v-show="active === '3'">
|
||||||
<div class="flow-list" style="height: 100%">
|
<div class="flow-list" style="height: 100%">
|
||||||
@@ -227,6 +241,8 @@ export default {
|
|||||||
modalshowflag: false, // drawer开关
|
modalshowflag: false, // drawer开关
|
||||||
selectList: [],
|
selectList: [],
|
||||||
treeData: [], // 人员数据
|
treeData: [], // 人员数据
|
||||||
|
zrIndex: '',
|
||||||
|
zrType: '',
|
||||||
roleForm: {
|
roleForm: {
|
||||||
liablePeople: ""
|
liablePeople: ""
|
||||||
},
|
},
|
||||||
@@ -254,7 +270,6 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview(item) {
|
handlePreview(item) {
|
||||||
console.log(item)
|
|
||||||
let routeUrl = this.$router.resolve({
|
let routeUrl = this.$router.resolve({
|
||||||
name: "OtherStandardDetails",
|
name: "OtherStandardDetails",
|
||||||
params: {
|
params: {
|
||||||
@@ -329,7 +344,7 @@ export default {
|
|||||||
this.listForm["id"] = item.id;
|
this.listForm["id"] = item.id;
|
||||||
this.listForm.dataList = item.dataList;
|
this.listForm.dataList = item.dataList;
|
||||||
this.dataList = item.dataList;
|
this.dataList = item.dataList;
|
||||||
this.dataList.distributePerson = item.dataList[0].distributePerson;
|
// this.dataList.distributePerson = item.dataList[0].distributePerson;
|
||||||
this.listForm.breakdownList = item.breakdownList;
|
this.listForm.breakdownList = item.breakdownList;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
@@ -366,14 +381,25 @@ export default {
|
|||||||
this.$message.warning('请选择分发负责人')
|
this.$message.warning('请选择分发负责人')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//批量操作按钮
|
choiceZRRS (row, type, index) {
|
||||||
batchOperation(id) {
|
this.type = type
|
||||||
if (this.selectList.length === 0) {
|
if (type === 1) {
|
||||||
this.$message.warning("请至少选择一条数据进行批量分发");
|
this.drawerTitle = '选择责任人'
|
||||||
} else {
|
this.nodeList = []
|
||||||
this.nodeList = [];
|
this.zrIndex = index
|
||||||
this.nodeList.push(id);
|
this.zrType = type
|
||||||
this.modalshowflag = true;
|
this.nodeList.push(row)
|
||||||
|
this.modalshowflag = true
|
||||||
|
} else if (type === 2) {
|
||||||
|
// 批量
|
||||||
|
if (this.selectList.length > 0) {
|
||||||
|
this.zrType = type
|
||||||
|
this.nodeList = []
|
||||||
|
this.modalshowflag = true
|
||||||
|
this.drawerTitle = '批量选择责任人'
|
||||||
|
} else {
|
||||||
|
this.$message.warning('请选择要分发的数据')
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//标准表格选择框改变
|
//标准表格选择框改变
|
||||||
@@ -394,22 +420,21 @@ export default {
|
|||||||
this.roleRow = this.$refs.tree.getCheckedNodes()[0];
|
this.roleRow = this.$refs.tree.getCheckedNodes()[0];
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
checkedRole(data) {
|
checkedRole (data) {
|
||||||
// 选取负责人时的操作
|
if (this.type === 1) {
|
||||||
let mis = [];
|
this.dataList[this.zrIndex].liablePeopleId = data[0].id
|
||||||
this.selectList.forEach(item => {
|
this.dataList[this.zrIndex].liablePeople = data[0].name
|
||||||
item.liablePeople = data[0].name;
|
} else if(this.type === 2) {
|
||||||
item.liablePeopleId = data[0].id;
|
this.dataList.forEach( item => {
|
||||||
mis.push(item.standId);
|
this.selectList.forEach( items => {
|
||||||
});
|
if (item.standId === items.standId) {
|
||||||
this.dataList.forEach(item => {
|
item.liablePeopleId = data[0].id
|
||||||
if (!mis.includes(item.standId)) {
|
item.liablePeople = data[0].name
|
||||||
this.selectList.push(item);
|
}
|
||||||
}
|
})
|
||||||
});
|
})
|
||||||
this.dataList = this.selectList;
|
}
|
||||||
this.$refs.selection.clearSelection();
|
this.modalshowflag = false
|
||||||
this.modalshowflag = false;
|
|
||||||
},
|
},
|
||||||
cancleUserInfo() {
|
cancleUserInfo() {
|
||||||
this.modalshowflag = false;
|
this.modalshowflag = false;
|
||||||
|
|||||||
@@ -98,6 +98,21 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
<el-collapse accordion>
|
||||||
|
<el-collapse-item title="意见填写">
|
||||||
|
<div style="margin: 10px 0;">
|
||||||
|
<el-input
|
||||||
|
type="textarea"
|
||||||
|
:rows="3"
|
||||||
|
resize="none"
|
||||||
|
placeholder="请输入意见"
|
||||||
|
v-model="commentText">
|
||||||
|
</el-input>
|
||||||
|
</div>
|
||||||
|
</el-collapse-item>
|
||||||
|
</el-collapse>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-show="active === '3'">
|
<div class="content" v-show="active === '3'">
|
||||||
<div class="flow-list" style="height: 100%">
|
<div class="flow-list" style="height: 100%">
|
||||||
|
|||||||
@@ -236,6 +236,21 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
<el-collapse accordion>
|
||||||
|
<el-collapse-item title="意见填写">
|
||||||
|
<div style="margin: 10px 0;">
|
||||||
|
<el-input
|
||||||
|
type="textarea"
|
||||||
|
:rows="3"
|
||||||
|
resize="none"
|
||||||
|
placeholder="请输入意见"
|
||||||
|
v-model="commentText">
|
||||||
|
</el-input>
|
||||||
|
</div>
|
||||||
|
</el-collapse-item>
|
||||||
|
</el-collapse>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-show="active === '3'">
|
<div class="content" v-show="active === '3'">
|
||||||
<div class="flow-list" style="height: 100%">
|
<div class="flow-list" style="height: 100%">
|
||||||
|
|||||||
@@ -432,9 +432,6 @@
|
|||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
if (this.commentText === null || this.commentText === undefined || this.commentText === '') {
|
|
||||||
this.$message.warning('请填写审批意见')
|
|
||||||
} else {
|
|
||||||
this.listForm.ffFlag = "1";
|
this.listForm.ffFlag = "1";
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
@@ -450,7 +447,6 @@
|
|||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|||||||
@@ -431,9 +431,6 @@ export default {
|
|||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
|
|
||||||
this.$message.warning('请填写审批意见')
|
|
||||||
}else{
|
|
||||||
this.listForm.jgFlag = "1";
|
this.listForm.jgFlag = "1";
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
@@ -450,7 +447,6 @@ export default {
|
|||||||
}
|
}
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
}
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|||||||
@@ -431,9 +431,6 @@ export default {
|
|||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
|
|
||||||
this.$message.warning('请填写审批意见')
|
|
||||||
}else{
|
|
||||||
this.listForm.gcFlag = "1";
|
this.listForm.gcFlag = "1";
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
@@ -450,7 +447,6 @@ export default {
|
|||||||
}
|
}
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
}
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|||||||
@@ -203,20 +203,20 @@ export default {
|
|||||||
this.toProcessDetail('bzrkStep5',row)
|
this.toProcessDetail('bzrkStep5',row)
|
||||||
}else if(prcType === '4'){
|
}else if(prcType === '4'){
|
||||||
//标准清单发布流程数据
|
//标准清单发布流程数据
|
||||||
this.toProcessDetail('bzqdfbStep4',row)
|
this.toProcessDetail('bzqdfbStep1-4',row)
|
||||||
}else if (prcType === '5'){
|
}else if (prcType === '5'){
|
||||||
//标准项目合规评估 标准维度
|
//标准项目合规评估 标准维度
|
||||||
if(row.taskInfo === '标准法规部领导审核'){
|
if(row.taskInfo === '标准法规部领导审核'){
|
||||||
this.toProcessDetail('xmpgStep7',row)
|
this.toProcessDetail('xmpgStep1-7',row)
|
||||||
}else{
|
}else{
|
||||||
this.toProcessDetail('xmpgStep2',row)
|
this.toProcessDetail('xmpgStep1-2',row)
|
||||||
}
|
}
|
||||||
}else if(prcType === '6'){
|
}else if(prcType === '6'){
|
||||||
//标准项目合规评估 项目维度
|
//标准项目合规评估 项目维度
|
||||||
if(row.taskInfo === '标准法规部领导审核'){
|
if(row.taskInfo === '标准法规部领导审核'){
|
||||||
this.toProcessDetail('xmpg2Step12',row)
|
this.toProcessDetail('xmpg2Step1-12',row)
|
||||||
}else{
|
}else{
|
||||||
this.toProcessDetail('xmpg2Step2',row)
|
this.toProcessDetail('xmpg2Step1-2',row)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -185,6 +185,9 @@
|
|||||||
prop="standName"
|
prop="standName"
|
||||||
label="标准名称"
|
label="标准名称"
|
||||||
>
|
>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</span>
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="issueTime"
|
prop="issueTime"
|
||||||
@@ -273,12 +276,18 @@
|
|||||||
label="标准名称"
|
label="标准名称"
|
||||||
width="260px"
|
width="260px"
|
||||||
>
|
>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<a @click="handlePreview(scope.row)">{{ scope.row.standName }}</a>
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standEnName"
|
prop="standEnName"
|
||||||
align="center"
|
align="center"
|
||||||
width="180px"
|
width="180px"
|
||||||
label="英文名称">
|
label="英文名称">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<a @click="handlePreview(scope.row)">{{ scope.row.standEnName }}</a>
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="typeApplicable"
|
prop="typeApplicable"
|
||||||
|
|||||||
@@ -170,6 +170,9 @@
|
|||||||
prop="standName"
|
prop="standName"
|
||||||
label="标准名称"
|
label="标准名称"
|
||||||
>
|
>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="issueTime"
|
prop="issueTime"
|
||||||
@@ -257,12 +260,18 @@
|
|||||||
label="标准名称"
|
label="标准名称"
|
||||||
width="260px"
|
width="260px"
|
||||||
>
|
>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standEnName"
|
prop="standEnName"
|
||||||
align="center"
|
align="center"
|
||||||
width="180px"
|
width="180px"
|
||||||
label="英文名称">
|
label="英文名称">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standEnName }}</a>
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="typeApplicable"
|
prop="typeApplicable"
|
||||||
|
|||||||
@@ -170,6 +170,9 @@
|
|||||||
prop="standName"
|
prop="standName"
|
||||||
label="标准名称"
|
label="标准名称"
|
||||||
>
|
>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="issueTime"
|
prop="issueTime"
|
||||||
@@ -257,12 +260,18 @@
|
|||||||
label="标准名称"
|
label="标准名称"
|
||||||
width="260px"
|
width="260px"
|
||||||
>
|
>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standEnName"
|
prop="standEnName"
|
||||||
align="center"
|
align="center"
|
||||||
width="180px"
|
width="180px"
|
||||||
label="英文名称">
|
label="英文名称">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standEnName }}</a>
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="typeApplicable"
|
prop="typeApplicable"
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -546,7 +546,13 @@ export default {
|
|||||||
window.open(routeUrl.href, '_blank')
|
window.open(routeUrl.href, '_blank')
|
||||||
},
|
},
|
||||||
back () {
|
back () {
|
||||||
this.$router.push(this.$store.state.detailMap)
|
console.log(this.$route.query.tabName);
|
||||||
|
this.$router.push({
|
||||||
|
path: this.$store.state.detailMap,
|
||||||
|
query: {
|
||||||
|
tabName: this.$route.query.tabName
|
||||||
|
}
|
||||||
|
})
|
||||||
this.$store.commit('setDetailMap', '')
|
this.$store.commit('setDetailMap', '')
|
||||||
},
|
},
|
||||||
showLocalProductData (item) {
|
showLocalProductData (item) {
|
||||||
|
|||||||
@@ -43,6 +43,7 @@
|
|||||||
<el-table-column
|
<el-table-column
|
||||||
prop="partCode"
|
prop="partCode"
|
||||||
label="章节编号"
|
label="章节编号"
|
||||||
|
sortable
|
||||||
align="center"
|
align="center"
|
||||||
width="180">
|
width="180">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|||||||
@@ -27,10 +27,8 @@
|
|||||||
{{ $t("m.clearQuery") }}
|
{{ $t("m.clearQuery") }}
|
||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
<el-button type="primary" @click="exportSearchResult" v-if="!kindtext" style="position: absolute;right:0px;width: 98px;background:#3391CE
|
<!-- <el-button type="primary" @click="exportSearchResult" v-if="!kindtext" style="position: absolute;right:0px;width: 98px;background:#3391CE;border-color:#3391CE;">{{ $t("m.export") }}-->
|
||||||
;border-color:#3391CE
|
<!-- </el-button>-->
|
||||||
;">{{ $t("m.export") }}
|
|
||||||
</el-button>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="search-condition showWidth" v-if="kindtext">
|
<div class="search-condition showWidth" v-if="kindtext">
|
||||||
<div class="search-content">
|
<div class="search-content">
|
||||||
@@ -932,65 +930,41 @@
|
|||||||
align="center"
|
align="center"
|
||||||
:label="$t('m.action')"
|
:label="$t('m.action')"
|
||||||
width="200">
|
width="200">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div v-if="selectIndex !== 'DYNAMIC_INFORMATION' && selectIndex !== 'items'">
|
<div v-if="selectIndex !== 'DYNAMIC_INFORMATION' && selectIndex !== 'items'">
|
||||||
<div v-if="scope.row.collectId">
|
<div v-if="scope.row.collectId">
|
||||||
<el-button class="opera-btn" type="primary" size="mini"
|
<el-dropdown trigger="click" @command="handleCommand">
|
||||||
@click="judgeRolePermiOnSar(scope.row, 1)">{{ $t("m.see") }}
|
<i class="iconfont"></i>
|
||||||
</el-button>
|
<el-dropdown-menu slot="dropdown">
|
||||||
<el-dropdown trigger="click" @command="handleCommand">
|
<el-dropdown-item :command="beforeHandleCommand('l',scope.row)">查看</el-dropdown-item>
|
||||||
<el-button type="primary" class="opera-btn" style="margin-left: 10px" size="mini">
|
<el-dropdown-item :command="beforeHandleCommand('a',scope.row)">取消收藏</el-dropdown-item>
|
||||||
{{ $t("m.more") }}
|
<el-dropdown-item :command="beforeHandleCommand('b',scope.row)">分享</el-dropdown-item>
|
||||||
</el-button>
|
</el-dropdown-menu>
|
||||||
<el-dropdown-menu slot="dropdown">
|
</el-dropdown>
|
||||||
<el-dropdown-item :command="beforeHandleCommand('a',scope.row)"
|
|
||||||
v-btn-permission="'JEFQ4RPSKZ44WZW8EUSU'">{{ $t("m.cancelCollection") }}
|
</div>
|
||||||
</el-dropdown-item>
|
<div v-else>
|
||||||
<el-dropdown-item :command="beforeHandleCommand('b',scope.row)"
|
<el-dropdown trigger="click" @command="handleCommand">
|
||||||
v-btn-permission="'U43YC8BE2U5VHE9KJN87'">{{ $t("m.share") }}
|
<i class="iconfont"></i>
|
||||||
</el-dropdown-item>
|
<el-dropdown-menu slot="dropdown">
|
||||||
<!-- <el-dropdown-item :command="beforeHandleCommand('c',scope.row)">{{ $t('m.processes') }}</el-dropdown-item>-->
|
<el-dropdown-item :command="beforeHandleCommand('l',scope.row)">查看</el-dropdown-item>
|
||||||
</el-dropdown-menu>
|
<el-dropdown-item v-btn-permission="'FB3R3TVALD'" :command="beforeHandleCommand('d',scope.row)">收藏</el-dropdown-item>
|
||||||
</el-dropdown>
|
<!-- <el-dropdown-item :command="beforeHandleCommand('b',scope.row)">分享</el-dropdown-item>-->
|
||||||
</div>
|
</el-dropdown-menu>
|
||||||
<div v-else>
|
</el-dropdown>
|
||||||
<el-button class="opera-btn" type="primary" size="mini"
|
|
||||||
@click="judgeRolePermiOnSar(scope.row, 1)">{{ $t("m.see") }}
|
</div>
|
||||||
</el-button>
|
</div>
|
||||||
<el-dropdown trigger="click" @command="handleCommand">
|
<div v-else-if="selectIndex === 'items'">
|
||||||
<el-button type="primary" class="opera-btn" style="margin-left: 10px" size="mini">
|
<!-- <el-button size="mini" @click="judgeRolePermiOnSar(scope.row, 1)">查看</el-button>-->
|
||||||
{{ $t("m.more") }}
|
<el-button size="mini" @click="itemsDetails(scope.row)">查看</el-button>
|
||||||
</el-button>
|
</div>
|
||||||
<el-dropdown-menu slot="dropdown">
|
<div v-else>
|
||||||
<el-dropdown-item :command="beforeHandleCommand('d',scope.row)"
|
<el-button size="mini" type="primary" v-if="scope.row.collectId" @click="clickCollection(scope.row)">取消收藏</el-button>
|
||||||
v-btn-permission="'JEFQ4RPSKZ44WZW8EUSU'">{{ $t("m.collection") }}
|
<el-button size="mini" type="primary" v-else @click="clickCollection(scope.row)">收藏</el-button>
|
||||||
</el-dropdown-item>
|
<el-button sizi="mini" @click="clickShare(scope.row)">分享</el-button>
|
||||||
<el-dropdown-item :command="beforeHandleCommand('b',scope.row)"
|
</div>
|
||||||
v-btn-permission="'U43YC8BE2U5VHE9KJN87'">{{ $t("m.share") }}
|
</template>
|
||||||
</el-dropdown-item>
|
|
||||||
<!-- <el-dropdown-item :command="beforeHandleCommand('c',scope.row)">{{ $t('m.processes') }}</el-dropdown-item>-->
|
|
||||||
</el-dropdown-menu>
|
|
||||||
</el-dropdown>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div v-else-if="selectIndex === 'items'">
|
|
||||||
<!-- <el-button size="mini" @click="judgeRolePermiOnSar(scope.row, 1)">查看</el-button>-->
|
|
||||||
<el-button class="opera-btn" size="mini" @click="itemsDetails(scope.row)">{{ $t("m.see") }}
|
|
||||||
</el-button>
|
|
||||||
</div>
|
|
||||||
<div v-else class="celect-btn-box">
|
|
||||||
<el-button class="opera-btn" size="mini" type="primary" v-if="scope.row.collectId"
|
|
||||||
@click="clickCollection(scope.row)" v-btn-permission="'JEFQ4RPSKZ44WZW8EUSU'">
|
|
||||||
{{ $t("m.cancelCollection") }}
|
|
||||||
</el-button>
|
|
||||||
<el-button class="opera-btn" size="mini" type="primary" v-else @click="clickCollection(scope.row)"
|
|
||||||
v-btn-permission="'JEFQ4RPSKZ44WZW8EUSU'">{{ $t("m.collection") }}
|
|
||||||
</el-button>
|
|
||||||
<el-button class="opera-btn" sizi="mini" @click="clickShare(scope.row)"
|
|
||||||
v-btn-permission="'U43YC8BE2U5VHE9KJN87'">{{ $t("m.share") }}
|
|
||||||
</el-button>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
@@ -1315,10 +1289,29 @@ export default {
|
|||||||
dropdownItemsCollect: [{ "val": "取消收藏" }, { "val": "分享" }, { "val": "流程" }],
|
dropdownItemsCollect: [{ "val": "取消收藏" }, { "val": "分享" }, { "val": "流程" }],
|
||||||
judgeRoleFlag: false,
|
judgeRoleFlag: false,
|
||||||
judgeRoleMessage: "",
|
judgeRoleMessage: "",
|
||||||
exportSearchInfo: {}
|
exportSearchInfo: {},
|
||||||
|
twoOptions: [],
|
||||||
|
formFieldListStandData: []
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
getAddFormFieldList (isEdit) {
|
||||||
|
this.$http.get('lawss/sarStandAttrDetails/list', {}, {
|
||||||
|
_this: this
|
||||||
|
},
|
||||||
|
res => {
|
||||||
|
if (res.ok) {
|
||||||
|
const { data = {} } = res
|
||||||
|
// 国内外标准
|
||||||
|
const inlandList = data['INLAND_STAND'] || []
|
||||||
|
const foreignList = data['FOREIGN_STAND'] || []
|
||||||
|
const foreignFilterList = foreignList.filter ( item => item.attrField === 'GXHBQ' || item.attrField === 'ZBJBD' || item.attrField === 'KWJ' || item.attrField === 'TXLB');
|
||||||
|
console.log(foreignFilterList)
|
||||||
|
this.formFieldListStandData = this.formFieldListStandData.concat(inlandList).concat(foreignFilterList);
|
||||||
|
console.log(this.formFieldListStandData,'-----------------------------------1')
|
||||||
|
}
|
||||||
|
}, e => {})
|
||||||
|
},
|
||||||
choiceZRR1 (type, title, id) {
|
choiceZRR1 (type, title, id) {
|
||||||
this.drawerTitle = title
|
this.drawerTitle = title
|
||||||
this.modalShowFlag1 = true
|
this.modalShowFlag1 = true
|
||||||
@@ -1497,22 +1490,22 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, // 点击收藏/取消收藏事件
|
}, // 点击收藏/取消收藏事件
|
||||||
handleCommand(command) {
|
handleCommand (command) {
|
||||||
switch (command.command) {
|
switch (command.command) {
|
||||||
case "d":
|
case 'd':
|
||||||
this.judgeRolePermiOnSar(command.item, 2); // 收藏
|
this.judgeRolePermiOnSar(command.item, 2) // 收藏
|
||||||
break;
|
break
|
||||||
case "a":
|
case 'a':
|
||||||
this.judgeRolePermiOnSar(command.item, 3); // 取消收藏
|
this.judgeRolePermiOnSar(command.item, 3) // 取消收藏
|
||||||
break;
|
break
|
||||||
case "b":
|
case 'b':
|
||||||
this.judgeRolePermiOnSar(command.item, 4); // 分享
|
this.judgeRolePermiOnSar(command.item, 4) // 分享
|
||||||
break;
|
break
|
||||||
case "c":
|
case 'l':
|
||||||
this.judgeRolePermiOnSar(command.item, 6); // 流程
|
this.judgeRolePermiOnSar(command.item, 1) // 查看
|
||||||
break;
|
break
|
||||||
}
|
}
|
||||||
}, // 下拉菜单点击事件
|
}, // 下拉菜单点击事件
|
||||||
beforeHandleCommand(command, item) {
|
beforeHandleCommand(command, item) {
|
||||||
return {
|
return {
|
||||||
"item": item,
|
"item": item,
|
||||||
@@ -1658,37 +1651,19 @@ export default {
|
|||||||
pagetype = "BUSINESS_STAND";
|
pagetype = "BUSINESS_STAND";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.$http.get("lawss/sarMenu/judgeSarMenuByRole", {
|
if (type === 1) {
|
||||||
sarId: item.id,
|
|
||||||
sarType: pagetype
|
|
||||||
}, {
|
|
||||||
_this: this
|
|
||||||
}, res => {
|
|
||||||
if (res.ok) {
|
|
||||||
this.judgeRoleFlag = true;
|
|
||||||
if (type === 1) {
|
|
||||||
this.detailsStandardLaws(item);
|
this.detailsStandardLaws(item);
|
||||||
} else if (type === 2) {
|
} else if (type === 2) {
|
||||||
this.collectStandard(item);
|
this.collectStandard(item);
|
||||||
} else if (type === 3) {
|
} else if (type === 3) {
|
||||||
this.cancelCollectStandard(item);
|
this.cancelCollectStandard(item);
|
||||||
} else if (type === 4) {
|
} else if (type === 4) {
|
||||||
this.shareSarInfo(item);
|
this.shareSarInfo(item);
|
||||||
} else if (type === 5) {
|
} else if (type === 5) {
|
||||||
this.showRecommendDetials(item);
|
this.showRecommendDetials(item);
|
||||||
} else if (type === 6) {
|
} else if (type === 6) {
|
||||||
this.goProcess(item);
|
this.goProcess(item);
|
||||||
}
|
|
||||||
} else {
|
|
||||||
this.judgeRoleFlag = false;
|
|
||||||
this.$message({
|
|
||||||
message: res.message,
|
|
||||||
type: "error"
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}, e => {
|
|
||||||
this.judgeRoleFlag = false;
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
showDetailsByRole(item) {
|
showDetailsByRole(item) {
|
||||||
@@ -1722,64 +1697,20 @@ export default {
|
|||||||
this.standForm.page = this.page;
|
this.standForm.page = this.page;
|
||||||
this.standForm.pageSize = this.$store.getters.userInfo.configContent;
|
this.standForm.pageSize = this.$store.getters.userInfo.configContent;
|
||||||
let nowStandForm = JSON.parse(JSON.stringify(this.standForm));
|
let nowStandForm = JSON.parse(JSON.stringify(this.standForm));
|
||||||
if (this.standForm.issueTime != null && this.standForm.issueTime !== "") {
|
// 处理动态表单的时间和下拉框格式
|
||||||
nowStandForm.issueTime = this.$dateFormat(this.standForm.issueTime, "yyyy-MM-dd hh:mm:ss");
|
const formFieldList = this.formFieldListStandData
|
||||||
}
|
const sarStandAttrObj = {}
|
||||||
if (this.standForm.issueTimeSt != null && this.standForm.issueTimeSt !== "") {
|
formFieldList.forEach((item) => {
|
||||||
nowStandForm.issueTimeSt = this.$dateFormat(this.standForm.issueTimeSt, "yyyy-MM-dd hh:mm:ss");
|
const attrField = item.attrField.toLowerCase();
|
||||||
}
|
const value = nowStandForm[attrField]
|
||||||
if (this.standForm.issueTimeEd != null && this.standForm.issueTimeEd !== "") {
|
// 时间格式处理
|
||||||
nowStandForm.issueTimeEd = this.$dateFormat(this.standForm.issueTimeEd, "yyyy-MM-dd hh:mm:ss");
|
if (item.attrType === 'DATE_PICKER' && value) {
|
||||||
}
|
nowStandForm[item.attrField] = this.standForm[attrField]
|
||||||
if (this.standForm.putTime != null && this.standForm.putTime !== "") {
|
}
|
||||||
nowStandForm.putTime = this.$dateFormat(this.standForm.putTime, "yyyy-MM-dd hh:mm:ss");
|
sarStandAttrObj[item.attrField] = nowStandForm[attrField]
|
||||||
}
|
})
|
||||||
if (this.standForm.putTimeSt != null && this.standForm.putTimeSt !== "") {
|
nowStandForm['sarStandAttrEOStr'] = JSON.stringify(sarStandAttrObj).replace(/"/g, "'")
|
||||||
nowStandForm.putTimeSt = this.$dateFormat(this.standForm.putTimeSt, "yyyy-MM-dd hh:mm:ss");
|
|
||||||
}
|
|
||||||
if (this.standForm.putTimeEd != null && this.standForm.putTimeEd !== "") {
|
|
||||||
nowStandForm.putTimeEd = this.$dateFormat(this.standForm.putTimeEd, "yyyy-MM-dd hh:mm:ss");
|
|
||||||
}
|
|
||||||
if (this.standForm.newproductPutTime != null && this.standForm.newproductPutTime !== "") {
|
|
||||||
nowStandForm.newproductPutTime = this.$dateFormat(this.standForm.newproductPutTime, "yyyy-MM-dd hh:mm:ss");
|
|
||||||
}
|
|
||||||
if (this.standForm.registerPutTime != null && this.standForm.registerPutTime !== "") {
|
|
||||||
nowStandForm.registerPutTime = this.$dateFormat(this.standForm.registerPutTime, "yyyy-MM-dd hh:mm:ss");
|
|
||||||
}
|
|
||||||
if (this.standForm.productPutTime != null && this.standForm.productPutTime !== "") {
|
|
||||||
nowStandForm.productPutTime = this.$dateFormat(this.standForm.productPutTime, "yyyy-MM-dd hh:mm:ss");
|
|
||||||
}
|
|
||||||
if (this.standForm.productPutTimeSt != null && this.standForm.productPutTimeSt !== "") {
|
|
||||||
nowStandForm.productPutTimeSt = this.$dateFormat(this.standForm.productPutTimeSt, "yyyy-MM-dd hh:mm:ss");
|
|
||||||
} else {
|
|
||||||
nowStandForm.productPutTimeSt = "";
|
|
||||||
}
|
|
||||||
if (this.standForm.productPutTimeEd != null && this.standForm.productPutTimeEd !== "") {
|
|
||||||
nowStandForm.productPutTimeEd = this.$dateFormat(this.standForm.productPutTimeEd, "yyyy-MM-dd hh:mm:ss");
|
|
||||||
} else {
|
|
||||||
nowStandForm.productPutTimeEd = "";
|
|
||||||
}
|
|
||||||
if (this.standForm.newcarPutTime != null && this.standForm.newcarPutTime !== "") {
|
|
||||||
nowStandForm.newcarPutTime = this.$dateFormat(this.standForm.newcarPutTime, "yyyy-MM-dd hh:mm:ss");
|
|
||||||
}
|
|
||||||
if (this.standForm.newcarPutTimeSt != null && this.standForm.newcarPutTimeSt !== "") {
|
|
||||||
nowStandForm.newcarPutTimeSt = this.$dateFormat(this.standForm.newcarPutTimeSt, "yyyy-MM-dd hh:mm:ss");
|
|
||||||
} else {
|
|
||||||
nowStandForm.newcarPutTimeSt = "";
|
|
||||||
}
|
|
||||||
if (this.standForm.newcarPutTimeEd != null && this.standForm.newcarPutTimeEd !== "") {
|
|
||||||
nowStandForm.newcarPutTimeEd = this.$dateFormat(this.standForm.newcarPutTimeEd, "yyyy-MM-dd hh:mm:ss");
|
|
||||||
} else {
|
|
||||||
nowStandForm.newcarPutTimeEd = "";
|
|
||||||
}
|
|
||||||
if (this.standForm.firstPutTime != null && this.standForm.firstPutTime !== "") {
|
|
||||||
nowStandForm.firstPutTime = this.$dateFormat(this.standForm.firstPutTime, "yyyy-MM-dd hh:mm:ss");
|
|
||||||
}
|
|
||||||
if (this.standForm.putYear != null && this.standForm.putYear !== "") {
|
|
||||||
nowStandForm.putYear = this.$dateFormat(this.standForm.putYear, "yyyy");
|
|
||||||
}
|
|
||||||
this.exportSearchInfo = nowStandForm;
|
this.exportSearchInfo = nowStandForm;
|
||||||
nowStandForm['sarStandAttrEOStr'] = JSON.stringify(nowStandForm).replace(/"/g, "'")
|
|
||||||
this.$http.post("search/searchCenter/searchSarBykey", nowStandForm, {
|
this.$http.post("search/searchCenter/searchSarBykey", nowStandForm, {
|
||||||
_this: this,
|
_this: this,
|
||||||
loading: "resultLoading"
|
loading: "resultLoading"
|
||||||
@@ -1920,20 +1851,13 @@ export default {
|
|||||||
let routername = "";
|
let routername = "";
|
||||||
let pagetype = "";
|
let pagetype = "";
|
||||||
if (item.type === "stand") {
|
if (item.type === "stand") {
|
||||||
if (this.$hasPermission("CFEZ3VP7EA95CTRBH3JB") || this.$hasPermission("R5DNG6EZC66CNFC4RHPH")) {
|
if (item.standType === "INLAND") {
|
||||||
if (item.stand_type === "INLAND") {
|
routername = "OtherStandardDetails";
|
||||||
routername = "OtherStandardDetails";
|
pagetype = "INLAND_STAND";
|
||||||
pagetype = "INLAND_STAND";
|
|
||||||
} else {
|
} else {
|
||||||
routername = "OtherForeignDetails";
|
routername = "OtherForeignDetails";
|
||||||
pagetype = "FOREIGN_STAND";
|
pagetype = "FOREIGN_STAND";
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
this.$message({
|
|
||||||
message: "无权访问",
|
|
||||||
type: "warning"
|
|
||||||
});
|
|
||||||
}
|
|
||||||
} else if (item.type === "laws") {
|
} else if (item.type === "laws") {
|
||||||
if (this.$hasPermission("9P2UTSAHZ3AHKDGAEY6V")) {
|
if (this.$hasPermission("9P2UTSAHZ3AHKDGAEY6V")) {
|
||||||
routername = "OtherLawsDetails";
|
routername = "OtherLawsDetails";
|
||||||
@@ -2349,6 +2273,7 @@ export default {
|
|||||||
computed: {
|
computed: {
|
||||||
// 条件按钮提示
|
// 条件按钮提示
|
||||||
toggleConditionTips() {
|
toggleConditionTips() {
|
||||||
|
this.standForm.selectValue = ''
|
||||||
return this.kindtext ? "收起条件" : "展开条件";
|
return this.kindtext ? "收起条件" : "展开条件";
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -2408,6 +2333,7 @@ export default {
|
|||||||
// 加载表格
|
// 加载表格
|
||||||
this.searchSarBykey();
|
this.searchSarBykey();
|
||||||
this.showBuyRole();
|
this.showBuyRole();
|
||||||
|
this.getAddFormFieldList();
|
||||||
// 组织结构
|
// 组织结构
|
||||||
this.getOrgTreeSource();
|
this.getOrgTreeSource();
|
||||||
// this.selectBussRoleMsg();
|
// this.selectBussRoleMsg();
|
||||||
|
|||||||
@@ -212,7 +212,7 @@ export default {
|
|||||||
//查询选项
|
//查询选项
|
||||||
queryOptions() {
|
queryOptions() {
|
||||||
let _this = this;
|
let _this = this;
|
||||||
this.$http.post("search/searchCenter/getMenu", {}, {
|
this.$http.post("search/getMenu", {}, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
_this.searchData = [
|
_this.searchData = [
|
||||||
|
|||||||
+33
-6
@@ -294,6 +294,15 @@ const routes = [
|
|||||||
title: '标准清单发布/更新流程'
|
title: '标准清单发布/更新流程'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/bzqdfbStep1-4',
|
||||||
|
name: 'bzqdfbStep1-4',
|
||||||
|
component: () => import('@/pages/processCenter/pages/creatProcess/bzqdfb/step1-4.vue'),
|
||||||
|
meta: {
|
||||||
|
requireAuth: true,
|
||||||
|
title: '标准清单发布/更新流程'
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: '/xmpgStep1',
|
path: '/xmpgStep1',
|
||||||
name: 'xmpgStep1',
|
name: 'xmpgStep1',
|
||||||
@@ -314,18 +323,18 @@ const routes = [
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/xmpgStep1-3',
|
path: '/xmpgStep1-2',
|
||||||
name: 'xmpgStep1-3',
|
name: 'xmpgStep1-2',
|
||||||
component: () => import('@/pages/processCenter/pages/creatProcess/xmpg/step1-3.vue'),
|
component: () => import('@/pages/processCenter/pages/creatProcess/xmpg/step1-2.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
requireAuth: true,
|
requireAuth: true,
|
||||||
title: '项目合规评估流程'
|
title: '项目合规评估流程'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/xmpgStep1-4',
|
path: '/xmpgStep1-7',
|
||||||
name: 'xmpgStep1-4',
|
name: 'xmpgStep1-7',
|
||||||
component: () => import('@/pages/processCenter/pages/creatProcess/xmpg/step1-4.vue'),
|
component: () => import('@/pages/processCenter/pages/creatProcess/xmpg/step1-7.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
requireAuth: true,
|
requireAuth: true,
|
||||||
title: '项目合规评估流程'
|
title: '项目合规评估流程'
|
||||||
@@ -403,6 +412,24 @@ const routes = [
|
|||||||
title: '项目合规评估流程-项目'
|
title: '项目合规评估流程-项目'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/xmpg2Step1-2',
|
||||||
|
name: 'xmpg2Step1-2',
|
||||||
|
component: () => import('@/pages/processCenter/pages/creatProcess/xmpg2/step1-2.vue'),
|
||||||
|
meta: {
|
||||||
|
requireAuth: true,
|
||||||
|
title: '项目合规评估流程-项目'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: '/xmpg2Step1-12',
|
||||||
|
name: 'xmpg2Step1-12',
|
||||||
|
component: () => import('@/pages/processCenter/pages/creatProcess/xmpg2/step1-12.vue'),
|
||||||
|
meta: {
|
||||||
|
requireAuth: true,
|
||||||
|
title: '项目合规评估流程-项目'
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: '/xmpg2Step2',
|
path: '/xmpg2Step2',
|
||||||
name: 'xmpg2Step2',
|
name: 'xmpg2Step2',
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
// 服务器地址
|
// 服务器地址
|
||||||
// const devIp = '10.96.10.171'
|
// const devIp = '10.96.10.171'
|
||||||
// const devInterfacePORT = '9999'
|
// const devInterfacePORT = '9999'
|
||||||
const devIp = '10.96.170.156'
|
const devIp = '192.168.0.104'
|
||||||
const devInterfacePORT = '9999'
|
const devInterfacePORT = '9999'
|
||||||
// 云端端口号
|
// 云端端口号
|
||||||
const DEV_CLOUD_RES_INTERFACE_PORT = '7777'
|
const DEV_CLOUD_RES_INTERFACE_PORT = '7777'
|
||||||
|
|||||||
Reference in New Issue
Block a user