Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1012,11 +1012,11 @@ export default {
|
|||||||
_formData.append('createUserName', this.$store.getters.userInfo.userName)
|
_formData.append('createUserName', this.$store.getters.userInfo.userName)
|
||||||
_formData.append('prcType', '4')
|
_formData.append('prcType', '4')
|
||||||
_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
|
||||||
|
|||||||
@@ -37,13 +37,15 @@
|
|||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="附件" prop="modelName" class="add-form-item form-item-disabled">
|
<el-form-item label="附件" prop="modelName" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
|
disabled
|
||||||
v-if="listForm.modelName == null || this.listForm.modelName== 'undefined' || this.listForm.modelName == '' "
|
v-if="listForm.modelName == null || this.listForm.modelName== 'undefined' || this.listForm.modelName == '' "
|
||||||
placeholder="暂无数据"
|
placeholder="暂无数据"
|
||||||
>
|
>
|
||||||
</el-input>
|
</el-input>
|
||||||
<el-input
|
<el-input
|
||||||
|
disabled
|
||||||
v-else
|
v-else
|
||||||
v-model="listForm.modelName"
|
v-model="listForm.modelName"
|
||||||
placeholder=""
|
placeholder=""
|
||||||
@@ -68,13 +70,6 @@
|
|||||||
prop="code"
|
prop="code"
|
||||||
width="180px"
|
width="180px"
|
||||||
label="标准号">
|
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>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standName"
|
prop="standName"
|
||||||
@@ -320,20 +315,6 @@ export default {
|
|||||||
//保存事件
|
//保存事件
|
||||||
handleSave() {
|
handleSave() {
|
||||||
|
|
||||||
},
|
|
||||||
handlePreview(item) {
|
|
||||||
if (item.id) {
|
|
||||||
let routeUrl = this.$router.resolve({
|
|
||||||
name: "OtherStandardDetails",
|
|
||||||
params: {
|
|
||||||
id: item.standId,
|
|
||||||
pageType: item.standType + "_STAND"
|
|
||||||
}
|
|
||||||
});
|
|
||||||
window.open(routeUrl.href, "_blank");
|
|
||||||
} else {
|
|
||||||
this.$message.warning("暂无关联的标准");
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
|
|||||||
@@ -383,6 +383,17 @@ export default {
|
|||||||
handleTabs(name) {
|
handleTabs(name) {
|
||||||
this.active = name;
|
this.active = name;
|
||||||
},
|
},
|
||||||
|
// 点击查看
|
||||||
|
handlePreview(item) {
|
||||||
|
let routeUrl = this.$router.resolve({
|
||||||
|
name: "OtherStandardDetails",
|
||||||
|
params: {
|
||||||
|
id: item.id,
|
||||||
|
pageType: "INLAND_STAND"
|
||||||
|
}
|
||||||
|
});
|
||||||
|
window.open(routeUrl.href, "_blank");
|
||||||
|
},
|
||||||
//点击添加事件
|
//点击添加事件
|
||||||
addList() {
|
addList() {
|
||||||
this.$http.get("sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage", "", {
|
this.$http.get("sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage", "", {
|
||||||
|
|||||||
@@ -1,480 +1,479 @@
|
|||||||
<!--标准法规清单发布 - 业务经理审批-->
|
<!--标准法规清单发布 - 业务经理审批-->
|
||||||
<template>
|
<template>
|
||||||
<div class="bzqdfb-step4">
|
<div class="bzqdfb-step4">
|
||||||
<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>
|
||||||
<div class="headerTabsItem" :class="active === '3' ? 'active' : ''" @click="handleTabs('3')">审批历史</div>
|
<div class="headerTabsItem" :class="active === '3' ? 'active' : ''" @click="handleTabs('3')">审批历史</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-show="active == '1'">
|
<div class="content" v-show="active == '1'">
|
||||||
<div style="flex: auto; overflow: auto">
|
<div style="flex: auto; overflow: auto">
|
||||||
<process-title>
|
<process-title>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
</process-title>
|
</process-title>
|
||||||
<el-form
|
<el-form
|
||||||
:model="listForm"
|
:model="listForm"
|
||||||
class="label-input-form prc-content-border"
|
class="label-input-form prc-content-border"
|
||||||
label-width="150px"
|
label-width="150px"
|
||||||
>
|
|
||||||
<el-row :gutter="24">
|
|
||||||
<el-col :span="24">
|
|
||||||
<!-- <el-form-item label="选择清单" prop="orgName" class="add-form-item form-item-disabled">-->
|
|
||||||
<!-- <el-radio-group v-model="listType" @change="selectionList">-->
|
|
||||||
<!-- <el-radio label="country">国家/地区清单</el-radio>-->
|
|
||||||
<!-- <el-radio label="project">项目清单</el-radio>-->
|
|
||||||
<!-- <el-radio label="other">其他清单</el-radio>-->
|
|
||||||
<!-- </el-radio-group>-->
|
|
||||||
<!-- <el-button size="mini" type="primary" style="margin-left: 40px;" @click="choiceShow">选择清单</el-button>-->
|
|
||||||
<!-- </el-form-item>-->
|
|
||||||
<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="applyRegion" class="add-form-item form-item-disabled">-->
|
|
||||||
<!-- <el-input-->
|
|
||||||
<!-- disabled-->
|
|
||||||
<!-- v-model="listForm.applyRegion"-->
|
|
||||||
<!-- 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">
|
|
||||||
<el-input
|
|
||||||
v-if="listForm.modelName == null || this.listForm.modelName== 'undefined' || this.listForm.modelName == '' "
|
|
||||||
v-model="listForm.modelName"
|
|
||||||
placeholder="暂无数据"
|
|
||||||
>
|
>
|
||||||
</el-input>
|
<el-row :gutter="24">
|
||||||
<el-input
|
<el-col :span="24">
|
||||||
v-else
|
<!-- <el-form-item label="选择清单" prop="orgName" class="add-form-item form-item-disabled">-->
|
||||||
v-model="listForm.modelName"
|
<!-- <el-radio-group v-model="listType" @change="selectionList">-->
|
||||||
placeholder=""
|
<!-- <el-radio label="country">国家/地区清单</el-radio>-->
|
||||||
></el-input>
|
<!-- <el-radio label="project">项目清单</el-radio>-->
|
||||||
</el-form-item>
|
<!-- <el-radio label="other">其他清单</el-radio>-->
|
||||||
</el-col>
|
<!-- </el-radio-group>-->
|
||||||
</el-row>
|
<!-- <el-button size="mini" type="primary" style="margin-left: 40px;" @click="choiceShow">选择清单</el-button>-->
|
||||||
</el-form>
|
<!-- </el-form-item>-->
|
||||||
<process-title>
|
<el-form-item label="清单名称" prop="listName" class="add-form-item form-item-disabled">
|
||||||
<template slot="title">填写信息</template>
|
<el-input
|
||||||
</process-title>
|
disabled
|
||||||
<el-table
|
v-model="listForm.listName"
|
||||||
:data="dataList"
|
placeholder="请输入清单名称"
|
||||||
border
|
clearable
|
||||||
height="64.6%"
|
></el-input>
|
||||||
style="width: 100%"
|
</el-form-item>
|
||||||
@selection-change="selectStandChange"
|
<!-- <el-form-item label="适用区域" prop="applyRegion" class="add-form-item form-item-disabled">-->
|
||||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
<!-- <el-input-->
|
||||||
|
<!-- disabled-->
|
||||||
|
<!-- v-model="listForm.applyRegion"-->
|
||||||
|
<!-- 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">
|
||||||
|
<el-input
|
||||||
|
disabled
|
||||||
|
v-if="listForm.modelName == null || this.listForm.modelName== 'undefined' || this.listForm.modelName == '' "
|
||||||
|
v-model="listForm.modelName"
|
||||||
|
placeholder="暂无数据"
|
||||||
|
>
|
||||||
|
</el-input>
|
||||||
|
<el-input
|
||||||
|
disabled
|
||||||
|
v-else
|
||||||
|
v-model="listForm.modelName"
|
||||||
|
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
|
||||||
|
height="64.6%"
|
||||||
|
style="width: 100%"
|
||||||
|
@selection-change="selectStandChange"
|
||||||
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||||
fontWeight: 'bold', height: '48px'}">
|
fontWeight: 'bold', height: '48px'}">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="code"
|
prop="code"
|
||||||
fixed="left"
|
fixed="left"
|
||||||
width="180px"
|
width="180px"
|
||||||
label="标准号">
|
label="标准号">
|
||||||
<template slot-scope="scope">
|
</el-table-column>
|
||||||
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a>
|
<el-table-column
|
||||||
<a v-else @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}</a>
|
prop="standName"
|
||||||
</template>
|
label="标准名称"
|
||||||
</el-table-column>
|
width="260px"
|
||||||
<el-table-column
|
>
|
||||||
prop="standName"
|
</el-table-column>
|
||||||
label="标准名称"
|
<el-table-column
|
||||||
width="260px"
|
prop="issueTime"
|
||||||
>
|
sortable
|
||||||
</el-table-column>
|
label="发布日期">
|
||||||
<el-table-column
|
</el-table-column>
|
||||||
prop="issueTime"
|
<el-table-column
|
||||||
sortable
|
prop="xcxssrq"
|
||||||
label="发布日期">
|
sortable
|
||||||
</el-table-column>
|
label="新车型实施日期">
|
||||||
<el-table-column
|
</el-table-column>
|
||||||
prop="xcxssrq"
|
<el-table-column
|
||||||
sortable
|
show-overflow-tooltip
|
||||||
label="新车型实施日期">
|
prop="zccssrq"
|
||||||
</el-table-column>
|
sortable
|
||||||
<el-table-column
|
label="在产车实施日期">
|
||||||
show-overflow-tooltip
|
</el-table-column>
|
||||||
prop="zccssrq"
|
<el-table-column
|
||||||
sortable
|
show-overflow-tooltip
|
||||||
label="在产车实施日期">
|
prop="textStatus"
|
||||||
</el-table-column>
|
width="120px"
|
||||||
<el-table-column
|
label="文本状态">
|
||||||
show-overflow-tooltip
|
</el-table-column>
|
||||||
prop="textStatus"
|
</el-table>
|
||||||
width="120px"
|
|
||||||
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>
|
</div>
|
||||||
</el-collapse-item>
|
<div>
|
||||||
</el-collapse>
|
<el-collapse accordion>
|
||||||
</div>
|
<el-collapse-item title="意见填写">
|
||||||
</div>
|
<div style="margin: 10px 0;">
|
||||||
<div class="content" v-show="active === '3'">
|
<el-input
|
||||||
<div class="flow-list">
|
type="textarea"
|
||||||
<el-table
|
:rows="3"
|
||||||
height="100%"
|
resize="none"
|
||||||
ref="selection"
|
placeholder="请输入意见"
|
||||||
:data="detailData"
|
v-model="commentText">
|
||||||
tooltip-effect="dark"
|
</el-input>
|
||||||
style="width: 100%"
|
</div>
|
||||||
border
|
</el-collapse-item>
|
||||||
row-key="id"
|
</el-collapse>
|
||||||
:no-data-text="listNoDataText"
|
</div>
|
||||||
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}"
|
</div>
|
||||||
>
|
<div class="content" v-show="active === '3'">
|
||||||
<el-table-column
|
<div class="flow-list">
|
||||||
type="selection"
|
<el-table
|
||||||
width="55"
|
height="100%"
|
||||||
align="center">
|
ref="selection"
|
||||||
</el-table-column>
|
:data="detailData"
|
||||||
<el-table-column
|
tooltip-effect="dark"
|
||||||
prop="name"
|
style="width: 100%"
|
||||||
label="任务步骤"
|
border
|
||||||
align="center"
|
row-key="id"
|
||||||
>
|
:no-data-text="listNoDataText"
|
||||||
</el-table-column>
|
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}"
|
||||||
<el-table-column
|
>
|
||||||
prop="assignee"
|
<el-table-column
|
||||||
label="任务受理人"
|
type="selection"
|
||||||
align="center"
|
width="55"
|
||||||
>
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="createTime"
|
prop="name"
|
||||||
label="创建时间"
|
label="任务步骤"
|
||||||
sortable="custom"
|
align="center"
|
||||||
align="center">
|
>
|
||||||
<template slot-scope="scope">
|
</el-table-column>
|
||||||
<span>{{ scope.row.createTime ? $moment(scope.row.createTime).format('YYYY-MM-DD') : '' }}</span>
|
<el-table-column
|
||||||
</template>
|
prop="assignee"
|
||||||
</el-table-column>
|
label="任务受理人"
|
||||||
<el-table-column
|
align="center"
|
||||||
prop="endTime"
|
>
|
||||||
label="完成时间"
|
</el-table-column>
|
||||||
align="center">
|
<el-table-column
|
||||||
<template slot-scope="scope">
|
prop="createTime"
|
||||||
<span>{{ scope.row.endTime ? $moment(scope.row.endTime).format('YYYY-MM-DD') : '' }}</span>
|
label="创建时间"
|
||||||
</template>
|
sortable="custom"
|
||||||
</el-table-column>
|
align="center">
|
||||||
<el-table-column
|
<template slot-scope="scope">
|
||||||
prop="comment"
|
<span>{{ scope.row.createTime ? $moment(scope.row.createTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
label="审批意见"
|
</template>
|
||||||
align="center">
|
</el-table-column>
|
||||||
<template slot-scope="scope">
|
<el-table-column
|
||||||
<span>{{scope.row.commentText}}</span>
|
prop="endTime"
|
||||||
</template>
|
label="完成时间"
|
||||||
</el-table-column>
|
align="center">
|
||||||
<el-table-column
|
<template slot-scope="scope">
|
||||||
prop="completeFlag"
|
<span>{{ scope.row.endTime ? $moment(scope.row.endTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
label="状态"
|
</template>
|
||||||
align="center">
|
</el-table-column>
|
||||||
<template slot-scope="scope">
|
<el-table-column
|
||||||
<span>{{ scope.row.endTime ? '已完成' : '未完成'}}</span>
|
prop="comment"
|
||||||
</template>
|
label="审批意见"
|
||||||
</el-table-column>
|
align="center">
|
||||||
</el-table>
|
<template slot-scope="scope">
|
||||||
<loading :loading="loading">流程列表加载中</loading>
|
<span>{{scope.row.commentText}}</span>
|
||||||
</div>
|
</template>
|
||||||
</div>
|
</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>
|
||||||
|
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-back
|
show-back
|
||||||
show-submit
|
show-submit
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="saveLoading"
|
||||||
:approval="true"
|
:approval="true"
|
||||||
@back="beforeBack"
|
@back="beforeBack"
|
||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import ProcessHeader from "../../components/ProcessHeader";
|
import ProcessHeader from "../../components/ProcessHeader";
|
||||||
import ProcessFooter from "../../components/ProcessFooter";
|
import ProcessFooter from "../../components/ProcessFooter";
|
||||||
import ProcessTitle from "../../components/ProcessTitle";
|
import ProcessTitle from "../../components/ProcessTitle";
|
||||||
import { inboundLiaisonDetail } from "api/process";
|
import {inboundLiaisonDetail} from "api/process";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "bzqdfbStep4",
|
name: "bzqdfbStep4",
|
||||||
components: {
|
components: {
|
||||||
ProcessHeader,
|
ProcessHeader,
|
||||||
ProcessFooter,
|
ProcessFooter,
|
||||||
ProcessTitle
|
ProcessTitle
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
detailData: [],
|
detailData: [],
|
||||||
// 当前流程类型(1待办/2已办)
|
// 当前流程类型(1待办/2已办)
|
||||||
processType: 1,
|
processType: 1,
|
||||||
loading: false,
|
loading: false,
|
||||||
dataList: [],//清单里的标准数据
|
dataList: [],//清单里的标准数据
|
||||||
approvalOpinion: '', // 通过0/驳回1
|
approvalOpinion: '', // 通过0/驳回1
|
||||||
active: "1",
|
active: "1",
|
||||||
listType: "country", //选择的清单类型
|
listType: "country", //选择的清单类型
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
tabValue: "listOfCountries",
|
tabValue: "listOfCountries",
|
||||||
selectedList: [], //选择清单的选择框
|
selectedList: [], //选择清单的选择框
|
||||||
selectList: [], //选择标准的选择框
|
selectList: [], //选择标准的选择框
|
||||||
bringData: [],
|
bringData: [],
|
||||||
commentText: '', //填写会签意见
|
commentText: '', //填写会签意见
|
||||||
page: 1,
|
page: 1,
|
||||||
total: 0,
|
total: 0,
|
||||||
pageSize: this.$store.getters.userInfo.configContent,
|
pageSize: this.$store.getters.userInfo.configContent,
|
||||||
listForm: {
|
listForm: {
|
||||||
listType: "", //区分是哪个清单
|
listType: "", //区分是哪个清单
|
||||||
listName: "", //清单名称
|
listName: "", //清单名称
|
||||||
// applyRegion: "", //适用区域
|
// applyRegion: "", //适用区域
|
||||||
descriptionList: "", //清单说明
|
descriptionList: "", //清单说明
|
||||||
enclosure: "", //附件
|
enclosure: "", //附件
|
||||||
signFlag: "1", //是否会签 1为会签 2为不会签
|
signFlag: "1", //是否会签 1为会签 2为不会签
|
||||||
approvalOpinion: '', // 通过/驳回
|
approvalOpinion: '', // 通过/驳回
|
||||||
dataList: [{
|
dataList: [{
|
||||||
standNumber: "", //标准号
|
standNumber: "", //标准号
|
||||||
cnName: "", //中文名称
|
cnName: "", //中文名称
|
||||||
enName: "", //英文名称
|
enName: "", //英文名称
|
||||||
isSubTime: "", //发布日期
|
isSubTime: "", //发布日期
|
||||||
newCarTime: "", //新车型实施日期
|
newCarTime: "", //新车型实施日期
|
||||||
oldCarTime: "", //在产车实施日期
|
oldCarTime: "", //在产车实施日期
|
||||||
applyCar: "", //适用车型
|
applyCar: "", //适用车型
|
||||||
textState: "", //文本状态
|
textState: "", //文本状态
|
||||||
id: ""
|
id: ""
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
choiceForm: {}, //选择标准清单列表
|
choiceForm: {}, //选择标准清单列表
|
||||||
// countryOptions: [], //适用区域下拉框数据
|
// countryOptions: [], //适用区域下拉框数据
|
||||||
userId:this.$store.getters.userInfo.userId,
|
userId: this.$store.getters.userInfo.userId,
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
pId: this.$route.query.prcId,
|
pId: this.$route.query.prcId,
|
||||||
signFlag: "1", //是否会签 1为会签 2为不会签
|
signFlag: "1", //是否会签 1为会签 2为不会签
|
||||||
user1: "",
|
user1: "",
|
||||||
user2: "",
|
user2: "",
|
||||||
user3: "",
|
user3: "",
|
||||||
user4: "",
|
user4: "",
|
||||||
user5: "",
|
user5: "",
|
||||||
standMap: new Map()
|
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;
|
||||||
|
},
|
||||||
|
choiceShow() {
|
||||||
|
this.ListModel = true;
|
||||||
|
},
|
||||||
|
//保存事件
|
||||||
|
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
|
||||||
|
})
|
||||||
|
},
|
||||||
|
//驳回事件
|
||||||
|
beforeBack() {
|
||||||
|
this.listForm.approvalOpinion = '1'
|
||||||
|
this.handleSubmit()
|
||||||
|
},
|
||||||
|
//提交事件
|
||||||
|
handleSubmit() {
|
||||||
|
this.listForm.applyUpdUserId = this.listForm.applyUpdUserId;
|
||||||
|
this.listForm.zrUserId = this.listForm.zrUserId;
|
||||||
|
this.listForm.jlUserId = this.listForm.jlUserId;
|
||||||
|
this.listForm.prcCreateUser = this.$store.getters.userInfo.userId;
|
||||||
|
this.listForm.prcCreateUserName = this.$store.getters.userInfo.account;
|
||||||
|
this.listForm.commentText = this.commentText;
|
||||||
|
this.listForm.signflag = "";
|
||||||
|
this.listForm.standId = this.listForm.standId;
|
||||||
|
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')
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
|
//选择标准取消事件
|
||||||
|
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();
|
||||||
|
}
|
||||||
|
},
|
||||||
|
computed: {
|
||||||
|
listNoDataText() {
|
||||||
|
return this.processType === 1 ? '暂无待办流程' : '暂无已办流程'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
this.getData()
|
||||||
|
this.processTable()
|
||||||
|
},
|
||||||
};
|
};
|
||||||
},
|
|
||||||
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;
|
|
||||||
},
|
|
||||||
//保存事件
|
|
||||||
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
|
|
||||||
})
|
|
||||||
},
|
|
||||||
//驳回事件
|
|
||||||
beforeBack () {
|
|
||||||
this.listForm.approvalOpinion = '1'
|
|
||||||
this.handleSubmit()
|
|
||||||
},
|
|
||||||
//提交事件
|
|
||||||
handleSubmit() {
|
|
||||||
this.listForm.applyUpdUserId = this.listForm.applyUpdUserId;
|
|
||||||
this.listForm.zrUserId = this.listForm.zrUserId;
|
|
||||||
this.listForm.jlUserId = this.listForm.jlUserId;
|
|
||||||
this.listForm.prcCreateUser = this.$store.getters.userInfo.userId;
|
|
||||||
this.listForm.prcCreateUserName = this.$store.getters.userInfo.account;
|
|
||||||
this.listForm.commentText = this.commentText;
|
|
||||||
this.listForm.signflag = "";
|
|
||||||
this.listForm.standId = this.listForm.standId;
|
|
||||||
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')
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
//选择标准取消事件
|
|
||||||
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();
|
|
||||||
}
|
|
||||||
},
|
|
||||||
computed: {
|
|
||||||
listNoDataText () {
|
|
||||||
return this.processType === 1 ? '暂无待办流程' : '暂无已办流程'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
mounted() {
|
|
||||||
this.getData()
|
|
||||||
this.processTable()
|
|
||||||
},
|
|
||||||
};
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
@import '~@/assets/styles/style';
|
@import '~@/assets/styles/style';
|
||||||
|
|
||||||
.bzqdfb-step4 {
|
.bzqdfb-step4 {
|
||||||
/deep/ .el-drawer__container {
|
/deep/ .el-drawer__container {
|
||||||
.prc-content-border {
|
.prc-content-border {
|
||||||
border: none;
|
border: none;
|
||||||
padding: 0 20px 0;
|
padding: 0 20px 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.choiceBtn {
|
.choiceBtn {
|
||||||
.el-button--primary {
|
.el-button--primary {
|
||||||
width: 150px;
|
width: 150px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
position: relative;
|
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%;
|
height: 100%;
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.demo-drawer-content {
|
.headerTabs {
|
||||||
margin-top: 10px;
|
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>
|
</style>
|
||||||
|
|
||||||
|
|||||||
@@ -226,6 +226,16 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
break
|
break
|
||||||
|
case '4':
|
||||||
|
this.$router.push({
|
||||||
|
name: 'bzqdfbStep1-1',
|
||||||
|
query: {
|
||||||
|
type: '4',
|
||||||
|
processName: '标准清单发布更新流程',
|
||||||
|
bpnId: id
|
||||||
|
}
|
||||||
|
})
|
||||||
|
break
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
...mapMutations(['setProcess', 'setHandleInfo']),
|
...mapMutations(['setProcess', 'setHandleInfo']),
|
||||||
|
|||||||
@@ -249,6 +249,15 @@ const routes = [
|
|||||||
title: '标准清单发布/更新流程'
|
title: '标准清单发布/更新流程'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/bzqdfbStep1-1',
|
||||||
|
name: 'bzqdfbStep1-1',
|
||||||
|
component: () => import('@/pages/processCenter/pages/creatProcess/bzqdfb/step1-1.vue'),
|
||||||
|
meta: {
|
||||||
|
requireAuth: true,
|
||||||
|
title: '标准清单发布/更新流程'
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: '/bzqdfbStep2',
|
path: '/bzqdfbStep2',
|
||||||
name: 'bzqdfbStep2',
|
name: 'bzqdfbStep2',
|
||||||
|
|||||||
Reference in New Issue
Block a user