|
@@ -97,7 +97,11 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
|
<span>需求编号</span>
|
|
|
- <el-input v-model="infolist.demandNo" placeholder="需求编号" disabled>
|
|
|
+ <el-input
|
|
|
+ v-model="infolist.demandNo"
|
|
|
+ placeholder="需求编号"
|
|
|
+ disabled
|
|
|
+ >
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
<!-- <el-form-item prop="terminal">
|
|
@@ -677,13 +681,15 @@ export default {
|
|
|
console.log("送领导审核");
|
|
|
break;
|
|
|
case "送起草人编号发送":
|
|
|
+ this.operateName = "送起草人编号";
|
|
|
this.handleSendNo();
|
|
|
break;
|
|
|
case "确认编号":
|
|
|
+ this.operateName = "确认编号";
|
|
|
this.handleComfirmNo();
|
|
|
break;
|
|
|
case "打回":
|
|
|
- this.operateName = "打回"
|
|
|
+ this.operateName = "打回";
|
|
|
this.handleBackRecord();
|
|
|
break;
|
|
|
case "确认需求":
|
|
@@ -952,10 +958,10 @@ export default {
|
|
|
carryChannelCode: this.infolist.carryChannelCode.join(","),
|
|
|
// 加载周期 起止
|
|
|
busiStartTime: this.busiTime[0]
|
|
|
- ? this.$formatDate(this.busiTime[0], "YYYY-MM-DD HH:mm:ss")
|
|
|
+ ? this.$formatDate(this.busiTime[0], "YYYY-MM-DD")
|
|
|
: "",
|
|
|
busiEndTime: this.busiTime[1]
|
|
|
- ? this.$formatDate(this.busiTime[1], "YYYY-MM-DD HH:mm:ss")
|
|
|
+ ? this.$formatDate(this.busiTime[1], "YYYY-MM-DD")
|
|
|
: "",
|
|
|
// 需求背景
|
|
|
demandBackground: this.infolist.demandBackground,
|
|
@@ -1034,6 +1040,9 @@ export default {
|
|
|
},
|
|
|
params: {
|
|
|
woNo: this.woNo,
|
|
|
+ remark: [this.operateName, this.remark]
|
|
|
+ .filter((el) => el !== "")
|
|
|
+ .join(","),
|
|
|
},
|
|
|
}).then(({ data: { desc } }) => {
|
|
|
console.log(desc);
|
|
@@ -1054,7 +1063,12 @@ export default {
|
|
|
headers: {
|
|
|
"Content-Type": "application/json",
|
|
|
},
|
|
|
- data: { woNo: this.woNo + "" },
|
|
|
+ data: {
|
|
|
+ woNo: this.woNo + "",
|
|
|
+ remark: [this.operateName, this.remark]
|
|
|
+ .filter((el) => el !== "")
|
|
|
+ .join(","),
|
|
|
+ },
|
|
|
}).then(({ data: { desc } }) => {
|
|
|
console.log(desc);
|
|
|
if (desc === "操作成功") {
|
|
@@ -1081,9 +1095,10 @@ export default {
|
|
|
}).then(
|
|
|
({
|
|
|
data: {
|
|
|
- body: { data },
|
|
|
+ body: { data, count },
|
|
|
},
|
|
|
}) => {
|
|
|
+ this.total = count;
|
|
|
this.tableData = data;
|
|
|
}
|
|
|
);
|
|
@@ -1286,8 +1301,8 @@ export default {
|
|
|
},
|
|
|
// 分页
|
|
|
currchange(v) {
|
|
|
- this.pageSize = v;
|
|
|
- this.getList(this.params, this.pageSize);
|
|
|
+ this.page = v;
|
|
|
+ this.handleInit();
|
|
|
},
|
|
|
//申请 // 打开弹出层
|
|
|
dialogCheck(type, data) {
|