|
@@ -28,7 +28,7 @@
|
|
|
style="width: 100%"
|
|
|
v-loading="loading"
|
|
|
>
|
|
|
- <el-table-column prop="busiSubject" label="业务名称">
|
|
|
+ <el-table-column prop="demandName" label="需求名称">
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="createName" label="申请姓名">
|
|
|
</el-table-column>
|
|
@@ -237,13 +237,10 @@
|
|
|
</el-upload>
|
|
|
</div>
|
|
|
<!-- 信息补填的情况 -->
|
|
|
- <myUpload
|
|
|
+ <el-upload
|
|
|
v-if="vision == '信息补填'"
|
|
|
style="float: right; margin-bottom: 20px"
|
|
|
- @uploadBack="uploadBackin"
|
|
|
- :fileInfo="fileInfoin"
|
|
|
- :fileList="fileInfoin.fileList"
|
|
|
- ></myUpload>
|
|
|
+ ></el-upload>
|
|
|
<div
|
|
|
style="margin: 20px 0; padding: 0 20px"
|
|
|
v-if="vision == '信息补填'"
|
|
@@ -445,7 +442,7 @@ import toolList from "../../../components/toolList";
|
|
|
import myUpload from "../../../components/upload";
|
|
|
import uploadDown from "../../../components/uploadDown.vue";
|
|
|
import deptTreeOnly from "../performance/components/deptTreeOnly.vue";
|
|
|
-
|
|
|
+const Excel = require('exceljs')
|
|
|
export default {
|
|
|
components: {
|
|
|
// mySearch,
|
|
@@ -510,7 +507,7 @@ export default {
|
|
|
},
|
|
|
],
|
|
|
// 用来控制多选里的单选
|
|
|
- only:false,
|
|
|
+ only: false,
|
|
|
// 信息回显
|
|
|
infolist: {},
|
|
|
// 用户信息
|
|
@@ -524,6 +521,8 @@ export default {
|
|
|
"管理项目组会签",
|
|
|
"项目组送电商接口人阅办",
|
|
|
"送其他人办理",
|
|
|
+ "确认上线",
|
|
|
+ "确认办结",
|
|
|
"打回",
|
|
|
],
|
|
|
params: {},
|
|
@@ -564,7 +563,7 @@ export default {
|
|
|
name: "否",
|
|
|
},
|
|
|
],
|
|
|
- infodatas: [{}, {}],
|
|
|
+ infodatas: [],
|
|
|
busiTime: [],
|
|
|
urgDegreeopt: [
|
|
|
{
|
|
@@ -627,7 +626,7 @@ export default {
|
|
|
if (type === "取消") {
|
|
|
this.dialogStatus = false;
|
|
|
this.disableStatus = false;
|
|
|
- this.only = false
|
|
|
+ this.only = false;
|
|
|
this.number++;
|
|
|
this.infolist = {};
|
|
|
return;
|
|
@@ -666,19 +665,53 @@ export default {
|
|
|
this.operateName = "管理项目组会签";
|
|
|
break;
|
|
|
case "项目组送电商接口人阅办":
|
|
|
- this.checkexa = true;
|
|
|
- this.type = "0";
|
|
|
- this.only = true
|
|
|
this.operateName = "项目组送电商接口人阅办";
|
|
|
+ this.handleDeliverReadOfficeOrOtherDo("1");
|
|
|
break;
|
|
|
case "送其他人办理":
|
|
|
+ this.checkexa = true;
|
|
|
+ this.only = true;
|
|
|
this.operateName = "送其他人办理";
|
|
|
- this.handleDeliverReadOfficeOrOtherDo("2");
|
|
|
+ break;
|
|
|
+ case "确认上线":
|
|
|
+ this.operateName = "确认上线";
|
|
|
+ this.handleConfirmOnline("1");
|
|
|
+ break;
|
|
|
+ case "确认办结":
|
|
|
+ this.operateName = "确认办结";
|
|
|
+ this.handleConfirmOnline("2");
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
+ // 确认上线/确认办结
|
|
|
+ handleConfirmOnline(type) {
|
|
|
+ let reqdata = {
|
|
|
+ operateName: this.operateName,
|
|
|
+ reviewOpinion: this.operateName + "," + this.remark,
|
|
|
+ type,
|
|
|
+ woNo: this.woNo + "",
|
|
|
+ };
|
|
|
+ console.log(reqdata);
|
|
|
+ this.$http({
|
|
|
+ url: "/market/mkOnlineChannel/confirmOnline",
|
|
|
+ method: "post",
|
|
|
+ headers: {
|
|
|
+ "Content-Type": "application/json",
|
|
|
+ },
|
|
|
+ data: reqdata,
|
|
|
+ }).then(({ data: { desc } }) => {
|
|
|
+ console.log(desc);
|
|
|
+ if (desc === "操作成功") {
|
|
|
+ this.$message.success("操作成功");
|
|
|
+ this.dialogStatus = false;
|
|
|
+ this.handleInit();
|
|
|
+ } else {
|
|
|
+ this.$message.error("操作失败");
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
// 项目组送电商接口人阅办或送其他人办理
|
|
|
handleDeliverReadOfficeOrOtherDo(type) {
|
|
|
console.log(this.operateName, type);
|
|
@@ -686,30 +719,25 @@ export default {
|
|
|
let receiveName = [];
|
|
|
// console.log(this.treeList);
|
|
|
this.treeList.forEach((item) => {
|
|
|
- receiveId.push(item.id);
|
|
|
- receiveName.push(item.loginNoStr);
|
|
|
+ receiveId.push(item.loginNoStr);
|
|
|
+ receiveName.push(item.label);
|
|
|
});
|
|
|
- let reqdata = {};
|
|
|
+ let reqdata = {
|
|
|
+ operateName: this.operateName,
|
|
|
+ type,
|
|
|
+ reviewOpinion: this.operateName + "," + this.remark,
|
|
|
+ woId: this.woNo + "",
|
|
|
+ };
|
|
|
if (type === "2") {
|
|
|
reqdata = {
|
|
|
- countersignedId: "",
|
|
|
- operateName: this.operateName,
|
|
|
- reviewOpinion: this.operateName + "," + this.remark,
|
|
|
- type,
|
|
|
- };
|
|
|
- } else {
|
|
|
- reqdata = {
|
|
|
- countersignedId: "",
|
|
|
+ ...reqdata,
|
|
|
receiveId: receiveId.join(","),
|
|
|
receiveName: receiveName.join(","),
|
|
|
- reviewOpinion: this.operateName + "," + this.remark,
|
|
|
- type,
|
|
|
};
|
|
|
}
|
|
|
console.log(reqdata);
|
|
|
-
|
|
|
this.$http({
|
|
|
- url: "/mkOnlineChannel/deliverReadOfficeOrOtherDo",
|
|
|
+ url: "/market/mkOnlineChannel/deliverReadOfficeOrOtherDo",
|
|
|
method: "post",
|
|
|
headers: {
|
|
|
"Content-Type": "application/json",
|
|
@@ -731,10 +759,10 @@ export default {
|
|
|
handleCountersigned() {
|
|
|
let receiveId = [];
|
|
|
let receiveName = [];
|
|
|
- // console.log(this.treeList);
|
|
|
+ console.log(this.treeList);
|
|
|
this.treeList.forEach((item) => {
|
|
|
- receiveId.push(item.id);
|
|
|
- receiveName.push(item.loginNoStr);
|
|
|
+ receiveId.push(item.loginNoStr);
|
|
|
+ receiveName.push(item.label);
|
|
|
});
|
|
|
let reqdata = {
|
|
|
operateName: this.operateName,
|
|
@@ -770,8 +798,8 @@ export default {
|
|
|
let receiveName = [];
|
|
|
// console.log(this.treeList);
|
|
|
this.treeList.forEach((item) => {
|
|
|
- receiveId.push(item.id);
|
|
|
- receiveName.push(item.loginNoStr);
|
|
|
+ receiveId.push(item.loginNoStr);
|
|
|
+ receiveName.push(item.label);
|
|
|
});
|
|
|
let reqdata = {
|
|
|
operateName: this.operateName,
|
|
@@ -846,7 +874,7 @@ export default {
|
|
|
woNo: this.infolist.woNo,
|
|
|
createId: this.infolist.createId,
|
|
|
createName: this.infolist.createName,
|
|
|
- id:this.infolist.id,
|
|
|
+ id: this.infolist.id,
|
|
|
};
|
|
|
}
|
|
|
let params = {
|
|
@@ -908,8 +936,8 @@ export default {
|
|
|
this.handleCountersigned();
|
|
|
return;
|
|
|
}
|
|
|
- if (this.operateName === "项目组送电商接口人阅办") {
|
|
|
- this.handleDeliverReadOfficeOrOtherDo("1");
|
|
|
+ if (this.operateName === "送其他人办理") {
|
|
|
+ this.handleDeliverReadOfficeOrOtherDo("2");
|
|
|
return;
|
|
|
}
|
|
|
request = 1;
|
|
@@ -1047,7 +1075,12 @@ export default {
|
|
|
if (this.titname === "查看") {
|
|
|
this.visionsts = "";
|
|
|
} else {
|
|
|
- this.visionsts = "2";
|
|
|
+ if (this.step === "7") {
|
|
|
+ this.vision = '信息补填'
|
|
|
+ this.visionsts = "";
|
|
|
+ } else {
|
|
|
+ this.visionsts = "2";
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -1113,7 +1146,7 @@ export default {
|
|
|
this.fileInfo.fileList = [];
|
|
|
this.dialogStatus = false;
|
|
|
this.checkexa = false;
|
|
|
- this.only = false
|
|
|
+ this.only = false;
|
|
|
this.busiTime = [];
|
|
|
},
|
|
|
//获取列表
|
|
@@ -1146,7 +1179,6 @@ export default {
|
|
|
// let infolist = Object.assign({}, n);
|
|
|
this.vision = "";
|
|
|
this.visionsts = "";
|
|
|
- this.infodatas = [{}, {}];
|
|
|
if (type === 1) {
|
|
|
this.titname = "查看";
|
|
|
this.visionsts = "2";
|
|
@@ -1597,6 +1629,7 @@ export default {
|
|
|
this.attList = v;
|
|
|
},
|
|
|
uploadBackin(v) {
|
|
|
+ console.log(v,'v')
|
|
|
let x = [];
|
|
|
for (let i = 1; i < v.data.body.length; i++) {
|
|
|
x.push({
|