Commit b13bce20 by lp784568205

Merge branch 'dev_xzeq' of http://47.92.108.28/changchao/founder_vue into dev_xzeq

parents 0e861248 d9f5cb71
...@@ -80,3 +80,7 @@ export const getAllHbInfoByFpbh = params => ...@@ -80,3 +80,7 @@ export const getAllHbInfoByFpbh = params =>
//附件下载 //附件下载
export const downloadZczlAttachment = params => export const downloadZczlAttachment = params =>
post(`${base.alyIP}/zczl/downloadZczlAttachment`, params); post(`${base.alyIP}/zczl/downloadZczlAttachment`, params);
//指令详情流程信息
export const getZczlFlowInformation = params =>
post(`${base.alyIP}/zczl/getZczlFlowInformation`, params);
...@@ -144,7 +144,6 @@ export default { ...@@ -144,7 +144,6 @@ export default {
}, },
submit(params) { submit(params) {
let self = this; let self = this;
console.log(this.$refs.formCompontent.fileLists)
if (this.$refs.formCompontent.fileLists.file.length == 0) { if (this.$refs.formCompontent.fileLists.file.length == 0) {
this.$message.error("请选择附件"); this.$message.error("请选择附件");
return; return;
...@@ -189,7 +188,7 @@ export default { ...@@ -189,7 +188,7 @@ export default {
} }
params.append("xsbh", this.xsbh); params.append("xsbh", this.xsbh);
params.append("xsType", this.xsType); params.append("xsType", this.xsType);
params.append("module", this.module); params.append("module", this.module);
doAddZczlxx(params).then((res) => { doAddZczlxx(params).then((res) => {
if (res.success && res.code == 200) { if (res.success && res.code == 200) {
this.$alert("保存成功!", "提示", { this.$alert("保存成功!", "提示", {
......
...@@ -439,7 +439,8 @@ import { ...@@ -439,7 +439,8 @@ import {
getHbspInfo, getHbspInfo,
getAllHbInfoByFpbh, getAllHbInfoByFpbh,
doEvaluate, doEvaluate,
getAllResponseFromMe getAllResponseFromMe,
getZczlFlowInformation
} from "@/api/zczl/zczl.js" } from "@/api/zczl/zczl.js"
import SelectTreeDialog from "@c/treeCode_components.vue"; import SelectTreeDialog from "@c/treeCode_components.vue";
import axios from "@/utils/http.js" import axios from "@/utils/http.js"
...@@ -513,7 +514,6 @@ export default { ...@@ -513,7 +514,6 @@ export default {
qsrgajgdm: [], qsrgajgdm: [],
qsrjh: '', qsrjh: '',
fpgzyq: '', fpgzyq: '',
qsrgajgdm: ''
}, },
activities: [ activities: [
{ {
...@@ -534,7 +534,8 @@ export default { ...@@ -534,7 +534,8 @@ export default {
}, { }, {
content: '默认样式的节点', content: '默认样式的节点',
timestamp: '2018-04-03 20:46' timestamp: '2018-04-03 20:46'
}], }
],
unitChilds: [], unitChilds: [],
unitCode: [], unitCode: [],
info: { info: {
...@@ -720,9 +721,9 @@ export default { ...@@ -720,9 +721,9 @@ export default {
adopt(i) { adopt(i) {
this.SPform.spsftg = i this.SPform.spsftg = i
this.SPform.zczlbh = this.zczlbh this.SPform.zczlbh = this.zczlbh
this.SPform.fpbh = this.fpbh
if (this.sub === 'HBSP') { if (this.sub === 'HBSP') {
this.SPform.hbbh = this.hbbh this.SPform.hbbh = this.hbbh
this.SPform.fpbh = this.fpbh
} }
this.$emit('post', this.SPform) this.$emit('post', this.SPform)
},//需要我审批模块 },//需要我审批模块
...@@ -774,7 +775,20 @@ export default { ...@@ -774,7 +775,20 @@ export default {
this.info = res.data this.info = res.data
} }
this.mainLoading = false; this.mainLoading = false;
}) });
/*获取指令流程接口,需要该功能时放开注释*/
/* getZczlFlowInformation({zczlbh: this.zczlbh, fpbh: this.fpbh}).then(res => {
if (res.code === 200 && res.data.result.length > 0) {
for (let i = 0; i < res.data.result.length; i++) {
let label = {};
label.content = res.data.result[i].bljyqk;
label.timestamp = res.data.result[i].djsj;
label.color = '#0bbd87';
label.icon = 'el-icon-success';
this.activities.push(label);
}
}
})*/
/* getAllHbInfoByFpbh({fpbh: this.fpbh, zczlbh: this.zczlbh}).then(res => { /* getAllHbInfoByFpbh({fpbh: this.fpbh, zczlbh: this.zczlbh}).then(res => {
if (res.code === 200) { if (res.code === 200) {
this.melist = res.data.hbDetailList this.melist = res.data.hbDetailList
......
...@@ -18,10 +18,12 @@ ...@@ -18,10 +18,12 @@
ref="rightContent" ref="rightContent"
> >
<template #btnGroup="scope"> <template #btnGroup="scope">
<el-button @click="dele(scope.scope)" type="text" v-if="scope.scope.row.spsftg != '通过'">删除</el-button> <el-button @click="dele(scope.scope)" type="text"
v-if="scope.scope.row.spsftg == '草稿'||scope.scope.row.spsftg == '未通过'">删除
</el-button>
<el-button @click="ONPJ(scope.scope)" type="text" v-if="scope.scope.row.nfpj=='1'">评价</el-button> <el-button @click="ONPJ(scope.scope)" type="text" v-if="scope.scope.row.nfpj=='1'">评价</el-button>
<el-button @click="examine(scope.scope)" <el-button @click="examine(scope.scope)"
v-if="scope.scope.row.spsftg == '未通过' || scope.scope.row.spsftg == '草稿'" type="text">提请审批 v-if="scope.scope.row.spsftg == '草稿'" type="text">提请审批
</el-button> </el-button>
</template> </template>
</right-content> </right-content>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment