|
@@ -330,7 +330,6 @@ export default {
|
|
|
total: 0,
|
|
|
pageSize: 1,
|
|
|
params: {
|
|
|
- isFile: "1",
|
|
|
id: "",
|
|
|
mkdirId:"1"
|
|
|
},
|
|
@@ -552,29 +551,24 @@ export default {
|
|
|
.then(() => {
|
|
|
this.pageSize = 1;
|
|
|
this.$http({
|
|
|
- url: "/market/cmkFileShareNet/del",
|
|
|
+ url: "/market/workLists/del",
|
|
|
method: "post",
|
|
|
headers: {
|
|
|
"Content-Type": "application/json",
|
|
|
},
|
|
|
data: {
|
|
|
id: val.id,
|
|
|
- isFile: "1",
|
|
|
- createId: val.createId,
|
|
|
- createName: val.createName,
|
|
|
},
|
|
|
}).then((res) => {
|
|
|
if (res.data.result == 0) {
|
|
|
- this.$notify({
|
|
|
- title: "成功",
|
|
|
- message: res.data.desc,
|
|
|
+ this.$message({
|
|
|
+ message: "删除成功",
|
|
|
type: "success",
|
|
|
});
|
|
|
this.getList(this.params, this.pageSize);
|
|
|
}else if(res.data.result == 1) {
|
|
|
- this.$notify({
|
|
|
- title: "失败",
|
|
|
- message: res.data.desc,
|
|
|
+ this.$message({
|
|
|
+ message: res.data.body,
|
|
|
type: "error",
|
|
|
});
|
|
|
}
|
|
@@ -756,9 +750,8 @@ export default {
|
|
|
item.stateNm=item.state=='1'?'开启':'关闭';
|
|
|
});
|
|
|
}else{
|
|
|
- this.$notify({
|
|
|
- title: "获取失败",
|
|
|
- message: res.data.body,
|
|
|
+ this.$message({
|
|
|
+ message: "获取失败",
|
|
|
type: "error",
|
|
|
});
|
|
|
}
|