标准清单发布流程
This commit is contained in:
@@ -105,85 +105,100 @@
|
|||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standNumber"
|
prop="code"
|
||||||
label="标准号"
|
fixed="left"
|
||||||
|
width="180px"
|
||||||
|
label="标准号">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a>
|
||||||
|
<a v-else @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}</a>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="standName"
|
||||||
|
label="标准名称"
|
||||||
|
width="260px"
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="cnName"
|
prop="issueTime"
|
||||||
label="中文名称"
|
sortable
|
||||||
>
|
label="发布日期">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="enName"
|
prop="xcxssrq"
|
||||||
label="英文名称"
|
sortable
|
||||||
>
|
label="新车型实施日期">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="isSubTime"
|
show-overflow-tooltip
|
||||||
label="发布日期"
|
prop="zccssrq"
|
||||||
>
|
sortable
|
||||||
|
label="在产车实施日期">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="newCarTime"
|
show-overflow-tooltip
|
||||||
label="新车型实施日期"
|
prop="textStatus"
|
||||||
>
|
width="120px"
|
||||||
</el-table-column>
|
label="文本状态">
|
||||||
<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-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-if="active == '2'">
|
<div class="content" v-if="active === '2'">
|
||||||
<div class="block" style="padding-top: 20px;">
|
<div class="block" style="padding-top: 20px;">
|
||||||
<el-timeline>
|
<el-timeline>
|
||||||
<el-timeline-item timestamp="发起流程" placement="top" :color="user1 ? '#66b1ff' : ''">
|
<el-form
|
||||||
<el-card>
|
ref="Form"
|
||||||
<h4>标准/政策法规工程师</h4>
|
:model="roleForm"
|
||||||
<div style="margin-top: 10px;">
|
:rules="roleFormRules"
|
||||||
<el-input v-model="user1" placeholder="请输入"></el-input>
|
class="label-input-form">
|
||||||
</div>
|
<el-timeline-item timestamp="发起流程" placement="top" :color="roleForm.startUser ? '#66b1ff' : ''">
|
||||||
</el-card>
|
<el-card>
|
||||||
</el-timeline-item>
|
<el-form-item prop="startUserName" style="margin-bottom: 0">
|
||||||
<el-timeline-item timestamp="选择责任人进行会签" placement="top" :color="user2 ? '#66b1ff' : ''">
|
<h4>标准/政策法规工程师</h4>
|
||||||
<el-card>
|
<div style="margin-top: 10px;width: 300px;">
|
||||||
<h4>责任人</h4>
|
<el-input v-model="roleForm.startUser" style="display: none;"></el-input>
|
||||||
<div style="margin-top: 10px;">
|
<el-input v-model="roleForm.startUserName" placeholder="流程发起人"></el-input>
|
||||||
<el-input v-model="user2" placeholder="请输入">
|
</div>
|
||||||
|
</el-form-item>
|
||||||
</el-input>
|
</el-card>
|
||||||
</div>
|
</el-timeline-item>
|
||||||
</el-card>
|
<el-timeline-item timestamp="选择责任人进行会签" placement="top" :color="roleForm.dockUser ? '#66b1ff' : ''">
|
||||||
</el-timeline-item>
|
<el-card>
|
||||||
<el-timeline-item timestamp="根据会签内容进行修订" placement="top" :color="user3 ? '#66b1ff' : ''">
|
<el-form-item prop="dockUserName" style="margin-bottom: 0">
|
||||||
<el-card>
|
<h4>填写会签意见</h4>
|
||||||
<h4>标准/政策法规工程师</h4>
|
<div style="margin-top: 10px;width: 300px;">
|
||||||
<div style="margin-top: 10px;">
|
<el-input v-model="roleForm.dockUser" style="display: none;"></el-input>
|
||||||
<el-input v-model="user3" placeholder="请输入"></el-input>
|
<el-input v-model="roleForm.dockUserName" placeholder="选择责任人" @click.native="choiceZRR('dockUser', '选择责任人', roleForm.dockUser)">
|
||||||
</div>
|
</el-input>
|
||||||
</el-card>
|
</div>
|
||||||
</el-timeline-item>
|
</el-form-item>
|
||||||
<el-timeline-item timestamp="审核" placement="top" :color="user5 ? '#66b1ff' : ''">
|
</el-card>
|
||||||
<el-card>
|
</el-timeline-item>
|
||||||
<h4>业务经理</h4>
|
<el-timeline-item timestamp="根据会签内容修订" placement="top" :color="roleForm.ministerUser ? '#66b1ff' : ''">
|
||||||
<div style="margin-top: 10px;">
|
<el-card>
|
||||||
<el-input v-model="user5" placeholder="请输入"></el-input>
|
<el-form-item prop="ministerUserName" style="margin-bottom: 0">
|
||||||
</div>
|
<h4>标准/政策法规工程师</h4>
|
||||||
</el-card>
|
<div style="margin-top: 10px;width: 300px;">
|
||||||
</el-timeline-item>
|
<el-input v-model="roleForm.ministerUser" style="display: none;"></el-input>
|
||||||
|
<el-input v-model="roleForm.ministerUserName" placeholder="选择标准/政策法规工程师" @click.native="choiceZRR('ministerUser', '选择标准法规部部长', roleForm.ministerUser)"></el-input>
|
||||||
|
</div>
|
||||||
|
</el-form-item>
|
||||||
|
</el-card>
|
||||||
|
</el-timeline-item>
|
||||||
|
<el-timeline-item timestamp="审批" placement="top" :color="roleForm.directorUser ? '#66b1ff' : ''">
|
||||||
|
<el-card>
|
||||||
|
<el-form-item prop="directorUserName" style="margin-bottom: 0">
|
||||||
|
<h4>业务经理</h4>
|
||||||
|
<div style="margin-top: 10px;width: 300px;">
|
||||||
|
<el-input v-model="roleForm.directorUser" style="display: none;"></el-input>
|
||||||
|
<el-input v-model="roleForm.directorUserName" placeholder="选择业务经理" @click.native="choiceZRR('directorUser', '选择技术管理中心主任', roleForm.directorUser)"></el-input>
|
||||||
|
</div>
|
||||||
|
</el-form-item>
|
||||||
|
</el-card>
|
||||||
|
</el-timeline-item>
|
||||||
|
</el-form>
|
||||||
</el-timeline>
|
</el-timeline>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -521,6 +536,33 @@
|
|||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
|
<!-- 选择责任人-->
|
||||||
|
<el-drawer
|
||||||
|
:title="drawerTitle"
|
||||||
|
:visible.sync="modalshowflag"
|
||||||
|
:wrapperClosable="false"
|
||||||
|
size="800px">
|
||||||
|
<el-tree
|
||||||
|
v-if="modalshowflag"
|
||||||
|
style="height: 100%;"
|
||||||
|
node-key="id"
|
||||||
|
class="filter-tree"
|
||||||
|
:data="treeData"
|
||||||
|
:props="defaultProps"
|
||||||
|
:default-checked-keys="nodeList"
|
||||||
|
highlight-current
|
||||||
|
check-strictly
|
||||||
|
@check="drawerCheck"
|
||||||
|
default-expand-all
|
||||||
|
:expand-on-click-node="false"
|
||||||
|
show-checkbox
|
||||||
|
ref="tree">
|
||||||
|
</el-tree>
|
||||||
|
<div id="roleFormButton" class="demo-drawer-footer">
|
||||||
|
<el-button class="common-button-primary" size="mini" icon="el-icon-check" type="primary" @click="saveUserInfo">确定</el-button>
|
||||||
|
<el-button class="common-button-default" size="mini" icon="el-icon-close" @click="cancleUserInfo">取消</el-button>
|
||||||
|
</div>
|
||||||
|
</el-drawer>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -529,6 +571,7 @@ import ProcessHeader from "../../components/ProcessHeader";
|
|||||||
import ProcessFooter from "../../components/ProcessFooter";
|
import ProcessFooter from "../../components/ProcessFooter";
|
||||||
import ProcessTitle from "../../components/ProcessTitle";
|
import ProcessTitle from "../../components/ProcessTitle";
|
||||||
import { saveTaskFirst } from "api/process";
|
import { saveTaskFirst } from "api/process";
|
||||||
|
import seeDatalis from "@/pages/localTool/standContrast/pages/seeDatalis";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "bzqdfbStep1",
|
name: "bzqdfbStep1",
|
||||||
@@ -539,63 +582,39 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
dataList: [
|
modalshowflag: false, // drawer开关
|
||||||
{
|
drawerTitle: '', //drawer标题
|
||||||
standNumber: 123,
|
nodeList: [],
|
||||||
cnName: "中国",
|
defaultProps: {
|
||||||
enName: "CN",
|
children: 'children',
|
||||||
isSubTime: "2021-06-25T00:00:00.000+00:00",
|
label: 'name'
|
||||||
newCarTime: "2021-06-25T00:00:00.000+00:00",
|
},
|
||||||
oldCarTime: "2021-06-25T00:00:00.000+00:00",
|
roleForm: {
|
||||||
id: "2hl119a61sgmzk47d918pw5",
|
startUserName: this.$store.getters.userInfo.account,
|
||||||
applyRegion: null,
|
startUser: this.$store.getters.userInfo.id,
|
||||||
textState: "已发布"
|
dockUser: '',
|
||||||
},
|
responUserList: '',
|
||||||
{
|
ministerUser: '',
|
||||||
standNumber: 123,
|
directorUser: '',
|
||||||
cnName: "日本",
|
presidentUser: '',
|
||||||
enName: "CN",
|
dockUserName: '',
|
||||||
isSubTime: "2021-06-25T00:00:00.000+00:00",
|
responUserListName: '',
|
||||||
newCarTime: "2021-06-25T00:00:00.000+00:00",
|
ministerUserName: '',
|
||||||
oldCarTime: "2021-06-25T00:00:00.000+00:00",
|
directorUserName: '',
|
||||||
id: "2hl9a61sgmzk417d98pw15",
|
presidentUserName: ''
|
||||||
applyRegion: null,
|
},
|
||||||
textState: "已发布"
|
roleFormRules: {
|
||||||
}, {
|
dockUserName: [
|
||||||
standNumber: 123,
|
{ required: true, message: '请选择会签责任人', trigger: 'blur' },
|
||||||
cnName: "韩国",
|
],
|
||||||
enName: "CN",
|
ministerUserName: [
|
||||||
isSubTime: "2021-06-25T00:00:00.000+00:00",
|
{ required: true, message: '请选择修订责任人', trigger: 'blur' },
|
||||||
newCarTime: "2021-06-25T00:00:00.000+00:00",
|
],
|
||||||
oldCarTime: "2021-06-25T00:00:00.000+00:00",
|
directorUserName: [
|
||||||
id: "2hl9a61sgmzk47d1918pw5",
|
{ required: true, message: '请选择审批责任人', trigger: 'blur' },
|
||||||
applyRegion: null,
|
],
|
||||||
textState: "已发布"
|
},
|
||||||
}, {
|
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: "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', // 上传的地址
|
uploadFileListPath: 'api/att/attFile/upload', // 上传的地址
|
||||||
fileInfoList: [], // 上传的附件
|
fileInfoList: [], // 上传的附件
|
||||||
@@ -621,16 +640,15 @@ export default {
|
|||||||
descriptionList: "", //清单说明
|
descriptionList: "", //清单说明
|
||||||
enclosure: "", //附件
|
enclosure: "", //附件
|
||||||
standId: "", //选择的清单的id
|
standId: "", //选择的清单的id
|
||||||
signFlag: "1", //是否会签 1为会签 2为不会签W
|
signFlag: "1", //是否会签 1为会签 2为不会签
|
||||||
|
inforlist:"" , //用来存放标准列表的标准id
|
||||||
dataList: [{
|
dataList: [{
|
||||||
standNumber: "", //标准号
|
code: "", //标准号
|
||||||
cnName: "", //中文名称
|
standName: "", //标准名称
|
||||||
enName: "", //英文名称
|
issueTime: "", //发布日期
|
||||||
isSubTime: "", //发布日期
|
xcxssrq: "", //新车型实施日期
|
||||||
newCarTime: "", //新车型实施日期
|
zccssrq: "", //在产车实施日期
|
||||||
oldCarTime: "", //在产车实施日期
|
textStatus: "", //文本状态
|
||||||
applyCar: "", //适用车型
|
|
||||||
textState: "", //文本状态
|
|
||||||
id: ""
|
id: ""
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
@@ -645,6 +663,25 @@ export default {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
saveUserInfo () {
|
||||||
|
if (this.type === 'dockUser') {
|
||||||
|
this.roleForm.dockUser = this.roleRow.id
|
||||||
|
this.roleForm.dockUserName = this.roleRow.name
|
||||||
|
} else if (this.type === 'ministerUser') {
|
||||||
|
this.roleForm.ministerUser = this.roleRow.id
|
||||||
|
this.roleForm.ministerUserName = this.roleRow.name
|
||||||
|
} else if (this.type === 'directorUser') {
|
||||||
|
this.roleForm.directorUser = this.roleRow.id
|
||||||
|
this.roleForm.directorUserName = this.roleRow.name
|
||||||
|
} else if (this.type === 'presidentUser') {
|
||||||
|
this.roleForm.presidentUser = this.roleRow.id
|
||||||
|
this.roleForm.presidentUserName = this.roleRow.name
|
||||||
|
}
|
||||||
|
this.modalshowflag = false
|
||||||
|
},
|
||||||
|
cancleUserInfo () {
|
||||||
|
this.modalshowflag = false
|
||||||
|
},
|
||||||
//tab发生变化
|
//tab发生变化
|
||||||
handleTabs(name) {
|
handleTabs(name) {
|
||||||
this.active = name;
|
this.active = name;
|
||||||
@@ -652,6 +689,15 @@ export default {
|
|||||||
choiceShow() {
|
choiceShow() {
|
||||||
this.ListModel = true;
|
this.ListModel = true;
|
||||||
},
|
},
|
||||||
|
drawerCheck (data) {
|
||||||
|
// var getlist = this.$refs.tree.getCheckedNodes().concat(this.$refs.tree.getHalfCheckedNodes());
|
||||||
|
// if(getlist.length == 1) {
|
||||||
|
// this.roleRow = getlist[0]
|
||||||
|
// }else {
|
||||||
|
// this.$refs.tree.setCheckedKeys([data.id]);
|
||||||
|
// this.roleRow = this.$refs.tree.getCheckedNodes()[0]
|
||||||
|
// }
|
||||||
|
},
|
||||||
//判断当前是否会签
|
//判断当前是否会签
|
||||||
selectSign (type) {
|
selectSign (type) {
|
||||||
if(type ==='1'){
|
if(type ==='1'){
|
||||||
@@ -660,21 +706,9 @@ export default {
|
|||||||
this.listForm.signFlag = 2
|
this.listForm.signFlag = 2
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//判断当前选中的是哪个清单
|
// //判断当前选中的是哪个清单
|
||||||
selectionList(type) {
|
selectionList(type) {
|
||||||
if (type === "country") {
|
if (type === "project") {
|
||||||
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", {
|
this.$http.get("sarLawsDetailedList/sar-laws-detailed-list/getAllStand", {
|
||||||
page: this.page,
|
page: this.page,
|
||||||
pageSize: this.pageSize,
|
pageSize: this.pageSize,
|
||||||
@@ -686,7 +720,7 @@ export default {
|
|||||||
this.total = res.data.total;
|
this.total = res.data.total;
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
} else {
|
} else if (type === "other") {
|
||||||
this.$http.get("sarLawsDetailedList/sar-laws-detailed-list/getAllStand", {
|
this.$http.get("sarLawsDetailedList/sar-laws-detailed-list/getAllStand", {
|
||||||
page: this.page,
|
page: this.page,
|
||||||
pageSize: this.pageSize,
|
pageSize: this.pageSize,
|
||||||
@@ -698,6 +732,18 @@ export default {
|
|||||||
this.total = res.data.total;
|
this.total = res.data.total;
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
|
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 => {
|
||||||
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//点击新增事件
|
//点击新增事件
|
||||||
@@ -705,6 +751,7 @@ export default {
|
|||||||
this.$http.get("sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage", "", {
|
this.$http.get("sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage", "", {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
|
console.log(res);
|
||||||
this.standardData = res.data.list;
|
this.standardData = res.data.list;
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
@@ -770,11 +817,11 @@ export default {
|
|||||||
json.prcCreateUserName = this.$store.getters.userInfo.account
|
json.prcCreateUserName = this.$store.getters.userInfo.account
|
||||||
json.standName = this.listForm.listName
|
json.standName = this.listForm.listName
|
||||||
json.standId = this.listForm.standId
|
json.standId = this.listForm.standId
|
||||||
this.$http.get('lawss/activiti/startProcess' , {type: '3'}, {
|
this.$http.get('lawss/activiti/startProcess' , {type: '4'}, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
if(res.ok){
|
if(res.ok){
|
||||||
this.$http.postData('lawss/activiti/completeTask',{
|
this.$http.post('lawss/activiti/completeTask',{
|
||||||
taskIds: res.data,
|
taskIds: res.data,
|
||||||
userId : this.$store.getters.userInfo.userId,
|
userId : this.$store.getters.userInfo.userId,
|
||||||
json: JSON.stringify(json)
|
json: JSON.stringify(json)
|
||||||
@@ -829,6 +876,21 @@ export default {
|
|||||||
this.listForm.descriptionList = bringData[0].remark;
|
this.listForm.descriptionList = bringData[0].remark;
|
||||||
this.listForm.enclosure = bringData[0].detailedListName;
|
this.listForm.enclosure = bringData[0].detailedListName;
|
||||||
this.ListModel = false;
|
this.ListModel = false;
|
||||||
|
this.$http.get('sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById', {id: bringData[0].id}, {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
this.dataList = res.data
|
||||||
|
this.listForm.dataList = res.data
|
||||||
|
let formId = ""
|
||||||
|
this.dataList.forEach(item => {
|
||||||
|
if(this.dataList.length !== 0){
|
||||||
|
formId += ','
|
||||||
|
formId += item.id
|
||||||
|
}
|
||||||
|
})
|
||||||
|
this.listForm.inforlist = formId
|
||||||
|
}, e => {
|
||||||
|
})
|
||||||
} else if (this.selectedList.length > 1) {
|
} else if (this.selectedList.length > 1) {
|
||||||
this.$message.warning("只能选择一条数据进行带入");
|
this.$message.warning("只能选择一条数据进行带入");
|
||||||
} else {
|
} else {
|
||||||
@@ -850,7 +912,18 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
selectThree() {
|
selectThree() {
|
||||||
|
},
|
||||||
|
choiceZRR (type, title, id) {
|
||||||
|
this.nodeList = []
|
||||||
|
this.nodeList.push(id)
|
||||||
|
this.type = type
|
||||||
|
this.drawerTitle = title
|
||||||
|
this.modalshowflag = true
|
||||||
|
},
|
||||||
|
getTree () {
|
||||||
|
// this.$http.get('SarInstitution/institution/institutionAndUser', {}, {}, res=> {
|
||||||
|
// this.treeData = res.data
|
||||||
|
// })
|
||||||
},
|
},
|
||||||
pageChange(page) {
|
pageChange(page) {
|
||||||
this.page = page;
|
this.page = page;
|
||||||
@@ -863,12 +936,12 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {},
|
computed: {},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.selectionList();
|
this.selectionList()
|
||||||
this.selectSign();
|
this.selectSign();
|
||||||
|
this.getTree()
|
||||||
for (let i = 0; i < this.dataList.length; i++) {
|
for (let i = 0; i < this.dataList.length; i++) {
|
||||||
this.standMap.set(this.dataList[i].id, this.dataList[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
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
</ProcessHeader>
|
</ProcessHeader>
|
||||||
<div class="headerTabs">
|
<div class="headerTabs">
|
||||||
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||||
<div class="headerTabsItem" :class="active === '2' ? 'active' : ''" @click="handleTabs('2')">审批历史</div>
|
<div class="headerTabsItem" :class="active === '3' ? 'active' : ''" @click="handleTabs('3')">审批历史</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-if="active == '1'">
|
<div class="content" v-if="active == '1'">
|
||||||
<div style="flex: auto; overflow: auto">
|
<div style="flex: auto; overflow: auto">
|
||||||
@@ -75,44 +75,42 @@
|
|||||||
: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
|
||||||
prop="standNumber"
|
prop="code"
|
||||||
label="标准号"
|
fixed="left"
|
||||||
|
width="180px"
|
||||||
|
label="标准号">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a>
|
||||||
|
<a v-else @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}</a>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="standName"
|
||||||
|
label="标准名称"
|
||||||
|
width="260px"
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="cnName"
|
prop="issueTime"
|
||||||
label="中文名称"
|
sortable
|
||||||
>
|
label="发布日期">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="enName"
|
prop="xcxssrq"
|
||||||
label="英文名称"
|
sortable
|
||||||
>
|
label="新车型实施日期">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="isSubTime"
|
show-overflow-tooltip
|
||||||
label="发布日期"
|
prop="zccssrq"
|
||||||
>
|
sortable
|
||||||
|
label="在产车实施日期">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="newCarTime"
|
show-overflow-tooltip
|
||||||
label="新车型实施日期"
|
prop="textStatus"
|
||||||
>
|
width="120px"
|
||||||
</el-table-column>
|
label="文本状态">
|
||||||
<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-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
@@ -172,6 +170,75 @@
|
|||||||
</el-timeline>
|
</el-timeline>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="content" v-if="active === '3'">
|
||||||
|
<div class="flow-list">
|
||||||
|
<el-table
|
||||||
|
height="100%"
|
||||||
|
ref="selection"
|
||||||
|
:data="detailData"
|
||||||
|
tooltip-effect="dark"
|
||||||
|
style="width: 100%"
|
||||||
|
border
|
||||||
|
row-key="id"
|
||||||
|
:no-data-text="listNoDataText"
|
||||||
|
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}"
|
||||||
|
>
|
||||||
|
<el-table-column
|
||||||
|
type="selection"
|
||||||
|
width="55"
|
||||||
|
align="center">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="name"
|
||||||
|
label="任务步骤"
|
||||||
|
align="center"
|
||||||
|
sortable="custom"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="assignee"
|
||||||
|
label="任务受理人"
|
||||||
|
align="center"
|
||||||
|
sortable="custom"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="createTime"
|
||||||
|
label="创建时间"
|
||||||
|
sortable="custom"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.createTime ? $moment(scope.row.createTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="endTime"
|
||||||
|
label="完成时间"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.endTime ? $moment(scope.row.endTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="comment"
|
||||||
|
label="审批意见"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{scope.row.commentText}}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="completeFlag"
|
||||||
|
label="状态"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.endTime ? '已完成' : '未完成'}}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
<loading :loading="loading">流程列表加载中</loading>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-submit
|
show-submit
|
||||||
@@ -197,63 +264,11 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
dataList: [
|
detailData: [],
|
||||||
{
|
// 当前流程类型(1待办/2已办)
|
||||||
standNumber: 123,
|
processType: 1,
|
||||||
cnName: "中国",
|
loading: false,
|
||||||
enName: "CN",
|
dataList: [],//清单里的标准数据
|
||||||
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",
|
active: "1",
|
||||||
userId:this.$store.getters.userInfo.userId,
|
userId:this.$store.getters.userInfo.userId,
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
@@ -275,6 +290,7 @@ export default {
|
|||||||
applyRegion: "", //适用区域
|
applyRegion: "", //适用区域
|
||||||
descriptionList: "", //清单说明
|
descriptionList: "", //清单说明
|
||||||
enclosure: "", //附件
|
enclosure: "", //附件
|
||||||
|
inforlist: "",//用来存放标准的id
|
||||||
dataList: [{
|
dataList: [{
|
||||||
standNumber: "", //标准号
|
standNumber: "", //标准号
|
||||||
cnName: "", //中文名称
|
cnName: "", //中文名称
|
||||||
@@ -298,6 +314,18 @@ export default {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
processTable () {
|
||||||
|
this.$http.get('lawss/activiti/get_list_by_instance', {
|
||||||
|
prcNum: this.$route.query.prcNum,
|
||||||
|
sortWord: this.shunxu ? this.paixu : '',
|
||||||
|
shunxu: this.shunxu
|
||||||
|
}, {
|
||||||
|
loading: 'loading',
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
this.detailData = res
|
||||||
|
}, e => {})
|
||||||
|
},
|
||||||
//tab发生变化
|
//tab发生变化
|
||||||
handleTabs(name) {
|
handleTabs(name) {
|
||||||
this.active = name;
|
this.active = name;
|
||||||
@@ -324,10 +352,13 @@ export default {
|
|||||||
*/
|
*/
|
||||||
getFormFieldList (item) {
|
getFormFieldList (item) {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
|
console.log(item);
|
||||||
this.listForm = JSON.parse(JSON.stringify(item))
|
this.listForm = JSON.parse(JSON.stringify(item))
|
||||||
this.listForm.prcNum = this.prcNum
|
this.listForm.prcNum = this.prcNum
|
||||||
this.listForm.prcName = this.prcName
|
this.listForm.prcName = this.prcName
|
||||||
this.listForm['id'] = item.id
|
this.listForm['id'] = item.id
|
||||||
|
this.listForm.dataList = item.dataList
|
||||||
|
this.dataList = item.dataList
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -347,7 +378,7 @@ export default {
|
|||||||
this.listForm.standId = this.listForm.standId;
|
this.listForm.standId = this.listForm.standId;
|
||||||
this.listForm.signFlag = "";
|
this.listForm.signFlag = "";
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
this.$http.postData('lawss/activiti/completeTask', {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
userId: this.userId,
|
userId: this.userId,
|
||||||
json: json,
|
json: json,
|
||||||
@@ -358,6 +389,8 @@ export default {
|
|||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
this.$router.push('/processCenter')
|
this.$router.push('/processCenter')
|
||||||
}
|
}
|
||||||
|
}, e => {
|
||||||
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
//选择标准取消事件
|
//选择标准取消事件
|
||||||
@@ -383,8 +416,13 @@ export default {
|
|||||||
this.searchData();
|
this.searchData();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {},
|
computed: {
|
||||||
|
listNoDataText () {
|
||||||
|
return this.processType === 1 ? '暂无待办流程' : '暂无已办流程'
|
||||||
|
},
|
||||||
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
this.processTable()
|
||||||
this.getData()
|
this.getData()
|
||||||
// console.log(this.$store.getters.getHandleInfo);
|
// console.log(this.$store.getters.getHandleInfo);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
</ProcessHeader>
|
</ProcessHeader>
|
||||||
<div class="headerTabs">
|
<div class="headerTabs">
|
||||||
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||||
<div class="headerTabsItem" :class="active === '2' ? 'active' : ''" @click="handleTabs('2')">审批历史</div>
|
<div class="headerTabsItem" :class="active === '3' ? 'active' : ''" @click="handleTabs('3')">审批历史</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-if="active == '1'">
|
<div class="content" v-if="active == '1'">
|
||||||
<div style="flex: auto; overflow: auto">
|
<div style="flex: auto; overflow: auto">
|
||||||
@@ -52,10 +52,25 @@
|
|||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="附件" prop="enclosure" class="add-form-item form-item-disabled">
|
<el-form-item label="附件" prop="enclosure" class="add-form-item form-item-disabled">
|
||||||
|
<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
|
<el-input
|
||||||
|
v-else
|
||||||
v-model="listForm.enclosure"
|
v-model="listForm.enclosure"
|
||||||
placeholder="暂无数据"
|
placeholder=""
|
||||||
|
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
@@ -84,86 +99,113 @@
|
|||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standNumber"
|
prop="code"
|
||||||
label="标准号"
|
fixed="left"
|
||||||
|
width="180px"
|
||||||
|
label="标准号">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a>
|
||||||
|
<a v-else @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}</a>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="standName"
|
||||||
|
label="标准名称"
|
||||||
|
width="260px"
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="cnName"
|
prop="issueTime"
|
||||||
label="中文名称"
|
sortable
|
||||||
>
|
label="发布日期">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="enName"
|
prop="xcxssrq"
|
||||||
label="英文名称"
|
sortable
|
||||||
>
|
label="新车型实施日期">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="isSubTime"
|
show-overflow-tooltip
|
||||||
label="发布日期"
|
prop="zccssrq"
|
||||||
>
|
sortable
|
||||||
|
label="在产车实施日期">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="newCarTime"
|
show-overflow-tooltip
|
||||||
label="新车型实施日期"
|
prop="textStatus"
|
||||||
>
|
width="120px"
|
||||||
</el-table-column>
|
label="文本状态">
|
||||||
<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-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-if="active == '2'">
|
<div class="content" v-if="active === '3'">
|
||||||
<div class="block" style="padding-top: 20px;">
|
<div class="flow-list">
|
||||||
<el-timeline>
|
<el-table
|
||||||
<el-timeline-item timestamp="发起流程" placement="top" :color="user1 ? '#66b1ff' : ''">
|
height="100%"
|
||||||
<el-card>
|
ref="selection"
|
||||||
<h4>标准/政策法规工程师</h4>
|
:data="detailData"
|
||||||
<div style="margin-top: 10px;">
|
tooltip-effect="dark"
|
||||||
<el-input v-model="user1" placeholder="请输入"></el-input>
|
style="width: 100%"
|
||||||
</div>
|
border
|
||||||
</el-card>
|
row-key="id"
|
||||||
</el-timeline-item>
|
:no-data-text="listNoDataText"
|
||||||
<el-timeline-item timestamp="选择责任人进行会签" placement="top" :color="user2 ? '#66b1ff' : ''">
|
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}"
|
||||||
<el-card>
|
>
|
||||||
<h4>责任人</h4>
|
<el-table-column
|
||||||
<div style="margin-top: 10px;">
|
type="selection"
|
||||||
<el-input v-model="user2" placeholder="请输入">
|
width="55"
|
||||||
|
align="center">
|
||||||
</el-input>
|
</el-table-column>
|
||||||
</div>
|
<el-table-column
|
||||||
</el-card>
|
prop="name"
|
||||||
</el-timeline-item>
|
label="任务步骤"
|
||||||
<el-timeline-item timestamp="根据会签内容进行修订" placement="top" :color="user3 ? '#66b1ff' : ''">
|
align="center"
|
||||||
<el-card>
|
sortable="custom"
|
||||||
<h4>标准/政策法规工程师</h4>
|
>
|
||||||
<div style="margin-top: 10px;">
|
</el-table-column>
|
||||||
<el-input v-model="user3" placeholder="请输入"></el-input>
|
<el-table-column
|
||||||
</div>
|
prop="assignee"
|
||||||
</el-card>
|
label="任务受理人"
|
||||||
</el-timeline-item>
|
align="center"
|
||||||
<el-timeline-item timestamp="审核" placement="top" :color="user5 ? '#66b1ff' : ''">
|
sortable="custom"
|
||||||
<el-card>
|
>
|
||||||
<h4>业务经理</h4>
|
</el-table-column>
|
||||||
<div style="margin-top: 10px;">
|
<el-table-column
|
||||||
<el-input v-model="user5" placeholder="请输入"></el-input>
|
prop="createTime"
|
||||||
</div>
|
label="创建时间"
|
||||||
</el-card>
|
sortable="custom"
|
||||||
</el-timeline-item>
|
align="center">
|
||||||
</el-timeline>
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.createTime ? $moment(scope.row.createTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="endTime"
|
||||||
|
label="完成时间"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.endTime ? $moment(scope.row.endTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="comment"
|
||||||
|
label="审批意见"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{scope.row.commentText}}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="completeFlag"
|
||||||
|
label="状态"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.endTime ? '已完成' : '未完成'}}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
<loading :loading="loading">流程列表加载中</loading>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- 添加标准抽屉-->
|
<!-- 添加标准抽屉-->
|
||||||
@@ -258,66 +300,16 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
detailData: [],
|
||||||
|
// 当前流程类型(1待办/2已办)
|
||||||
|
processType: 1,
|
||||||
|
loading: false,
|
||||||
userId:this.$store.getters.userInfo.userId,
|
userId:this.$store.getters.userInfo.userId,
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
pId: this.$route.query.prcId,
|
pId: this.$route.query.prcId,
|
||||||
dataList: [
|
uploadFileListPath: 'api/att/attFile/upload', // 上传的地址
|
||||||
{
|
fileInfoList: [], // 上传的附件
|
||||||
standNumber: 123,
|
dataList: [],//清单里的标准数据
|
||||||
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: [], //添加标准数据
|
standardData: [], //添加标准数据
|
||||||
standModel: false, // 选择标准抽屉状态
|
standModel: false, // 选择标准抽屉状态
|
||||||
active: "1",
|
active: "1",
|
||||||
@@ -360,6 +352,18 @@ export default {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
processTable () {
|
||||||
|
this.$http.get('lawss/activiti/get_list_by_instance', {
|
||||||
|
prcNum: this.$route.query.prcNum,
|
||||||
|
sortWord: this.shunxu ? this.paixu : '',
|
||||||
|
shunxu: this.shunxu
|
||||||
|
}, {
|
||||||
|
loading: 'loading',
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
this.detailData = res
|
||||||
|
}, e => {})
|
||||||
|
},
|
||||||
//tab发生变化
|
//tab发生变化
|
||||||
handleTabs(name) {
|
handleTabs(name) {
|
||||||
this.active = name;
|
this.active = name;
|
||||||
@@ -400,6 +404,25 @@ export default {
|
|||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
// 删除上传的文件
|
||||||
|
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 () {
|
||||||
|
|
||||||
},
|
},
|
||||||
getData() {
|
getData() {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
@@ -424,6 +447,8 @@ export default {
|
|||||||
this.listForm.prcNum = this.prcNum
|
this.listForm.prcNum = this.prcNum
|
||||||
this.listForm.prcName = this.prcName
|
this.listForm.prcName = this.prcName
|
||||||
this.listForm['id'] = item.id
|
this.listForm['id'] = item.id
|
||||||
|
this.listForm.dataList = item.dataList
|
||||||
|
this.dataList = item.dataList
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
//保存事件
|
//保存事件
|
||||||
@@ -448,7 +473,7 @@ export default {
|
|||||||
this.listForm.approvalOpinion = "";
|
this.listForm.approvalOpinion = "";
|
||||||
this.listForm.standId = this.listForm.standId;
|
this.listForm.standId = this.listForm.standId;
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
this.$http.postData('lawss/activiti/completeTask', {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
userId: this.userId,
|
userId: this.userId,
|
||||||
json: json,
|
json: json,
|
||||||
@@ -480,9 +505,14 @@ export default {
|
|||||||
this.searchData();
|
this.searchData();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {},
|
computed: {
|
||||||
|
listNoDataText () {
|
||||||
|
return this.processType === 1 ? '暂无待办流程' : '暂无已办流程'
|
||||||
|
}
|
||||||
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.getData()
|
this.getData()
|
||||||
|
this.processTable()
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
</ProcessHeader>
|
</ProcessHeader>
|
||||||
<div class="headerTabs">
|
<div class="headerTabs">
|
||||||
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||||
<div class="headerTabsItem" :class="active === '2' ? 'active' : ''" @click="handleTabs('2')">审批历史</div>
|
<div class="headerTabsItem" :class="active === '3' ? 'active' : ''" @click="handleTabs('3')">审批历史</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-if="active == '1'">
|
<div class="content" v-if="active == '1'">
|
||||||
<div style="flex: auto; overflow: auto">
|
<div style="flex: auto; overflow: auto">
|
||||||
@@ -31,6 +31,7 @@
|
|||||||
<!-- </el-form-item>-->
|
<!-- </el-form-item>-->
|
||||||
<el-form-item label="清单名称" prop="listName" class="add-form-item form-item-disabled">
|
<el-form-item label="清单名称" prop="listName" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
|
disabled
|
||||||
v-model="listForm.listName"
|
v-model="listForm.listName"
|
||||||
placeholder="请输入清单名称"
|
placeholder="请输入清单名称"
|
||||||
clearable
|
clearable
|
||||||
@@ -38,6 +39,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="适用区域" prop="applyRegion" class="add-form-item form-item-disabled">
|
<el-form-item label="适用区域" prop="applyRegion" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
|
disabled
|
||||||
v-model="listForm.applyRegion"
|
v-model="listForm.applyRegion"
|
||||||
placeholder="请输入适用区域"
|
placeholder="请输入适用区域"
|
||||||
clearable
|
clearable
|
||||||
@@ -45,6 +47,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="清单说明" prop="descriptionList" class="add-form-item form-item-disabled">
|
<el-form-item label="清单说明" prop="descriptionList" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
|
disabled
|
||||||
v-model="listForm.descriptionList"
|
v-model="listForm.descriptionList"
|
||||||
placeholder="请输入清单说明"
|
placeholder="请输入清单说明"
|
||||||
clearable
|
clearable
|
||||||
@@ -52,9 +55,9 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="附件" prop="enclosure" class="add-form-item form-item-disabled">
|
<el-form-item label="附件" prop="enclosure" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
|
disabled
|
||||||
v-model="listForm.enclosure"
|
v-model="listForm.enclosure"
|
||||||
placeholder="暂无数据"
|
placeholder="暂无数据"
|
||||||
|
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
@@ -72,44 +75,42 @@
|
|||||||
: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
|
||||||
prop="standNumber"
|
prop="code"
|
||||||
label="标准号"
|
fixed="left"
|
||||||
|
width="180px"
|
||||||
|
label="标准号">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a>
|
||||||
|
<a v-else @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}</a>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="standName"
|
||||||
|
label="标准名称"
|
||||||
|
width="260px"
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="cnName"
|
prop="issueTime"
|
||||||
label="中文名称"
|
sortable
|
||||||
>
|
label="发布日期">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="enName"
|
prop="xcxssrq"
|
||||||
label="英文名称"
|
sortable
|
||||||
>
|
label="新车型实施日期">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="isSubTime"
|
show-overflow-tooltip
|
||||||
label="发布日期"
|
prop="zccssrq"
|
||||||
>
|
sortable
|
||||||
|
label="在产车实施日期">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="newCarTime"
|
show-overflow-tooltip
|
||||||
label="新车型实施日期"
|
prop="textStatus"
|
||||||
>
|
width="120px"
|
||||||
</el-table-column>
|
label="文本状态">
|
||||||
<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-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
@@ -129,44 +130,73 @@
|
|||||||
</el-collapse>
|
</el-collapse>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-if="active == '2'">
|
<div class="content" v-if="active === '3'">
|
||||||
<div class="block" style="padding-top: 20px;">
|
<div class="flow-list">
|
||||||
<el-timeline>
|
<el-table
|
||||||
<el-timeline-item timestamp="发起流程" placement="top" :color="user1 ? '#66b1ff' : ''">
|
height="100%"
|
||||||
<el-card>
|
ref="selection"
|
||||||
<h4>标准/政策法规工程师</h4>
|
:data="detailData"
|
||||||
<div style="margin-top: 10px;">
|
tooltip-effect="dark"
|
||||||
<el-input v-model="user1" placeholder="请输入"></el-input>
|
style="width: 100%"
|
||||||
</div>
|
border
|
||||||
</el-card>
|
row-key="id"
|
||||||
</el-timeline-item>
|
:no-data-text="listNoDataText"
|
||||||
<el-timeline-item timestamp="选择责任人进行会签" placement="top" :color="user2 ? '#66b1ff' : ''">
|
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}"
|
||||||
<el-card>
|
>
|
||||||
<h4>责任人</h4>
|
<el-table-column
|
||||||
<div style="margin-top: 10px;">
|
type="selection"
|
||||||
<el-input v-model="user2" placeholder="请输入">
|
width="55"
|
||||||
|
align="center">
|
||||||
</el-input>
|
</el-table-column>
|
||||||
</div>
|
<el-table-column
|
||||||
</el-card>
|
prop="name"
|
||||||
</el-timeline-item>
|
label="任务步骤"
|
||||||
<el-timeline-item timestamp="根据会签内容进行修订" placement="top" :color="user3 ? '#66b1ff' : ''">
|
align="center"
|
||||||
<el-card>
|
sortable="custom"
|
||||||
<h4>标准/政策法规工程师</h4>
|
>
|
||||||
<div style="margin-top: 10px;">
|
</el-table-column>
|
||||||
<el-input v-model="user3" placeholder="请输入"></el-input>
|
<el-table-column
|
||||||
</div>
|
prop="assignee"
|
||||||
</el-card>
|
label="任务受理人"
|
||||||
</el-timeline-item>
|
align="center"
|
||||||
<el-timeline-item timestamp="审核" placement="top" :color="user5 ? '#66b1ff' : ''">
|
sortable="custom"
|
||||||
<el-card>
|
>
|
||||||
<h4>业务经理</h4>
|
</el-table-column>
|
||||||
<div style="margin-top: 10px;">
|
<el-table-column
|
||||||
<el-input v-model="user5" placeholder="请输入"></el-input>
|
prop="createTime"
|
||||||
</div>
|
label="创建时间"
|
||||||
</el-card>
|
sortable="custom"
|
||||||
</el-timeline-item>
|
align="center">
|
||||||
</el-timeline>
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.createTime ? $moment(scope.row.createTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="endTime"
|
||||||
|
label="完成时间"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.endTime ? $moment(scope.row.endTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="comment"
|
||||||
|
label="审批意见"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{scope.row.commentText}}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="completeFlag"
|
||||||
|
label="状态"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.endTime ? '已完成' : '未完成'}}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
<loading :loading="loading">流程列表加载中</loading>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -198,63 +228,11 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
dataList: [
|
detailData: [],
|
||||||
{
|
// 当前流程类型(1待办/2已办)
|
||||||
standNumber: 123,
|
processType: 1,
|
||||||
cnName: "中国",
|
loading: false,
|
||||||
enName: "CN",
|
dataList: [],//清单里的标准数据
|
||||||
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
|
approvalOpinion: '', // 通过0/驳回1
|
||||||
active: "1",
|
active: "1",
|
||||||
listType: "country", //选择的清单类型
|
listType: "country", //选择的清单类型
|
||||||
@@ -303,6 +281,18 @@ export default {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
processTable () {
|
||||||
|
this.$http.get('lawss/activiti/get_list_by_instance', {
|
||||||
|
prcNum: this.$route.query.prcNum,
|
||||||
|
sortWord: this.shunxu ? this.paixu : '',
|
||||||
|
shunxu: this.shunxu
|
||||||
|
}, {
|
||||||
|
loading: 'loading',
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
this.detailData = res
|
||||||
|
}, e => {})
|
||||||
|
},
|
||||||
//tab发生变化
|
//tab发生变化
|
||||||
handleTabs(name) {
|
handleTabs(name) {
|
||||||
this.active = name;
|
this.active = name;
|
||||||
@@ -337,6 +327,8 @@ export default {
|
|||||||
this.listForm.prcNum = this.prcNum
|
this.listForm.prcNum = this.prcNum
|
||||||
this.listForm.prcName = this.prcName
|
this.listForm.prcName = this.prcName
|
||||||
this.listForm['id'] = item.id
|
this.listForm['id'] = item.id
|
||||||
|
this.listForm.dataList = item.dataList
|
||||||
|
this.dataList = item.dataList
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
//驳回事件
|
//驳回事件
|
||||||
@@ -355,7 +347,7 @@ export default {
|
|||||||
this.listForm.signflag = "";
|
this.listForm.signflag = "";
|
||||||
this.listForm.standId = this.listForm.standId;
|
this.listForm.standId = this.listForm.standId;
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
this.$http.postData('lawss/activiti/completeTask', {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
userId: this.userId,
|
userId: this.userId,
|
||||||
json: json,
|
json: json,
|
||||||
@@ -391,9 +383,14 @@ export default {
|
|||||||
this.searchData();
|
this.searchData();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {},
|
computed: {
|
||||||
|
listNoDataText () {
|
||||||
|
return this.processType === 1 ? '暂无待办流程' : '暂无已办流程'
|
||||||
|
}
|
||||||
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.getData()
|
this.getData()
|
||||||
|
this.processTable()
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -254,7 +254,8 @@ export default {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case'3' : {
|
//标准清单更新/发布流程
|
||||||
|
case'4' :
|
||||||
if (row.taskInfo === '进行会签,填写意见') {
|
if (row.taskInfo === '进行会签,填写意见') {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'bzqdfbStep2',
|
name: 'bzqdfbStep2',
|
||||||
@@ -289,8 +290,22 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
|
//项目合规评估流程
|
||||||
|
case '5' :
|
||||||
|
if(row.taskInfo === ''){
|
||||||
|
this.$router.push({
|
||||||
|
name: '',
|
||||||
|
query: {
|
||||||
|
taskIds: row.taskIds,
|
||||||
|
prcId: row.prcId,
|
||||||
|
prcNum: row.prcNum,
|
||||||
|
prcName: row.prcName,
|
||||||
|
prcType: row.prcType
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
...mapMutations(['setProcess', 'setHandleInfo']),
|
...mapMutations(['setProcess', 'setHandleInfo']),
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ export default {
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
list: [],
|
list: [],
|
||||||
tabValue: "",
|
tabValue: "listProject",
|
||||||
menuName: ["国家/地区清单", "项目类清单", "重点标准跟踪清单", "其他清单"]
|
menuName: ["国家/地区清单", "项目类清单", "重点标准跟踪清单", "其他清单"]
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|||||||
+4
-3
@@ -102,8 +102,9 @@
|
|||||||
label="清单状态"
|
label="清单状态"
|
||||||
align="center">
|
align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span v-if="scope.row.detailedListState === '1'">未发布</span>
|
<span v-if="scope.row.detailedListState === '0'">未发布</span>
|
||||||
<span v-if="scope.row.detailedListState === '2'">已发布</span>
|
<span v-if="scope.row.detailedListState === '1'">已发布</span>
|
||||||
|
<span v-if="scope.row.detailedListState === '3'">审核中</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -377,7 +378,7 @@ export default {
|
|||||||
position: relative;
|
position: relative;
|
||||||
flex: auto;
|
flex: auto;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
//height: calc(~'100% - 105px - 56px') !important;
|
height: calc(100% - 110px) !important;
|
||||||
.pagination {
|
.pagination {
|
||||||
position: static;
|
position: static;
|
||||||
|
|
||||||
|
|||||||
@@ -91,8 +91,9 @@
|
|||||||
label="清单状态"
|
label="清单状态"
|
||||||
align="center">
|
align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span v-if="scope.row.detailedListState === '1'">未发布</span>
|
<span v-if="scope.row.detailedListState === '0'">未发布</span>
|
||||||
<span v-if="scope.row.detailedListState === '2'">已发布</span>
|
<span v-if="scope.row.detailedListState === '1'">已发布</span>
|
||||||
|
<span v-if="scope.row.detailedListState === '3'">审核中</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
|||||||
@@ -94,8 +94,9 @@
|
|||||||
label="清单状态"
|
label="清单状态"
|
||||||
align="center">
|
align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span v-if="scope.row.detailedListState === '1'">未发布</span>
|
<span v-if="scope.row.detailedListState === '0'">未发布</span>
|
||||||
<span v-if="scope.row.detailedListState === '2'">已发布</span>
|
<span v-if="scope.row.detailedListState === '1'">已发布</span>
|
||||||
|
<span v-if="scope.row.detailedListState === '3'">审核中</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -111,70 +111,41 @@
|
|||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standNumber"
|
prop="code"
|
||||||
width="180px"
|
|
||||||
fixed="left"
|
fixed="left"
|
||||||
|
width="180px"
|
||||||
label="标准号">
|
label="标准号">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standNumber }}</a>
|
<a v-if="scope.row.resId" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.code }}</a>
|
||||||
|
<span v-else>{{ scope.row.code }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standName"
|
prop="standName"
|
||||||
width="180px"
|
label="标准名称"
|
||||||
label="中文名称"
|
width="260px"
|
||||||
fixed="left"
|
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
|
||||||
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standName }}</a>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standEnName"
|
prop="isSubTime"
|
||||||
width="180px"
|
|
||||||
fixed="left"
|
|
||||||
label="英文名称">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standEnName }}</a>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="issueTime"
|
|
||||||
width="190px"
|
|
||||||
label="发布日期"
|
|
||||||
sortable
|
sortable
|
||||||
>
|
label="发布日期">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="newCarTime"
|
prop="newPutTime"
|
||||||
width="190px"
|
|
||||||
label="新车型实施日期"
|
|
||||||
sortable
|
sortable
|
||||||
>
|
label="新车型实施日期">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="nowCarTime"
|
show-overflow-tooltip
|
||||||
width="190px"
|
prop="prodPutTime"
|
||||||
label="在产车实施日期"
|
|
||||||
sortable
|
sortable
|
||||||
>
|
label="在产车实施日期">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="applyArcticId"
|
|
||||||
width="120px"
|
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
label="适用车型">
|
prop="proEssessUser"
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="responseUnit"
|
|
||||||
width="120px"
|
width="120px"
|
||||||
show-overflow-tooltip
|
|
||||||
label="责任部门">
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="textStatus"
|
|
||||||
width="120px"
|
|
||||||
show-overflow-tooltip
|
|
||||||
label="文本状态">
|
label="文本状态">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
|||||||
+17
-55
@@ -211,37 +211,27 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="name"
|
prop="standName"
|
||||||
label="中文名称"
|
label="标准名称"
|
||||||
width="260px"
|
width="260px"
|
||||||
fixed="left"
|
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="enName"
|
prop="isSubTime"
|
||||||
label="英文名称"
|
sortable
|
||||||
width="260px"
|
label="发布日期">
|
||||||
>
|
|
||||||
</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
|
|
||||||
show-overflow-tooltip
|
|
||||||
prop="ZRBMName"
|
|
||||||
width="150px"
|
|
||||||
label="责任部门">
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="proEssessUser"
|
prop="proEssessUser"
|
||||||
@@ -345,59 +335,31 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="name"
|
prop="standName"
|
||||||
width="180px"
|
label="标准名称"
|
||||||
label="中文名称"
|
width="260px"
|
||||||
fixed="left"
|
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
|
||||||
<a v-if="scope.row.resId && scope.row.sarType !== 'TEMP'" class="table-jump"
|
|
||||||
@click="handlePreview(scope.row)">{{ scope.row.name }}</a>
|
|
||||||
<span v-else>{{ scope.row.name }}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="enName"
|
prop="isSubTime"
|
||||||
width="180px"
|
sortable
|
||||||
fixed="left"
|
label="发布日期">
|
||||||
label="英文名称">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<a v-if="scope.row.resId && scope.row.sarType !== 'TEMP'" class="table-jump"
|
|
||||||
@click="handlePreview(scope.row)">{{ scope.row.enName }}</a>
|
|
||||||
<span v-else>{{ scope.row.enName }}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="newPutTime"
|
prop="newPutTime"
|
||||||
width="190px"
|
|
||||||
label="发布日期"
|
|
||||||
sortable
|
sortable
|
||||||
>
|
label="新车型实施日期">
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="newPutTime"
|
|
||||||
width="190px"
|
|
||||||
label="新车型实施日期"
|
|
||||||
sortable
|
|
||||||
>
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
show-overflow-tooltip
|
||||||
prop="prodPutTime"
|
prop="prodPutTime"
|
||||||
width="190px"
|
|
||||||
label="在产车实施日期"
|
|
||||||
sortable
|
sortable
|
||||||
>
|
label="在产车实施日期">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="applyArcticId"
|
|
||||||
width="120px"
|
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
label="适用车型">
|
prop="proEssessUser"
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="applyArcticId"
|
|
||||||
width="120px"
|
width="120px"
|
||||||
show-overflow-tooltip
|
|
||||||
label="文本状态">
|
label="文本状态">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
@@ -731,7 +693,7 @@ export default {
|
|||||||
accessType: '',
|
accessType: '',
|
||||||
id: '',
|
id: '',
|
||||||
standType: 'INLAND', // 标准分类
|
standType: 'INLAND', // 标准分类
|
||||||
// country: 'CN', // 适用区域
|
country: 'CN', // 适用区域
|
||||||
standSort: '', // 标准类别
|
standSort: '', // 标准类别
|
||||||
standNumber: '', // 标准编号
|
standNumber: '', // 标准编号
|
||||||
standYear: '', // 标准年份
|
standYear: '', // 标准年份
|
||||||
@@ -2204,7 +2166,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.applicationScope = res.data.COUNTRY // 国家、地区list
|
||||||
this.applyOptions = 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 // 数据搜索 要求类型
|
||||||
|
|||||||
+15
-103
@@ -211,37 +211,27 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="name"
|
prop="standName"
|
||||||
label="中文名称"
|
label="标准名称"
|
||||||
width="260px"
|
width="260px"
|
||||||
fixed="left"
|
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="enName"
|
prop="isSubTime"
|
||||||
label="英文名称"
|
sortable
|
||||||
width="260px"
|
label="发布日期">
|
||||||
>
|
|
||||||
</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
|
|
||||||
show-overflow-tooltip
|
|
||||||
prop="ZRBMName"
|
|
||||||
width="150px"
|
|
||||||
label="责任部门">
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="proEssessUser"
|
prop="proEssessUser"
|
||||||
@@ -345,59 +335,31 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="name"
|
prop="standName"
|
||||||
width="180px"
|
label="标准名称"
|
||||||
label="中文名称"
|
width="260px"
|
||||||
fixed="left"
|
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
|
||||||
<a v-if="scope.row.resId && scope.row.sarType !== 'TEMP'" class="table-jump"
|
|
||||||
@click="handlePreview(scope.row)">{{ scope.row.name }}</a>
|
|
||||||
<span v-else>{{ scope.row.name }}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="enName"
|
prop="isSubTime"
|
||||||
width="180px"
|
sortable
|
||||||
fixed="left"
|
label="发布日期">
|
||||||
label="英文名称">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<a v-if="scope.row.resId && scope.row.sarType !== 'TEMP'" class="table-jump"
|
|
||||||
@click="handlePreview(scope.row)">{{ scope.row.enName }}</a>
|
|
||||||
<span v-else>{{ scope.row.enName }}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="newPutTime"
|
prop="newPutTime"
|
||||||
width="190px"
|
|
||||||
label="发布日期"
|
|
||||||
sortable
|
sortable
|
||||||
>
|
label="新车型实施日期">
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="newPutTime"
|
|
||||||
width="190px"
|
|
||||||
label="新车型实施日期"
|
|
||||||
sortable
|
|
||||||
>
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
show-overflow-tooltip
|
||||||
prop="prodPutTime"
|
prop="prodPutTime"
|
||||||
width="190px"
|
|
||||||
label="在产车实施日期"
|
|
||||||
sortable
|
sortable
|
||||||
>
|
label="在产车实施日期">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="applyArcticId"
|
|
||||||
width="120px"
|
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
label="适用车型">
|
prop="proEssessUser"
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="applyArcticId"
|
|
||||||
width="120px"
|
width="120px"
|
||||||
show-overflow-tooltip
|
|
||||||
label="文本状态">
|
label="文本状态">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
@@ -636,56 +598,6 @@ export default {
|
|||||||
{required: true, type: 'string', message: '英文名称不能为空', trigger: 'blur'},
|
{required: true, type: 'string', message: '英文名称不能为空', trigger: 'blur'},
|
||||||
{type: 'string', max: 1000, message: '英文名称不能超过1000个字符', trigger: 'change'}
|
{type: 'string', max: 1000, message: '英文名称不能超过1000个字符', trigger: 'change'}
|
||||||
],
|
],
|
||||||
// synopsis: [
|
|
||||||
// {required: true, type: 'string', message: '法规说明不能为空', trigger: 'blur'},
|
|
||||||
// {type: 'string', max: 1000, message: '法规说明不能超过1000个字符', trigger: 'change'}
|
|
||||||
// ],
|
|
||||||
// newPutTime: [
|
|
||||||
// {required: true, message: '新车型实施日期不能为空', trigger: 'change'}
|
|
||||||
// ],
|
|
||||||
// prodPutTime: [
|
|
||||||
// {required: true, message: '在产车实施日期不能为空', trigger: 'change'}
|
|
||||||
// ],
|
|
||||||
// eopPutTime: [
|
|
||||||
// {required: true, message: 'eop实施日期不能为空', trigger: 'change'}
|
|
||||||
// ],
|
|
||||||
// newPutTextTime: [
|
|
||||||
// {required: true, message: '新车型实施日期(项目)不能为空', trigger: 'change'}
|
|
||||||
// ],
|
|
||||||
// prodPutTextTime: [
|
|
||||||
// {required: true, message: '在产车实施日期(项目)不能为空', trigger: 'change'}
|
|
||||||
// ],
|
|
||||||
// eopPutTextTime: [
|
|
||||||
// {required: true, message: 'eop实施日期(项目)不能为空', trigger: 'change'}
|
|
||||||
// ],
|
|
||||||
performInfo: [
|
|
||||||
// {required: true, type: 'string', message: '实施说明不能为空', trigger: 'blur'},
|
|
||||||
{type: 'string', max: 1000, message: '实施说明不能超过1000个字符', trigger: 'change'}
|
|
||||||
],
|
|
||||||
// ZRBM: [
|
|
||||||
// {required: true, type: 'string', message: '责任部门不能为空', trigger: 'change'}
|
|
||||||
// ],
|
|
||||||
// XGBM: [
|
|
||||||
// {required: true, message: '相关部门不能为空', trigger: 'change'}
|
|
||||||
// ],
|
|
||||||
// FO: [
|
|
||||||
// {required: true, type: 'string', message: 'FO不能为空', trigger: 'change'}
|
|
||||||
// ],
|
|
||||||
// proEssessUserId: [
|
|
||||||
// {required: true, type: 'string', message: '项目评估角色不能为空', trigger: 'change'}
|
|
||||||
// ],
|
|
||||||
askNature: [
|
|
||||||
{required: true, message: '监管类型不能为空', trigger: 'change'}
|
|
||||||
],
|
|
||||||
// applyArctic: [
|
|
||||||
// {required: true, message: '适用车辆类型不能为空', trigger: 'change'}
|
|
||||||
// ],
|
|
||||||
accessType: [
|
|
||||||
{required: true, type: 'string', message: '入库模块不能为空', trigger: 'change'}
|
|
||||||
],
|
|
||||||
authObjId: [
|
|
||||||
{required: true, type: 'string', message: '认证对象不能为空', trigger: 'change'}
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
// 认证对象下拉数据
|
// 认证对象下拉数据
|
||||||
authObjOptions: [
|
authObjOptions: [
|
||||||
|
|||||||
@@ -133,7 +133,7 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="标准号"
|
label="标准号"
|
||||||
width="170px"
|
width="200px"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a>
|
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a>
|
||||||
@@ -143,6 +143,7 @@
|
|||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standName"
|
prop="standName"
|
||||||
label="标准名称"
|
label="标准名称"
|
||||||
|
width="250px"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
<a @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
||||||
@@ -151,7 +152,7 @@
|
|||||||
<el-table-column
|
<el-table-column
|
||||||
prop="issueTime"
|
prop="issueTime"
|
||||||
sortable="custom"
|
sortable="custom"
|
||||||
width="110px"
|
width="170px"
|
||||||
label="发布日期">
|
label="发布日期">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ formatIssueDate(scope.row.issueTime) }}
|
{{ formatIssueDate(scope.row.issueTime) }}
|
||||||
@@ -160,7 +161,6 @@
|
|||||||
<el-table-column
|
<el-table-column
|
||||||
prop="xcxssrq"
|
prop="xcxssrq"
|
||||||
sortable="custom"
|
sortable="custom"
|
||||||
width="150px"
|
|
||||||
label="新车型实施日期">
|
label="新车型实施日期">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ formatText(scope.row.XCXSSRQ) }}</span>
|
<span>{{ formatText(scope.row.XCXSSRQ) }}</span>
|
||||||
@@ -169,7 +169,6 @@
|
|||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zccssrq"
|
prop="zccssrq"
|
||||||
sortable="custom"
|
sortable="custom"
|
||||||
width="150px"
|
|
||||||
label="在产车实施日期">
|
label="在产车实施日期">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ formatText(scope.row.ZCCSSRQ) }}</span>
|
<span>{{ formatText(scope.row.ZCCSSRQ) }}</span>
|
||||||
|
|||||||
@@ -1211,13 +1211,13 @@ export default {
|
|||||||
handlePreview (row) {
|
handlePreview (row) {
|
||||||
this.$store.commit('setDetailMap', this.$route.path)
|
this.$store.commit('setDetailMap', this.$route.path)
|
||||||
this.$store.commit('setLocalProData', JSON.stringify(row))
|
this.$store.commit('setLocalProData', JSON.stringify(row))
|
||||||
if (!this.$hasPermission('XTR2AJYDAN4J7GALXDW9')){
|
// if (!this.$hasPermission('XTR2AJYDAN4J7GALXDW9')){
|
||||||
this.$message({
|
// this.$message({
|
||||||
message: '无权访问',
|
// message: '无权访问',
|
||||||
type: 'warning'
|
// type: 'warning'
|
||||||
})
|
// })
|
||||||
return
|
// return
|
||||||
}
|
// }
|
||||||
this.$http.get('sarStandProjectLibrary/queryById', {
|
this.$http.get('sarStandProjectLibrary/queryById', {
|
||||||
id: row.id
|
id: row.id
|
||||||
}, {
|
}, {
|
||||||
|
|||||||
@@ -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.247'
|
const devIp = '192.168.10.248'
|
||||||
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