Merge remote-tracking branch 'origin/develop' into develop
# Conflicts: # src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue
This commit is contained in:
@@ -2,8 +2,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="attribute-custom v-class">
|
<div class="attribute-custom v-class">
|
||||||
<div class="action-bar1">
|
<div class="action-bar1">
|
||||||
<el-button class="common-button-primary add-button" size="mini" v-btn-permission="'EAT8LJFSP6P4QMR6M8F4'" type="primary" @click="showAddModel"><i class="iconfont"></i>新增</el-button>
|
<el-button class="common-button-primary add-button" size="mini" v-btn-permission="''" type="primary" @click="showAddModel"><i class="iconfont"></i>新增</el-button>
|
||||||
<el-button class="common-button-default" size="mini" v-btn-permission="'Q2AQMSUHKZDKLXJBHJEN'" @click="showDisplayLocationDialog">展示区域管理</el-button>
|
<el-button class="common-button-default" size="mini" v-btn-permission="''" @click="showDisplayLocationDialog">展示区域管理</el-button>
|
||||||
</div>
|
</div>
|
||||||
<loading :loading="attributeDataLoading">数据处理中</loading>
|
<loading :loading="attributeDataLoading">数据处理中</loading>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
<el-dropdown trigger="click" @command="handleCommand">
|
<el-dropdown trigger="click" @command="handleCommand">
|
||||||
<i class="iconfont"></i>
|
<i class="iconfont"></i>
|
||||||
<el-dropdown-menu slot="dropdown">
|
<el-dropdown-menu slot="dropdown">
|
||||||
<el-dropdown-item v-btn-permission="'PTH96GYZT6SQZE9H8XCF'" :command="[scope.row, '编辑']">编辑</el-dropdown-item>
|
<el-dropdown-item v-btn-permission="''" :command="[scope.row, '编辑']">编辑</el-dropdown-item>
|
||||||
<el-dropdown-item :disabled="scope.row.isEdit==='1'" :command="[scope.row, '删除']">删除</el-dropdown-item>
|
<el-dropdown-item :disabled="scope.row.isEdit==='1'" :command="[scope.row, '删除']">删除</el-dropdown-item>
|
||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
|
|||||||
@@ -53,10 +53,10 @@
|
|||||||
class="common-button-primary"
|
class="common-button-primary"
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="showAddModel(1, null)"
|
@click="showAddModel(1, null)"
|
||||||
v-btn-permission="'29YZ482LEHRJJXELWZGG'"
|
v-btn-permission="''"
|
||||||
><i class="iconfont"></i>新增</el-button
|
><i class="iconfont"></i>新增</el-button
|
||||||
>
|
>
|
||||||
<el-button @click="deleteAttr" size="mini" class="common-button-default" v-btn-permission="T97J4LTH3TP36CREJ62A"
|
<el-button @click="deleteAttr" size="mini" class="common-button-default" v-btn-permission=""
|
||||||
><i class="iconfont"></i>删除</el-button
|
><i class="iconfont"></i>删除</el-button
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
@@ -124,13 +124,13 @@
|
|||||||
<i class="iconfont"></i>
|
<i class="iconfont"></i>
|
||||||
<el-dropdown-menu slot="dropdown">
|
<el-dropdown-menu slot="dropdown">
|
||||||
<el-dropdown-item
|
<el-dropdown-item
|
||||||
v-btn-permission="'5B3QMLDMTJ4XPLKSFA8Q'"
|
v-btn-permission="''"
|
||||||
:disabled="scope.row.enable === '0'"
|
:disabled="scope.row.enable === '0'"
|
||||||
:command="[scope.row, '编辑']"
|
:command="[scope.row, '编辑']"
|
||||||
>编辑</el-dropdown-item
|
>编辑</el-dropdown-item
|
||||||
>
|
>
|
||||||
<el-dropdown-item
|
<el-dropdown-item
|
||||||
v-btn-permission="'T97J4LTH3TP36CREJ62A'"
|
v-btn-permission="''"
|
||||||
:disabled="scope.row.enable === '0'"
|
:disabled="scope.row.enable === '0'"
|
||||||
:command="[scope.row, '删除']"
|
:command="[scope.row, '删除']"
|
||||||
>删除</el-dropdown-item
|
>删除</el-dropdown-item
|
||||||
|
|||||||
@@ -12,6 +12,10 @@ export default {
|
|||||||
label: '标准入库流程',
|
label: '标准入库流程',
|
||||||
value: '1'
|
value: '1'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label:'标准清单发布流程',
|
||||||
|
value: '3'
|
||||||
|
},
|
||||||
],
|
],
|
||||||
formDisableFlag: false,
|
formDisableFlag: false,
|
||||||
pickerOptions: {
|
pickerOptions: {
|
||||||
|
|||||||
@@ -22,39 +22,59 @@
|
|||||||
<el-row :gutter="24">
|
<el-row :gutter="24">
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<el-form-item label="选择清单" prop="orgName" class="add-form-item form-item-disabled">
|
<el-form-item label="选择清单" prop="orgName" class="add-form-item form-item-disabled">
|
||||||
<el-radio-group v-model="radio" @change="selectionList">
|
<el-radio-group v-model="listType" @change="selectionList">
|
||||||
<el-radio label="country">国家/地区清单</el-radio>
|
<el-radio label="country">国家/地区清单</el-radio>
|
||||||
<el-radio label="project">项目清单</el-radio>
|
<el-radio label="project">项目清单</el-radio>
|
||||||
<el-radio label="other">其他清单</el-radio>
|
<el-radio label="other">其他清单</el-radio>
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
<el-button size="mini" type="primary" style="margin-left: 40px;" @click="choiceShow">带入</el-button>
|
<el-button size="mini" type="primary" style="margin-left: 40px;" @click="choiceShow">选择清单</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="清单名称" prop="orgName" class="add-form-item form-item-disabled">
|
<el-form-item label="清单名称" prop="listName" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="listForm.orgName"
|
disabled
|
||||||
|
v-model="listForm.listName"
|
||||||
placeholder="请输入清单名称"
|
placeholder="请输入清单名称"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="适用区域" prop="account" class="add-form-item form-item-disabled">
|
<el-form-item label="适用区域" prop="applyRegion" class="add-form-item form-item-disabled">
|
||||||
<el-select v-model="listForm.country">
|
|
||||||
<el-option v-for="opt in countryOptions" :value="opt.value === undefined ? '' :opt.value"
|
|
||||||
:key="opt.value" :label="opt.label">{{ opt.label }}
|
|
||||||
</el-option>
|
|
||||||
</el-select>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item label="清单说明" prop="mobilePhone" class="add-form-item form-item-disabled">
|
|
||||||
<el-input
|
<el-input
|
||||||
v-model="listForm.mobilePhone"
|
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
|
||||||
|
v-model="listForm.descriptionList"
|
||||||
placeholder="请输入清单说明"
|
placeholder="请输入清单说明"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="附件" prop="email" class="add-form-item form-item-disabled">
|
<el-form-item label="附件" prop="enclosure" class="add-form-item form-item-disabled">
|
||||||
<el-button size="mini" type="primary">点击上传</el-button>
|
<el-upload
|
||||||
|
v-if="listForm.enclosure == 'null' || this.listForm.enclosure== 'undefined' || this.listForm.enclosure == '' "
|
||||||
|
:action="uploadFileListPath"
|
||||||
|
show-file-list
|
||||||
|
:file-list="fileInfoList"
|
||||||
|
name="file"
|
||||||
|
accept=".PDF, .pdf, .doc, .DOC, .docx, .DOCX, .xls, .xlsx, .ppt, .pptx, .PPT, .PPTX, .JPG, .JPEG, .PNG, .jpg, .jpeg, .png"
|
||||||
|
:on-remove="delFileInfo"
|
||||||
|
:on-success="uploadBackSuccess"
|
||||||
|
:before-upload="beforeUpload"
|
||||||
|
>
|
||||||
|
<el-button class="common-button-default" size="mini">
|
||||||
|
点击上传
|
||||||
|
</el-button>
|
||||||
|
</el-upload>
|
||||||
|
<el-input
|
||||||
|
v-else
|
||||||
|
v-model="listForm.enclosure"
|
||||||
|
placeholder=""
|
||||||
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="会签" prop="type" class="add-form-item form-item-disabled">
|
<el-form-item label="会签" prop="sign" class="add-form-item form-item-disabled">
|
||||||
<el-radio-group v-model="listForm.type">
|
<el-radio-group v-model="signFlag" @change="selectSign">
|
||||||
<el-radio label="1">是</el-radio>
|
<el-radio label="1">是</el-radio>
|
||||||
<el-radio label="2">否</el-radio>
|
<el-radio label="2">否</el-radio>
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
@@ -66,16 +86,17 @@
|
|||||||
<template slot="title">填写信息</template>
|
<template slot="title">填写信息</template>
|
||||||
</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="addList">添加</el-button>
|
<el-button plain class="common-button-primary" size="mini" @click="addList">添加</el-button>
|
||||||
<el-button plain class="common-button-primary" size="mini" @click="deleteList">批量删除</el-button>
|
<el-button plain class="common-button-primary" size="mini" @click="deleteList">批量删除</el-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<el-table
|
<el-table
|
||||||
:data="data"
|
:data="dataList"
|
||||||
border
|
border
|
||||||
|
height="49%"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
|
@selection-change="selectStandChange"
|
||||||
: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
|
<el-table-column
|
||||||
@@ -84,42 +105,42 @@
|
|||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="content"
|
prop="standNumber"
|
||||||
label="标准号"
|
label="标准号"
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="deptName"
|
prop="cnName"
|
||||||
label="中文名称"
|
label="中文名称"
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="deptName"
|
prop="enName"
|
||||||
label="英文名称"
|
label="英文名称"
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="deptName"
|
prop="isSubTime"
|
||||||
label="发布日期"
|
label="发布日期"
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="deptName"
|
prop="newCarTime"
|
||||||
label="新车型实施日期"
|
label="新车型实施日期"
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="deptName"
|
prop="oldCarTime"
|
||||||
label="在产车实施日期"
|
label="在产车实施日期"
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="deptName"
|
prop="applyCar"
|
||||||
label="适用车型"
|
label="适用车型"
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="deptName"
|
prop="textState"
|
||||||
label="文本状态"
|
label="文本状态"
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -149,7 +170,7 @@
|
|||||||
</el-timeline-item>
|
</el-timeline-item>
|
||||||
<el-timeline-item timestamp="根据会签内容进行修订" placement="top" :color="user3 ? '#66b1ff' : ''">
|
<el-timeline-item timestamp="根据会签内容进行修订" placement="top" :color="user3 ? '#66b1ff' : ''">
|
||||||
<el-card>
|
<el-card>
|
||||||
<h4>责任人</h4>
|
<h4>标准/政策法规工程师</h4>
|
||||||
<div style="margin-top: 10px;">
|
<div style="margin-top: 10px;">
|
||||||
<el-input v-model="user3" placeholder="请输入"></el-input>
|
<el-input v-model="user3" placeholder="请输入"></el-input>
|
||||||
</div>
|
</div>
|
||||||
@@ -166,15 +187,18 @@
|
|||||||
</el-timeline>
|
</el-timeline>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- 选择标准抽屉-->
|
<!-- 选择清单抽屉-->
|
||||||
<el-drawer
|
<el-drawer
|
||||||
title="选择清单"
|
title="选择清单"
|
||||||
:visible.sync="ListModel"
|
:visible.sync="ListModel"
|
||||||
size="900px"
|
size="900px"
|
||||||
custom-class="demo-drawer"
|
custom-class="demo-drawer"
|
||||||
>
|
>
|
||||||
|
<div class="demo-drawer-content">
|
||||||
|
<div style="position: absolute;bottom: 48px;top:60px;left: 0;right: 0">
|
||||||
|
<div style="position: absolute;bottom: 55px;top: 0;right: 0;left: 0">
|
||||||
<el-table
|
<el-table
|
||||||
v-if="radio === 'country'"
|
v-if="listType === 'country'"
|
||||||
:data="sarAccessListDatas"
|
:data="sarAccessListDatas"
|
||||||
tooltip-effect="dark"
|
tooltip-effect="dark"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
@@ -182,7 +206,7 @@
|
|||||||
height="100%"
|
height="100%"
|
||||||
:header-cell-style="{background: '#f5f1f1', color: '#333333', fontSize: '16px',
|
:header-cell-style="{background: '#f5f1f1', color: '#333333', fontSize: '16px',
|
||||||
fontWeight: 'bold', height: '48px'}"
|
fontWeight: 'bold', height: '48px'}"
|
||||||
@selection-change="selectOne"
|
@selection-change="selectListChange"
|
||||||
ref="selection"
|
ref="selection"
|
||||||
>
|
>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -252,7 +276,7 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<el-table
|
<el-table
|
||||||
v-if="radio === 'project'"
|
v-if="listType === 'project'"
|
||||||
:data="sarAccessListDatas"
|
:data="sarAccessListDatas"
|
||||||
tooltip-effect="dark"
|
tooltip-effect="dark"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
@@ -260,7 +284,7 @@
|
|||||||
height="100%"
|
height="100%"
|
||||||
:header-cell-style="{background: '#f5f1f1', color: '#333333', fontSize: '16px',
|
:header-cell-style="{background: '#f5f1f1', color: '#333333', fontSize: '16px',
|
||||||
fontWeight: 'bold', height: '48px'}"
|
fontWeight: 'bold', height: '48px'}"
|
||||||
@selection-change="selectOne"
|
@selection-change="selectListChange"
|
||||||
ref="selection"
|
ref="selection"
|
||||||
>
|
>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -330,7 +354,7 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<el-table
|
<el-table
|
||||||
v-if="radio === 'other'"
|
v-if="listType === 'other'"
|
||||||
:data="sarAccessListDatas"
|
:data="sarAccessListDatas"
|
||||||
tooltip-effect="dark"
|
tooltip-effect="dark"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
@@ -338,7 +362,7 @@
|
|||||||
height="100%"
|
height="100%"
|
||||||
:header-cell-style="{background: '#f5f1f1', color: '#333333', fontSize: '16px',
|
:header-cell-style="{background: '#f5f1f1', color: '#333333', fontSize: '16px',
|
||||||
fontWeight: 'bold', height: '48px'}"
|
fontWeight: 'bold', height: '48px'}"
|
||||||
@selection-change="selectOne"
|
@selection-change="selectListChange"
|
||||||
ref="selection"
|
ref="selection"
|
||||||
>
|
>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -407,12 +431,23 @@
|
|||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
</div>
|
||||||
|
<pagination
|
||||||
|
:page="page"
|
||||||
|
:pageSize="pageSize"
|
||||||
|
:total="total"
|
||||||
|
@pageChange="pageChange"
|
||||||
|
@pageSizeChange="pageSizeChange"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
<div class="demo-drawer-footer">
|
<div class="demo-drawer-footer">
|
||||||
<el-button size="mini" @click="closeDrawer">取消</el-button>
|
<el-button size="mini" @click="closeDrawer">取消</el-button>
|
||||||
<el-button type="primary" size="mini" @click="OkDrawer">确定</el-button>
|
<el-button type="primary" size="mini" @click="OkDrawer">带入</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-drawer>
|
</el-drawer>
|
||||||
<!-- 添加标准抽屉-->
|
<!-- 添加标准抽屉-->
|
||||||
<el-drawer
|
<el-drawer
|
||||||
title="添加标准"
|
title="添加标准"
|
||||||
:visible.sync="standModel"
|
:visible.sync="standModel"
|
||||||
@@ -427,7 +462,7 @@
|
|||||||
height="100%"
|
height="100%"
|
||||||
:header-cell-style="{background: '#f5f1f1', color: '#333333', fontSize: '16px',
|
:header-cell-style="{background: '#f5f1f1', color: '#333333', fontSize: '16px',
|
||||||
fontWeight: 'bold', height: '48px'}"
|
fontWeight: 'bold', height: '48px'}"
|
||||||
@selection-change="selectOne"
|
@selection-change="selectThree"
|
||||||
>
|
>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
type="selection"
|
type="selection"
|
||||||
@@ -476,6 +511,7 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</el-drawer>
|
</el-drawer>
|
||||||
|
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-save
|
show-save
|
||||||
show-submit
|
show-submit
|
||||||
@@ -492,6 +528,7 @@
|
|||||||
import ProcessHeader from "../../components/ProcessHeader";
|
import ProcessHeader from "../../components/ProcessHeader";
|
||||||
import ProcessFooter from "../../components/ProcessFooter";
|
import ProcessFooter from "../../components/ProcessFooter";
|
||||||
import ProcessTitle from "../../components/ProcessTitle";
|
import ProcessTitle from "../../components/ProcessTitle";
|
||||||
|
import { saveTaskFirst } from "api/process";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "bzqdfbStep1",
|
name: "bzqdfbStep1",
|
||||||
@@ -502,25 +539,109 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
data: [],
|
dataList: [
|
||||||
|
{
|
||||||
|
standNumber: 123,
|
||||||
|
cnName: "中国",
|
||||||
|
enName: "CN",
|
||||||
|
isSubTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
newCarTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
oldCarTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
id: "2hl119a61sgmzk47d918pw5",
|
||||||
|
applyRegion: null,
|
||||||
|
textState: "已发布"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
standNumber: 123,
|
||||||
|
cnName: "日本",
|
||||||
|
enName: "CN",
|
||||||
|
isSubTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
newCarTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
oldCarTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
id: "2hl9a61sgmzk417d98pw15",
|
||||||
|
applyRegion: null,
|
||||||
|
textState: "已发布"
|
||||||
|
}, {
|
||||||
|
standNumber: 123,
|
||||||
|
cnName: "韩国",
|
||||||
|
enName: "CN",
|
||||||
|
isSubTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
newCarTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
oldCarTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
id: "2hl9a61sgmzk47d1918pw5",
|
||||||
|
applyRegion: null,
|
||||||
|
textState: "已发布"
|
||||||
|
}, {
|
||||||
|
standNumber: 123,
|
||||||
|
cnName: "没过",
|
||||||
|
enName: "CN",
|
||||||
|
isSubTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
newCarTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
oldCarTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
id: "2hl9a61sgmzk47d2331918pw5",
|
||||||
|
applyRegion: null,
|
||||||
|
textState: "已发布"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
standNumber: 123,
|
||||||
|
cnName: "德国",
|
||||||
|
enName: "CN",
|
||||||
|
isSubTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
newCarTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
oldCarTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
id: "2hl9a61sgmzk472344dt1918pw5",
|
||||||
|
applyRegion: null,
|
||||||
|
textState: "已发布"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
], //清单里的标准数据
|
||||||
sarAccessListDatas: [], //国家地区清单表格
|
sarAccessListDatas: [], //国家地区清单表格
|
||||||
|
uploadFileListPath: 'api/att/attFile/upload', // 上传的地址
|
||||||
|
fileInfoList: [], // 上传的附件
|
||||||
standardData: [], //添加标准数据
|
standardData: [], //添加标准数据
|
||||||
ListModel: false, //选择清单抽屉状态
|
ListModel: false, //选择清单抽屉状态
|
||||||
standModel: false, // 选择标准抽屉状态
|
standModel: false, // 选择标准抽屉状态
|
||||||
active: "1",
|
active: "1",
|
||||||
|
signFlag: "1", //是否会签 1为会签 2为不会签
|
||||||
|
listType: "country", //选择的清单类型
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
radio: "country",
|
|
||||||
tabValue: "listOfCountries",
|
tabValue: "listOfCountries",
|
||||||
selectedList: [],
|
selectedList: [], //选择清单的选择框
|
||||||
listForm: {},
|
selectList: [], //选择标准的选择框
|
||||||
|
bringData: [],
|
||||||
|
page: 1,
|
||||||
|
total: 0,
|
||||||
|
pageSize: this.$store.getters.userInfo.configContent,
|
||||||
|
listForm: {
|
||||||
|
listType: "", //区分是哪个清单
|
||||||
|
listName: "", //清单名称
|
||||||
|
applyRegion: "", //适用区域
|
||||||
|
descriptionList: "", //清单说明
|
||||||
|
enclosure: "", //附件
|
||||||
|
standId: "", //选择的清单的id
|
||||||
|
signFlag: "1", //是否会签 1为会签 2为不会签W
|
||||||
|
dataList: [{
|
||||||
|
standNumber: "", //标准号
|
||||||
|
cnName: "", //中文名称
|
||||||
|
enName: "", //英文名称
|
||||||
|
isSubTime: "", //发布日期
|
||||||
|
newCarTime: "", //新车型实施日期
|
||||||
|
oldCarTime: "", //在产车实施日期
|
||||||
|
applyCar: "", //适用车型
|
||||||
|
textState: "", //文本状态
|
||||||
|
id: ""
|
||||||
|
}]
|
||||||
|
},
|
||||||
choiceForm: {}, //选择标准清单列表
|
choiceForm: {}, //选择标准清单列表
|
||||||
countryOptions: [], //适用区域下拉框数据
|
countryOptions: [], //适用区域下拉框数据
|
||||||
user1: "",
|
user1: "",
|
||||||
user2: "",
|
user2: "",
|
||||||
user3: "",
|
user3: "",
|
||||||
user4: "",
|
user4: "",
|
||||||
user5: ""
|
user5: "",
|
||||||
|
standMap: new Map()
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -531,50 +652,223 @@ export default {
|
|||||||
choiceShow() {
|
choiceShow() {
|
||||||
this.ListModel = true;
|
this.ListModel = true;
|
||||||
},
|
},
|
||||||
selectionList (type) {
|
//判断当前是否会签
|
||||||
console.log(type);
|
selectSign (type) {
|
||||||
|
if(type ==='1'){
|
||||||
|
this.listForm.signFlag = 1
|
||||||
|
}else if(type == '2'){
|
||||||
|
this.listForm.signFlag = 2
|
||||||
|
}
|
||||||
|
},
|
||||||
|
//判断当前选中的是哪个清单
|
||||||
|
selectionList(type) {
|
||||||
|
if (type === "country") {
|
||||||
|
this.$http.get("sarLawsDetailedList/sar-laws-detailed-list/getAllStand", {
|
||||||
|
page: this.page,
|
||||||
|
pageSize: this.pageSize,
|
||||||
|
sortKey: 1
|
||||||
|
}, {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
this.sarAccessListDatas = res.data.records;
|
||||||
|
this.total = res.data.total;
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
} else if (type === "project") {
|
||||||
|
this.$http.get("sarLawsDetailedList/sar-laws-detailed-list/getAllStand", {
|
||||||
|
page: this.page,
|
||||||
|
pageSize: this.pageSize,
|
||||||
|
sortKey: 2
|
||||||
|
}, {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
this.sarAccessListDatas = res.data.records;
|
||||||
|
this.total = res.data.total;
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
this.$http.get("sarLawsDetailedList/sar-laws-detailed-list/getAllStand", {
|
||||||
|
page: this.page,
|
||||||
|
pageSize: this.pageSize,
|
||||||
|
sortKey: 3
|
||||||
|
}, {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
this.sarAccessListDatas = res.data.records;
|
||||||
|
this.total = res.data.total;
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
//点击新增事件
|
//点击新增事件
|
||||||
addList() {
|
addList() {
|
||||||
this.standModel = true
|
this.$http.get("sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage", "", {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
this.standardData = res.data.list;
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
this.standModel = true;
|
||||||
},
|
},
|
||||||
// 点击批量删除事件
|
// 点击批量删除事件
|
||||||
deleteList() {
|
deleteList() {
|
||||||
this.$confirm('您确认删除这些数据?', '提示', {
|
if (this.selectList.length < 1) {
|
||||||
confirmButtonText: '确认',
|
this.$message.warning("请选择一条数据进行删除");
|
||||||
confirmButtonClass:'common-button-primary',
|
} else {
|
||||||
cancelButtonText: '取消',
|
this.$confirm("您确认删除这些数据?", "提示", {
|
||||||
type:'warning',
|
confirmButtonText: "确认",
|
||||||
}).then (() => {
|
confirmButtonClass: "common-button-primary",
|
||||||
|
cancelButtonText: "取消",
|
||||||
}).catch (() => {
|
type: "warning"
|
||||||
|
}).then(() => {
|
||||||
})
|
let exits = [];
|
||||||
|
this.selectList.map(item => {
|
||||||
|
let index;
|
||||||
|
index = this.dataList.findIndex(items => {
|
||||||
|
return items.id = item;
|
||||||
|
});
|
||||||
|
if (index > -1) {
|
||||||
|
this.dataList.splice(index, 1);
|
||||||
|
}
|
||||||
|
exits.push(item);
|
||||||
|
});
|
||||||
|
this.selectList = [];
|
||||||
|
}).catch(() => {
|
||||||
|
});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
//保存事件
|
//保存事件
|
||||||
handleSave() {
|
handleSave() {
|
||||||
|
this.saveLoading = true
|
||||||
|
let _formData = new FormData()
|
||||||
|
_formData.append('createUser', this.$store.getters.userInfo.userId)
|
||||||
|
_formData.append('createUserName', this.$store.getters.userInfo.uName)
|
||||||
|
_formData.append('prcType', this.$route.query.type)
|
||||||
|
_formData.append('json', JSON.stringify({
|
||||||
|
prcForm: this.prcForm,
|
||||||
|
sarAccessInfoList: this.sarAccessInfoList,
|
||||||
|
sarAccessInfoListADMIN: this.sarAccessInfoListADMIN,
|
||||||
|
bzqdForm: this.bzqdForm,
|
||||||
|
listInfo: this.listInfo,
|
||||||
|
id: this.id
|
||||||
|
}))
|
||||||
|
saveTaskFirst(_formData).then(res => {
|
||||||
|
this.saveLoading = false
|
||||||
|
this.$message.success('保存成功')
|
||||||
|
}).catch(e => {
|
||||||
|
this.saveLoading = false
|
||||||
|
})
|
||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
|
let json = this.listForm
|
||||||
|
json.zrUserId = this.$store.getters.userInfo.userId
|
||||||
|
json.jlUserId = this.$store.getters.userInfo.userId
|
||||||
|
json.applyUpdUserId = this.$store.getters.userInfo.userId
|
||||||
|
json.approvalOpinion = ''
|
||||||
|
json.prcCreateUser = this.$store.getters.userInfo.userId
|
||||||
|
json.prcCreateUserName = this.$store.getters.userInfo.account
|
||||||
|
json.standName = this.listForm.listName
|
||||||
|
json.standId = this.listForm.standId
|
||||||
|
this.$http.get('lawss/activiti/startProcess' , {type: '3'}, {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
if(res.ok){
|
||||||
|
this.$http.postData('lawss/activiti/completeTask',{
|
||||||
|
taskIds: res.data,
|
||||||
|
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')
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 删除上传的文件
|
||||||
|
delFileInfo (file, fileList) {
|
||||||
|
// this.fileInfoList = fileList
|
||||||
|
},
|
||||||
|
// 上传文件成功回调
|
||||||
|
uploadBackSuccess (res, file, fileList) {
|
||||||
|
// if (res.ok) {
|
||||||
|
// this.fileInfoList = fileList
|
||||||
|
// this.fileInfoList[this.fileInfoList.length - 1].id = res.data.id
|
||||||
|
// this.$message.success('上传成功')
|
||||||
|
// } else {
|
||||||
|
// this.$message.error(res.message)
|
||||||
|
// fileList.pop()
|
||||||
|
// }
|
||||||
|
},
|
||||||
|
//上传之前的钩子
|
||||||
|
beforeUpload () {
|
||||||
|
|
||||||
},
|
},
|
||||||
//选择标准取消事件
|
//选择标准取消事件
|
||||||
closeDrawer() {
|
closeDrawer() {
|
||||||
|
this.ListModel = false;
|
||||||
},
|
},
|
||||||
//选择标准确定事件
|
//选择清单确定事件
|
||||||
OkDrawer() {
|
OkDrawer() {
|
||||||
|
if (this.selectedList.length === 1) {
|
||||||
|
let deposit = new Map();
|
||||||
|
this.sarAccessListDatas.forEach(item => {
|
||||||
|
deposit.set(item.id, item);
|
||||||
|
});
|
||||||
|
let bringData = [];
|
||||||
|
for (let i = 0; i < this.selectedList.length; i++) {
|
||||||
|
bringData.push(deposit.get(this.selectedList[i]));
|
||||||
|
}
|
||||||
|
this.listForm.standId = bringData[0].id
|
||||||
|
this.listForm.listName = bringData[0].detailedListName;
|
||||||
|
this.listForm.applyRegion = bringData[0].applicationScope;
|
||||||
|
this.listForm.descriptionList = bringData[0].remark;
|
||||||
|
this.listForm.enclosure = bringData[0].detailedListName;
|
||||||
|
this.ListModel = false;
|
||||||
|
} else if (this.selectedList.length > 1) {
|
||||||
|
this.$message.warning("只能选择一条数据进行带入");
|
||||||
|
} else {
|
||||||
|
this.$message.warning("请选择一条数据进行带入");
|
||||||
|
}
|
||||||
},
|
},
|
||||||
selectOne(data) {
|
//选择清单选择框改变
|
||||||
|
selectListChange(data) {
|
||||||
this.selectedList = [];
|
this.selectedList = [];
|
||||||
for (let i = 0; i < data.length; i++) {
|
for (let i = 0; i < data.length; i++) {
|
||||||
this.selectedList.push(data[i].id);
|
this.selectedList.push(data[i].id);
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
//标准表格选择框改变
|
||||||
|
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: {},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
this.selectionList();
|
||||||
|
this.selectSign();
|
||||||
|
for (let i = 0; i < this.dataList.length; i++) {
|
||||||
|
this.standMap.set(this.dataList[i].id, this.dataList[i]);
|
||||||
|
}
|
||||||
|
|
||||||
//从数据查询下拉框数据
|
//从数据查询下拉框数据
|
||||||
this.$http.get("sys/dictype/getDicTypeListCode", "", {
|
this.$http.get("sys/dictype/getDicTypeListCode", "", {
|
||||||
_this: this
|
_this: this
|
||||||
@@ -588,6 +882,7 @@ export default {
|
|||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
@import '~@/assets/styles/style';
|
@import '~@/assets/styles/style';
|
||||||
|
|
||||||
.bzqdfb-step1 {
|
.bzqdfb-step1 {
|
||||||
/deep/ .el-drawer__container {
|
/deep/ .el-drawer__container {
|
||||||
.prc-content-border {
|
.prc-content-border {
|
||||||
@@ -654,5 +949,9 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.demo-drawer-content {
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -1,13 +1,469 @@
|
|||||||
<!--标准-->
|
<!--标准清单发布流程step2 -->
|
||||||
<template>
|
<template>
|
||||||
|
<div class="bzqdfb-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 === '2' ? 'active' : ''" @click="handleTabs('2')">审批历史</div>
|
||||||
|
</div>
|
||||||
|
<div class="content" v-if="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="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="enclosure" class="add-form-item form-item-disabled">
|
||||||
|
<el-input
|
||||||
|
disabled
|
||||||
|
v-model="listForm.enclosure"
|
||||||
|
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'}">
|
||||||
|
<el-table-column
|
||||||
|
prop="standNumber"
|
||||||
|
label="标准号"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="cnName"
|
||||||
|
label="中文名称"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="enName"
|
||||||
|
label="英文名称"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="isSubTime"
|
||||||
|
label="发布日期"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="newCarTime"
|
||||||
|
label="新车型实施日期"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="oldCarTime"
|
||||||
|
label="在产车实施日期"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="applyCar"
|
||||||
|
label="适用车型"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="textState"
|
||||||
|
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-if="active == '2'">
|
||||||
|
<div class="block" style="padding-top: 20px;">
|
||||||
|
<el-timeline>
|
||||||
|
<el-timeline-item timestamp="发起流程" placement="top" :color="user1 ? '#66b1ff' : ''">
|
||||||
|
<el-card>
|
||||||
|
<h4>标准/政策法规工程师</h4>
|
||||||
|
<div style="margin-top: 10px;">
|
||||||
|
<el-input v-model="user1" placeholder="请输入"></el-input>
|
||||||
|
</div>
|
||||||
|
</el-card>
|
||||||
|
</el-timeline-item>
|
||||||
|
<el-timeline-item timestamp="选择责任人进行会签" placement="top" :color="user2 ? '#66b1ff' : ''">
|
||||||
|
<el-card>
|
||||||
|
<h4>责任人</h4>
|
||||||
|
<div style="margin-top: 10px;">
|
||||||
|
<el-input v-model="user2" placeholder="请输入">
|
||||||
|
|
||||||
|
</el-input>
|
||||||
|
</div>
|
||||||
|
</el-card>
|
||||||
|
</el-timeline-item>
|
||||||
|
<el-timeline-item timestamp="根据会签内容进行修订" placement="top" :color="user3 ? '#66b1ff' : ''">
|
||||||
|
<el-card>
|
||||||
|
<h4>标准/政策法规工程师</h4>
|
||||||
|
<div style="margin-top: 10px;">
|
||||||
|
<el-input v-model="user3" placeholder="请输入"></el-input>
|
||||||
|
</div>
|
||||||
|
</el-card>
|
||||||
|
</el-timeline-item>
|
||||||
|
<el-timeline-item timestamp="审核" placement="top" :color="user5 ? '#66b1ff' : ''">
|
||||||
|
<el-card>
|
||||||
|
<h4>业务经理</h4>
|
||||||
|
<div style="margin-top: 10px;">
|
||||||
|
<el-input v-model="user5" placeholder="请输入"></el-input>
|
||||||
|
</div>
|
||||||
|
</el-card>
|
||||||
|
</el-timeline-item>
|
||||||
|
</el-timeline>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<ProcessFooter
|
||||||
|
show-submit
|
||||||
|
:submitLoading="isSubmit"
|
||||||
|
@submit="handleSubmit"
|
||||||
|
>
|
||||||
|
</ProcessFooter>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import ProcessHeader from "../../components/ProcessHeader";
|
||||||
|
import ProcessFooter from "../../components/ProcessFooter";
|
||||||
|
import ProcessTitle from "../../components/ProcessTitle";
|
||||||
|
import { inboundLiaisonDetail, queryDetail } from "api/process";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "bzqdfbStep2"
|
name: "bzqdfbStep2",
|
||||||
|
components: {
|
||||||
|
ProcessHeader,
|
||||||
|
ProcessFooter,
|
||||||
|
ProcessTitle
|
||||||
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
dataList: [
|
||||||
|
{
|
||||||
|
standNumber: 123,
|
||||||
|
cnName: "中国",
|
||||||
|
enName: "CN",
|
||||||
|
isSubTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
newCarTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
oldCarTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
id: "2hl119a61sgmzk47d918pw5",
|
||||||
|
applyRegion: null,
|
||||||
|
textState: "已发布"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
standNumber: 123,
|
||||||
|
cnName: "日本",
|
||||||
|
enName: "CN",
|
||||||
|
isSubTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
newCarTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
oldCarTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
id: "2hl9a61sgmzk417d98pw15",
|
||||||
|
applyRegion: null,
|
||||||
|
textState: "已发布"
|
||||||
|
}, {
|
||||||
|
standNumber: 123,
|
||||||
|
cnName: "韩国",
|
||||||
|
enName: "CN",
|
||||||
|
isSubTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
newCarTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
oldCarTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
id: "2hl9a61sgmzk47d1918pw5",
|
||||||
|
applyRegion: null,
|
||||||
|
textState: "已发布"
|
||||||
|
}, {
|
||||||
|
standNumber: 123,
|
||||||
|
cnName: "没过",
|
||||||
|
enName: "CN",
|
||||||
|
isSubTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
newCarTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
oldCarTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
id: "2hl9a61sgmzk47d2331918pw5",
|
||||||
|
applyRegion: null,
|
||||||
|
textState: "已发布"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
standNumber: 123,
|
||||||
|
cnName: "德国",
|
||||||
|
enName: "CN",
|
||||||
|
isSubTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
newCarTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
oldCarTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
id: "2hl9a61sgmzk472344dt1918pw5",
|
||||||
|
applyRegion: null,
|
||||||
|
textState: "已发布"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
], //清单里的标准数据
|
||||||
|
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: {
|
||||||
|
listType: "", //区分是哪个清单
|
||||||
|
listName: "", //清单名称
|
||||||
|
applyRegion: "", //适用区域
|
||||||
|
descriptionList: "", //清单说明
|
||||||
|
enclosure: "", //附件
|
||||||
|
dataList: [{
|
||||||
|
standNumber: "", //标准号
|
||||||
|
cnName: "", //中文名称
|
||||||
|
enName: "", //英文名称
|
||||||
|
isSubTime: "", //发布日期
|
||||||
|
newCarTime: "", //新车型实施日期
|
||||||
|
oldCarTime: "", //在产车实施日期
|
||||||
|
applyCar: "", //适用车型
|
||||||
|
textState: "", //文本状态
|
||||||
|
id: ""
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
choiceForm: {}, //选择标准清单列表
|
||||||
|
countryOptions: [], //适用区域下拉框数据
|
||||||
|
user1: "",
|
||||||
|
user2: "",
|
||||||
|
user3: "",
|
||||||
|
user4: "",
|
||||||
|
user5: "",
|
||||||
|
standMap: new Map()
|
||||||
|
};
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
//tab发生变化
|
||||||
|
handleTabs(name) {
|
||||||
|
this.active = name;
|
||||||
|
},
|
||||||
|
choiceShow() {
|
||||||
|
this.ListModel = true;
|
||||||
|
},
|
||||||
|
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
|
||||||
|
})
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
//保存事件
|
||||||
|
handleSave() {
|
||||||
|
|
||||||
|
},
|
||||||
|
//提交事件
|
||||||
|
handleSubmit() {
|
||||||
|
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.approvalOpinion = "";
|
||||||
|
this.listForm.standId = this.listForm.standId;
|
||||||
|
this.listForm.signFlag = "";
|
||||||
|
const json = JSON.stringify(this.listForm);
|
||||||
|
this.$http.postData('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: {},
|
||||||
|
mounted() {
|
||||||
|
this.getData()
|
||||||
|
// console.log(this.$store.getters.getHandleInfo);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style lang="less" scoped>
|
||||||
|
@import '~@/assets/styles/style';
|
||||||
|
|
||||||
|
.bzqdfb-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>
|
</style>
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,565 @@
|
|||||||
|
<!--标准清单发布/更新流程step3 - 根据会签意见修订-->
|
||||||
|
<template>
|
||||||
|
<div class="bzqdfb-step3">
|
||||||
|
<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 === '2' ? 'active' : ''" @click="handleTabs('2')">审批历史</div>
|
||||||
|
</div>
|
||||||
|
<div class="content" v-if="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="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
|
||||||
|
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
|
||||||
|
v-model="listForm.descriptionList"
|
||||||
|
placeholder="请输入清单说明"
|
||||||
|
clearable
|
||||||
|
></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="附件" prop="enclosure" class="add-form-item form-item-disabled">
|
||||||
|
<el-input
|
||||||
|
v-model="listForm.enclosure"
|
||||||
|
placeholder="暂无数据"
|
||||||
|
|
||||||
|
></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
</el-form>
|
||||||
|
<process-title>
|
||||||
|
<template slot="title">填写信息</template>
|
||||||
|
</process-title>
|
||||||
|
<div class="tableTitle">
|
||||||
|
<div class="tableButton">
|
||||||
|
<el-button plain class="common-button-primary" size="mini" @click="addList">添加</el-button>
|
||||||
|
<el-button plain class="common-button-primary" size="mini" @click="deleteList">批量删除</el-button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<el-table
|
||||||
|
:data="dataList"
|
||||||
|
border
|
||||||
|
height="61.6%"
|
||||||
|
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="standNumber"
|
||||||
|
label="标准号"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="cnName"
|
||||||
|
label="中文名称"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="enName"
|
||||||
|
label="英文名称"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="isSubTime"
|
||||||
|
label="发布日期"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="newCarTime"
|
||||||
|
label="新车型实施日期"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="oldCarTime"
|
||||||
|
label="在产车实施日期"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="applyCar"
|
||||||
|
label="适用车型"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="textState"
|
||||||
|
label="文本状态"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="content" v-if="active == '2'">
|
||||||
|
<div class="block" style="padding-top: 20px;">
|
||||||
|
<el-timeline>
|
||||||
|
<el-timeline-item timestamp="发起流程" placement="top" :color="user1 ? '#66b1ff' : ''">
|
||||||
|
<el-card>
|
||||||
|
<h4>标准/政策法规工程师</h4>
|
||||||
|
<div style="margin-top: 10px;">
|
||||||
|
<el-input v-model="user1" placeholder="请输入"></el-input>
|
||||||
|
</div>
|
||||||
|
</el-card>
|
||||||
|
</el-timeline-item>
|
||||||
|
<el-timeline-item timestamp="选择责任人进行会签" placement="top" :color="user2 ? '#66b1ff' : ''">
|
||||||
|
<el-card>
|
||||||
|
<h4>责任人</h4>
|
||||||
|
<div style="margin-top: 10px;">
|
||||||
|
<el-input v-model="user2" placeholder="请输入">
|
||||||
|
|
||||||
|
</el-input>
|
||||||
|
</div>
|
||||||
|
</el-card>
|
||||||
|
</el-timeline-item>
|
||||||
|
<el-timeline-item timestamp="根据会签内容进行修订" placement="top" :color="user3 ? '#66b1ff' : ''">
|
||||||
|
<el-card>
|
||||||
|
<h4>标准/政策法规工程师</h4>
|
||||||
|
<div style="margin-top: 10px;">
|
||||||
|
<el-input v-model="user3" placeholder="请输入"></el-input>
|
||||||
|
</div>
|
||||||
|
</el-card>
|
||||||
|
</el-timeline-item>
|
||||||
|
<el-timeline-item timestamp="审核" placement="top" :color="user5 ? '#66b1ff' : ''">
|
||||||
|
<el-card>
|
||||||
|
<h4>业务经理</h4>
|
||||||
|
<div style="margin-top: 10px;">
|
||||||
|
<el-input v-model="user5" placeholder="请输入"></el-input>
|
||||||
|
</div>
|
||||||
|
</el-card>
|
||||||
|
</el-timeline-item>
|
||||||
|
</el-timeline>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- 添加标准抽屉-->
|
||||||
|
<el-drawer
|
||||||
|
title="添加标准"
|
||||||
|
:visible.sync="standModel"
|
||||||
|
size="900px"
|
||||||
|
custom-class="demo-drawer"
|
||||||
|
>
|
||||||
|
<el-table
|
||||||
|
:data="standardData"
|
||||||
|
tooltip-effect="dark"
|
||||||
|
style="width: 100%"
|
||||||
|
border
|
||||||
|
height="100%"
|
||||||
|
:header-cell-style="{background: '#f5f1f1', color: '#333333', fontSize: '16px',
|
||||||
|
fontWeight: 'bold', height: '48px'}"
|
||||||
|
@selection-change="selectThree"
|
||||||
|
>
|
||||||
|
<el-table-column
|
||||||
|
type="selection"
|
||||||
|
width="55"
|
||||||
|
align="center">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="content"
|
||||||
|
label="标准号"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="deptName"
|
||||||
|
label="中文名称"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="deptName"
|
||||||
|
label="英文名称"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="deptName"
|
||||||
|
label="发布日期"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="deptName"
|
||||||
|
label="新车型实施日期"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="deptName"
|
||||||
|
label="在产车实施日期"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="deptName"
|
||||||
|
label="适用车型"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="deptName"
|
||||||
|
label="文本状态"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
</el-drawer>
|
||||||
|
|
||||||
|
<ProcessFooter
|
||||||
|
show-save
|
||||||
|
show-submit
|
||||||
|
:submitLoading="isSubmit"
|
||||||
|
:saveLoading="saveLoading"
|
||||||
|
@save="handleSave"
|
||||||
|
@submit="handleSubmit"
|
||||||
|
>
|
||||||
|
</ProcessFooter>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import ProcessHeader from "../../components/ProcessHeader";
|
||||||
|
import ProcessFooter from "../../components/ProcessFooter";
|
||||||
|
import ProcessTitle from "../../components/ProcessTitle";
|
||||||
|
import { inboundLiaisonDetail, saveTaskFirst } from "api/process";
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name: "bzqdfbStep3",
|
||||||
|
components: {
|
||||||
|
ProcessHeader,
|
||||||
|
ProcessFooter,
|
||||||
|
ProcessTitle
|
||||||
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
userId:this.$store.getters.userInfo.userId,
|
||||||
|
taskIds: this.$route.query.taskIds,
|
||||||
|
pId: this.$route.query.prcId,
|
||||||
|
dataList: [
|
||||||
|
{
|
||||||
|
standNumber: 123,
|
||||||
|
cnName: "中国",
|
||||||
|
enName: "CN",
|
||||||
|
isSubTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
newCarTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
oldCarTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
id: "2hl119a61sgmzk47d918pw5",
|
||||||
|
applyRegion: null,
|
||||||
|
textState: "已发布"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
standNumber: 123,
|
||||||
|
cnName: "日本",
|
||||||
|
enName: "CN",
|
||||||
|
isSubTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
newCarTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
oldCarTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
id: "2hl9a61sgmzk417d98pw15",
|
||||||
|
applyRegion: null,
|
||||||
|
textState: "已发布"
|
||||||
|
}, {
|
||||||
|
standNumber: 123,
|
||||||
|
cnName: "韩国",
|
||||||
|
enName: "CN",
|
||||||
|
isSubTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
newCarTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
oldCarTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
id: "2hl9a61sgmzk47d1918pw5",
|
||||||
|
applyRegion: null,
|
||||||
|
textState: "已发布"
|
||||||
|
}, {
|
||||||
|
standNumber: 123,
|
||||||
|
cnName: "没过",
|
||||||
|
enName: "CN",
|
||||||
|
isSubTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
newCarTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
oldCarTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
id: "2hl9a61sgmzk47d2331918pw5",
|
||||||
|
applyRegion: null,
|
||||||
|
textState: "已发布"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
standNumber: 123,
|
||||||
|
cnName: "德国",
|
||||||
|
enName: "CN",
|
||||||
|
isSubTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
newCarTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
oldCarTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
id: "2hl9a61sgmzk472344dt1918pw5",
|
||||||
|
applyRegion: null,
|
||||||
|
textState: "已发布"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
], //清单里的标准数据
|
||||||
|
standardData: [], //添加标准数据
|
||||||
|
standModel: false, // 选择标准抽屉状态
|
||||||
|
active: "1",
|
||||||
|
signFlag: "1", //是否会签 1为会签 2为不会签
|
||||||
|
isSubmit: false,
|
||||||
|
saveLoading: false,
|
||||||
|
tabValue: "listOfCountries",
|
||||||
|
selectedList: [], //选择清单的选择框
|
||||||
|
selectList: [], //选择标准的选择框
|
||||||
|
bringData: [],
|
||||||
|
page: 1,
|
||||||
|
total: 0,
|
||||||
|
pageSize: this.$store.getters.userInfo.configContent,
|
||||||
|
listForm: {
|
||||||
|
listName: "", //清单名称
|
||||||
|
applyRegion: "", //适用区域
|
||||||
|
descriptionList: "", //清单说明
|
||||||
|
enclosure: "", //附件
|
||||||
|
signFlag: "1", //是否会签 1为会签 2为不会签
|
||||||
|
dataList: [{
|
||||||
|
standNumber: "", //标准号
|
||||||
|
cnName: "", //中文名称
|
||||||
|
enName: "", //英文名称
|
||||||
|
isSubTime: "", //发布日期
|
||||||
|
newCarTime: "", //新车型实施日期
|
||||||
|
oldCarTime: "", //在产车实施日期
|
||||||
|
applyCar: "", //适用车型
|
||||||
|
textState: "", //文本状态
|
||||||
|
id: ""
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
choiceForm: {}, //选择标准清单列表
|
||||||
|
countryOptions: [], //适用区域下拉框数据
|
||||||
|
user1: "",
|
||||||
|
user2: "",
|
||||||
|
user3: "",
|
||||||
|
user4: "",
|
||||||
|
user5: "",
|
||||||
|
standMap: new Map()
|
||||||
|
};
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
//tab发生变化
|
||||||
|
handleTabs(name) {
|
||||||
|
this.active = name;
|
||||||
|
},
|
||||||
|
//点击新增事件
|
||||||
|
addList() {
|
||||||
|
this.$http.get("sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage", "", {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
this.standardData = res.data.list;
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
this.standModel = true;
|
||||||
|
},
|
||||||
|
// 点击批量删除事件
|
||||||
|
deleteList() {
|
||||||
|
if (this.selectList.length < 1) {
|
||||||
|
this.$message.warning("请选择一条数据进行删除");
|
||||||
|
} else {
|
||||||
|
this.$confirm("您确认删除这些数据?", "提示", {
|
||||||
|
confirmButtonText: "确认",
|
||||||
|
confirmButtonClass: "common-button-primary",
|
||||||
|
cancelButtonText: "取消",
|
||||||
|
type: "warning"
|
||||||
|
}).then(() => {
|
||||||
|
let exits = [];
|
||||||
|
this.selectList.map(item => {
|
||||||
|
let index;
|
||||||
|
index = this.dataList.findIndex(items => {
|
||||||
|
return items.id = item;
|
||||||
|
});
|
||||||
|
if (index > -1) {
|
||||||
|
this.dataList.splice(index, 1);
|
||||||
|
}
|
||||||
|
exits.push(item);
|
||||||
|
});
|
||||||
|
this.selectList = [];
|
||||||
|
}).catch(() => {
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
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
|
||||||
|
})
|
||||||
|
},
|
||||||
|
//保存事件
|
||||||
|
handleSave() {
|
||||||
|
let _formData = new FormData()
|
||||||
|
_formData.append('createUser', this.$store.getters.userInfo.userId)
|
||||||
|
_formData.append('createUserName', this.$store.getters.userInfo.uName)
|
||||||
|
_formData.append('prcType', this.$route.query.type)
|
||||||
|
saveTaskFirst(_formData).then(res => {
|
||||||
|
this.$message.success('保存成功')
|
||||||
|
}).catch(e => {
|
||||||
|
})
|
||||||
|
|
||||||
|
},
|
||||||
|
//提交事件
|
||||||
|
handleSubmit() {
|
||||||
|
this.listForm.jlUserId = this.$store.getters.userInfo.userId ;
|
||||||
|
this.listForm.prcCreateUser = this.$store.getters.userInfo.userId;
|
||||||
|
this.listForm.prcCreateUserName = this.$store.getters.userInfo.account;
|
||||||
|
this.listForm.commentText = this.commentText;
|
||||||
|
this.listForm.zrUserId = this.$store.getters.userInfo.userId ;
|
||||||
|
this.listForm.approvalOpinion = "";
|
||||||
|
this.listForm.standId = this.listForm.standId;
|
||||||
|
const json = JSON.stringify(this.listForm);
|
||||||
|
this.$http.postData('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')
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
|
//标准表格选择框改变
|
||||||
|
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: {},
|
||||||
|
mounted() {
|
||||||
|
this.getData()
|
||||||
|
},
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less" scoped>
|
||||||
|
@import '~@/assets/styles/style';
|
||||||
|
|
||||||
|
.bzqdfb-step3 {
|
||||||
|
/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>
|
||||||
|
|
||||||
@@ -0,0 +1,476 @@
|
|||||||
|
<!--标准法规清单发布 - 业务经理审批-->
|
||||||
|
<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 === '2' ? 'active' : ''" @click="handleTabs('2')">审批历史</div>
|
||||||
|
</div>
|
||||||
|
<div class="content" v-if="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="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
|
||||||
|
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
|
||||||
|
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
|
||||||
|
v-model="listForm.descriptionList"
|
||||||
|
placeholder="请输入清单说明"
|
||||||
|
clearable
|
||||||
|
></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="附件" prop="enclosure" class="add-form-item form-item-disabled">
|
||||||
|
<el-input
|
||||||
|
v-model="listForm.enclosure"
|
||||||
|
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'}">
|
||||||
|
<el-table-column
|
||||||
|
prop="standNumber"
|
||||||
|
label="标准号"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="cnName"
|
||||||
|
label="中文名称"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="enName"
|
||||||
|
label="英文名称"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="isSubTime"
|
||||||
|
label="发布日期"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="newCarTime"
|
||||||
|
label="新车型实施日期"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="oldCarTime"
|
||||||
|
label="在产车实施日期"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="applyCar"
|
||||||
|
label="适用车型"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="textState"
|
||||||
|
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-if="active == '2'">
|
||||||
|
<div class="block" style="padding-top: 20px;">
|
||||||
|
<el-timeline>
|
||||||
|
<el-timeline-item timestamp="发起流程" placement="top" :color="user1 ? '#66b1ff' : ''">
|
||||||
|
<el-card>
|
||||||
|
<h4>标准/政策法规工程师</h4>
|
||||||
|
<div style="margin-top: 10px;">
|
||||||
|
<el-input v-model="user1" placeholder="请输入"></el-input>
|
||||||
|
</div>
|
||||||
|
</el-card>
|
||||||
|
</el-timeline-item>
|
||||||
|
<el-timeline-item timestamp="选择责任人进行会签" placement="top" :color="user2 ? '#66b1ff' : ''">
|
||||||
|
<el-card>
|
||||||
|
<h4>责任人</h4>
|
||||||
|
<div style="margin-top: 10px;">
|
||||||
|
<el-input v-model="user2" placeholder="请输入">
|
||||||
|
|
||||||
|
</el-input>
|
||||||
|
</div>
|
||||||
|
</el-card>
|
||||||
|
</el-timeline-item>
|
||||||
|
<el-timeline-item timestamp="根据会签内容进行修订" placement="top" :color="user3 ? '#66b1ff' : ''">
|
||||||
|
<el-card>
|
||||||
|
<h4>标准/政策法规工程师</h4>
|
||||||
|
<div style="margin-top: 10px;">
|
||||||
|
<el-input v-model="user3" placeholder="请输入"></el-input>
|
||||||
|
</div>
|
||||||
|
</el-card>
|
||||||
|
</el-timeline-item>
|
||||||
|
<el-timeline-item timestamp="审核" placement="top" :color="user5 ? '#66b1ff' : ''">
|
||||||
|
<el-card>
|
||||||
|
<h4>业务经理</h4>
|
||||||
|
<div style="margin-top: 10px;">
|
||||||
|
<el-input v-model="user5" placeholder="请输入"></el-input>
|
||||||
|
</div>
|
||||||
|
</el-card>
|
||||||
|
</el-timeline-item>
|
||||||
|
</el-timeline>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<ProcessFooter
|
||||||
|
show-back
|
||||||
|
show-submit
|
||||||
|
:submitLoading="isSubmit"
|
||||||
|
:saveLoading="saveLoading"
|
||||||
|
:approval="true"
|
||||||
|
@back="beforeBack"
|
||||||
|
@submit="handleSubmit"
|
||||||
|
>
|
||||||
|
</ProcessFooter>
|
||||||
|
</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: "bzqdfbStep4",
|
||||||
|
components: {
|
||||||
|
ProcessHeader,
|
||||||
|
ProcessFooter,
|
||||||
|
ProcessTitle
|
||||||
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
dataList: [
|
||||||
|
{
|
||||||
|
standNumber: 123,
|
||||||
|
cnName: "中国",
|
||||||
|
enName: "CN",
|
||||||
|
isSubTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
newCarTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
oldCarTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
id: "2hl119a61sgmzk47d918pw5",
|
||||||
|
applyRegion: null,
|
||||||
|
textState: "已发布"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
standNumber: 123,
|
||||||
|
cnName: "日本",
|
||||||
|
enName: "CN",
|
||||||
|
isSubTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
newCarTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
oldCarTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
id: "2hl9a61sgmzk417d98pw15",
|
||||||
|
applyRegion: null,
|
||||||
|
textState: "已发布"
|
||||||
|
}, {
|
||||||
|
standNumber: 123,
|
||||||
|
cnName: "韩国",
|
||||||
|
enName: "CN",
|
||||||
|
isSubTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
newCarTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
oldCarTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
id: "2hl9a61sgmzk47d1918pw5",
|
||||||
|
applyRegion: null,
|
||||||
|
textState: "已发布"
|
||||||
|
}, {
|
||||||
|
standNumber: 123,
|
||||||
|
cnName: "没过",
|
||||||
|
enName: "CN",
|
||||||
|
isSubTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
newCarTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
oldCarTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
id: "2hl9a61sgmzk47d2331918pw5",
|
||||||
|
applyRegion: null,
|
||||||
|
textState: "已发布"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
standNumber: 123,
|
||||||
|
cnName: "德国",
|
||||||
|
enName: "CN",
|
||||||
|
isSubTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
newCarTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
oldCarTime: "2021-06-25T00:00:00.000+00:00",
|
||||||
|
id: "2hl9a61sgmzk472344dt1918pw5",
|
||||||
|
applyRegion: null,
|
||||||
|
textState: "已发布"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
], //清单里的标准数据
|
||||||
|
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: "", //清单名称
|
||||||
|
applyRegion: "", //适用区域
|
||||||
|
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()
|
||||||
|
};
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
//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
|
||||||
|
})
|
||||||
|
},
|
||||||
|
//驳回事件
|
||||||
|
beforeBack () {
|
||||||
|
this.listForm.approvalOpinion = '1'
|
||||||
|
this.handleSubmit()
|
||||||
|
},
|
||||||
|
//提交事件
|
||||||
|
handleSubmit() {
|
||||||
|
this.listForm.jlUserId = this.$store.getters.userInfo.userId ;
|
||||||
|
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.commentText = this.commentText;
|
||||||
|
this.listForm.zrUserId = this.$store.getters.userInfo.userId ;
|
||||||
|
this.listForm.signflag = "";
|
||||||
|
this.listForm.standId = this.listForm.standId;
|
||||||
|
const json = JSON.stringify(this.listForm);
|
||||||
|
this.$http.postData('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: {},
|
||||||
|
mounted() {
|
||||||
|
this.getData()
|
||||||
|
},
|
||||||
|
};
|
||||||
|
</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>
|
||||||
|
|
||||||
@@ -190,7 +190,6 @@ export default {
|
|||||||
loading: 'loading',
|
loading: 'loading',
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
console.log(res)
|
|
||||||
this.processList = res.list || []
|
this.processList = res.list || []
|
||||||
this.total = res.count
|
this.total = res.count
|
||||||
}, e => {
|
}, e => {
|
||||||
|
|||||||
@@ -265,6 +265,44 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
|
case'3' : {
|
||||||
|
if (row.taskInfo === '进行会签,填写意见') {
|
||||||
|
this.$router.push({
|
||||||
|
name: 'bzqdfbStep2',
|
||||||
|
query: {
|
||||||
|
taskIds: row.taskIds,
|
||||||
|
prcId: row.prcId,
|
||||||
|
prcNum: row.prcNum,
|
||||||
|
prcName: row.prcName,
|
||||||
|
prcType: row.prcType
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else if (row.taskInfo === '根据会签意见修订') {
|
||||||
|
this.$router.push({
|
||||||
|
name: 'bzqdfbStep3',
|
||||||
|
query: {
|
||||||
|
taskIds: row.taskIds,
|
||||||
|
prcId: row.prcId,
|
||||||
|
prcNum: row.prcNum,
|
||||||
|
prcName: row.prcName,
|
||||||
|
prcType: row.prcType
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}else if (row.taskInfo === '业务经理审批') {
|
||||||
|
this.$router.push({
|
||||||
|
name: 'bzqdfbStep4',
|
||||||
|
query: {
|
||||||
|
taskIds: row.taskIds,
|
||||||
|
prcId: row.prcId,
|
||||||
|
prcNum: row.prcNum,
|
||||||
|
prcName: row.prcName,
|
||||||
|
prcType: row.prcType
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
...mapMutations(['setProcess', 'setHandleInfo']),
|
...mapMutations(['setProcess', 'setHandleInfo']),
|
||||||
|
|||||||
@@ -21,16 +21,18 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import listOfCountries from "../accessStandardsAndRegulations/page/listOfCountries";
|
import listOfCountries from "../accessStandardsAndRegulations/page/listOfCountries";
|
||||||
import listProject from "../accessStandardsAndRegulations/page/listProject";
|
import listProject from "../accessStandardsAndRegulations/page/listProject";
|
||||||
import listTracking from "../accessStandardsAndRegulations/page/listTracking";
|
import listTracking from "../accessStandardsAndRegulations/page/listTracking";
|
||||||
import listOther from "../accessStandardsAndRegulations/page/listOther";
|
import listOther from "../accessStandardsAndRegulations/page/listOther";
|
||||||
export default {
|
|
||||||
|
export default {
|
||||||
name: "AccessStandardsAndRegulations",
|
name: "AccessStandardsAndRegulations",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
list: [],
|
list: [],
|
||||||
tabValue: ''
|
tabValue: "",
|
||||||
|
menuName: ["国家/地区清单", "项目类清单", "重点标准跟踪清单", "其他清单"]
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {},
|
methods: {},
|
||||||
@@ -44,61 +46,74 @@
|
|||||||
computed: {},
|
computed: {},
|
||||||
watch: {},
|
watch: {},
|
||||||
mounted() {
|
mounted() {
|
||||||
var list = []
|
var list = [];
|
||||||
const menuList = this.$store.getters.getMenuList
|
const menuList = this.$store.getters.getMenuList;
|
||||||
menuList.forEach(item => {
|
let menuData = [];
|
||||||
if (item.id === 'b05b562950cb6d0aef539fad30b7386a') {
|
let menuID = ["b05b562950cb6d0aef539fad30b7386a", "63e05705d0c8013162caa34f9fe52865", "418123d180abf67bd2c46d5a694baaa5", "5a75523729b04102a565167004d640e9"];
|
||||||
|
this.menuName.forEach(item => {
|
||||||
|
for (let i = 0; i < menuList.length; i++) {
|
||||||
|
let entity = menuList[i];
|
||||||
|
if (item != entity.menuName) continue;
|
||||||
|
if (menuID.indexOf(entity.id) >= 0 && menuData.indexOf(entity.id) == -1) {
|
||||||
|
menuData.push(entity.id);
|
||||||
|
if (entity.id === "b05b562950cb6d0aef539fad30b7386a") {
|
||||||
list.push({
|
list.push({
|
||||||
label: '国家/地区清单',
|
label: "国家/地区清单",
|
||||||
name: 'listOfCountries'
|
name: "listOfCountries"
|
||||||
})
|
});
|
||||||
} else if (item.id === '63e05705d0c8013162caa34f9fe52865') {
|
continue;
|
||||||
|
} else if (entity.id === "63e05705d0c8013162caa34f9fe52865") {
|
||||||
list.push({
|
list.push({
|
||||||
label: '项目类清单',
|
label: "项目类清单",
|
||||||
name: 'listProject'
|
name: "listProject"
|
||||||
})
|
});
|
||||||
} else if (item.id === '418123d180abf67bd2c46d5a694baaa5') {
|
continue;
|
||||||
|
} else if (entity.id === "418123d180abf67bd2c46d5a694baaa5") {
|
||||||
list.push({
|
list.push({
|
||||||
label: '重点标准跟踪清单',
|
label: "重点标准跟踪清单",
|
||||||
name: 'listTracking'
|
name: "listTracking"
|
||||||
})
|
});
|
||||||
} else if (item.id === '5a75523729b04102a565167004d640e9') {
|
continue;
|
||||||
|
} else if (entity.id === "5a75523729b04102a565167004d640e9") {
|
||||||
list.push({
|
list.push({
|
||||||
label: '其他清单',
|
label: "其他清单",
|
||||||
name: 'listOther'
|
name: "listOther"
|
||||||
})
|
});
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
})
|
}
|
||||||
this.list = list
|
}
|
||||||
this.tabValue = this.list[0].name
|
});
|
||||||
|
this.list = list;
|
||||||
|
this.tabValue = this.list[0].name;
|
||||||
},
|
},
|
||||||
beforeRouteLeave(to, from, next) {
|
beforeRouteLeave(to, from, next) {
|
||||||
const toName = ['ListOfStandardsAndRegulationsDetails', 'Details', 'ProjectAddEit', 'OtherAddEit']
|
const toName = ["ListOfStandardsAndRegulationsDetails", "Details", "ProjectAddEit", "OtherAddEit"];
|
||||||
// 离开此页面之前,记录tabName以便返回使用,如果将要访问的页面不是这两个,则清空tabName
|
// 离开此页面之前,记录tabName以便返回使用,如果将要访问的页面不是这两个,则清空tabName
|
||||||
if (toName.includes(to.name)) {
|
if (toName.includes(to.name)) {
|
||||||
this.$store.commit('SET_ACCESS_STANDARD_REG_TABS', this.tabValue)
|
this.$store.commit("SET_ACCESS_STANDARD_REG_TABS", this.tabValue);
|
||||||
} else {
|
} else {
|
||||||
this.$store.commit('SET_ACCESS_STANDARD_REG_TABS')
|
this.$store.commit("SET_ACCESS_STANDARD_REG_TABS");
|
||||||
}
|
}
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
next()
|
next();
|
||||||
}, 100)
|
}, 100);
|
||||||
},
|
},
|
||||||
beforeRouteEnter(to, from, next) {
|
beforeRouteEnter(to, from, next) {
|
||||||
next(vm => {
|
next(vm => {
|
||||||
if (vm.$store.state.accessStandRegTabName !== '') {
|
if (vm.$store.state.accessStandRegTabName !== "") {
|
||||||
vm.tabValue = vm.$store.state.accessStandRegTabName
|
vm.tabValue = vm.$store.state.accessStandRegTabName;
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
@import '~@/assets/styles/style';
|
@import '~@/assets/styles/style';
|
||||||
@import '~@/assets/styles/mixins';
|
@import '~@/assets/styles/mixins';
|
||||||
|
|
||||||
#accessStandardsAndRegulations {
|
#accessStandardsAndRegulations {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
@@ -129,5 +144,5 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -42,7 +42,7 @@
|
|||||||
class="common-button-primary add-button"
|
class="common-button-primary add-button"
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="openModal(null,'addOpt')"
|
@click="openModal(null,'addOpt')"
|
||||||
v-btn-permission="'ae7419baca1564175bf96d94e827ef8b'"
|
v-btn-permission="''"
|
||||||
><i class="iconfont"></i>新增
|
><i class="iconfont"></i>新增
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
|
|||||||
@@ -16,6 +16,7 @@
|
|||||||
placeholder="请输入清单名称"
|
placeholder="请输入清单名称"
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item class="search-item btn-box">
|
<el-form-item class="search-item btn-box">
|
||||||
<el-button
|
<el-button
|
||||||
:loading="searching"
|
:loading="searching"
|
||||||
|
|||||||
@@ -28,6 +28,24 @@
|
|||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="适用领域" prop="applicationScope" class="search-item">
|
||||||
|
<el-select
|
||||||
|
v-model="sarAccessEO.applicationScope"
|
||||||
|
multiple
|
||||||
|
placeholder="请选择"
|
||||||
|
filterable
|
||||||
|
:disabled="disabledFlag"
|
||||||
|
class="wx-resolve"
|
||||||
|
>
|
||||||
|
<el-option
|
||||||
|
v-for="item in applyOptions"
|
||||||
|
:value="item.value"
|
||||||
|
:key="item.value"
|
||||||
|
:label="item.label"
|
||||||
|
>
|
||||||
|
</el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
<br/><br/>
|
<br/><br/>
|
||||||
<el-form-item label="清单说明" prop="remark" class="search-item max-search-item2">
|
<el-form-item label="清单说明" prop="remark" class="search-item max-search-item2">
|
||||||
<el-input
|
<el-input
|
||||||
@@ -222,21 +240,18 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="newPutTime"
|
prop="newPutTime"
|
||||||
width="150px"
|
|
||||||
sortable
|
sortable
|
||||||
label="新车型实施日期">
|
label="新车型实施日期">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="prodPutTime"
|
prop="prodPutTime"
|
||||||
width="150px"
|
|
||||||
sortable
|
sortable
|
||||||
label="在产车实施日期">
|
label="在产车实施日期">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="ZRBMName"
|
prop="ZRBMName"
|
||||||
width="150px"
|
|
||||||
label="责任部门">
|
label="责任部门">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -366,34 +381,29 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="newPutTime"
|
prop="newPutTime"
|
||||||
width="190px"
|
|
||||||
label="发布日期"
|
label="发布日期"
|
||||||
sortable
|
sortable
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="newPutTime"
|
prop="newPutTime"
|
||||||
width="190px"
|
|
||||||
label="新车型实施日期"
|
label="新车型实施日期"
|
||||||
sortable
|
sortable
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="prodPutTime"
|
prop="prodPutTime"
|
||||||
width="190px"
|
|
||||||
label="在产车实施日期"
|
label="在产车实施日期"
|
||||||
sortable
|
sortable
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="applyArcticId"
|
prop="applyArcticId"
|
||||||
width="120px"
|
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
label="适用车型">
|
label="适用车型">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="applyArcticId"
|
prop="applyArcticId"
|
||||||
width="120px"
|
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
label="文本状态">
|
label="文本状态">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -505,7 +515,8 @@ export default {
|
|||||||
energyKind: '',
|
energyKind: '',
|
||||||
type: '',
|
type: '',
|
||||||
relateFile: '',
|
relateFile: '',
|
||||||
remark: '' // 清单说明
|
remark: '', // 清单说明
|
||||||
|
applicationScope: '' //适用领域
|
||||||
},
|
},
|
||||||
fileInfoList: [], // 上传的附件
|
fileInfoList: [], // 上传的附件
|
||||||
uploadFileListPath: 'api/att/attFile/upload', // 上传的地址
|
uploadFileListPath: 'api/att/attFile/upload', // 上传的地址
|
||||||
@@ -525,6 +536,7 @@ export default {
|
|||||||
disabledFlag: false,
|
disabledFlag: false,
|
||||||
regionOptions: [], // 基础信息 区域list
|
regionOptions: [], // 基础信息 区域list
|
||||||
drawerCountryOptions: [], // 基础信息 国家list
|
drawerCountryOptions: [], // 基础信息 国家list
|
||||||
|
applyOptions: [], //基础信息适用领域list
|
||||||
applyArcticOptions: [], // 基础车型 适用车型list
|
applyArcticOptions: [], // 基础车型 适用车型list
|
||||||
energyKindOptions: [], // 能源种类list
|
energyKindOptions: [], // 能源种类list
|
||||||
accessSarTypeOptions: [], // 要求类型list
|
accessSarTypeOptions: [], // 要求类型list
|
||||||
@@ -545,6 +557,7 @@ export default {
|
|||||||
sarAccessInfoSearch: {
|
sarAccessInfoSearch: {
|
||||||
id: '',
|
id: '',
|
||||||
countryArea: '', // 国家
|
countryArea: '', // 国家
|
||||||
|
applicationScope: '', //适用区域
|
||||||
keywords: '', // 关键字
|
keywords: '', // 关键字
|
||||||
detailedListName: '', //清单名称
|
detailedListName: '', //清单名称
|
||||||
applyArctic: '', // 能源种类
|
applyArctic: '', // 能源种类
|
||||||
@@ -1453,6 +1466,7 @@ export default {
|
|||||||
sarAccessEO.inforlist = JSON.stringify(rowlist)
|
sarAccessEO.inforlist = JSON.stringify(rowlist)
|
||||||
sarAccessEO.adminInfoList = JSON.stringify(rowList2)
|
sarAccessEO.adminInfoList = JSON.stringify(rowList2)
|
||||||
sarAccessEO.countryArea = sarAccessEO.countryArea.join(',')
|
sarAccessEO.countryArea = sarAccessEO.countryArea.join(',')
|
||||||
|
sarAccessEO.applicationScope = sarAccessEO.applicationScope.join(',')
|
||||||
// 判断是否有附件
|
// 判断是否有附件
|
||||||
if (this.fileInfoList.length > 0) {
|
if (this.fileInfoList.length > 0) {
|
||||||
let relateFile = []
|
let relateFile = []
|
||||||
@@ -1500,7 +1514,6 @@ export default {
|
|||||||
// 查询数据搜索 table 数据
|
// 查询数据搜索 table 数据
|
||||||
selectLawsStands () {
|
selectLawsStands () {
|
||||||
if (this.isListType) {
|
if (this.isListType) {
|
||||||
console.log('1505');
|
|
||||||
this.$http.get('lawss/sarSarAccess/page', this.sarAccessInfoSearch, {
|
this.$http.get('lawss/sarSarAccess/page', this.sarAccessInfoSearch, {
|
||||||
_this: this,
|
_this: this,
|
||||||
loading: 'dataLoading'
|
loading: 'dataLoading'
|
||||||
@@ -1514,6 +1527,7 @@ export default {
|
|||||||
_this: this,
|
_this: this,
|
||||||
loading: 'dataLoading'
|
loading: 'dataLoading'
|
||||||
}, res => {
|
}, res => {
|
||||||
|
console.log(res.data);
|
||||||
res.data.list[0].list.map(item => {
|
res.data.list[0].list.map(item => {
|
||||||
item.newPutTextTime = null
|
item.newPutTextTime = null
|
||||||
item.prodPutTextTime = null
|
item.prodPutTextTime = null
|
||||||
@@ -2214,6 +2228,7 @@ export default {
|
|||||||
this.applyArcticOptions = res.data.PRODUCTTYPE || [] // 基础车型 适用车型list
|
this.applyArcticOptions = res.data.PRODUCTTYPE || [] // 基础车型 适用车型list
|
||||||
this.energyKindOptions = res.data.ENERGYTYPES || [] // 能源种类list
|
this.energyKindOptions = res.data.ENERGYTYPES || [] // 能源种类list
|
||||||
this.drawerCountryOptions = res.data.COUNTRY // 国家、地区list
|
this.drawerCountryOptions = res.data.COUNTRY // 国家、地区list
|
||||||
|
this.applyOptions = res.data.COUNTRY
|
||||||
this.standNatureOptions = res.data.SARPROPERTY // 新增 标准性质
|
this.standNatureOptions = res.data.SARPROPERTY // 新增 标准性质
|
||||||
this.accessSarTypeOptions = res.data.REQUESTTYPE // 数据搜索 要求类型
|
this.accessSarTypeOptions = res.data.REQUESTTYPE // 数据搜索 要求类型
|
||||||
this.standSortOptions = res.data.STANDCLASSIFY // 标准类别
|
this.standSortOptions = res.data.STANDCLASSIFY // 标准类别
|
||||||
@@ -2228,9 +2243,11 @@ export default {
|
|||||||
// 判断是否是编辑
|
// 判断是否是编辑
|
||||||
if (this.$route.query.id) {
|
if (this.$route.query.id) {
|
||||||
const accessRow = this.getAccessStandardRegRow
|
const accessRow = this.getAccessStandardRegRow
|
||||||
|
console.log('是否是编辑', accessRow);
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.sarAccessEO.type = accessRow.type
|
this.sarAccessEO.type = accessRow.type
|
||||||
this.sarAccessEO.countryArea = accessRow.countryArea.split(',')
|
this.sarAccessEO.countryArea = accessRow.countryArea.split(',')
|
||||||
|
this.sarAccessEO.applicationScope = accessRow.applicationScope.split(',')
|
||||||
this.sarAccessEO.detailedListName = accessRow.detailedListName
|
this.sarAccessEO.detailedListName = accessRow.detailedListName
|
||||||
this.sarAccessEO.id = accessRow.id
|
this.sarAccessEO.id = accessRow.id
|
||||||
this.sarAccessEO.remark = accessRow.remark || ''
|
this.sarAccessEO.remark = accessRow.remark || ''
|
||||||
|
|||||||
@@ -13,6 +13,24 @@
|
|||||||
<el-form-item label="清单类别" prop="detailedList" class="search-item">
|
<el-form-item label="清单类别" prop="detailedList" class="search-item">
|
||||||
<el-input v-model="sarAccessEO.detailedList" :disabled="disabledFlag" placeholder="请输入"></el-input>
|
<el-input v-model="sarAccessEO.detailedList" :disabled="disabledFlag" placeholder="请输入"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="适用领域" prop="applicationScope" class="search-item">
|
||||||
|
<el-select
|
||||||
|
v-model="sarAccessEO.applicationScope"
|
||||||
|
multiple
|
||||||
|
placeholder="请选择"
|
||||||
|
filterable
|
||||||
|
:disabled="disabledFlag"
|
||||||
|
class="wx-resolve"
|
||||||
|
>
|
||||||
|
<el-option
|
||||||
|
v-for="item in applyOptions"
|
||||||
|
:value="item.value"
|
||||||
|
:key="item.value"
|
||||||
|
:label="item.label"
|
||||||
|
>
|
||||||
|
</el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
<br/><br/>
|
<br/><br/>
|
||||||
<el-form-item label="清单说明" prop="remark" class="search-item max-search-item2">
|
<el-form-item label="清单说明" prop="remark" class="search-item max-search-item2">
|
||||||
<el-input
|
<el-input
|
||||||
@@ -292,11 +310,11 @@
|
|||||||
<el-button
|
<el-button
|
||||||
class="common-button-default export-button"
|
class="common-button-default export-button"
|
||||||
size="mini" @click="exportAccessInfo('apart')"
|
size="mini" @click="exportAccessInfo('apart')"
|
||||||
v-btn-permission="'98c9556f5ae1590b4c2eb7d8ae2526dd'"
|
v-btn-permission="''"
|
||||||
><i class="iconfont"></i>导出</el-button>
|
><i class="iconfont"></i>导出</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
class="common-button-default delete-button"
|
class="common-button-default delete-button"
|
||||||
v-btn-permission="'c998c341816ecade73493fca3051cb1e'"
|
v-btn-permission="''"
|
||||||
size="mini" @click="deleteSelectSarAccessInfo"
|
size="mini" @click="deleteSelectSarAccessInfo"
|
||||||
v-if="!disabledFlag"
|
v-if="!disabledFlag"
|
||||||
><i class="iconfont"></i>删除</el-button>
|
><i class="iconfont"></i>删除</el-button>
|
||||||
@@ -490,8 +508,10 @@ export default {
|
|||||||
energyKind: '',
|
energyKind: '',
|
||||||
type: '',
|
type: '',
|
||||||
relateFile: '',
|
relateFile: '',
|
||||||
remark: '' // 清单说明
|
remark: '' ,// 清单说明
|
||||||
|
applicationScope: '' , //适用领域
|
||||||
},
|
},
|
||||||
|
applyOptions: [], //适用领域list
|
||||||
fileInfoList: [], // 上传的附件
|
fileInfoList: [], // 上传的附件
|
||||||
uploadFileListPath: 'api/att/attFile/upload', // 上传的地址
|
uploadFileListPath: 'api/att/attFile/upload', // 上传的地址
|
||||||
// 新增、编辑 基础信息验证条件
|
// 新增、编辑 基础信息验证条件
|
||||||
@@ -2185,6 +2205,7 @@ export default {
|
|||||||
this.applyArcticOptions = res.data.PRODUCTTYPE || [] // 基础车型 适用车型list
|
this.applyArcticOptions = res.data.PRODUCTTYPE || [] // 基础车型 适用车型list
|
||||||
this.energyKindOptions = res.data.ENERGYTYPES || [] // 能源种类list
|
this.energyKindOptions = res.data.ENERGYTYPES || [] // 能源种类list
|
||||||
this.drawerCountryOptions = res.data.COUNTRY // 国家、地区list
|
this.drawerCountryOptions = res.data.COUNTRY // 国家、地区list
|
||||||
|
this.applyOptions = res.data.COUNTRY //适用领域 list
|
||||||
this.standNatureOptions = res.data.SARPROPERTY // 新增 标准性质
|
this.standNatureOptions = res.data.SARPROPERTY // 新增 标准性质
|
||||||
this.accessSarTypeOptions = res.data.REQUESTTYPE // 数据搜索 要求类型
|
this.accessSarTypeOptions = res.data.REQUESTTYPE // 数据搜索 要求类型
|
||||||
this.standSortOptions = res.data.STANDCLASSIFY // 标准类别
|
this.standSortOptions = res.data.STANDCLASSIFY // 标准类别
|
||||||
|
|||||||
+22
-2
@@ -13,6 +13,24 @@
|
|||||||
<el-form-item label="项目名称" prop="projectName" class="search-item">
|
<el-form-item label="项目名称" prop="projectName" class="search-item">
|
||||||
<el-input v-model="sarAccessEO.projectName" :disabled="disabledFlag" placeholder="请输入"></el-input>
|
<el-input v-model="sarAccessEO.projectName" :disabled="disabledFlag" placeholder="请输入"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="适用领域" prop="applicationScope" class="search-item">
|
||||||
|
<el-select
|
||||||
|
v-model="sarAccessEO.applicationScope"
|
||||||
|
multiple
|
||||||
|
placeholder="请选择"
|
||||||
|
filterable
|
||||||
|
:disabled="disabledFlag"
|
||||||
|
class="wx-resolve"
|
||||||
|
>
|
||||||
|
<el-option
|
||||||
|
v-for="item in applyOptions"
|
||||||
|
:value="item.value"
|
||||||
|
:key="item.value"
|
||||||
|
:label="item.label"
|
||||||
|
>
|
||||||
|
</el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
<br/><br/>
|
<br/><br/>
|
||||||
<el-form-item label="清单说明" prop="remark" class="search-item max-search-item2">
|
<el-form-item label="清单说明" prop="remark" class="search-item max-search-item2">
|
||||||
<el-input
|
<el-input
|
||||||
@@ -490,9 +508,11 @@ export default {
|
|||||||
energyKind: '',
|
energyKind: '',
|
||||||
type: '',
|
type: '',
|
||||||
relateFile: '',
|
relateFile: '',
|
||||||
remark: '' // 清单说明
|
remark: '' ,// 清单说明
|
||||||
|
applicationScope: '', //适用领域
|
||||||
},
|
},
|
||||||
fileInfoList: [], // 上传的附件
|
fileInfoList: [], // 上传的附件
|
||||||
|
applyOptions:[], //适用领域
|
||||||
uploadFileListPath: 'api/att/attFile/upload', // 上传的地址
|
uploadFileListPath: 'api/att/attFile/upload', // 上传的地址
|
||||||
// 新增、编辑 基础信息验证条件
|
// 新增、编辑 基础信息验证条件
|
||||||
sarAccessEORules: {
|
sarAccessEORules: {
|
||||||
@@ -2185,7 +2205,7 @@ export default {
|
|||||||
this.regionOptions = res.data.REGION // 基础信息 区域list
|
this.regionOptions = res.data.REGION // 基础信息 区域list
|
||||||
this.applyArcticOptions = res.data.PRODUCTTYPE || [] // 基础车型 适用车型list
|
this.applyArcticOptions = res.data.PRODUCTTYPE || [] // 基础车型 适用车型list
|
||||||
this.energyKindOptions = res.data.ENERGYTYPES || [] // 能源种类list
|
this.energyKindOptions = res.data.ENERGYTYPES || [] // 能源种类list
|
||||||
this.drawerCountryOptions = res.data.COUNTRY // 国家、地区list
|
this.applyOptions = res.data.COUNTRY // 国家、地区list
|
||||||
this.standNatureOptions = res.data.SARPROPERTY // 新增 标准性质
|
this.standNatureOptions = res.data.SARPROPERTY // 新增 标准性质
|
||||||
this.accessSarTypeOptions = res.data.REQUESTTYPE // 数据搜索 要求类型
|
this.accessSarTypeOptions = res.data.REQUESTTYPE // 数据搜索 要求类型
|
||||||
this.standSortOptions = res.data.STANDCLASSIFY // 标准类别
|
this.standSortOptions = res.data.STANDCLASSIFY // 标准类别
|
||||||
|
|||||||
@@ -258,6 +258,24 @@ const routes = [
|
|||||||
title: '标准清单发布/更新流程'
|
title: '标准清单发布/更新流程'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/bzqdfbStep3',
|
||||||
|
name: 'bzqdfbStep3',
|
||||||
|
component: () => import('@/pages/processCenter/pages/creatProcess/bzqdfb/step3.vue'),
|
||||||
|
meta: {
|
||||||
|
requireAuth: true,
|
||||||
|
title: '标准清单发布/更新流程'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: '/bzqdfbStep4',
|
||||||
|
name: 'bzqdfbStep4',
|
||||||
|
component: () => import('@/pages/processCenter/pages/creatProcess/bzqdfb/step4.vue'),
|
||||||
|
meta: {
|
||||||
|
requireAuth: true,
|
||||||
|
title: '标准清单发布/更新流程'
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: '/bzrkStep1',
|
path: '/bzrkStep1',
|
||||||
name: 'bzrkStep1',
|
name: 'bzrkStep1',
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
// 服务器地址
|
// 服务器地址
|
||||||
// const devIp = '39.98.140.126'
|
// const devIp = '39.98.140.126'
|
||||||
// const devInterfacePORT = '10005'
|
// const devInterfacePORT = '10005'
|
||||||
const devIp = '192.168.10.53'
|
const devIp = '192.168.10.247'
|
||||||
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