增强服务配置文件启动功能,支持文件配置仍然可以修改

This commit is contained in:
2019-04-29 16:32:26 +08:00
parent a255c52cc0
commit 52f4d459a0
10 changed files with 36 additions and 30 deletions

View File

@@ -40,7 +40,7 @@
<button class="btn btn-default" type="button">添加过滤条件</button>
</span>
<select class="form-control" v-model="addFilter" style="width: 130px;">
<option v-for="f in cfg.filters" :value="f.name" :disabled="f.checked">{{f.label}}</option>
<option v-for="f in cfg.filters" :value="f.name" v-show="!f.checked">{{f.label}}</option>
</select>
<span class="input-group-btn">

View File

@@ -98,7 +98,7 @@
</div>
<div class="modal-body" style="text-align: center">
<select class="form-control" v-model="newLinkTable">
<option v-for="x in tables" :value="x" v-text="x.name + ' --- ' + x.comment" :disabled="isDisable(x)"></option>
<option v-for="x in tables" :value="x" v-text="x.name + ' --- ' + x.comment" v-show="!isDisable(x)"></option>
</select>
</div>
<div class="modal-footer">