|
@@ -531,6 +531,7 @@ export default {
|
|
|
async handleCommit() {
|
|
|
try {
|
|
|
// orderComment
|
|
|
+ // console.log(JSON.stringify(this.fileUrl || []))
|
|
|
this.$refs["dataFrom"].validate(async _ => {
|
|
|
if (_) {
|
|
|
const res = await orderComment({
|
|
@@ -538,12 +539,11 @@ export default {
|
|
|
remarks: this.dataList.remarks,
|
|
|
fileUrl: JSON.stringify(this.fileUrl || [])
|
|
|
});
|
|
|
- console.log(res, "res");
|
|
|
+ // console.log(res, "res");
|
|
|
if (res.code == 200) {
|
|
|
this.$message.success("评论成功");
|
|
|
this.dataList.remarks = "";
|
|
|
this.fileUrl = [];
|
|
|
- this.$refs.upload.onClear();
|
|
|
// 充值数据
|
|
|
this.getProcessNodeList();
|
|
|
} else {
|
|
@@ -662,6 +662,7 @@ export default {
|
|
|
image: [],
|
|
|
file: []
|
|
|
};
|
|
|
+ // console.log(file)
|
|
|
file.forEach(item => {
|
|
|
if (item.type == "image") {
|
|
|
tempFile.image.push(item.url);
|
|
@@ -671,7 +672,7 @@ export default {
|
|
|
});
|
|
|
item.fileUrl = tempFile;
|
|
|
});
|
|
|
- console.log(this.circulationHistoryList, "circulationHistoryList");
|
|
|
+ // console.log(this.circulationHistoryList, "circulationHistoryList");
|
|
|
|
|
|
// 获取当前展示节点列表
|
|
|
// this.nodeStepList = this.processStructureValue.circulationHistory
|
|
@@ -960,7 +961,6 @@ export default {
|
|
|
fileUrl: JSON.stringify(this.fileUrl || []),
|
|
|
tpls: this.tpls
|
|
|
})
|
|
|
-
|
|
|
this.$refs["dataFrom"].validate(_ => {
|
|
|
if (_) {
|
|
|
Promise.all(promiseList).then(values => {
|