update 0904docs
This commit is contained in:
@@ -260,7 +260,7 @@ export default {
|
||||
},
|
||||
|
||||
handleBtnClick({ btnName, payload }) {
|
||||
console.log("[search] form handleBtnClick", btnName, payload);
|
||||
//console.log("[search] form handleBtnClick", btnName, payload);
|
||||
switch (btnName) {
|
||||
case "新增":
|
||||
this.openDialog();
|
||||
@@ -300,14 +300,14 @@ export default {
|
||||
});
|
||||
}
|
||||
});
|
||||
console.log("查询", this.cachedSearchCondition);
|
||||
//console.log("查询", this.cachedSearchCondition);
|
||||
this.getList(this.cachedSearchCondition);
|
||||
break;
|
||||
}
|
||||
case "同步":
|
||||
case "全部同步":
|
||||
this.$http.post(this.urls.syncUrl).then(({ data: res }) => {
|
||||
console.log("全部同步", res);
|
||||
//console.log("全部同步", res);
|
||||
if (res.code === 0) {
|
||||
this.$message({ message: "同步成功", type: "success" });
|
||||
this.getList();
|
||||
@@ -334,7 +334,7 @@ export default {
|
||||
openDialog(row, detail) {
|
||||
this.dialogVisible = true;
|
||||
|
||||
console.log("row detail", row, detail);
|
||||
//console.log("row detail", row, detail);
|
||||
|
||||
let extraParams = null;
|
||||
if (this.attachListQueryExtra && this.listQueryExtra.length) {
|
||||
@@ -344,7 +344,7 @@ export default {
|
||||
});
|
||||
}
|
||||
this.$nextTick(() => {
|
||||
console.log(`[edit-dialog] extraParams: ${extraParams}`);
|
||||
//console.log(`[edit-dialog] extraParams: ${extraParams}`);
|
||||
this.$refs["edit-dialog"].init(/** some args... */ row, detail);
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user