Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -443,7 +443,7 @@
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item v-if="form.standInData === '0'" label="我司署名人" prop="wssmr" class="add-form-item form-item-disabled">
|
||||
<span>{{form.wssmr}}</span>
|
||||
<span style="color: rgb(118 122 120)">{{form.wssmr}}</span>
|
||||
<!-- <el-select v-model="form.wssmr" placeholder="请选择我司署名人" multiple disabled>-->
|
||||
<!-- <el-option-->
|
||||
<!-- v-for="item in wssmrOptions"-->
|
||||
|
||||
@@ -0,0 +1,316 @@
|
||||
<!-- 参与外部标准制修订信息提报流程-->
|
||||
<template>
|
||||
<div class="phoneCywbbzzxdStep2 phoneBox">
|
||||
<ProcessHeaderPhone toggle>
|
||||
<template slot="proName">参与外部标准制修订信息提报流程</template>
|
||||
<template slot="proNode">选择责任工程师</template>
|
||||
</ProcessHeaderPhone>
|
||||
<div class="content">
|
||||
<ProcessTitle>
|
||||
<template slot="title">人员信息</template>
|
||||
</ProcessTitle>
|
||||
<div class="block" style="padding-top: 20px; height: 100%">
|
||||
<el-timeline>
|
||||
<el-form
|
||||
ref="Form"
|
||||
:model="roleForm"
|
||||
:rules="roleFormRules"
|
||||
class="label-input-form">
|
||||
<el-timeline-item timestamp="发起流程" placement="top" :color="roleForm.startUser ? '#66b1ff' : ''">
|
||||
<el-card>
|
||||
<el-form-item prop="prcCreateUserName" style="margin-bottom: 0">
|
||||
<h4>标准法规工程师</h4>
|
||||
<div style="margin-top: 10px;">
|
||||
<el-input v-model="roleForm.prcCreateUser" style="display: none;"></el-input>
|
||||
<el-input v-model="roleForm.prcCreateUserName" placeholder="流程发起人"
|
||||
disabled></el-input>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
</el-timeline-item>
|
||||
<el-timeline-item timestamp="责任部门对接人选择责任人填写信息" placement="top"
|
||||
:color="roleForm.dockUser ? '#66b1ff' : ''" >
|
||||
<el-card>
|
||||
<el-form-item prop="dockUserName" style="margin-bottom: 0">
|
||||
<h4>责任部门对接人</h4>
|
||||
<div style="margin-top: 10px;">
|
||||
<el-input v-model="roleForm.dockUser" style="display: none;"></el-input>
|
||||
<el-input v-model="roleForm.dockUserName" placeholder="选择责任部门对接人"
|
||||
disabled>
|
||||
</el-input>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
</el-timeline-item>
|
||||
<el-timeline-item timestamp="选择责任工程师填写信息" placement="top"
|
||||
:color="roleForm.workPeople ? '#66b1ff' : ''" >
|
||||
<el-card>
|
||||
<el-form-item prop="workPeopleName" style="margin-bottom: 0">
|
||||
<h4>责任工程师</h4>
|
||||
<div style="margin-top: 10px;">
|
||||
<el-input v-model="roleForm.workPeople" style="display: none;"></el-input>
|
||||
<el-input v-model="roleForm.workPeopleName" placeholder="选择责任工程师"
|
||||
@click.native="choiceZRR">
|
||||
</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;">
|
||||
<el-input v-model="roleForm.directorUser" style="display: none;"></el-input>
|
||||
<el-input v-model="roleForm.directorUserName" placeholder="选择标准法规部部长"
|
||||
disabled></el-input>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-card>
|
||||
</el-timeline-item>
|
||||
</el-form>
|
||||
</el-timeline>
|
||||
<ProcessFooter
|
||||
show-save
|
||||
show-submit
|
||||
:submitLoading="isSubmit"
|
||||
:saveLoading="saveLoading"
|
||||
@save="handleSave"
|
||||
@submit="handleSubmit"
|
||||
>
|
||||
</ProcessFooter>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 多选择责任人-->
|
||||
<Role-tree
|
||||
is-title="选择责任部门对接人"
|
||||
:is-visible.sync="modalshowflag2"
|
||||
@checkedRole="checkedRole2"
|
||||
:nodeList="nodeList2"
|
||||
></Role-tree>
|
||||
<Role-tree
|
||||
check-box
|
||||
:is-title="drawerTitle"
|
||||
:is-visible.sync="modalshowflag"
|
||||
@checkedRole="checkedRole"
|
||||
:nodeList="nodeList"
|
||||
></Role-tree>
|
||||
<phone-role
|
||||
:role-title="drawerTitle"
|
||||
:result-list="phoneRoleList"
|
||||
:is-show-phone.sync="phoneshowflag"
|
||||
@checkedRole="drawerCheck"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { Dialog } from 'vant';
|
||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||
import ProcessTitle from "process/components/ProcessTitle";
|
||||
import ProcessFooter from "process/components/ProcessFooter";
|
||||
import { inboundLiaisonDetail } from "api/process";
|
||||
|
||||
export default {
|
||||
name: "phoneCywbbzzxdStep2",
|
||||
components: {
|
||||
ProcessHeaderPhone,
|
||||
ProcessTitle,
|
||||
ProcessFooter
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
phoneshowflag: false,
|
||||
phoneRoleList: [],
|
||||
phoneDrawerTitle: '',
|
||||
isSubmit: false,
|
||||
saveLoading: false,
|
||||
modalshowflag: false, // drawer开关
|
||||
modalshowflag2: false,
|
||||
nodeList2: [],
|
||||
drawerTitle: "", //drawer标题
|
||||
nodeList: [],
|
||||
roleForm: {
|
||||
prcCreateUserName: this.$store.getters.userInfo.userName,
|
||||
prcCreateUser: this.$store.getters.userInfo.userId,
|
||||
dockUser: "",
|
||||
directorUser: "",
|
||||
workPeople: "",
|
||||
dockUserName: "",
|
||||
workPeopleName: "",
|
||||
directorUserName: ""
|
||||
},
|
||||
roleFormRules: {
|
||||
// dockUserName: [
|
||||
// {required: true, message: "请选择标准化员", trigger: "change"}
|
||||
// ],
|
||||
// workPeopleName: [
|
||||
// {required: true, message: '请选择责任工程师', trigger: "change"}
|
||||
// ],
|
||||
// directorUserName: [
|
||||
// {required: true, message: "请选择标准法规部部长", trigger: "change"}
|
||||
// ]
|
||||
},
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
this.getData();
|
||||
},
|
||||
methods:{
|
||||
getData() {
|
||||
return new Promise((resolve, reject) => {
|
||||
inboundLiaisonDetail({
|
||||
taskIds: this.$route.query.taskIds,
|
||||
pId: this.$route.query.prcId
|
||||
}).then(res => {
|
||||
if (res) {
|
||||
const processForm = JSON.parse(res.mesg);
|
||||
this.getFormFieldList(processForm);
|
||||
}
|
||||
}).catch(e => {
|
||||
});
|
||||
});
|
||||
},
|
||||
/**
|
||||
* @description: 动态表单读取
|
||||
*/
|
||||
getFormFieldList(item) {
|
||||
this.$nextTick(() => {
|
||||
this.roleForm = item
|
||||
});
|
||||
},
|
||||
choiceZRR() {
|
||||
this.drawerTitle = '选择责任工程师';
|
||||
this.phoneshowflag = true;
|
||||
},
|
||||
drawerCheck(data){
|
||||
this.roleForm.workPeople = data[0].id
|
||||
this.roleForm.workPeopleName = data[0].name
|
||||
},
|
||||
choiceZRRS() {
|
||||
this.nodeList2 = [];
|
||||
if (this.roleForm.workPeople.length > 0) {
|
||||
this.nodeList2 = this.roleForm.workPeople.split(",");
|
||||
}
|
||||
this.modalshowflag2 = true;
|
||||
},
|
||||
checkedRole(data) {
|
||||
if (this.type === "dockUser") {
|
||||
this.roleForm.dockUser = this.roleRow.id;
|
||||
this.roleForm.dockUserName = this.roleRow.name;
|
||||
} else if (this.type === "directorUser") {
|
||||
this.roleForm.directorUser = data[0].id;
|
||||
this.roleForm.directorUserName = data[0].name;
|
||||
} else if(this.type === "workPeople"){
|
||||
this.roleForm.workPeople = data[0].id;
|
||||
this.roleForm.workPeopleName = data[0].name;
|
||||
}
|
||||
this.modalshowflag = false;
|
||||
},
|
||||
checkedRole2(data) {
|
||||
var idList = "";
|
||||
var nameList = "";
|
||||
data.forEach(item => {
|
||||
if (nameList.length > 0) {
|
||||
nameList += ",";
|
||||
idList += ",";
|
||||
}
|
||||
idList += item.id;
|
||||
nameList += item.name;
|
||||
});
|
||||
this.roleForm.workPeople = idList;
|
||||
this.roleForm.workPeopleName = nameList;
|
||||
},
|
||||
handleSubmit(){
|
||||
if(this.roleForm.workPeople !== undefined){
|
||||
let json = this.roleForm
|
||||
this.$refs["Form"].validate((valid) => {
|
||||
if (valid) {
|
||||
this.isSubmit = true
|
||||
this.$http.post("lawss/activiti/completeTask", {
|
||||
taskIds: this.$route.query.taskIds,
|
||||
userId: this.$store.getters.userInfo.userId,
|
||||
json: JSON.stringify(json)
|
||||
}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
if (res.success) {
|
||||
this.$message.success(res.message);
|
||||
this.$router.push("/processCenter");
|
||||
}
|
||||
this.isSubmit = false
|
||||
});
|
||||
} else {
|
||||
return this.$message.warning("请完善人员信息");
|
||||
}
|
||||
});
|
||||
}else{
|
||||
this.$message.warning('请选择责任工程师')
|
||||
}
|
||||
|
||||
},
|
||||
handleSave(){
|
||||
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
@import '~@/assets/styles/phone';
|
||||
.phoneCywbbzzxdStep2 {
|
||||
/deep/.van-dialog__content {
|
||||
min-height: 300px;
|
||||
padding: 10px;
|
||||
}
|
||||
.prc-content-border {
|
||||
overflow: auto;
|
||||
}
|
||||
/deep/.prc-content-border .el-form-item__content {
|
||||
width: 270px;
|
||||
}
|
||||
//.headerTabs {
|
||||
// height: 52px;
|
||||
// display: flex;
|
||||
// align-items: center;
|
||||
// position: absolute;
|
||||
// top: 75px;
|
||||
// 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 {
|
||||
border-top: 1px solid #DCDFE6;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
margin-top: 52px;
|
||||
//height: calc(~'100% - 180px');
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,458 @@
|
||||
<!--企标复审-->
|
||||
<template>
|
||||
<div class="phoneQbfsStep2 phoneBox">
|
||||
<ProcessHeaderPhone toggle>
|
||||
<template slot="proName">企标复审流程</template>
|
||||
<template slot="proNode">工作组组长指派责任人</template>
|
||||
</ProcessHeaderPhone>
|
||||
<div class="headerTabs">
|
||||
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||
<div class="headerTabsItem" :class="active === '3' ? 'active' : ''" @click="handleTabs('3')">审批历史</div>
|
||||
</div>
|
||||
<div class="content" v-show="active === '1'">
|
||||
<div style="flex: auto; overflow: auto">
|
||||
<process-title>
|
||||
<template slot="title">基础信息</template>
|
||||
</process-title>
|
||||
<el-form
|
||||
ref="qbfsForm"
|
||||
:model="qbfsForm"
|
||||
:rules="formRules"
|
||||
class="label-input-form prc-content-border"
|
||||
label-width="150px"
|
||||
>
|
||||
<el-row :gutter="24">
|
||||
<el-col :span="24">
|
||||
<el-form-item label="企标编号" prop="entNumber" class="add-form-item form-item-disabled">
|
||||
<el-input
|
||||
readonly
|
||||
v-model="qbfsForm.entNumber"
|
||||
placeholder="请输入企标编号"
|
||||
clearable
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="中文名称" prop="cnName" class="add-form-item form-item-disabled">
|
||||
<el-input
|
||||
readonly
|
||||
v-model="qbfsForm.cnName"
|
||||
placeholder="请输入中文名称"
|
||||
clearable
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="英文名称" prop="enName" class="add-form-item form-item-disabled">
|
||||
<el-input
|
||||
readonly
|
||||
v-model="qbfsForm.enName"
|
||||
placeholder="请输入英文名称"
|
||||
clearable
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="企标类别" prop="entCategory" class="add-form-item form-item-disabled">
|
||||
<el-input
|
||||
readonly
|
||||
v-model="qbfsForm.entCategory"
|
||||
placeholder="请输入企标类别"
|
||||
clearable
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="代替企标编号" prop="replaceNumber" class="add-form-item form-item-disabled">
|
||||
<el-input
|
||||
readonly
|
||||
v-model="qbfsForm.replaceNumber"
|
||||
placeholder="请输入代替企标编号"
|
||||
clearable
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="被代替企标编号" prop="replacedNumber" class="add-form-item form-item-disabled">
|
||||
<el-input
|
||||
readonly
|
||||
v-model="qbfsForm.replacedNumber"
|
||||
placeholder="请输入被代替企标编号"
|
||||
clearable
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="发布日期" prop="releaseDate" class="add-form-item form-item-disabled">
|
||||
<el-input
|
||||
readonly
|
||||
v-model="qbfsForm.releaseDate"
|
||||
placeholder="请输入发布日期"
|
||||
clearable
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="实施日期" prop="implementDate" class="add-form-item form-item-disabled">
|
||||
<el-input
|
||||
readonly
|
||||
v-model="qbfsForm.implementDate"
|
||||
placeholder="请输入实施日期"
|
||||
clearable
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="复审日期" prop="reviewDate" class="add-form-item form-item-disabled">
|
||||
<el-input
|
||||
readonly
|
||||
v-model="qbfsForm.reviewDate"
|
||||
placeholder="请输入复审日期"
|
||||
clearable
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="附件" prop="fileName" class="add-form-item form-item-disabled">
|
||||
<div class="file-box" v-if="fileList.length > 0">
|
||||
<p v-for="item in fileList"
|
||||
:key="item.id"> {{ item.oldFileName }}
|
||||
<i
|
||||
title="下载"
|
||||
@click="downloadFile(item.id)"
|
||||
class="icon-download"
|
||||
v-btn-permission="''"
|
||||
/>
|
||||
<i
|
||||
title="下载带水印"
|
||||
@click="downloadFileByWater(item.id, item.name)"
|
||||
class="icon-download2"
|
||||
v-btn-permission="''"
|
||||
/>
|
||||
</p>
|
||||
</div>
|
||||
<div v-else>
|
||||
暂无数据
|
||||
</div>
|
||||
</el-form-item>
|
||||
<el-form-item label="工作组成员" prop="jgUser" class="add-form-item form-item-disabled">
|
||||
<el-input
|
||||
v-model="qbfsForm.jgUser"
|
||||
placeholder="请选择工作组成员"
|
||||
clearable
|
||||
@click.native="choiceZRRS"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</el-form>
|
||||
</div>
|
||||
<div>
|
||||
<el-collapse accordion>
|
||||
<el-collapse-item title="回执说明">
|
||||
<div style="margin: 10px 0;">
|
||||
<el-input
|
||||
type="textarea"
|
||||
:rows="3"
|
||||
resize="none"
|
||||
placeholder="请输入意见"
|
||||
v-model="commentText">
|
||||
</el-input>
|
||||
</div>
|
||||
</el-collapse-item>
|
||||
</el-collapse>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content" v-show="active === '3'">
|
||||
<Phone-histort-table :prc-num="$route.query.prcNum"></Phone-histort-table>
|
||||
</div>
|
||||
<ProcessFooter
|
||||
show-transfer
|
||||
show-submit
|
||||
:transfer-loading="isTransfer"
|
||||
:submitLoading="isSubmit"
|
||||
:saveLoading="saveLoading"
|
||||
:approval="true"
|
||||
@transfer="handleTransfer"
|
||||
@submit="handleSubmit"
|
||||
>
|
||||
</ProcessFooter>
|
||||
<phone-role
|
||||
:role-title="drawerTitle"
|
||||
:result-list="phoneRoleList"
|
||||
:is-show-phone.sync="phoneshowflag"
|
||||
@checkedRole="drawerCheck"
|
||||
/>
|
||||
<!-- <!– 选择责任人–>-->
|
||||
<!-- <Role-tree-->
|
||||
<!-- :is-title="drawerTitle"-->
|
||||
<!-- :is-visible.sync="modalshowflag"-->
|
||||
<!-- @checkedRole="checkedRole"-->
|
||||
<!-- :nodeList="nodeList2"-->
|
||||
<!-- ></Role-tree>-->
|
||||
<phone-role
|
||||
check-more
|
||||
role-title="选择工作组成员"
|
||||
:result-list="nodeList"
|
||||
:is-show-phone.sync="drawerModal"
|
||||
@checkedRole="checkedRole"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { Dialog } from 'vant';
|
||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||
import ProcessFooter from "../../components/ProcessFooter";
|
||||
import ProcessTitle from "../../components/ProcessTitle";
|
||||
import { changeAssigneeNew, inboundLiaisonDetail, saveTaskFirst } from "api/process";
|
||||
|
||||
export default {
|
||||
name: "phoneQbfsStep2",
|
||||
components:{
|
||||
ProcessFooter,
|
||||
ProcessTitle,
|
||||
ProcessHeaderPhone
|
||||
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
phoneshowflag: false,
|
||||
phoneRoleList: [],
|
||||
phoneDrawerTitle: '',
|
||||
active: '1',
|
||||
fileList: [],
|
||||
commentText: '',
|
||||
detailData: [],
|
||||
nodeList: [],
|
||||
nodeList2: [],
|
||||
isSubmit: false,
|
||||
saveLoading: false,
|
||||
isTransfer: false,
|
||||
// 调整处理人抽屉状态
|
||||
drawerModal: false,
|
||||
drawerTitle: "", //drawer标题
|
||||
modalshowflag: false, // drawer开关
|
||||
loading: false,
|
||||
qbfsForm:{
|
||||
entNumber: '',
|
||||
cnName: '',
|
||||
enName: '',
|
||||
entCategory: '',
|
||||
replaceNumber: '',
|
||||
replacedNumber: '',
|
||||
releaseDate: '',
|
||||
implementDate: '',
|
||||
reviewDate: '',
|
||||
jgUser: '',
|
||||
jgUserId: '',
|
||||
},
|
||||
roleForm: {
|
||||
jgUser: ""
|
||||
},
|
||||
formRules: {
|
||||
jgUser: [
|
||||
{required: true, message: "请选择工作组成员", trigger: "change"}
|
||||
],
|
||||
},
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.processTable()
|
||||
this.getData()
|
||||
},
|
||||
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 => {
|
||||
})
|
||||
},
|
||||
getData() {
|
||||
return new Promise((resolve, reject) => {
|
||||
inboundLiaisonDetail({
|
||||
taskIds: this.$route.query.taskIds,
|
||||
pId: this.$route.query.prcId,
|
||||
}).then(res => {
|
||||
if (res) {
|
||||
const processForm = JSON.parse(res.mesg)
|
||||
this.getFormFieldList(processForm)
|
||||
}
|
||||
}).catch(e => {
|
||||
})
|
||||
})
|
||||
},
|
||||
/**
|
||||
* @description: 动态表单读取
|
||||
*/
|
||||
getFormFieldList (item) {
|
||||
this.$nextTick(() => {
|
||||
this.qbfsForm = JSON.parse(JSON.stringify(item))
|
||||
this.fileList = item.fileList
|
||||
})
|
||||
},
|
||||
handleTabs(name) {
|
||||
this.active = name;
|
||||
},
|
||||
//流程提交
|
||||
handleSubmit(){
|
||||
this.isSubmit = true
|
||||
this.qbfsForm.commentText = this.commentText
|
||||
let json = JSON.stringify(this.qbfsForm);
|
||||
this.$http.post('lawss/activiti/completeTask', {
|
||||
taskIds: this.$route.query.taskIds,
|
||||
userId: this.$store.getters.userInfo.userId,
|
||||
json: json,
|
||||
}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
if (res.success) {
|
||||
this.$message.success(res.message)
|
||||
this.$router.push('/processCenter')
|
||||
}
|
||||
this.isSubmit = false
|
||||
}, e => {
|
||||
});
|
||||
},
|
||||
//转办按钮
|
||||
handleTransfer(){
|
||||
this.phoneshowflag = true
|
||||
this.phoneRoleList = this.roleTransfer
|
||||
this.phoneDrawerTitle = '转办处理人'
|
||||
},
|
||||
//确认转办
|
||||
drawerCheck (data) {
|
||||
this.roleTransfer = data
|
||||
this.phoneRoleList = this.roleTransfer
|
||||
this.turnLoading = true
|
||||
changeAssigneeNew({
|
||||
taskId: this.$route.query.taskIds, // 任务id
|
||||
assignee: data[0].id, // 被委托人
|
||||
userId: this.$store.getters.userInfo.userId, // 委托人
|
||||
pId: this.$route.query.prcId // 流程实例
|
||||
}).then(res =>{
|
||||
if (res.success) {
|
||||
this.turnLoading = false
|
||||
this.$message.success('调整成功')
|
||||
this.$router.push("/processCenter")
|
||||
} else {
|
||||
this.$message.warning(res.message)
|
||||
}
|
||||
})
|
||||
this.modalshowflag = false
|
||||
},
|
||||
// 请求转换流程图
|
||||
processNum (row) {
|
||||
axios.request({
|
||||
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
||||
responseType: 'blob',
|
||||
method: 'get',
|
||||
params: {
|
||||
prcNum: this.$route.query.prcNum
|
||||
}
|
||||
}).then(res => {
|
||||
// let blob = new Blob([res.data], {type: 'image/jpg'})
|
||||
// let url = window.URL.createObjectURL(res.data)
|
||||
this.processStep = window.URL.createObjectURL(res.data)
|
||||
})
|
||||
},
|
||||
choiceZRRS() {
|
||||
if (this.qbfsForm.jgUserId) {
|
||||
this.phoneRoleList = this.listForm.jgUserId.split(',')
|
||||
}
|
||||
this.drawerModal = true;
|
||||
},
|
||||
checkedRole(data) {
|
||||
let idList = "";
|
||||
let nameList = "";
|
||||
data.forEach(item => {
|
||||
if (nameList.length) {
|
||||
nameList += ",";
|
||||
idList += ",";
|
||||
}
|
||||
idList += item.id;
|
||||
nameList += item.name;
|
||||
});
|
||||
this.$set(this.qbfsForm, 'jgUser', nameList)
|
||||
this.$set(this.qbfsForm, 'jgUserId', idList)
|
||||
if(this.qbfsForm.jgUser){
|
||||
this.$refs.qbfsForm.validateField('jgUser')
|
||||
}
|
||||
},
|
||||
/**
|
||||
* @Description: 点击下载
|
||||
*/
|
||||
downloadFile(attId) {
|
||||
if (attId != null && attId !== "") {
|
||||
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId;
|
||||
} else {
|
||||
this.$message.error("请选择要下载的文件");
|
||||
}
|
||||
},
|
||||
downloadFileByWater(attId, fileSuffix) {
|
||||
let fileExtension = fileSuffix.substring(fileSuffix.lastIndexOf(".") + 1);
|
||||
if (fileExtension !== "pdf" && fileExtension !== "PDF") {
|
||||
this.$message.error("水印下载仅支持PDF,pdf格式文件");
|
||||
} else {
|
||||
if (attId != null && attId !== "") {
|
||||
window.location.href = "/api/att/attFile/downloadFileForSarWaterMark?fileId=" + attId;
|
||||
} else {
|
||||
this.$message.error("请选择要下载的文件");
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
computed: {
|
||||
listNoDataText() {
|
||||
return this.processType === 1 ? "暂无待办流程" : "暂无已办流程";
|
||||
}
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
@import '~@/assets/styles/phone';
|
||||
.phoneQbfsStep2 {
|
||||
/deep/.van-dialog__content {
|
||||
min-height: 300px;
|
||||
padding: 10px;
|
||||
}
|
||||
.prc-content-border {
|
||||
overflow: auto;
|
||||
}
|
||||
/deep/.prc-content-border .el-form-item__content {
|
||||
width: 270px;
|
||||
}
|
||||
//.headerTabs {
|
||||
// height: 52px;
|
||||
// display: flex;
|
||||
// align-items: center;
|
||||
// position: absolute;
|
||||
// top: 52px;
|
||||
// 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 {
|
||||
border-top: 1px solid #DCDFE6;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
margin-top: 52px;
|
||||
//height: calc(~'100% - 180px');
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -68,16 +68,16 @@
|
||||
<div class="search-area">
|
||||
<div class="left">
|
||||
<el-form :modal="standCommonlySearch" inline class="label-input-form" @keyup.enter.native="searchBtnClick(standCommonlySearch)">
|
||||
<!-- <el-form-item label="标准类别" class="search-item">-->
|
||||
<!-- <el-select v-model="standCommonlySearch.standSort" filterable>-->
|
||||
<!-- <el-option-->
|
||||
<!-- v-for="item in standSortOptions"-->
|
||||
<!-- :key="item.value"-->
|
||||
<!-- :value="item.value"-->
|
||||
<!-- :label="item.label"-->
|
||||
<!-- ></el-option>-->
|
||||
<!-- </el-select>-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- <el-form-item label="标准类别" class="search-item">
|
||||
<el-select v-model="standCommonlySearch.standSort" filterable>
|
||||
<el-option
|
||||
v-for="item in standSortOptions"
|
||||
:key="item.value"
|
||||
:value="item.value"
|
||||
:label="item.label"
|
||||
></el-option>
|
||||
</el-select>
|
||||
</el-form-item>-->
|
||||
<el-form-item label="标准号" class="search-item search-item-last">
|
||||
<el-input v-model="standCommonlySearch.standNumber"
|
||||
placeholder="请输入标准号"
|
||||
@@ -395,66 +395,66 @@
|
||||
<el-button type="primary" size="mini" class="common-button-primary" icon="el-icon-check" @click="exportTestItem">提交</el-button>
|
||||
</span>
|
||||
</el-dialog>
|
||||
<!-- <table-tools-bar v-model="isAdvancedSearch" @search="getDomesticStandardTableBtn(sarStandardsSearch)"-->
|
||||
<!-- @reset="clearAllSearch('sarStandardsSearch')">-->
|
||||
<!-- <div slot="content">-->
|
||||
<!-- <el-form :model="sarStandardsSearch" :inline="true" class="label-input-form table-lattice" style="display: flex;flex-wrap: wrap">-->
|
||||
<!-- <!– 标准号–>-->
|
||||
<!-- <el-form-item :label="$t('m.standardNo')" class="serch-form-item">-->
|
||||
<!-- <el-input v-model="sarStandardsSearch.standNumber" :placeholder="$t('m.lookUpByStandardNumber')" clearable :maxlength="100"-->
|
||||
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input>-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- <!– 标准名称–>-->
|
||||
<!-- <el-form-item :label="$t('m.standName')" class="serch-form-item">-->
|
||||
<!-- <el-input v-model="sarStandardsSearch.standName" :placeholder="$t('m.searchByStandardName')" clearable :maxlength="500"-->
|
||||
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input>-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- <!– 标准类别–>-->
|
||||
<!-- <el-form-item :label="$t('m.standardCategory')" class="serch-form-item">-->
|
||||
<!-- <search-select-->
|
||||
<!-- v-model="sarStandardsSearch.standSort"-->
|
||||
<!-- :placeholder="$t('m.standardCategoryTips')"-->
|
||||
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"-->
|
||||
<!-- :options="standSortOptions"-->
|
||||
<!-- clearable/>-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- <!– 文本状态–>-->
|
||||
<!-- <el-form-item :label="$t('m.standStateShow')" class="serch-form-item">-->
|
||||
<!-- <el-select v-model="sarStandardsSearch.textStatus" :placeholder="$t('m.lookupByStandardStatus')" clearable-->
|
||||
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">-->
|
||||
<!-- <el-option v-for="opt in standStateOptions" :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="$t('m.substituteStandardNumber')" class="serch-form-item">-->
|
||||
<!-- <el-input v-model="sarStandardsSearch.dtbjh" :placeholder="$t('m.lookUpByAlternativeCriteria')" clearable :maxlength="100"-->
|
||||
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input>-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- <!– 适用车型–>-->
|
||||
<!-- <el-form-item :label="$t('m.applicableModels')" class="serch-form-item">-->
|
||||
<!-- <el-select v-model="sarStandardsSearch.cllx" :placeholder="$t('m.searchAccordingToThApplicableModel')" clearable-->
|
||||
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">-->
|
||||
<!-- <el-option v-for="opt in applyArcticOptions" :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="$t('m.applicableProductLine')" class="serch-form-item">-->
|
||||
<!-- <el-select v-model="sarStandardsSearch.nylx" :placeholder="$t('m.searchByApplicableProductLine')" clearable-->
|
||||
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">-->
|
||||
<!-- <el-option v-for="opt in categoryOptions" :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="$t('m.associatedModule')" class="serch-form-item">-->
|
||||
<!-- <el-select v-model="sarStandardsSearch.cycvppsbm" :placeholder="$t('m.SearchByAssociatedModule')" clearable-->
|
||||
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">-->
|
||||
<!-- <el-option v-for="opt in standNatureOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}-->
|
||||
<!-- </el-option>-->
|
||||
<!-- </el-select>-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- </el-form>-->
|
||||
<!-- </div>-->
|
||||
<!-- </table-tools-bar>-->
|
||||
<!-- <table-tools-bar v-model="isAdvancedSearch" @search="getDomesticStandardTableBtn(sarStandardsSearch)"
|
||||
@reset="clearAllSearch('sarStandardsSearch')">
|
||||
<div slot="content">
|
||||
<el-form :model="sarStandardsSearch" :inline="true" class="label-input-form table-lattice" style="display: flex;flex-wrap: wrap">
|
||||
<!– 标准号–>
|
||||
<el-form-item :label="$t('m.standardNo')" class="serch-form-item">
|
||||
<el-input v-model="sarStandardsSearch.standNumber" :placeholder="$t('m.lookUpByStandardNumber')" clearable :maxlength="100"
|
||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input>
|
||||
</el-form-item>
|
||||
<!– 标准名称–>
|
||||
<el-form-item :label="$t('m.standName')" class="serch-form-item">
|
||||
<el-input v-model="sarStandardsSearch.standName" :placeholder="$t('m.searchByStandardName')" clearable :maxlength="500"
|
||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input>
|
||||
</el-form-item>
|
||||
<!– 标准类别–>
|
||||
<el-form-item :label="$t('m.standardCategory')" class="serch-form-item">
|
||||
<search-select
|
||||
v-model="sarStandardsSearch.standSort"
|
||||
:placeholder="$t('m.standardCategoryTips')"
|
||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"
|
||||
:options="standSortOptions"
|
||||
clearable/>
|
||||
</el-form-item>
|
||||
<!– 文本状态–>
|
||||
<el-form-item :label="$t('m.standStateShow')" class="serch-form-item">
|
||||
<el-select v-model="sarStandardsSearch.textStatus" :placeholder="$t('m.lookupByStandardStatus')" clearable
|
||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||
<el-option v-for="opt in standStateOptions" :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="$t('m.substituteStandardNumber')" class="serch-form-item">
|
||||
<el-input v-model="sarStandardsSearch.dtbjh" :placeholder="$t('m.lookUpByAlternativeCriteria')" clearable :maxlength="100"
|
||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input>
|
||||
</el-form-item>
|
||||
<!– 适用车型–>
|
||||
<el-form-item :label="$t('m.applicableModels')" class="serch-form-item">
|
||||
<el-select v-model="sarStandardsSearch.cllx" :placeholder="$t('m.searchAccordingToThApplicableModel')" clearable
|
||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||
<el-option v-for="opt in applyArcticOptions" :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="$t('m.applicableProductLine')" class="serch-form-item">
|
||||
<el-select v-model="sarStandardsSearch.nylx" :placeholder="$t('m.searchByApplicableProductLine')" clearable
|
||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||
<el-option v-for="opt in categoryOptions" :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="$t('m.associatedModule')" class="serch-form-item">
|
||||
<el-select v-model="sarStandardsSearch.cycvppsbm" :placeholder="$t('m.SearchByAssociatedModule')" clearable
|
||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||
<el-option v-for="opt in standNatureOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">{{ opt.label}}
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</div>
|
||||
</table-tools-bar>-->
|
||||
<!-- 高级筛选-->
|
||||
<el-drawer
|
||||
title="高级搜索"
|
||||
@@ -617,39 +617,37 @@
|
||||
<!-- 适用车型-->
|
||||
<template>
|
||||
<custom-select-array
|
||||
:key="applyArcticOptions.options"
|
||||
:config="applyArcticOptions"
|
||||
style="margin-left: -14px"
|
||||
v-model="sarStandardsSearch['applyArctic']"
|
||||
></custom-select-array>
|
||||
</template>
|
||||
<!-- <el-form-item :label="$t('m.applicableModels')" class="add-form-item form-item-disabled">-->
|
||||
<!-- <el-select v-model="sarStandardsSearch.applyArctic"-->
|
||||
<!-- :placeholder="$t('m.searchAccordingToThApplicableModel')" clearable-->
|
||||
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">-->
|
||||
<!-- <el-option v-for="opt in applyArcticOptions" :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="$t('m.applicableModels')" class="add-form-item form-item-disabled">
|
||||
<el-select v-model="sarStandardsSearch.applyArctic"
|
||||
:placeholder="$t('m.searchAccordingToThApplicableModel')" clearable
|
||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||
<el-option v-for="opt in applyArcticOptions" :value="opt.value === undefined ? '' :opt.value"
|
||||
:key="opt.value" :label="opt.label">{{ opt.label }}
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>-->
|
||||
<!-- 适用产品线(新增字段)-->
|
||||
<template>
|
||||
<custom-select-array
|
||||
:key="sycpxOptions.options"
|
||||
:config="sycpxOptions"
|
||||
style="margin-left: -14px"
|
||||
v-model="advanceSearchMapping['SYCPX']"
|
||||
></custom-select-array>
|
||||
</template>
|
||||
<!-- <el-form-item :label="$t('m.applicableProductLine')" class="add-form-item form-item-disabled">-->
|
||||
<!-- <el-select v-model="advanceSearchMapping.SYCPX" :placeholder="$t('m.searchByApplicableProductLine')"-->
|
||||
<!-- clearable-->
|
||||
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">-->
|
||||
<!-- <el-option v-for="opt in sycpxOptions" :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="$t('m.applicableProductLine')" class="add-form-item form-item-disabled">
|
||||
<el-select v-model="advanceSearchMapping.SYCPX" :placeholder="$t('m.searchByApplicableProductLine')"
|
||||
clearable
|
||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||
<el-option v-for="opt in sycpxOptions" :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="体系类别" class="add-form-item form-item-disabled">
|
||||
<el-select v-model="advanceSearchMapping.TXLB" placeholder="根据体系类别查找" clearable
|
||||
@@ -672,21 +670,21 @@
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
</template>
|
||||
<!-- <template>-->
|
||||
<!-- <custom-select-array-->
|
||||
<!-- :key="zrgcsOptions.options"-->
|
||||
<!-- :config="zrgcsOptions"-->
|
||||
<!-- v-model="advanceSearchMapping['ZRGCS']"-->
|
||||
<!-- ></custom-select-array>-->
|
||||
<!-- </template>-->
|
||||
<!-- <el-form-item label="责任工程师" class="add-form-item form-item-disabled">-->
|
||||
<!-- <el-select v-model="advanceSearchMapping.ZRGCS" placeholder="根据责任工程师查找" clearable filterable-->
|
||||
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">-->
|
||||
<!-- <el-option v-for="opt in zrgcsOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value"-->
|
||||
<!-- :label="opt.label">{{ opt.label }}-->
|
||||
<!-- </el-option>-->
|
||||
<!-- </el-select>-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- <template>
|
||||
<custom-select-array
|
||||
:key="zrgcsOptions.options"
|
||||
:config="zrgcsOptions"
|
||||
v-model="advanceSearchMapping['ZRGCS']"
|
||||
></custom-select-array>
|
||||
</template>
|
||||
<el-form-item label="责任工程师" class="add-form-item form-item-disabled">
|
||||
<el-select v-model="advanceSearchMapping.ZRGCS" placeholder="根据责任工程师查找" clearable filterable
|
||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||
<el-option v-for="opt in zrgcsOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value"
|
||||
:label="opt.label">{{ opt.label }}
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>-->
|
||||
<!-- 关联模块--乘用车vpps中文名称-->
|
||||
<el-form-item title="关联模块--乘用车VPPS中文名称" label="关联模块--乘用车VPPS中文名称" prop="standNumber" class="add-form-item form-item-disabled">
|
||||
<el-input v-model="advanceSearchMapping.CYCVPPSCN" clearable
|
||||
@@ -699,43 +697,46 @@
|
||||
placeholder="关联模块--卡车VPPS中文名称"
|
||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input>
|
||||
</el-form-item>
|
||||
|
||||
<!-- 模块结构单元名称 -->
|
||||
<el-form-item title="模块结构单元名称" label="模块结构单元名称" prop="dymc" class="add-form-item form-item-disabled">
|
||||
<el-input v-model="advanceSearchMapping.DYMC" clearable
|
||||
placeholder="模块结构单元名称"
|
||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<!-- 能源类型-->
|
||||
<template>
|
||||
<custom-select-array
|
||||
:key="nylxOptions.options"
|
||||
:config="nylxOptions"
|
||||
style="margin-left: -14px"
|
||||
v-model="advanceSearchMapping['NYLX']"
|
||||
></custom-select-array>
|
||||
</template>
|
||||
<!-- <el-form-item label="能源类型" class="add-form-item form-item-disabled">-->
|
||||
<!-- <el-select v-model="advanceSearchMapping.NYLX" placeholder="请选择能源类型" clearable-->
|
||||
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">-->
|
||||
<!-- <el-option v-for="opt in nylxOptions" :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="能源类型" class="add-form-item form-item-disabled">
|
||||
<el-select v-model="advanceSearchMapping.NYLX" placeholder="请选择能源类型" clearable
|
||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||
<el-option v-for="opt in nylxOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value"
|
||||
:label="opt.label">{{ opt.label }}
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>-->
|
||||
<!-- 适用认证-->
|
||||
<template>
|
||||
<custom-select-array
|
||||
:key="syrzOptions.options"
|
||||
:config="syrzOptions"
|
||||
style="margin-left: -14px"
|
||||
v-model="advanceSearchMapping['SYRZ']"
|
||||
></custom-select-array>
|
||||
</template>
|
||||
<!-- <el-form-item label="适用认证" class="add-form-item form-item-disabled">-->
|
||||
<!-- <el-select v-model="advanceSearchMapping.SYRZ" placeholder="根据适用认证查找" clearable-->
|
||||
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">-->
|
||||
<!-- <el-option v-for="opt in syrzOptions" :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="适用认证" class="add-form-item form-item-disabled">
|
||||
<el-select v-model="advanceSearchMapping.SYRZ" placeholder="根据适用认证查找" clearable
|
||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||
<el-option v-for="opt in syrzOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value"
|
||||
:label="opt.label">{{ opt.label }}
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>-->
|
||||
<!-- 责任部门-->
|
||||
<template>
|
||||
<el-form-item
|
||||
@@ -745,7 +746,6 @@
|
||||
>
|
||||
<template slot="label">责任部门</template>
|
||||
<el-input
|
||||
:key="zrbmOptions.options"
|
||||
:config="zrbmOptions"
|
||||
clearable
|
||||
v-model="advanceSearchMapping['ZRBM']"
|
||||
@@ -754,21 +754,21 @@
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
</template>
|
||||
<!-- <template>-->
|
||||
<!-- <custom-select-array-->
|
||||
<!-- :key="zrbmOptions.options"-->
|
||||
<!-- :config="zrbmOptions"-->
|
||||
<!-- v-model="advanceSearchMapping['ZRBM']"-->
|
||||
<!-- ></custom-select-array>-->
|
||||
<!-- </template>-->
|
||||
<!-- <el-form-item label="责任部门" class="add-form-item form-item-disabled">-->
|
||||
<!-- <el-select v-model="advanceSearchMapping.ZRBM" placeholder="根据责任部门查找" clearable filterable-->
|
||||
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">-->
|
||||
<!-- <el-option v-for="opt in zrbmOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value"-->
|
||||
<!-- :label="opt.label">{{ opt.label }}-->
|
||||
<!-- </el-option>-->
|
||||
<!-- </el-select>-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- <template>
|
||||
<custom-select-array
|
||||
:key="zrbmOptions.options"
|
||||
:config="zrbmOptions"
|
||||
v-model="advanceSearchMapping['ZRBM']"
|
||||
></custom-select-array>
|
||||
</template>
|
||||
<el-form-item label="责任部门" class="add-form-item form-item-disabled">
|
||||
<el-select v-model="advanceSearchMapping.ZRBM" placeholder="根据责任部门查找" clearable filterable
|
||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">
|
||||
<el-option v-for="opt in zrbmOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value"
|
||||
:label="opt.label">{{ opt.label }}
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>-->
|
||||
<!-- 关联模块--乘用车VPPS编码-->
|
||||
<el-form-item title="关联模块--乘用车VPPS编码" label=" 关联模块--乘用车VPPS编码" prop="standNumber" class="add-form-item form-item-disabled">
|
||||
<el-input v-model="advanceSearchMapping.CYCVPPSBM" clearable
|
||||
@@ -781,6 +781,12 @@
|
||||
placeholder="关联模块--卡车VPPS编码"
|
||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input>
|
||||
</el-form-item>
|
||||
<!-- 模块结构单元变型号 -->
|
||||
<el-form-item title="模块结构单元变型号" label="模块结构单元变型号" prop="dybxh" class="add-form-item form-item-disabled">
|
||||
<el-input v-model="advanceSearchMapping.DYBXH" clearable
|
||||
placeholder="模块结构单元变型号"
|
||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</div>
|
||||
@@ -805,10 +811,10 @@
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<!-- 被代替标准号-->
|
||||
<!-- <el-form-item label="被代替标准号" class="add-form-item form-item-disabled">-->
|
||||
<!-- <el-input v-model="sarStandardsSearch.replacedStandNum" clearable placeholder="根据被代替标准号查找"-->
|
||||
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input>-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- <el-form-item label="被代替标准号" class="add-form-item form-item-disabled">
|
||||
<el-input v-model="sarStandardsSearch.replacedStandNum" clearable placeholder="根据被代替标准号查找"
|
||||
@keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input>
|
||||
</el-form-item>-->
|
||||
<!-- 被引用标准-->
|
||||
<el-form-item label="被引用标准" class="add-form-item form-item-disabled">
|
||||
<el-input v-model="advanceSearchMapping.BYYBJ" clearable
|
||||
@@ -852,31 +858,31 @@
|
||||
:rules="sarStandardsInfoRules"
|
||||
class="label-input-form"
|
||||
>
|
||||
<!-- <el-form-item-->
|
||||
<!-- prop="isRelateAccess"-->
|
||||
<!-- label-width="150px"-->
|
||||
<!-- class="add-form-item"-->
|
||||
<!-- title="A类必填项多,仅A类可纳入法规清单。"-->
|
||||
<!-- >-->
|
||||
<!-- <template slot="label">重要度<i class="el-icon-warning-outline"></i></template>-->
|
||||
<!-- <el-select v-model="sarStandardsInfoEO.isRelateAccess" @change="isRegulationsChange">-->
|
||||
<!-- <el-option value="1" label="A" key="1"></el-option>-->
|
||||
<!-- <el-option value="0" label="B" key="0"></el-option>-->
|
||||
<!-- </el-select>-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- <el-form-item label="适用区域" prop="country" label-width="150px" class="add-form-item form-item-disabled">-->
|
||||
<!-- <el-select v-model="sarStandardsInfoEO.country" disabled >-->
|
||||
<!-- <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="synopsis" label-width="150px" class="add-form-item">-->
|
||||
<!-- <el-input-->
|
||||
<!-- type="text"-->
|
||||
<!-- v-model="sarStandardsInfoEO.synopsis"-->
|
||||
<!-- placeholder="请输入"-->
|
||||
<!-- clearable-->
|
||||
<!-- ></el-input>-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- <el-form-item
|
||||
prop="isRelateAccess"
|
||||
label-width="150px"
|
||||
class="add-form-item"
|
||||
title="A类必填项多,仅A类可纳入法规清单。"
|
||||
>
|
||||
<template slot="label">重要度<i class="el-icon-warning-outline"></i></template>
|
||||
<el-select v-model="sarStandardsInfoEO.isRelateAccess" @change="isRegulationsChange">
|
||||
<el-option value="1" label="A" key="1"></el-option>
|
||||
<el-option value="0" label="B" key="0"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="适用区域" prop="country" label-width="150px" class="add-form-item form-item-disabled">
|
||||
<el-select v-model="sarStandardsInfoEO.country" disabled >
|
||||
<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="synopsis" label-width="150px" class="add-form-item">
|
||||
<el-input
|
||||
type="text"
|
||||
v-model="sarStandardsInfoEO.synopsis"
|
||||
placeholder="请输入"
|
||||
clearable
|
||||
></el-input>
|
||||
</el-form-item>-->
|
||||
<!-- 动态数据-->
|
||||
<template v-for="(displayLocation, index) in dynamicFormField">
|
||||
<el-col :span="24" :key="index">
|
||||
@@ -916,7 +922,6 @@
|
||||
<template v-for="field in displayLocation.child">
|
||||
<template v-if="field.attrType === 'FILE' && field.attrField === 'FBGBJBD'">
|
||||
<custom-file
|
||||
:key="field.attrField"
|
||||
:config="field"
|
||||
v-model="sarStandardsInfoEO[field.attrField]"
|
||||
:disabled="formdisableflag"
|
||||
@@ -992,22 +997,22 @@
|
||||
<el-option value="2" label="否" key="2"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item-->
|
||||
<!-- prop="standSystem"-->
|
||||
<!-- label-width="150px"-->
|
||||
<!-- class="add-form-item"-->
|
||||
<!-- >-->
|
||||
<!-- <template slot="label">标准体系</template>-->
|
||||
<!-- <tree-select-->
|
||||
<!-- :data="standSystemOptions"-->
|
||||
<!-- :defaultProps="defaultProps" :checkedKeys="defaultCheckedKeys"-->
|
||||
<!-- :nodeKey="nodeKey" @popoverHide="popoverHide"></tree-select>-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- <el-form-item
|
||||
prop="standSystem"
|
||||
label-width="150px"
|
||||
class="add-form-item"
|
||||
>
|
||||
<template slot="label">标准体系</template>
|
||||
<tree-select
|
||||
:data="standSystemOptions"
|
||||
:defaultProps="defaultProps" :checkedKeys="defaultCheckedKeys"
|
||||
:nodeKey="nodeKey" @popoverHide="popoverHide"></tree-select>
|
||||
</el-form-item>-->
|
||||
</template>
|
||||
<template v-for="field in displayLocation.child">
|
||||
<template v-if="field.attrField === 'EOPSSRQ'">
|
||||
<custom-eop-date-pick
|
||||
:key="field.attrField"
|
||||
|
||||
:config="field"
|
||||
v-model="sarStandardsInfoEO[field.attrField]"
|
||||
:disabled="formdisableflag"
|
||||
@@ -1015,7 +1020,7 @@
|
||||
</template>
|
||||
<template v-else-if="field.attrField === 'SVPPS'">
|
||||
<custom-SVPPS
|
||||
:key="field.attrField"
|
||||
|
||||
:config="field"
|
||||
v-model="sarStandardsInfoEO[field.attrField]"
|
||||
:disabled="formdisableflag"
|
||||
@@ -1024,7 +1029,7 @@
|
||||
<template v-else-if="field.attrField === 'XCXSSRQ' || field.attrField === 'ZCCSSRQ' || field.attrField === 'SSRQ'">
|
||||
<custom-date-pick-group
|
||||
v-if="field.attrField !== 'ZCCSSRQGJ' && field.attrField !== 'XCXSSRQGJ' && field.attrField !== 'SSRQGJ' "
|
||||
:key="field.attrField"
|
||||
|
||||
:config="field"
|
||||
v-model="sarStandardsInfoEO[field.attrField]"
|
||||
:disabled="formdisableflag"
|
||||
@@ -1032,7 +1037,7 @@
|
||||
</template>
|
||||
<template v-else-if="field.attrType === 'DATE_PIC_OPTS'">
|
||||
<custom-date-pick-group
|
||||
:key="field.attrField"
|
||||
|
||||
:config="field"
|
||||
v-model="sarStandardsInfoEO[field.attrField]"
|
||||
:disabled="formdisableflag"
|
||||
@@ -1042,7 +1047,7 @@
|
||||
<template v-else-if="field.attrType === 'INPUT_STR' && field.attrField !== 'XGLC' && field.attrField !== 'CHJL'">
|
||||
<template v-if="field.attrField === 'DTBJH' || field.attrField === 'YYBJ' || field.attrField === 'BYYBJ' || field.attrField === 'CBBH' || field.attrField === 'DXBZ'">
|
||||
<custom-input-for-standards
|
||||
:key="field.attrField"
|
||||
|
||||
:config="field"
|
||||
v-model="sarStandardsInfoEO[field.attrField]"
|
||||
:disabled="formdisableflag"
|
||||
@@ -1108,7 +1113,6 @@
|
||||
</template>
|
||||
<template v-else>
|
||||
<custom-input
|
||||
:key="field.attrField"
|
||||
:config="field"
|
||||
v-model="sarStandardsInfoEO[field.attrField]"
|
||||
:disabled="formdisableflag"
|
||||
@@ -1118,7 +1122,7 @@
|
||||
</template>
|
||||
<template v-else-if="field.attrType === 'INPUT_NUM'">
|
||||
<custom-input-num
|
||||
:key="field.attrField"
|
||||
|
||||
:config="field"
|
||||
v-model="sarStandardsInfoEO[field.attrField]"
|
||||
:disabled="formdisableflag"
|
||||
@@ -1126,7 +1130,7 @@
|
||||
</template>
|
||||
<template v-else-if="field.attrType === 'DATE_PICKER'">
|
||||
<custom-date-pick
|
||||
:key="field.attrField"
|
||||
|
||||
:config="field"
|
||||
v-model="sarStandardsInfoEO[field.attrField]"
|
||||
:class="field.attrName === '在产车实施日期(国家)' || field.attrName === '新车型实施日期(国家)'|| field.attrName === '实施日期(国际)' ? 'classDisplay' : ''"
|
||||
@@ -1136,7 +1140,7 @@
|
||||
<!-- 发布稿的组件 -->
|
||||
<template v-else-if="field.attrType === 'FILE' && field.attrField !== 'FBGBJBD'">
|
||||
<custom-file
|
||||
:key="field.attrField"
|
||||
|
||||
:config="field"
|
||||
v-model="sarStandardsInfoEO[field.attrField]"
|
||||
:disabled="formdisableflag"
|
||||
@@ -1145,7 +1149,7 @@
|
||||
</template>
|
||||
<template v-else-if="field.attrType === 'TEXTAREA'">
|
||||
<custom-textarea
|
||||
:key="field.attrField"
|
||||
|
||||
:config="field"
|
||||
v-model="sarStandardsInfoEO[field.attrField]"
|
||||
:disabled="formdisableflag"
|
||||
@@ -1153,7 +1157,7 @@
|
||||
</template>
|
||||
<template v-else-if="field.attrType === 'SEL_OPTION'">
|
||||
<custom-select
|
||||
:key="field.attrField"
|
||||
|
||||
:config="field"
|
||||
v-model="sarStandardsInfoEO[field.attrField]"
|
||||
:disabled="formdisableflag"
|
||||
@@ -1168,7 +1172,7 @@
|
||||
>
|
||||
<template slot="label">责任部门</template>
|
||||
<el-input
|
||||
:key="field.attrField"
|
||||
|
||||
:config="field"
|
||||
clearable
|
||||
v-model="sarStandardsInfoEO['ZRBM']"
|
||||
@@ -1186,19 +1190,18 @@
|
||||
<template slot="label">责任工程师</template>
|
||||
<el-input v-model="sarStandardsInfoEO['ZRGCS']" placeholder="选择责任工程师" @click.native="choiceZRRS('zrgcs', '选择责任工程师', sarStandardsInfoEO['ZRGCS'])">
|
||||
</el-input>
|
||||
<!-- <el-input-->
|
||||
<!-- :key="field.attrField"-->
|
||||
<!-- :config="field"-->
|
||||
<!-- clearable-->
|
||||
<!-- v-model="sarStandardsInfoEO['ZRGCS']"-->
|
||||
<!-- :disabled="formdisableflag" placeholder="选择责任工程师"-->
|
||||
<!-- @click.native="choiceRole('ZRGCSUserId', '责任工程师', sarStandardsInfoEO.ZRGCSUserId)">-->
|
||||
<!-- </el-input>-->
|
||||
<!-- <el-input
|
||||
:key="field.attrField"
|
||||
:config="field"
|
||||
clearable
|
||||
v-model="sarStandardsInfoEO['ZRGCS']"
|
||||
:disabled="formdisableflag" placeholder="选择责任工程师"
|
||||
@click.native="choiceRole('ZRGCSUserId', '责任工程师', sarStandardsInfoEO.ZRGCSUserId)">
|
||||
</el-input>-->
|
||||
</el-form-item>
|
||||
</template>
|
||||
<template v-else>
|
||||
<custom-select-array
|
||||
:key="field.attrField"
|
||||
:config="field"
|
||||
v-model="sarStandardsInfoEO[field.attrField]"
|
||||
:disabled="formdisableflag"
|
||||
@@ -1856,17 +1859,19 @@ export default {
|
||||
CYSD: '', //我司参与深度
|
||||
GKDW: '', //归口管理部门
|
||||
SSRQ: '',//实施日期
|
||||
XCXSSRQ: ''//新车型实施日期
|
||||
, ZCCSSRQ: ''//在产车实施日期
|
||||
, QCDW: ''//起草单位
|
||||
, NYLX: ''//能源类型
|
||||
, SYRZ: ''//适用认证
|
||||
, ZRGCS: ''//责任工程师
|
||||
, CBBH: ''//采标编号
|
||||
, CBCD: ''//采标程度
|
||||
, YYBJ: ''//引用标准
|
||||
, BYYBJ: ''//被引用标准
|
||||
, TXLB: ''//体系类别
|
||||
XCXSSRQ: '',//新车型实施日期
|
||||
ZCCSSRQ: '',//在产车实施日期
|
||||
QCDW: '',//起草单位
|
||||
NYLX: '',//能源类型
|
||||
SYRZ: '',//适用认证
|
||||
ZRGCS: '',//责任工程师
|
||||
CBBH: '',//采标编号
|
||||
CBCD: '',//采标程度
|
||||
YYBJ: '',//引用标准
|
||||
BYYBJ: '',//被引用标准
|
||||
TXLB: '',//体系类别
|
||||
DYMC: '', //模块结构单元名称
|
||||
DYBXH: '',// 模块结构单元变形号
|
||||
},
|
||||
|
||||
// 分页查询过程中用到的对象
|
||||
@@ -5099,6 +5104,8 @@ export default {
|
||||
this.nylxOptions.options = res.data.NYLXCLASS;//能源类型
|
||||
this.syrzOptions.options = res.data.SYRZCLASS;//适用认证
|
||||
this.gkglbmOptions = res.data.GKGLBM;//归口管理部门
|
||||
// 模块结构单元变型号
|
||||
this.dybxhOptions.options = res.data.DYBXH
|
||||
|
||||
this.getGzzOption()
|
||||
this.setMap(this.standStateOptions)
|
||||
|
||||
+1
-6
@@ -122,12 +122,7 @@ export default {
|
||||
},
|
||||
watch: {
|
||||
value (val) {
|
||||
if(val !== '' && val !== null) {
|
||||
this.tagList = []
|
||||
} else {
|
||||
this.tagList = val.split(',')
|
||||
}
|
||||
// this.tagList = val !== '' && val !== null ? val.split(',') : []
|
||||
this.tagList = val !== '' && val !== null ? val.split(',') : []
|
||||
},
|
||||
tagList: {
|
||||
handler (val) {
|
||||
|
||||
@@ -2359,6 +2359,16 @@ const routes = [
|
||||
title: '未符合项整改流程'
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/phoneCywbbzzxdStep2',
|
||||
name: 'phoneCywbbzzxdStep2',
|
||||
component: () => import('@/pages/processCenter/pages/phone/cywbbzzxd/step2.vue'),
|
||||
meta: {
|
||||
isBoolean: true,
|
||||
requireAuth: true,
|
||||
title: '参与外部标准制修订信息提报流程'
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/phoneCywbbzzxdStep4',
|
||||
name: 'phoneCywbbzzxdStep4',
|
||||
@@ -2429,6 +2439,16 @@ const routes = [
|
||||
title: '企标制修订计划管控流程'
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/phoneQbfsStep2',
|
||||
name: 'phoneQbfsStep2',
|
||||
component: () => import('@/pages/processCenter/pages/phone/qbfs/step2.vue'),
|
||||
meta: {
|
||||
isBoolean: true,
|
||||
requireAuth: true,
|
||||
title: '企标复审流程'
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/phoneQbfsStep4',
|
||||
name: 'phoneQbfsStep4',
|
||||
|
||||
Reference in New Issue
Block a user