剧本动作触发条件调整
This commit is contained in:
parent
636757ddbe
commit
192ca67257
@ -140,12 +140,13 @@ export default {
|
||||
methods:{
|
||||
doShow(actionInfo) {
|
||||
this.tableData = [];
|
||||
this.tableData = (actionInfo.condition || {}).trainStatuses || [];
|
||||
this.delay = ((actionInfo.condition || {}).delay || 0) / 1000;
|
||||
this.delay = 0;
|
||||
this.actionId = actionInfo.id;
|
||||
getActionCondition(this.$route.query.group, this.actionId).then(resp => {
|
||||
if (resp.data) {
|
||||
this.tableData = resp.data.trainStatuses;
|
||||
this.delay = (resp.data.delay || 0) / 1000;
|
||||
}
|
||||
}).catch(()=> {
|
||||
this.$message.error('获取条件失败');
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user