feat(项目设置): 应用管理我的工作台新增“我的待办-待更新”配置
--user=郭雨琦 --bug=1007895 https://www.tapd.cn/55049933/prong/stories/view/1155049933001007895
This commit is contained in:
parent
db16a3cc80
commit
f1c0cf5474
|
@ -26,4 +26,7 @@ public class ProjectConfig {
|
|||
private Boolean cleanLoadReport = false;
|
||||
private String cleanLoadReportExpr;
|
||||
private Boolean urlRepeatable = false;
|
||||
private String triggerUpdate;
|
||||
private Boolean openUpdateTime = false;
|
||||
private String openUpdateRuleTime;
|
||||
}
|
||||
|
|
|
@ -318,20 +318,11 @@ export default {
|
|||
shareReport: true,
|
||||
openUpdateTime: false,
|
||||
openUpdateRuleTime: "",
|
||||
triggerUpdate: "",
|
||||
},
|
||||
showRuleSetting: false,
|
||||
showSyncTimeSetting: false,
|
||||
apiSyncCaseRequest: {
|
||||
protocol: true,
|
||||
method: true,
|
||||
path: true,
|
||||
headers: true,
|
||||
query: true,
|
||||
rest: true,
|
||||
body: true,
|
||||
failed: true,
|
||||
unExecute: true
|
||||
},
|
||||
apiSyncCaseRequest: {},
|
||||
pastQuantity: '',
|
||||
pastUnit: ''
|
||||
};
|
||||
|
@ -395,11 +386,31 @@ export default {
|
|||
if (!this.config.uiQuickMenu) {
|
||||
this.config.uiQuickMenu = "server";
|
||||
}
|
||||
if (this.config.triggerUpdate) {
|
||||
this.apiSyncCaseRequest = JSON.parse(this.config.triggerUpdate);
|
||||
}
|
||||
if (this.config.openUpdateRuleTime) {
|
||||
this.pastUnit = this.config.openUpdateRuleTime.substring(this.config.openUpdateRuleTime.length - 1);
|
||||
this.pastQuantity = this.config.openUpdateRuleTime.substring(0, this.config.openUpdateRuleTime.length - 1);
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
openRuleSetting() {
|
||||
this.showRuleSetting = true;
|
||||
if (!this.apiSyncCaseRequest.protocol) {
|
||||
this.apiSyncCaseRequest = {
|
||||
protocol: true,
|
||||
method: true,
|
||||
path: true,
|
||||
headers: true,
|
||||
query: true,
|
||||
rest: true,
|
||||
body: true,
|
||||
failed: true,
|
||||
unExecute: true
|
||||
}
|
||||
}
|
||||
},
|
||||
setSyncTime() {
|
||||
this.showSyncTimeSetting = !this.showSyncTimeSetting;
|
||||
|
|
Loading…
Reference in New Issue