Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
yanyizhou
2021-11-17 10:39:14 +08:00
22 changed files with 949 additions and 200 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 158 KiB

@@ -419,6 +419,28 @@ export default {
this.qbfsForm.jgUserId = idList; this.qbfsForm.jgUserId = idList;
this.qbfsForm.jgUser = nameList; this.qbfsForm.jgUser = nameList;
}, },
/**
* @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: { computed: {
listNoDataText() { listNoDataText() {
@@ -404,6 +404,28 @@ export default {
this.processStep = window.URL.createObjectURL(res.data) this.processStep = window.URL.createObjectURL(res.data)
}) })
}, },
/**
* @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: { computed: {
listNoDataText() { listNoDataText() {
@@ -63,6 +63,16 @@
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="下一步状态" prop="nextStatus" class="add-form-item ">
<el-select v-model="qbfsForm.nextStatus" placeholder="请选择下一步状态">
<el-option
v-for="item in associationOptions"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="被代替企标编号" prop="replacedNumber" class="add-form-item form-item-disabled"> <el-form-item label="被代替企标编号" prop="replacedNumber" class="add-form-item form-item-disabled">
@@ -119,6 +129,8 @@
暂无数据 暂无数据
</div> </div>
</el-form-item> </el-form-item>
<el-form-item class="add-form-item ">
</el-form-item>
<!-- <el-form-item label="工作组成员" prop="jgUser" class="add-form-item form-item-disabled">--> <!-- <el-form-item label="工作组成员" prop="jgUser" class="add-form-item form-item-disabled">-->
<!-- <el-input--> <!-- <el-input-->
<!-- v-model="qbfsForm.jgUser"--> <!-- v-model="qbfsForm.jgUser"-->
@@ -126,23 +138,13 @@
<!-- clearable--> <!-- clearable-->
<!-- ></el-input>--> <!-- ></el-input>-->
<!-- </el-form-item>--> <!-- </el-form-item>-->
<!-- <el-form-item label="下一步状态" prop="nextStatus" class="add-form-item ">-->
<!-- <el-select v-model="qbfsForm.nextStatus" placeholder="请选择下一步状态">-->
<!-- <el-option-->
<!-- v-for="item in associationOptions"-->
<!-- :key="item.value"-->
<!-- :label="item.label"-->
<!-- :value="item.value">-->
<!-- </el-option>-->
<!-- </el-select>-->
<!-- </el-form-item>-->
</el-col> </el-col>
</el-row> </el-row>
</div> </div>
</el-form> </el-form>
<el-button style="width: 100%" :icon="foldFormFlag ? 'el-icon-caret-top' : 'el-icon-caret-bottom'" <el-button style="width: 100%" :icon="foldFormFlag ? 'el-icon-caret-top' : 'el-icon-caret-bottom'"
@click="foldForm">{{ foldFormFlag ? "隐藏基础信息" : "展开基础信息" }} @click="foldForm">{{ foldFormFlag ? "隐藏基础信息" : "展开基础信息" }}
</el-button> </el-button>
<process-title> <process-title>
<template slot="title">审核信息</template> <template slot="title">审核信息</template>
</process-title> </process-title>
@@ -159,12 +161,12 @@
align="center"> align="center">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="issueTime" prop="opinion"
align="center" align="center"
label="审核状态"> label="审核意见">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="XCXSSRQ" prop="people"
align="center" align="center"
label="审核人"> label="审核人">
</el-table-column> </el-table-column>
@@ -283,42 +285,42 @@ import { changeAssigneeNew, inboundLiaisonDetail, saveTaskFirst } from "api/proc
export default { export default {
name: "qbfsStep4", name: "qbfsStep4",
components:{ components: {
ProcessHeader, ProcessHeader,
ProcessFooter, ProcessFooter,
ProcessTitle ProcessTitle
}, },
data() { data() {
return { return {
active: '1', active: "1",
isTransfer: false, isTransfer: false,
isSubmit: false, isSubmit: false,
saveLoading: false, saveLoading: false,
drawerModal: false, drawerModal: false,
drawerTitle: '', drawerTitle: "",
nodeList: [], nodeList: [],
fileList: [], fileList: [],
commentText: '', commentText: "",
dataList: [], dataList: [],
detailData: [], detailData: [],
loading: false, loading: false,
foldFormFlag: true, foldFormFlag: true,
qbfsForm:{ qbfsForm: {
entNumber: '', entNumber: "",
cnName: '', cnName: "",
enName: '', enName: "",
entCategory: '', entCategory: "",
replaceNumber: '', replaceNumber: "",
replacedNumber: '', replacedNumber: "",
releaseDate: '', releaseDate: "",
implementDate: '', implementDate: "",
reviewDate: '', reviewDate: "",
nextStatus: '', nextStatus: ""
}, },
formRules: { formRules: {
nextStatus: [ nextStatus: [
{required: true, message: "请选择下一步状态", trigger: "change"} { required: true, message: "请选择下一步状态", trigger: "change" }
], ]
}, },
associationOptions: [{ associationOptions: [{
value: "修订", value: "修订",
@@ -330,13 +332,13 @@ export default {
value: "有效", value: "有效",
label: "有效" label: "有效"
}] }]
} };
}, },
mounted() { mounted() {
this.processTable() this.processTable();
this.getData() this.getData();
}, },
methods:{ methods: {
processTable() { processTable() {
this.$http.get("lawss/activiti/get_list_by_instance", { this.$http.get("lawss/activiti/get_list_by_instance", {
prcNum: this.$route.query.prcNum, prcNum: this.$route.query.prcNum,
@@ -346,50 +348,81 @@ export default {
loading: "loading", loading: "loading",
_this: this _this: this
}, res => { }, res => {
this.detailData = res this.detailData = res;
}, e => { }, e => {
}) });
}, },
getData() { getData() {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
inboundLiaisonDetail({ inboundLiaisonDetail({
taskIds: this.$route.query.taskIds, taskIds: this.$route.query.taskIds,
pId: this.$route.query.prcId, pId: this.$route.query.prcId
}).then(res => { }).then(res => {
if (res) { if (res) {
const processForm = JSON.parse(res.mesg) const processForm = JSON.parse(res.mesg);
this.getFormFieldList(processForm) this.getFormFieldList(processForm);
} }
}).catch(e => { }).catch(e => {
}) });
}) });
}, },
/** /**
* @description: 动态表单读取 * @description: 动态表单读取
*/ */
getFormFieldList (item) { getFormFieldList(item) {
console.log(item);
this.$nextTick(() => { this.$nextTick(() => {
this.qbfsForm = JSON.parse(JSON.stringify(item)) this.qbfsForm = JSON.parse(JSON.stringify(item));
}) let res = item.res ? item.res.substring(1, item.res.lastIndexOf("]")) : "";
res = res.split(",");
this.dataList = [];
res.forEach(item => {
this.dataList.push({
opinion: item.split("-")[1],
people: item.split("-")[0]
});
});
let list = [];
this.dataList.forEach(item => {
list.push(item.opinion);
this.findMost(list);
});
});
},
findMost(arr) {
if (!arr.length) return;
if (arr.length === 1) return 1;
let res = {};
let maxName, maxNum = 0;
// 遍历数组
arr.forEach((item) => {
res[item] ? res[item] += 1 : res[item] = 1;
if (res[item] > maxNum) {
maxName = item;
maxNum = res[item];
}
});
this.qbfsForm.nextStatus = maxName
// return "出现次数最多的元素为:" + maxName + ", 出现次数为:" + maxNum;
}, },
//流程提交 //流程提交
handleSubmit(){ handleSubmit() {
this.isSubmit = true this.isSubmit = true;
this.qbfsForm.commentText = this.commentText this.qbfsForm.commentText = this.commentText;
this.qbfsForm.dataList = this.dataList;
let json = JSON.stringify(this.qbfsForm); let json = JSON.stringify(this.qbfsForm);
this.$http.post('lawss/activiti/completeTask', { this.$http.post("lawss/activiti/completeTask", {
taskIds: this.$route.query.taskIds, taskIds: this.$route.query.taskIds,
userId: this.$store.getters.userInfo.userId, userId: this.$store.getters.userInfo.userId,
json: json, json: json
}, { }, {
_this: this _this: this
}, res => { }, res => {
if (res.success) { if (res.success) {
this.$message.success(res.message) this.$message.success(res.message);
this.$router.push('/processCenter') this.$router.push("/processCenter");
} }
this.isSubmit = false this.isSubmit = false;
}, e => { }, e => {
}); });
}, },
@@ -401,52 +434,74 @@ export default {
this.foldFormFlag = !this.foldFormFlag; this.foldFormFlag = !this.foldFormFlag;
}, },
//转办事件 //转办事件
handleTransfer(){ handleTransfer() {
this.drawerModal = true this.drawerModal = true;
this.drawerTitle = '转办处理人' this.drawerTitle = "转办处理人";
this.selectPeople = row this.selectPeople = row;
}, },
//确认转办 //确认转办
checkedRole (data) { checkedRole(data) {
this.assigneeNewLoading = true this.assigneeNewLoading = true;
changeAssigneeNew({ changeAssigneeNew({
taskId: this.$route.query.taskIds, // 任务id taskId: this.$route.query.taskIds, // 任务id
assignee: data[0].id, // 被委托人 assignee: data[0].id, // 被委托人
userId: this.$store.getters.userInfo.userId, // 委托人 userId: this.$store.getters.userInfo.userId, // 委托人
pId: this.$route.query.prcId // 流程实例 pId: this.$route.query.prcId // 流程实例
}).then(res => { }).then(res => {
this.isTransfer = false this.isTransfer = false;
if (res.success) { if (res.success) {
this.drawerModal = false this.drawerModal = false;
this.$message.success('调整成功') this.$message.success("调整成功");
this.$router.push("/processCenter"); this.$router.push("/processCenter");
this.processNum() this.processNum();
} else { } else {
this.$message.warning(res.message) this.$message.warning(res.message);
} }
}) });
}, },
// 请求转换流程图 // 请求转换流程图
processNum (row) { processNum(row) {
axios.request({ axios.request({
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(), url: "/api/lawss/activiti/getImg?_t=" + new Date().getTime(),
responseType: 'blob', responseType: "blob",
method: 'get', method: "get",
params: { params: {
prcNum: this.$route.query.prcNum prcNum: this.$route.query.prcNum
} }
}).then(res => { }).then(res => {
// let blob = new Blob([res.data], {type: 'image/jpg'}) // let blob = new Blob([res.data], {type: 'image/jpg'})
// let url = window.URL.createObjectURL(res.data) // let url = window.URL.createObjectURL(res.data)
this.processStep = window.URL.createObjectURL(res.data) this.processStep = window.URL.createObjectURL(res.data);
}) });
}, },
/**
* @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: { computed: {
listNoDataText() { listNoDataText() {
return this.processType === 1 ? "暂无待办流程" : "暂无已办流程"; return this.processType === 1 ? "暂无待办流程" : "暂无已办流程";
} }
}, }
}; };
</script> </script>
@@ -496,7 +496,7 @@ export default {
this.getStandDataBtn() this.getStandDataBtn()
this.ListModel = true; this.ListModel = true;
}, },
//企业标准查询this.standardSearch, //企业标准查询
getStandDataBtn(){ getStandDataBtn(){
this.$http.get('lawss/sarBussionessStand/getSarBussionStandPage',{ this.$http.get('lawss/sarBussionessStand/getSarBussionStandPage',{
standCode: this.standardSearch.standCode, standCode: this.standardSearch.standCode,
@@ -570,7 +570,7 @@ export default {
_formData.append('prcType', '23') _formData.append('prcType', '23')
_formData.append('json', JSON.stringify({ _formData.append('json', JSON.stringify({
roleForm: this.roleForm, roleForm: this.roleForm,
qbfsForm: this.qbfsForm, qbfsForm: this.standardSearch,
commentText: this.commentText commentText: this.commentText
})) }))
saveTaskFirst(_formData).then(res => { saveTaskFirst(_formData).then(res => {
@@ -589,9 +589,9 @@ export default {
this.$refs['roleForm'].validate((valid) => { this.$refs['roleForm'].validate((valid) => {
if (valid) { if (valid) {
this.isSubmit = true this.isSubmit = true
this.qbfsForm.commentText = this.commentText this.standardSearch.commentText = this.commentText
var json = Object.assign(this.qbfsForm, this.roleForm) var json = Object.assign(this.standardSearch, this.roleForm)
this.$http.get('lawss/activiti/startProcess', {type: '23'}, { this.$http.get('lawss/activiti/startProcess', {type: '24'}, {
_this: this _this: this
}, res => { }, res => {
if (res.ok) { if (res.ok) {
@@ -624,8 +624,8 @@ export default {
this.$refs['roleForm'].validate((valid) => { this.$refs['roleForm'].validate((valid) => {
if (valid) { if (valid) {
this.isSubmit = true this.isSubmit = true
this.qbfsForm.commentText = this.commentText this.standardSearch.commentText = this.commentText
var json = Object.assign(this.qbfsForm, this.roleForm) var json = Object.assign(this.standardSearch, this.roleForm)
this.$http.post('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,
@@ -22,18 +22,18 @@
> >
<el-row :gutter="24"> <el-row :gutter="24">
<el-col :span="24"> <el-col :span="24">
<el-form-item label="企标编号" prop="entNumber" class="add-form-item form-item-disabled"> <el-form-item label="企标编号" prop="standCode" class="add-form-item form-item-disabled">
<el-input <el-input
readonly readonly
v-model="qbfsForm.entNumber" v-model="qbfsForm.standCode"
placeholder="请输入企标编号" placeholder="请输入企标编号"
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="中文名称" prop="cnName" class="add-form-item form-item-disabled"> <el-form-item label="中文名称" prop="standName" class="add-form-item form-item-disabled">
<el-input <el-input
readonly readonly
v-model="qbfsForm.cnName" v-model="qbfsForm.standName"
placeholder="请输入中文名称" placeholder="请输入中文名称"
clearable clearable
></el-input> ></el-input>
@@ -309,11 +309,29 @@ export default {
}, },
//流程驳回 //流程驳回
beforeBack(){ beforeBack(){
this.isSubmit = true
this.qbfsForm.passFlag = '1'
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 => {
});
}, },
//流程提交 //流程提交
handleSubmit(){ handleSubmit(){
this.isSubmit = true this.isSubmit = true
this.qbfsForm.passFlag = '0'
this.qbfsForm.commentText = this.commentText this.qbfsForm.commentText = this.commentText
let json = JSON.stringify(this.qbfsForm); let json = JSON.stringify(this.qbfsForm);
this.$http.post('lawss/activiti/completeTask', { this.$http.post('lawss/activiti/completeTask', {
@@ -22,18 +22,18 @@
> >
<el-row :gutter="24"> <el-row :gutter="24">
<el-col :span="24"> <el-col :span="24">
<el-form-item label="企标编号" prop="entNumber" class="add-form-item form-item-disabled"> <el-form-item label="企标编号" prop="standCode" class="add-form-item form-item-disabled">
<el-input <el-input
readonly readonly
v-model="qbfsForm.entNumber" v-model="qbfsForm.standCode"
placeholder="请输入企标编号" placeholder="请输入企标编号"
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="中文名称" prop="cnName" class="add-form-item form-item-disabled"> <el-form-item label="中文名称" prop="standName" class="add-form-item form-item-disabled">
<el-input <el-input
readonly readonly
v-model="qbfsForm.cnName" v-model="qbfsForm.standName"
placeholder="请输入中文名称" placeholder="请输入中文名称"
clearable clearable
></el-input> ></el-input>
@@ -191,14 +191,12 @@
</div> </div>
</div> </div>
<ProcessFooter <ProcessFooter
show-back
show-transfer show-transfer
show-submit show-submit
:transfer-loading="isTransfer" :transfer-loading="isTransfer"
:submitLoading="isSubmit" :submitLoading="isSubmit"
:saveLoading="saveLoading" :saveLoading="saveLoading"
:approval="true" :approval="true"
@back="beforeBack"
@transfer="handleTransfer" @transfer="handleTransfer"
@submit="handleSubmit" @submit="handleSubmit"
> >
@@ -250,8 +248,8 @@ export default {
modalshowflag: false, // drawer开关 modalshowflag: false, // drawer开关
loading: false, loading: false,
qbfsForm:{ qbfsForm:{
entNumber: '', standCode: '',
cnName: '', standName: '',
enName: '', enName: '',
entCategory: '', entCategory: '',
replaceNumber: '', replaceNumber: '',
@@ -325,6 +323,8 @@ export default {
handleSubmit(){ handleSubmit(){
this.isSubmit = true this.isSubmit = true
this.qbfsForm.commentText = this.commentText this.qbfsForm.commentText = this.commentText
this.qbfsForm.presentPeople = this.$store.getters.userInfo.userName
this.qbfsForm.presentPeopleId = this.$store.getters.userInfo.userId
let json = JSON.stringify(this.qbfsForm); let json = JSON.stringify(this.qbfsForm);
this.$http.post('lawss/activiti/completeTask', { this.$http.post('lawss/activiti/completeTask', {
taskIds: this.$route.query.taskIds, taskIds: this.$route.query.taskIds,
@@ -0,0 +1,622 @@
<template>
<div class="qbfz-step4">
<ProcessHeader toggle>
<template slot="proName">企标废止流程</template>
<template slot="proNode">起草人修改标准状态</template>
</ProcessHeader>
<div class="headerTabs">
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
<div class="headerTabsItem" :class="active === '3' ? 'active' : ''" @click="handleTabs('3')">审批历史</div>
</div>
<process-title>
<template slot="title">基础信息</template>
</process-title>
<div class="content" v-show="active === '1'">
<div style="flex: auto; overflow: auto">
<el-form
ref="qbfsForm"
:model="qbfsForm"
:rules="formRules"
class="label-input-form prc-content-border"
label-width="150px"
>
<div v-if="foldFormFlag">
<el-row :gutter="24">
<el-col :span="12">
<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="nextStatus" class="add-form-item ">
<el-select v-model="qbfsForm.nextStatus" placeholder="请选择下一步状态">
<el-option
v-for="item in associationOptions"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<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.name }}
<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 class="add-form-item ">
</el-form-item>
<!-- <el-form-item label="工作组成员" prop="jgUser" class="add-form-item form-item-disabled">-->
<!-- <el-input-->
<!-- v-model="qbfsForm.jgUser"-->
<!-- placeholder="请选择工作组成员"-->
<!-- clearable-->
<!-- ></el-input>-->
<!-- </el-form-item>-->
</el-col>
</el-row>
</div>
</el-form>
<el-button style="width: 100%" :icon="foldFormFlag ? 'el-icon-caret-top' : 'el-icon-caret-bottom'"
@click="foldForm">{{ foldFormFlag ? "隐藏基础信息" : "展开基础信息" }}
</el-button>
<process-title>
<template slot="title">审核信息</template>
</process-title>
<el-table
:data="dataList"
border
height="52%"
style="width: 100%;"
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
fontWeight: 'bold', height: '48px'}">
<el-table-column
type="selection"
width="55"
align="center">
</el-table-column>
<el-table-column
prop="opinion"
align="center"
label="审核意见">
</el-table-column>
<el-table-column
prop="people"
align="center"
label="审核人">
</el-table-column>
</el-table>
</div>
<div>
<el-collapse accordion>
<el-collapse-item title="回执说明">
<div style="margin: 10px 0;">
<el-input
type="textarea"
:rows="3"
resize="none"
placeholder="请输入意见"
v-model="commentText">
</el-input>
</div>
</el-collapse-item>
</el-collapse>
</div>
</div>
<div class="content" v-show="active === '3'">
<div class="flow-list">
<el-table
height="100%"
ref="selection"
:data="detailData"
tooltip-effect="dark"
style="width: 100%"
border
row-key="id"
:no-data-text="listNoDataText"
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}"
>
<el-table-column
type="selection"
width="55"
align="center">
</el-table-column>
<el-table-column
prop="name"
label="任务步骤"
align="center"
>
</el-table-column>
<el-table-column
prop="assignee"
label="任务受理人"
align="center"
>
</el-table-column>
<el-table-column
prop="createTime"
label="创建时间"
sortable="custom"
align="center">
<template slot-scope="scope">
<span>{{ scope.row.createTime ? $moment(scope.row.createTime).format("YYYY-MM-DD") : "" }}</span>
</template>
</el-table-column>
<el-table-column
prop="endTime"
label="完成时间"
align="center">
<template slot-scope="scope">
<span>{{ scope.row.endTime ? $moment(scope.row.endTime).format("YYYY-MM-DD") : "" }}</span>
</template>
</el-table-column>
<el-table-column
prop="comment"
label="流程信息"
align="center">
<template slot-scope="scope">
<span>{{ scope.row.commentText }}</span>
</template>
</el-table-column>
<el-table-column
prop="completeFlag"
label="状态"
align="center">
<template slot-scope="scope">
<span>{{ scope.row.endTime ? "已完成" : "未完成" }}</span>
</template>
</el-table-column>
</el-table>
<loading :loading="loading">流程列表加载中</loading>
</div>
</div>
<ProcessFooter
show-transfer
show-submit
:transfer-loading="isTransfer"
:submitLoading="isSubmit"
:saveLoading="saveLoading"
:approval="true"
@transfer="handleTransfer"
@submit="handleSubmit"
>
</ProcessFooter>
<!-- 福田全公司选人解决方案 -->
<Role-tree
check-box
:is-title="drawerTitle"
:is-visible.sync="drawerModal"
@checkedRole="checkedRole"
:nodeList="nodeList"
></Role-tree>
</div>
</template>
<script>
import ProcessHeader from "../../components/ProcessHeader";
import ProcessFooter from "../../components/ProcessFooter";
import ProcessTitle from "../../components/ProcessTitle";
import { changeAssigneeNew, inboundLiaisonDetail, saveTaskFirst } from "api/process";
export default {
name: "qbfzStep4",
components: {
ProcessHeader,
ProcessFooter,
ProcessTitle
},
data() {
return {
active: "1",
isTransfer: false,
isSubmit: false,
saveLoading: false,
drawerModal: false,
drawerTitle: "",
nodeList: [],
fileList: [],
commentText: "",
dataList: [],
detailData: [],
loading: false,
foldFormFlag: true,
qbfsForm: {
entNumber: "",
cnName: "",
enName: "",
entCategory: "",
replaceNumber: "",
replacedNumber: "",
releaseDate: "",
implementDate: "",
reviewDate: "",
nextStatus: ""
},
formRules: {
nextStatus: [
{ required: true, message: "请选择下一步状态", trigger: "change" }
]
},
associationOptions: [{
value: "修订",
label: "修订"
}, {
value: "废止",
label: "废止"
}, {
value: "有效",
label: "有效"
}]
};
},
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));
let res = item.res ? item.res.substring(1, item.res.lastIndexOf("]")) : "";
res = res.split(",");
this.dataList = [];
res.forEach(item => {
this.dataList.push({
opinion: item.split("-")[1],
people: item.split("-")[0]
});
});
let list = [];
this.dataList.forEach(item => {
list.push(item.opinion);
this.findMost(list);
});
});
},
findMost(arr) {
if (!arr.length) return;
if (arr.length === 1) return 1;
let res = {};
let maxName, maxNum = 0;
// 遍历数组
arr.forEach((item) => {
res[item] ? res[item] += 1 : res[item] = 1;
if (res[item] > maxNum) {
maxName = item;
maxNum = res[item];
}
});
this.qbfsForm.nextStatus = maxName
// return "出现次数最多的元素为:" + maxName + ", 出现次数为:" + maxNum;
},
//流程提交
handleSubmit() {
this.isSubmit = true;
this.qbfsForm.commentText = this.commentText;
this.qbfsForm.dataList = this.dataList;
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 => {
});
},
handleTabs(name) {
this.active = name;
},
foldForm() {
this.foldFormFlag = !this.foldFormFlag;
},
//转办事件
handleTransfer() {
this.drawerModal = true;
this.drawerTitle = "转办处理人";
this.selectPeople = row;
},
//确认转办
checkedRole(data) {
this.assigneeNewLoading = 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 => {
this.isTransfer = false;
if (res.success) {
this.drawerModal = false;
this.$message.success("调整成功");
this.$router.push("/processCenter");
this.processNum();
} else {
this.$message.warning(res.message);
}
});
},
// 请求转换流程图
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);
});
},
/**
* @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/style';
.qbfz-step4 {
/deep/ .el-drawer__container {
.prc-content-border {
border: none;
padding: 0 20px 0;
}
}
.fileClass {
cursor: pointer;
}
.fileClass:hover {
color: #0c91e5;
}
p {
& > a {
cursor: pointer;
}
& > i {
display: inline-block;
margin-left: 3px;
width: 18px;
height: 16px;
background-repeat: no-repeat;
background-size: 100% 100%;
background-position: center center;
vertical-align: sub;
cursor: pointer;
}
.icon-download {
background-image: url("~assets/images/shangqi/img/download.png");
}
.icon-download2 {
background-image: url("~assets/images/shangqi/img/download2.png");
}
}
.choiceBtn {
.el-button--primary {
width: 150px;
}
}
position: relative;
height: 100%;
.headerTabs {
height: 52px;
display: flex;
align-items: center;
position: absolute;
top: 0;
right: 10px;
.headerTabsItem {
border: 1px solid #c1c1c1;
padding: 0 5px;
height: 30px;
line-height: 30px;
cursor: pointer;
}
.active {
border: 1px solid #E6A23C;
color: #fff;
background: #E6A23C;
}
}
.content {
display: flex;
flex-direction: column;
justify-content: space-between;
height: calc(~'100% - 103px');
overflow: auto;
.tableTitle {
margin-bottom: 10px;
height: 30px;
line-height: 30px;
position: relative;
font-size: 13px;
font-weight: bold;
.tableButton {
position: absolute;
right: 0;
top: 0;
}
.accessStandardsAndRegulations {
height: 100%;
}
}
}
.add-form-el-select {
/deep/ .el-select {
width: 210px;
}
}
.demo-drawer-content {
margin-top: 10px;
}
}
</style>
@@ -1570,6 +1570,43 @@ export default {
}) })
} }
break break
case '24':
if (row.taskInfo === '标准法规部部长审核') {
this.$router.push({
name: 'qbfzStep2',
query:{
taskIds: row.taskIds,
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
prcType: row.prcType
}
})
} else if(row.taskInfo === '会签并填写意见') {
this.$router.push({
name: 'qbfzStep3',
query:{
taskIds: row.taskIds,
prcId: row.prcId,
prcNum: row.prcNum,
prcName: row.prcName,
prcType: row.prcType
}
})
}
// else if(row.taskInfo === '工作组组长审批') {
// this.$router.push({
// name: 'qbfsStep4',
// query:{
// taskIds: row.taskIds,
// prcId: row.prcId,
// prcNum: row.prcNum,
// prcName: row.prcName,
// prcType: row.prcType
// }
// })
// }
break
} }
}, },
...mapMutations(['setProcess', 'setHandleInfo']), ...mapMutations(['setProcess', 'setHandleInfo']),
@@ -79,22 +79,23 @@ export default {
} }
} }
}); });
if(this.country === true){ this.tabValue = this.country ? 'listOfCountries' : (this.project ? 'listProject' : (this.tracking ? 'listTracking' : (this.other ? 'listOther' : (this.library ? 'localProductsOrProjectLibrary' : ''))))
this.tabValue = "listOfCountries" // if(this.country){
return; // this.tabValue = "listOfCountries"
}else if(this.project === true){ // return;
this.tabValue = "listProject" // }else if(this.project){
return; // this.tabValue = "listProject"
}else if(this.tracking === true){ // return;
this.tabValue = "listTracking" // }else if(this.tracking){
return; // this.tabValue = "listTracking"
}else if(this.other === true){ // return;
this.tabValue = "listOther" // }else if(this.other){
return; // this.tabValue = "listOther"
}else if(this.library === true){ // return;
this.tabValue = "localProductsOrProjectLibrary" // }else if(this.library){
return; // this.tabValue = "localProductsOrProjectLibrary"
} // return;
// }
}, },
beforeRouteLeave(to, from, next) { beforeRouteLeave(to, from, next) {
const toName = ["ListOfStandardsAndRegulationsDetails", "AccessStandardDetails", "LocalProductDetail", "OtherAddEit"]; const toName = ["ListOfStandardsAndRegulationsDetails", "AccessStandardDetails", "LocalProductDetail", "OtherAddEit"];
@@ -1,88 +1,50 @@
<template> <template>
<div class="data-statis"> <div class="data-statis">
<el-tabs v-model="activeName" @tab-click="handleClick"> <el-tabs v-model="activeName" @tab-click="handleClick">
<el-tab-pane label="协会信息数据统计" name="first" ref="listOfSociety" :key="'first'"> <el-tab-pane label="协会信息数据统计" name="listOfSociety">
<child1 v-if="isChildUpdate1"></child1> <list-of-society></list-of-society>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="委员信息数据统计" name="second" ref="listOfMember" :key="'second'"> <el-tab-pane label="委员信息数据统计" name="listOfMember">
<child2 v-if="isChildUpdate2"></child2> <list-of-member></list-of-member>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="参与外部协会会议统计" name="third" :key="'third'"> <el-tab-pane label="参与外部协会会议统计" name="listOfMeeting">
<child3 v-if="isChildUpdate3"></child3> <list-of-meeting></list-of-meeting>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="参与外部标准制修订信息统计" name="fourth" :key="'fourth'"> <el-tab-pane label="参与外部标准制修订信息统计" name="listOfStandard">
<child4 v-if="isChildUpdate4"></child4> <list-of-standard></list-of-standard>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="标准法规研究项目费用统计信息" name="fifth" :key="'fifth'"> <el-tab-pane label="标准法规研究项目费用统计信息" name="listOfCost">
<child5 v-if="isChildUpdate5"></child5> <list-of-cost></list-of-cost>
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
</div> </div>
</template> </template>
<script> <script>
import listOfSociety from "../dataStatis/page/listOfSociety"; import listOfSociety from "./page/listOfSociety";
import listOfMember from "../dataStatis/page/listOfMember"; import listOfMember from "./page/listOfMember";
import listOfMeeting from "../dataStatis/page/listOfMeeting"; import listOfMeeting from "./page/listOfMeeting";
import listOfStandard from "../dataStatis/page/listOfStandard"; import listOfStandard from "./page/listOfStandard";
import listOfCost from "../dataStatis/page/listOfCost"; import listOfCost from "./page/listOfCost";
export default { export default {
name: "dataStatisComments", name: "dataStatisComments",
components: { components: {
child1: listOfSociety, listOfSociety,
child2: listOfMember, listOfMember,
child3: listOfMeeting, listOfMeeting,
child4: listOfStandard, listOfStandard,
child5: listOfCost listOfCost
}, },
data() { data() {
return { return {
activeName: 'first', activeName: 'listOfSociety',
isChildUpdate1: true,
isChildUpdate2: false,
isChildUpdate3: false,
isChildUpdate4: false,
isChildUpdate5: false
} }
}, },
mounted() { mounted() {
}, },
methods: { methods: {
handleClick(tab) { handleClick(tab) {
if (tab.name === 'first') {
this.isChildUpdate1 = true
this.isChildUpdate2 = false
this.isChildUpdate3 = false
this.isChildUpdate4 = false
this.isChildUpdate5 = false
} else if (tab.name === 'second') {
this.isChildUpdate1 = false
this.isChildUpdate2 = true
this.isChildUpdate3 = false
this.isChildUpdate4 = false
this.isChildUpdate5 = false
} else if (tab.name === 'third') {
this.isChildUpdate1 = false
this.isChildUpdate2 = false
this.isChildUpdate3 = true
this.isChildUpdate4 = false
this.isChildUpdate5 = false
} else if (tab.name === 'fourth') {
this.isChildUpdate1 = false
this.isChildUpdate2 = false
this.isChildUpdate3 = false
this.isChildUpdate4 = true
this.isChildUpdate5 = false
} else if (tab.name === 'fifth') {
this.isChildUpdate1 = false
this.isChildUpdate2 = false
this.isChildUpdate3 = false
this.isChildUpdate4 = false
this.isChildUpdate5 = true
}
} }
} }
@@ -95,7 +95,7 @@
<loading :loading="loading">加载中...</loading> <loading :loading="loading">加载中...</loading>
<pagination <pagination
:page="formQuery.page" :page="formQuery.page"
:total="formQuery.tableTotal" :total="tableTotal"
@pageChange="pageChange" @pageChange="pageChange"
@pageSizeChange="pageSizeChange"/> @pageSizeChange="pageSizeChange"/>
</div> </div>
@@ -161,8 +161,8 @@ export default {
current: 1, current: 1,
page: 1, page: 1,
pageSize: this.$store.getters.userInfo.configContent, pageSize: this.$store.getters.userInfo.configContent,
tableTotal: 0
}, },
tableTotal: 0,
tableData: [], tableData: [],
multipleSelection: [], multipleSelection: [],
formShowData: { formShowData: {
@@ -227,7 +227,7 @@ export default {
flex-direction: column; flex-direction: column;
.el-form-item { .el-form-item {
margin-bottom: 0px; margin-bottom: 10px;
} }
.el-divider--horizontal { .el-divider--horizontal {
@@ -95,7 +95,7 @@
<loading :loading="loading">加载中...</loading> <loading :loading="loading">加载中...</loading>
<pagination <pagination
:page="formQuery.page" :page="formQuery.page"
:total="formQuery.tableTotal" :total="tableTotal"
@pageChange="pageChange" @pageChange="pageChange"
@pageSizeChange="pageSizeChange"/> @pageSizeChange="pageSizeChange"/>
</div> </div>
@@ -183,8 +183,8 @@ export default {
current: 1, current: 1,
page: 1, page: 1,
pageSize: this.$store.getters.userInfo.configContent, pageSize: this.$store.getters.userInfo.configContent,
tableTotal: 0
}, },
tableTotal: 0,
tableData: [], tableData: [],
multipleSelection: [], multipleSelection: [],
formShowData: { formShowData: {
@@ -253,7 +253,7 @@ export default {
flex-direction: column; flex-direction: column;
.el-form-item { .el-form-item {
margin-bottom: 0px; margin-bottom: 10px;
} }
.el-divider--horizontal { .el-divider--horizontal {
@@ -171,7 +171,7 @@
<loading :loading="loading">加载中...</loading> <loading :loading="loading">加载中...</loading>
<pagination <pagination
:page="formQuery.page" :page="formQuery.page"
:total="formQuery.tableTotal" :total="tableTotal"
@pageChange="pageChange" @pageChange="pageChange"
@pageSizeChange="pageSizeChange"/> @pageSizeChange="pageSizeChange"/>
</div> </div>
@@ -294,8 +294,8 @@ export default {
current: 1, current: 1,
page: 1, page: 1,
pageSize: this.$store.getters.userInfo.configContent, pageSize: this.$store.getters.userInfo.configContent,
tableTotal: 0
}, },
tableTotal: 0,
tableData: [], tableData: [],
multipleSelection: [], multipleSelection: [],
formShowData: { formShowData: {
@@ -373,7 +373,7 @@ export default {
position: inherit!important; position: inherit!important;
} }
.el-form-item { .el-form-item {
margin-bottom: 0px; margin-bottom: 10px;
} }
.el-divider--horizontal { .el-divider--horizontal {
@@ -172,7 +172,7 @@
<loading :loading="loading">加载中...</loading> <loading :loading="loading">加载中...</loading>
<pagination <pagination
:page="formQuery.page" :page="formQuery.page"
:total="formQuery.tableTotal" :total="tableTotal"
@pageChange="pageChange" @pageChange="pageChange"
@pageSizeChange="pageSizeChange"/> @pageSizeChange="pageSizeChange"/>
</div> </div>
@@ -293,8 +293,8 @@ export default {
current: 1, current: 1,
page: 1, page: 1,
pageSize: this.$store.getters.userInfo.configContent, pageSize: this.$store.getters.userInfo.configContent,
tableTotal: 0
}, },
tableTotal: 0,
tableData: [], tableData: [],
multipleSelection: [], multipleSelection: [],
@@ -390,7 +390,7 @@ export default {
position: inherit!important; position: inherit!important;
} }
.el-form-item { .el-form-item {
margin-bottom: 0px; margin-bottom: 10px;
} }
.el-divider--horizontal { .el-divider--horizontal {
@@ -97,7 +97,7 @@
<loading :loading="loading">加载中...</loading> <loading :loading="loading">加载中...</loading>
<pagination <pagination
:page="formQuery.page" :page="formQuery.page"
:total="formQuery.tableTotal" :total="tableTotal"
@pageChange="pageChange" @pageChange="pageChange"
@pageSizeChange="pageSizeChange"/> @pageSizeChange="pageSizeChange"/>
</div> </div>
@@ -270,10 +270,10 @@ export default {
nature: '', nature: '',
state: '', state: '',
currentPage: 1, currentPage: 1,
tableTotal: 0,
page: 1, page: 1,
pageSize: 10, pageSize: 10,
}, },
tableTotal: 0,
tableData: [], tableData: [],
multipleSelection: [], multipleSelection: [],
drawer: false, drawer: false,
@@ -420,7 +420,7 @@ export default {
position: inherit!important; position: inherit!important;
} }
.el-form-item { .el-form-item {
margin-bottom: 0px; margin-bottom: 10px;
} }
.el-divider--horizontal { .el-divider--horizontal {
@@ -233,7 +233,7 @@
<loading :loading="loading">加载中...</loading> <loading :loading="loading">加载中...</loading>
<pagination <pagination
:page="formQuery.page" :page="formQuery.page"
:total="formQuery.tableTotal" :total="tableTotal"
@pageChange="pageChange" @pageChange="pageChange"
@pageSizeChange="pageSizeChange"/> @pageSizeChange="pageSizeChange"/>
</div> </div>
@@ -395,8 +395,9 @@ export default {
current: 1, current: 1,
page: 1, page: 1,
pageSize: this.$store.getters.userInfo.configContent, pageSize: this.$store.getters.userInfo.configContent,
tableTotal: 0
}, },
tableTotal: 0,
tableData: [], tableData: [],
multipleSelection: [], multipleSelection: [],
@@ -483,7 +484,7 @@ export default {
position: inherit!important; position: inherit!important;
} }
.el-form-item { .el-form-item {
margin-bottom: 0px; margin-bottom: 10px;
} }
.el-divider--horizontal { .el-divider--horizontal {
@@ -99,7 +99,7 @@
<loading :loading="loading">加载中...</loading> <loading :loading="loading">加载中...</loading>
<pagination <pagination
:page="formQuery.page" :page="formQuery.page"
:total="formQuery.tableTotal" :total="tableTotal"
@pageChange="pageChange" @pageChange="pageChange"
@pageSizeChange="pageSizeChange"/> @pageSizeChange="pageSizeChange"/>
</div> </div>
@@ -167,8 +167,8 @@ export default {
current: 1, current: 1,
page: 1, page: 1,
pageSize: this.$store.getters.userInfo.configContent, pageSize: this.$store.getters.userInfo.configContent,
tableTotal: 0
}, },
tableTotal: 0,
tableData: [], tableData: [],
multipleSelection: [], multipleSelection: [],
@@ -241,7 +241,7 @@ export default {
position: inherit!important; position: inherit!important;
} }
.el-form-item { .el-form-item {
margin-bottom: 0px; margin-bottom: 10px;
} }
.el-divider--horizontal { .el-divider--horizontal {
@@ -115,7 +115,7 @@
<loading :loading="loading">加载中...</loading> <loading :loading="loading">加载中...</loading>
<pagination <pagination
:page="formQuery.page" :page="formQuery.page"
:total="formQuery.tableTotal" :total="tableTotal"
@pageChange="pageChange" @pageChange="pageChange"
@pageSizeChange="pageSizeChange"/> @pageSizeChange="pageSizeChange"/>
</div> </div>
@@ -210,8 +210,8 @@ export default {
current: 1, current: 1,
page: 1, page: 1,
pageSize: this.$store.getters.userInfo.configContent, pageSize: this.$store.getters.userInfo.configContent,
tableTotal: 0
}, },
tableTotal: 0,
tableData: [], tableData: [],
multipleSelection: [], multipleSelection: [],
@@ -276,7 +276,7 @@ export default {
position: inherit!important; position: inherit!important;
} }
.el-form-item { .el-form-item {
margin-bottom: 0px; margin-bottom: 10px;
} }
.el-divider--horizontal { .el-divider--horizontal {
@@ -101,7 +101,7 @@
<loading :loading="loading">加载中...</loading> <loading :loading="loading">加载中...</loading>
<pagination <pagination
:page="formQuery.page" :page="formQuery.page"
:total="formQuery.tableTotal" :total="tableTotal"
@pageChange="pageChange" @pageChange="pageChange"
@pageSizeChange="pageSizeChange"/> @pageSizeChange="pageSizeChange"/>
</div> </div>
@@ -179,8 +179,8 @@ export default {
current: 1, current: 1,
page: 1, page: 1,
pageSize: this.$store.getters.userInfo.configContent, pageSize: this.$store.getters.userInfo.configContent,
tableTotal: 0
}, },
tableTotal: 0,
tableData: [], tableData: [],
multipleSelection: [], multipleSelection: [],
dialogVisible1: false, dialogVisible1: false,
@@ -221,7 +221,7 @@ export default {
this.loading = false this.loading = false
} }
this.tableData = res.data.list this.tableData = res.data.list
this.formQuery.tableTotal = res.data.count this.tableTotal = res.data.count
}) })
}, },
/** 表格多选 */ /** 表格多选 */
@@ -304,7 +304,7 @@ export default {
queryForm() { queryForm() {
queryStatistics(this.formQuery).then(res=>{ queryStatistics(this.formQuery).then(res=>{
this.tableData = res.data.list this.tableData = res.data.list
this.formQuery.tableTotal = res.data.count this.tableTotal = res.data.count
}) })
}, },
//清空 //清空
@@ -106,7 +106,7 @@
<loading :loading="loading">加载中...</loading> <loading :loading="loading">加载中...</loading>
<pagination <pagination
:page="formQuery.page" :page="formQuery.page"
:total="formQuery.tableTotal" :total="tableTotal"
@pageChange="pageChange" @pageChange="pageChange"
@pageSizeChange="pageSizeChange"/> @pageSizeChange="pageSizeChange"/>
</div> </div>
@@ -205,8 +205,8 @@ export default {
current: 1, current: 1,
page: 1, page: 1,
pageSize: this.$store.getters.userInfo.configContent, pageSize: this.$store.getters.userInfo.configContent,
tableTotal: 0
}, },
tableTotal: 0,
tableData: [], tableData: [],
multipleSelection: [], multipleSelection: [],
formShowData: { formShowData: {
@@ -280,7 +280,7 @@ export default {
position: inherit!important; position: inherit!important;
} }
.el-form-item { .el-form-item {
margin-bottom: 0px; margin-bottom: 10px;
} }
.el-divider--horizontal { .el-divider--horizontal {
+9
View File
@@ -1476,6 +1476,15 @@ const routes = [
title: '企标废止流程' title: '企标废止流程'
} }
}, },
{
path: '/qbfzStep4',
name: 'qbfzStep4',
component: () => import('@/pages/processCenter/pages/creatProcess/qbfz/step4.vue'),
meta: {
requireAuth: true,
title: '企标废止流程'
}
},
//企标制修订计划管控流程 //企标制修订计划管控流程
{ {
path: '/qbzxdjhgkStep1', path: '/qbzxdjhgkStep1',