add edit mode
This commit is contained in:
5
package-lock.json
generated
5
package-lock.json
generated
@@ -3079,6 +3079,11 @@
|
||||
"integrity": "sha1-3vHxyl1gWdJKdm5YeULCEQbOEnU=",
|
||||
"dev": true
|
||||
},
|
||||
"downloadjs": {
|
||||
"version": "1.4.7",
|
||||
"resolved": "https://registry.npmjs.org/downloadjs/-/downloadjs-1.4.7.tgz",
|
||||
"integrity": "sha1-9p+W+UDg0FU9rCkROYZaPNAQHjw="
|
||||
},
|
||||
"duplexify": {
|
||||
"version": "3.7.1",
|
||||
"resolved": "https://registry.npmjs.org/duplexify/-/duplexify-3.7.1.tgz",
|
||||
|
||||
@@ -65,6 +65,15 @@ class caseListApi extends Api {
|
||||
data: data
|
||||
});
|
||||
}
|
||||
updateCaseList(data) {
|
||||
return this.put({
|
||||
service: "PUT_CASE_LIST",
|
||||
keys: {
|
||||
id: data.id
|
||||
},
|
||||
data: data
|
||||
});
|
||||
}
|
||||
}
|
||||
let api = new caseListApi(Services);
|
||||
|
||||
|
||||
@@ -4,5 +4,6 @@ export default {
|
||||
CASE_LIST_UNASSIGNED: "/caseList/unassigned",
|
||||
CASE_LIST_PAUSED: "/caseList/paused",
|
||||
REPORT_TABLES: "/caseList/report-tables",
|
||||
CASE_LIST: "/caseList"
|
||||
CASE_LIST: "/caseList",
|
||||
PUT_CASE_LIST: "/caseList/{id}"
|
||||
};
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -188,7 +188,19 @@ export default {
|
||||
|
||||
},
|
||||
editCustomCaseList(data) {
|
||||
|
||||
this.$emit("showSketch", {
|
||||
id: data.id,
|
||||
name: data.name,
|
||||
description: data.description,
|
||||
tableUid: data.tableUid,
|
||||
tableName: data.tableName,
|
||||
iconList: data.iconList,
|
||||
iconColor: data.iconColor,
|
||||
iconColorScreen: data.iconColorScreen,
|
||||
columns: data.columns,
|
||||
enableFilter: data.enableFilter,
|
||||
type: this.module
|
||||
});
|
||||
},
|
||||
/**
|
||||
* Export the Custom Case List in a json
|
||||
|
||||
Reference in New Issue
Block a user