|
@@ -255,31 +255,31 @@
|
|
|
// param.initiatorName = this.choone.receiverName;
|
|
|
// param.initiatorNo = this.choone.receiverNo;
|
|
|
}
|
|
|
- // this.$http({
|
|
|
- // url: url,
|
|
|
- // method: "post",
|
|
|
- // headers: {
|
|
|
- // "Content-Type": "application/json",
|
|
|
- // },
|
|
|
- // data: param,
|
|
|
- // }).then((res) => {
|
|
|
- // if (res.data.result === 1) {
|
|
|
- // _this.$message({
|
|
|
- // message: res.data.desc,
|
|
|
- // type: 'error'
|
|
|
- // });
|
|
|
- // } else {
|
|
|
- // _this.$message({
|
|
|
- // message: '成功',
|
|
|
- // type: 'success'
|
|
|
- // });
|
|
|
- // _this.infolist = {};
|
|
|
- // _this.treeList = [];
|
|
|
- // _this.treeListp = [];
|
|
|
- // _this.dialogStatus = false;
|
|
|
- // _this.getList({}, 1);
|
|
|
- // }
|
|
|
- // });
|
|
|
+ this.$http({
|
|
|
+ url: url,
|
|
|
+ method: "post",
|
|
|
+ headers: {
|
|
|
+ "Content-Type": "application/json",
|
|
|
+ },
|
|
|
+ data: param,
|
|
|
+ }).then((res) => {
|
|
|
+ if (res.data.result === 1) {
|
|
|
+ _this.$message({
|
|
|
+ message: res.data.desc,
|
|
|
+ type: 'error'
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ _this.$message({
|
|
|
+ message: '成功',
|
|
|
+ type: 'success'
|
|
|
+ });
|
|
|
+ _this.infolist = {};
|
|
|
+ _this.treeList = [];
|
|
|
+ _this.treeListp = [];
|
|
|
+ _this.dialogStatus = false;
|
|
|
+ _this.getList({}, 1);
|
|
|
+ }
|
|
|
+ });
|
|
|
} else if (v === 2) {
|
|
|
this.infolist = {};
|
|
|
this.treeList = [];
|