|
@@ -25,6 +25,7 @@
|
|
|
ref="TableList"
|
|
|
@clickDemand="clickDemand"
|
|
|
@changeNum="changeNum"
|
|
|
+ @changeSize="changeSize"
|
|
|
></tableList>
|
|
|
</div>
|
|
|
<div class="tabbox" v-if="this.childname == 'three'">
|
|
@@ -53,12 +54,12 @@
|
|
|
<!-- <el-table-column label="结算金额" prop="replyContent"></el-table-column> -->
|
|
|
<el-table-column label="麦穗" prop="gys1Price"></el-table-column>
|
|
|
<el-table-column label="神笔" prop="gys2Price"></el-table-column>
|
|
|
- <el-table-column label="状态" prop="taskName"></el-table-column>
|
|
|
+ <el-table-column label="状态" prop="taskname"></el-table-column>
|
|
|
<el-table-column label="操作" fixed="right" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button size="mini" type="text" @click="getinform(scope.row)" v-if="scope.row.taskName == null">
|
|
|
+ <el-button size="mini" type="text" @click="getinform(scope.row)" v-if="scope.row.taskname == null || scope.row.taskname == '起草'">
|
|
|
任务下发</el-button>
|
|
|
- <el-button size="mini" type="text" @click="chakanfaqi(scope.row)" v-if="scope.row.taskName != null">
|
|
|
+ <el-button size="mini" type="text" @click="chakanfaqi(scope.row)" v-if="scope.row.taskname != null && scope.row.taskname != '起草'">
|
|
|
查看</el-button>
|
|
|
</template>
|
|
|
<!-- <template slot-scope="scope">
|
|
@@ -100,6 +101,7 @@
|
|
|
<el-dialog
|
|
|
title="处理操作"
|
|
|
:visible.sync="dialogVisible1"
|
|
|
+ v-if="dialogVisible1"
|
|
|
:before-close="handleCloses"
|
|
|
width="100%"
|
|
|
height="100vh"
|
|
@@ -137,6 +139,7 @@
|
|
|
class="dialogClass"
|
|
|
top="0"
|
|
|
:modal="false"
|
|
|
+ :show-close="false"
|
|
|
:modal-append-to-body="true"
|
|
|
>
|
|
|
<span class="dialog-body">
|
|
@@ -205,7 +208,7 @@
|
|
|
</el-col>
|
|
|
<el-col :span="8" style="width: 410px">
|
|
|
<el-form-item prop="gys" label="供应商">
|
|
|
- <!-- <span>供应商</span> -->
|
|
|
+ <!-- <span>供应商</span>省公司宣传负责人 -->
|
|
|
<el-select
|
|
|
@change="gysMing(1, $event)"
|
|
|
clearable
|
|
@@ -307,7 +310,7 @@
|
|
|
</div>
|
|
|
</template> -->
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="操作" fixed="right" align="center" v-if="this.infolist.tabletaskName == '起草'">
|
|
|
+ <el-table-column label="操作" fixed="right" align="center" v-if="this.infolist.tabletaskName == '起草' || this.infolist.tabletaskName == '地市宣传负责人'">
|
|
|
<template slot-scope="scope">
|
|
|
<el-button size="mini" type="text" @click="updatexiuform(scope.row)" :disabled="xiugaizhuan">
|
|
|
修改</el-button>
|
|
@@ -401,7 +404,8 @@
|
|
|
width="50%"
|
|
|
:destroy-on-close="true"
|
|
|
:modal-append-to-body="false"
|
|
|
- :close-on-click-modal="false"
|
|
|
+
|
|
|
+ :show-close="false"
|
|
|
:before-close="closedia"
|
|
|
>
|
|
|
<el-form
|
|
@@ -418,6 +422,7 @@
|
|
|
clearable
|
|
|
v-model="rulelist.useCase"
|
|
|
placeholder="使用场景"
|
|
|
+ disabled
|
|
|
>
|
|
|
<el-option
|
|
|
v-for="(items, index) in useCaseopt"
|
|
@@ -432,6 +437,7 @@
|
|
|
<el-select
|
|
|
v-model="rulelist.formType"
|
|
|
placeholder="请选择表单类型"
|
|
|
+ disabled
|
|
|
>
|
|
|
<el-option
|
|
|
v-for="(item, index) in optionList"
|
|
@@ -447,6 +453,7 @@
|
|
|
clearable
|
|
|
v-model="rulelist.material"
|
|
|
placeholder="物料名称"
|
|
|
+ disabled
|
|
|
>
|
|
|
<el-option
|
|
|
v-for="(items, index) in metirialOpt"
|
|
@@ -462,6 +469,7 @@
|
|
|
v-model="rulelist.quantity"
|
|
|
placeholder="数量"
|
|
|
type="number"
|
|
|
+ oninput="value=value.replace(/^(0+)|[^\d]+/g,'')"
|
|
|
style="width:256px"
|
|
|
>
|
|
|
</el-input>
|
|
@@ -483,7 +491,7 @@
|
|
|
<div class="t-footer">
|
|
|
<!-- -->
|
|
|
<el-button type="primary" @click="gengxinge">确 定</el-button>
|
|
|
- <el-button @click="closediaform">取 消</el-button>
|
|
|
+ <!-- <el-button @click="closediaform">取 消</el-button> -->
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
<el-dialog
|
|
@@ -532,9 +540,10 @@
|
|
|
import mySearch from "../../../components/search.vue";
|
|
|
import myMessage from "../../../components/myMessage.vue"
|
|
|
import toolList from '../../../components/toolList'
|
|
|
- import myUpload from '../../../components/upload'
|
|
|
- import tableList from "../../../components/el-form";
|
|
|
+ import myUpload from '../../../components/uploadfour'
|
|
|
+ import tableList from "../../../components/el-formfour";
|
|
|
import Workflow from "../../../components/workflowBase";
|
|
|
+ import getConfig from '../../../config/dev.js'
|
|
|
// import Workflow from "../../../components/workflow";
|
|
|
// import WorkflowEntrance from "../../../components/workflowEntrance";
|
|
|
import {
|
|
@@ -547,7 +556,7 @@
|
|
|
mySearch,
|
|
|
myMessage,
|
|
|
toolList,
|
|
|
- myUpload,
|
|
|
+ myUpload,
|
|
|
eltabs,
|
|
|
tableList,
|
|
|
Workflow,
|
|
@@ -570,7 +579,7 @@
|
|
|
// }
|
|
|
return {
|
|
|
requestForm: {
|
|
|
- fresourceId: "6cc2a037-a750-11ed-886f-d6cd97160e00",
|
|
|
+ fresourceId: getConfig().materialApplicationfresourceId,
|
|
|
processDefinitionKey: "xcwl_pro_process",
|
|
|
taskId:"",
|
|
|
},
|
|
@@ -691,7 +700,7 @@
|
|
|
},
|
|
|
{
|
|
|
label: "状态",
|
|
|
- prop: "taskName",
|
|
|
+ prop: "taskname",
|
|
|
width: 200,
|
|
|
},
|
|
|
], //表格头
|
|
@@ -723,9 +732,7 @@
|
|
|
label: "任务下发", // 操作名称
|
|
|
type: "", //按钮类型
|
|
|
handleRow: function (e, r, o) {
|
|
|
- console.log(e);
|
|
|
- console.log(r);
|
|
|
- console.log(o);
|
|
|
+
|
|
|
// getinform
|
|
|
// this.getinform(r);
|
|
|
}, // 自定义事件
|
|
@@ -815,7 +822,7 @@
|
|
|
},
|
|
|
{
|
|
|
label: "状态",
|
|
|
- prop: "taskName",
|
|
|
+ prop: "taskname",
|
|
|
width: 200,
|
|
|
},
|
|
|
], //表格头
|
|
@@ -847,9 +854,7 @@
|
|
|
label: "任务下发", // 操作名称
|
|
|
type: "", //按钮类型
|
|
|
handleRow: function (e, r, o) {
|
|
|
- console.log(e);
|
|
|
- console.log(r);
|
|
|
- console.log(o);
|
|
|
+
|
|
|
// getinform
|
|
|
// this.getinform(r);
|
|
|
}, // 自定义事件
|
|
@@ -1010,7 +1015,7 @@
|
|
|
updisabled:false,
|
|
|
fileInfo: {
|
|
|
limit: 10,
|
|
|
- url: '/market/waf/upload',
|
|
|
+ url: '/market/waf/uploadByMinio',
|
|
|
fileList: []
|
|
|
},
|
|
|
infoApply:{},
|
|
@@ -1033,8 +1038,7 @@
|
|
|
watch:{
|
|
|
'infolist.tabletaskName':{
|
|
|
handler(newVal,oldVal){
|
|
|
- // console.log(this.ruleForm);
|
|
|
- console.log(newVal);
|
|
|
+
|
|
|
let rule1 = {
|
|
|
gys: [
|
|
|
{ required: true, validator: this.validatorFile , trigger: "blur" },
|
|
@@ -1047,12 +1051,12 @@
|
|
|
{ required: true, validator: this.validatorLianjie , trigger: "blur" },],
|
|
|
}
|
|
|
if(newVal === '省公司宣传负责人'){
|
|
|
- console.log(121);
|
|
|
+
|
|
|
this.rules = { ...this.rules, ...rule1 }
|
|
|
- console.log(111);
|
|
|
+
|
|
|
}
|
|
|
else if(newVal === '区县公司负责人'){
|
|
|
- console.log(1234);
|
|
|
+
|
|
|
this.rules = { ...this.rules, ...rule2 }
|
|
|
}
|
|
|
},
|
|
@@ -1061,15 +1065,14 @@
|
|
|
},
|
|
|
// 'infolist.tabletaskName':{
|
|
|
// handler(newVal,oldVal){
|
|
|
- // // console.log(this.ruleForm);
|
|
|
- // // console.log(newVal);
|
|
|
+
|
|
|
// let rule2 = {
|
|
|
// districtScore: [
|
|
|
// { required: true, validator: this.validatorDafen , trigger: "blur" },],
|
|
|
// materialUrl: [
|
|
|
// { required: true, validator: this.validatorLianjie , trigger: "blur" },],
|
|
|
// }
|
|
|
- // if(newVal === '市公司主管宣传副主任'){
|
|
|
+ // if(newVal === '省公司宣传负责人'){
|
|
|
// this.rules = { ...this.rules, ...rule }
|
|
|
// }
|
|
|
// },
|
|
@@ -1079,7 +1082,7 @@
|
|
|
},
|
|
|
methods: {
|
|
|
clickTabs(name){
|
|
|
- console.log(name);
|
|
|
+
|
|
|
this.pageNo = "1";
|
|
|
this.page = "1";
|
|
|
this.childname = name;
|
|
@@ -1097,8 +1100,27 @@
|
|
|
changeNum(val) {
|
|
|
this.page = val;
|
|
|
this.pageNo = val;
|
|
|
- console.log(this.page);
|
|
|
- console.log(this.childname);
|
|
|
+
|
|
|
+ switch (this.childname) {
|
|
|
+ case "first":
|
|
|
+ this.getTodoList();
|
|
|
+ // this.iniTiate();
|
|
|
+
|
|
|
+ break;
|
|
|
+ case "two":
|
|
|
+ this.haveDone();
|
|
|
+
|
|
|
+ break;
|
|
|
+ case "three":
|
|
|
+
|
|
|
+ // this.iniTiate();
|
|
|
+ // this.Table = this.thirdTable;
|
|
|
+ }
|
|
|
+ },
|
|
|
+ changeSize(val) {
|
|
|
+ this.size = val;
|
|
|
+ this.pageSize = val;
|
|
|
+
|
|
|
switch (this.childname) {
|
|
|
case "first":
|
|
|
this.getTodoList();
|
|
@@ -1116,7 +1138,7 @@
|
|
|
}
|
|
|
},
|
|
|
clickDemand(e, r) {
|
|
|
- // console.log(e,r);
|
|
|
+
|
|
|
if (e === "业务名称") {
|
|
|
if(this.childname == "first"){
|
|
|
|
|
@@ -1153,7 +1175,12 @@
|
|
|
chakanfaqi(r){
|
|
|
|
|
|
this.operationZuo(r); //点标题
|
|
|
- this.deal = false;
|
|
|
+
|
|
|
+ if(r.taskname == "起草" || r.taskname == "地市宣传负责人"){
|
|
|
+ this.deal = true;
|
|
|
+ }else{
|
|
|
+ this.deal = false;
|
|
|
+ }
|
|
|
this.baocun = false;
|
|
|
this.clickForm1(r)
|
|
|
},
|
|
@@ -1162,10 +1189,10 @@
|
|
|
// },
|
|
|
//点击标题
|
|
|
operationZuo(r){
|
|
|
- console.log(r);
|
|
|
+
|
|
|
let list = {}
|
|
|
list.id = r.id,
|
|
|
- // console.log(row)
|
|
|
+
|
|
|
this.$http({
|
|
|
url:"/market/xcwlProcess/query",
|
|
|
method:"post",
|
|
@@ -1187,18 +1214,19 @@
|
|
|
this.infolist.taskId = r.taskId;
|
|
|
this.infolist.id = r.id;
|
|
|
this.infolist.createId = r.createId;
|
|
|
- this.infolist.tabletaskName = r.taskName;
|
|
|
- // console.log(this.infolist.tabletaskname);
|
|
|
+ this.infolist.tabletaskName = r.taskname;
|
|
|
+
|
|
|
this.infolist.gys = res.data.xcwlProProcessList[0].selectedGys;
|
|
|
this.infolist.districtScore = res.data.xcwlProProcessList[0].districtScore;
|
|
|
this.infolist.materialUrl = res.data.xcwlProProcessList[0].materialUrl;
|
|
|
- if(r.taskName != "起草"){
|
|
|
+ this.infolist.id1 = res.data.xcwlProProcessList[0].xcwlId;
|
|
|
+ if(r.taskName != "起草" ||r.taskName != "地市宣传负责人"){
|
|
|
this.disableStatus = true;
|
|
|
this.updisabled = true; //上传附件
|
|
|
}else{
|
|
|
this.updisabled = false;
|
|
|
}
|
|
|
- if(this.infolist.tabletaskName === "起草" || this.infolist.tabletaskName === "省公司宣传负责人" || this.infolist.tabletaskName === "区县公司负责人"){
|
|
|
+ if(this.infolist.tabletaskName === "起草" || this.infolist.tabletaskName === "省公司宣传负责人" || this.infolist.tabletaskName === "区县公司负责人" ||this.infolist.tabletaskName === "地市宣传负责人"){
|
|
|
|
|
|
this.baocun = true;
|
|
|
|
|
@@ -1213,9 +1241,9 @@
|
|
|
},
|
|
|
data:{},
|
|
|
}).then((res) => {
|
|
|
- // console.log(res.data);
|
|
|
+
|
|
|
this.gysopt = res.data;
|
|
|
- // console.log( this.infolist.gysopt);
|
|
|
+
|
|
|
// this.infomaterType = res.data;
|
|
|
// if(res.data){
|
|
|
// this.typests = false;
|
|
@@ -1226,24 +1254,24 @@
|
|
|
},
|
|
|
uploadBack(v) {
|
|
|
this.attList = v;
|
|
|
- console.log(this.attList);
|
|
|
+ // console.log(this.attList);
|
|
|
|
|
|
},
|
|
|
gysMing(n,ev){
|
|
|
let that = this;
|
|
|
- // console.log(that);
|
|
|
+
|
|
|
let hh = that.gysopt.filter(function (c, i, a) {
|
|
|
- // console.log(c,i,a);
|
|
|
+
|
|
|
if (c.name == that.infolist.gys) {
|
|
|
return c;
|
|
|
}
|
|
|
});
|
|
|
this.selectLetter = hh[0].code;
|
|
|
- console.log(this.selectLetter);
|
|
|
+ // console.log(this.selectLetter);
|
|
|
},
|
|
|
dealwith(){
|
|
|
if(this.infolist.tabletaskName == "省公司宣传负责人" || this.infolist.tabletaskName == "区县公司负责人"){
|
|
|
- console.log(this.teshuhuanjie);
|
|
|
+
|
|
|
if(this.teshuhuanjie.length == 0){
|
|
|
this.$message.error("请先点击保存");
|
|
|
}else{
|
|
@@ -1255,7 +1283,7 @@
|
|
|
|
|
|
},
|
|
|
updatexiuform(r){
|
|
|
- console.log(r);
|
|
|
+
|
|
|
this.typests = true;
|
|
|
this.rulelist = r;
|
|
|
},
|
|
@@ -1265,26 +1293,30 @@
|
|
|
//更新表格
|
|
|
gengxinge(){
|
|
|
this.typests = false;
|
|
|
- // this.$http({
|
|
|
- // url: "/market/xcwlProcess/update",
|
|
|
- // method: "post",
|
|
|
- // headers: {
|
|
|
- // "Content-Type": "application/json",
|
|
|
- // },
|
|
|
+ let rulelistform = {}
|
|
|
+ rulelistform.metirialName = this.rulelist.material;
|
|
|
+ rulelistform.quantity = this.rulelist.quantity;
|
|
|
+ rulelistform.ratio = this.rulelist.coefficient;
|
|
|
+ this.$http({
|
|
|
+ url: "/market/xcwlProcessImport/getPriByMetirialName",
|
|
|
+ method: "post",
|
|
|
+ headers: {
|
|
|
+ "Content-Type": "application/json",
|
|
|
+ },
|
|
|
|
|
|
- // data: this.rulelist,
|
|
|
- // }).then((res) => {
|
|
|
- // console.log(res.data);
|
|
|
- // // this.infomaterType = res.data;
|
|
|
- // if(res.data){
|
|
|
- // this.typests = false;
|
|
|
- // return;
|
|
|
- // }
|
|
|
- // });
|
|
|
+ data: rulelistform,
|
|
|
+ }).then((res) => {
|
|
|
+
|
|
|
+
|
|
|
+ this.infomaterType[0].gys1Price = res.data.body.gys1Price;
|
|
|
+ this.infomaterType[0].gys2Price = res.data.body.gys2Price;
|
|
|
+
|
|
|
+
|
|
|
+ });
|
|
|
},
|
|
|
validatorFile(rule,value,callback){
|
|
|
if(this.infolist.gys == null){
|
|
|
- // console.log(this.ruleForm.addJobNumber);
|
|
|
+
|
|
|
callback(new Error('请选择供应商'));
|
|
|
}else{
|
|
|
|
|
@@ -1293,7 +1325,7 @@
|
|
|
},
|
|
|
validatorDafen(rule,value,callback){
|
|
|
if(this.infolist.districtScore == null || ""){
|
|
|
- console.log(this.infolist.districtScore);
|
|
|
+
|
|
|
callback(new Error('请输入区县打分'));
|
|
|
}else{
|
|
|
|
|
@@ -1302,7 +1334,7 @@
|
|
|
},
|
|
|
validatorLianjie(rule,value,callback){
|
|
|
if(this.infolist.materialUrl == null || ""){
|
|
|
- console.log(this.infolist.materialUrl);
|
|
|
+
|
|
|
callback(new Error('请输入物料验证材料链接'));
|
|
|
}else{
|
|
|
|
|
@@ -1311,38 +1343,14 @@
|
|
|
},
|
|
|
//任务下发
|
|
|
getinform(r){
|
|
|
- console.log(r);
|
|
|
+
|
|
|
this.infolist = r;
|
|
|
this.infolist.id = r.id;
|
|
|
this.request_form.businessKey = r.id;
|
|
|
this.getUserIds();
|
|
|
- // console.log(this.request_form);
|
|
|
- // this.infolist.userId = this.request_form.userId;
|
|
|
- // this.infolist.userName = this.request_form.userName;
|
|
|
- // console.log(r);
|
|
|
- // this.clickHandle(r);
|
|
|
+
|
|
|
},
|
|
|
- //获取userID
|
|
|
- // getUserIds() {
|
|
|
- // this.$http({
|
|
|
- // url: "/market/waf/queryRoleByName",
|
|
|
- // method: "post",
|
|
|
- // headers: {
|
|
|
- // "Content-Type": "application/json",
|
|
|
- // },
|
|
|
- // data: {
|
|
|
- // userCode: JSON.parse(window.sessionStorage.userInfo).loginNo,
|
|
|
- // },
|
|
|
- // }).then((res) => {
|
|
|
- // // console.log(res.data.data.rows[0].name);
|
|
|
- // // console.log(res.data.data.rows[0].userCode);
|
|
|
- // this.request_form.userName = res.data.data.rows[0].name;
|
|
|
- // this.request_form.userId = res.data.data.rows[0].userCode;
|
|
|
- // this.request_form.title = this.infolist.needName;
|
|
|
- // console.log(this.request_form);
|
|
|
- // this.clickHandle(this.infolist);
|
|
|
- // });
|
|
|
- // },
|
|
|
+
|
|
|
getUserIds() {
|
|
|
let id = JSON.parse(window.sessionStorage.userInfo).loginNo
|
|
|
this.$http({
|
|
@@ -1355,18 +1363,16 @@
|
|
|
// params: JSON.parse(window.sessionStorage.userInfo).loginNo,
|
|
|
},
|
|
|
}).then((res) => {
|
|
|
- // console.log(res.data.data.rows[0].name);
|
|
|
- // console.log(res.data.data.rows[0].userCode);
|
|
|
- // console.log(res.data[0].children);
|
|
|
+
|
|
|
this.request_form.userName = res.data[0].children[0].loginNameStr;
|
|
|
this.request_form.userId = res.data[0].children[0].loginNoStr;
|
|
|
this.request_form.title = '[市场工作台]-'+'省宣传物料申请及审批-'+ this.infolist.needName;
|
|
|
- // console.log(this.request_form);
|
|
|
+
|
|
|
this.clickHandle(this.infolist);
|
|
|
});
|
|
|
},
|
|
|
async clickHandle(e) {
|
|
|
- console.log(this.request_form);
|
|
|
+
|
|
|
let _this = this;
|
|
|
let obj = {
|
|
|
url: this.$url.formList.startWork, //开始工作流接口
|
|
@@ -1379,12 +1385,7 @@
|
|
|
|
|
|
let res = await this.common.httpPost(obj, success);
|
|
|
function success(data) {
|
|
|
- console.log(data);
|
|
|
-// _this.ruleForm.taskId = _this.ruleForm.taskId;
|
|
|
- // a = a
|
|
|
-// _this.taskId = data.data;
|
|
|
- // console.log(data);
|
|
|
- // console.log(data.code);
|
|
|
+
|
|
|
_this.infolist.processId = data.data;
|
|
|
let list = {
|
|
|
id: e.id,
|
|
@@ -1394,15 +1395,14 @@
|
|
|
|
|
|
// resourceId: _this.nextPath.currentShape[0].resourceId,
|
|
|
};
|
|
|
- // console.log(processDefinitionKey);
|
|
|
- console.log(list);
|
|
|
+
|
|
|
_this.setUpdate(list);
|
|
|
}
|
|
|
},
|
|
|
//更新工作流接口
|
|
|
|
|
|
setUpdate(e) {
|
|
|
- console.log(e);
|
|
|
+
|
|
|
this.$http({
|
|
|
url: "/market/waf/updateBase",
|
|
|
method: "post",
|
|
@@ -1417,7 +1417,7 @@
|
|
|
},
|
|
|
//是否最后一个人
|
|
|
async getLastName() {
|
|
|
- console.log(this.infolist);
|
|
|
+
|
|
|
let list = {
|
|
|
procinstid: this.infolist.processId,
|
|
|
taskid: this.infolist.taskId,
|
|
@@ -1436,7 +1436,7 @@
|
|
|
|
|
|
let res = await this.common.httpPost(obj, success);
|
|
|
function success(data) {
|
|
|
- console.log(data);
|
|
|
+
|
|
|
if (data.lastMan == true) {
|
|
|
_this.adminResourceId = data.adminResourceId;
|
|
|
}
|
|
@@ -1445,7 +1445,7 @@
|
|
|
_this.isWorkflowStatus = data.lastMan == false ? false : true;
|
|
|
_this.lastManList = data;
|
|
|
|
|
|
- // console.log(_this.isWorkflowStatus);
|
|
|
+
|
|
|
}
|
|
|
},
|
|
|
getNextPath(e) {
|
|
@@ -1471,20 +1471,20 @@
|
|
|
data: list,
|
|
|
}).then((res) => {
|
|
|
if (res.data.body.nextShapes[0].multi) {
|
|
|
- console.log('这是mulit节点');
|
|
|
+ // console.log('这是mulit节点');
|
|
|
if (res.data.body.nextShapes[0].multi.multi === "true") {
|
|
|
- console.log('这是mulit节点');
|
|
|
+ // console.log('这是mulit节点');
|
|
|
this.getLastName();
|
|
|
} else {
|
|
|
this.adminResourceId = ''
|
|
|
- console.log('这不是mulit节点');
|
|
|
+ // console.log('这不是mulit节点');
|
|
|
this.destroy = true;
|
|
|
this.dialogVisible1 = true;
|
|
|
// this.getMetirialType();
|
|
|
}
|
|
|
} else {
|
|
|
this.adminResourceId = ''
|
|
|
- console.log('这不是mulit节点');
|
|
|
+ // console.log('这不是mulit节点');
|
|
|
this.destroy = true;
|
|
|
this.dialogVisible1 = true;
|
|
|
// this.getMetirialType();
|
|
@@ -1497,8 +1497,7 @@
|
|
|
},
|
|
|
//处理按钮,开始工作流接口
|
|
|
clickHandles() {
|
|
|
- // console.log(this.infolist.resourceId);
|
|
|
- // this.getNextPath(this.infolist.resourceId || "");
|
|
|
+
|
|
|
this.dialogVisible1 = true;
|
|
|
},
|
|
|
async clickForm(r) {
|
|
@@ -1555,33 +1554,32 @@
|
|
|
this.dialogVisible1 = false;
|
|
|
this.dialogVisible = false;
|
|
|
this.getIssueList();
|
|
|
+ this.getTodoList();
|
|
|
+ this.haveDone();
|
|
|
// this.refreshbtn();
|
|
|
},
|
|
|
- // changeNum(e) {
|
|
|
- // console.log(e)
|
|
|
- // this.pageNo = e;
|
|
|
- // this.page = e;
|
|
|
- // this.firstTable.pageData.pageNum = e;
|
|
|
- // this.getTodoList()
|
|
|
- // },
|
|
|
+
|
|
|
adminhandleSizeChange(val) {
|
|
|
- console.log(`每页 ${val} 条`);
|
|
|
+ // console.log(`每页 ${val} 条`);
|
|
|
},
|
|
|
adminhandleCurrentChange(val) {
|
|
|
- // console.log(e)
|
|
|
+
|
|
|
this.pageNo = val;
|
|
|
|
|
|
this.getIssueList()
|
|
|
- console.log(`当前页: ${val}`);
|
|
|
+ // console.log(`当前页: ${val}`);
|
|
|
},
|
|
|
handleCloses() {
|
|
|
this.treeList = [];
|
|
|
this.textarea = "";
|
|
|
this.dialogVisible1 = false;
|
|
|
-
|
|
|
+ this.getTodoList();
|
|
|
+ this.haveDone();
|
|
|
+ this.getIssueList();
|
|
|
},
|
|
|
close(){
|
|
|
this.dialogVisible = false;
|
|
|
+ this.tableData1 = [];
|
|
|
},
|
|
|
//我发起列表
|
|
|
getIssueList(e) {
|
|
@@ -1648,7 +1646,7 @@
|
|
|
// this.twoTable.pageData.total = res.data.totalRecord;
|
|
|
// this.tabList[1].number = res.data.totalRecord;
|
|
|
// this.Table = this.twoTable;
|
|
|
- // // console.log(this.Table);
|
|
|
+
|
|
|
// // this.tabList[1].number = res.data.totalRecord;
|
|
|
// })
|
|
|
let list = {
|
|
@@ -1667,18 +1665,18 @@
|
|
|
this.twoTable.data = res.data.data;
|
|
|
this.twoTable.pageData.total = res.data.totalRecord;
|
|
|
this.tabList[1].number = res.data.totalRecord;
|
|
|
- this.Table = this.twoTable;
|
|
|
+ // this.Table = this.twoTable;
|
|
|
|
|
|
});
|
|
|
},
|
|
|
saveform(){
|
|
|
- // console.log(this.$refs.infolist);
|
|
|
+
|
|
|
this.$refs.infolist.validate((valid) => {
|
|
|
- console.log(valid);
|
|
|
+
|
|
|
if (valid) {
|
|
|
this.$message.success("保存成功");
|
|
|
let list = {}
|
|
|
- list.id = this.infolist.id;
|
|
|
+ list.id = this.infolist.id1;
|
|
|
list.businessName = this.infolist.businessName;//业务名称
|
|
|
list.cycleList = [this.$util.datetimeFormat(this.infolist.cycle[0]),this.$util.datetimeFormat(this.infolist.cycle[1])];
|
|
|
list.needCode = this.infolist.needCode;
|
|
@@ -1686,7 +1684,7 @@
|
|
|
list.gys = this.infolist.gys;
|
|
|
list.materialUrl = this.infolist.materialUrl;
|
|
|
list.xcwlProProcessList = this.infomaterType;
|
|
|
- list.gysCode = this.selectLetter;
|
|
|
+ list.gysCode = this.infolist.tabletaskName == '省公司宣传负责人' ? this.selectLetter:null;
|
|
|
// list.xcwlProProcessList = this.multipleSelection;
|
|
|
|
|
|
if(this.attList == null){
|
|
@@ -1703,7 +1701,7 @@
|
|
|
|
|
|
data: list,
|
|
|
}).then((res) => {
|
|
|
- console.log(res.data);
|
|
|
+
|
|
|
this.teshuhuanjie = res.data;
|
|
|
|
|
|
// this.infomaterType = res.data;
|
|
@@ -1721,11 +1719,10 @@
|
|
|
|
|
|
},
|
|
|
download(u) {
|
|
|
- console.log(u);
|
|
|
-
|
|
|
+
|
|
|
// if (this.ruleForm.wfFileShareAttachList.length > 1) {
|
|
|
this.$http({
|
|
|
- url: "/market/waf/downAllFile",
|
|
|
+ url: "/market/waf/downAllFileByMinio",
|
|
|
method: "post",
|
|
|
headers: {
|
|
|
"Content-Type": "application/json",
|
|
@@ -1866,7 +1863,7 @@
|
|
|
}).then((res) => {
|
|
|
this.tableData = res.data.body.pageList.data;
|
|
|
this.total = res.data.body.pageList.totalRecord;
|
|
|
- // console.log(this.tableData);
|
|
|
+
|
|
|
this.loading = false;
|
|
|
|
|
|
});
|
|
@@ -2003,7 +2000,7 @@
|
|
|
},
|
|
|
//文件返回值
|
|
|
uploadBack(v) {
|
|
|
- console.log(v)
|
|
|
+
|
|
|
this.attList = v;
|
|
|
},
|
|
|
//功能栏
|
|
@@ -2024,13 +2021,11 @@
|
|
|
mounted() {
|
|
|
// this.getList({}, 1);
|
|
|
this.getUser();
|
|
|
- },
|
|
|
- created() {
|
|
|
- // console.log(this.$route);
|
|
|
-
|
|
|
this.getTodoList();
|
|
|
+ },
|
|
|
+ created() {
|
|
|
this.Table = this.firstTable;
|
|
|
- // this.haveDone();
|
|
|
+ this.haveDone();
|
|
|
this.getIssueList();
|
|
|
}
|
|
|
}
|