|
12 | 12 |
|
13 | 13 | <el-col :span="8"> |
14 | 14 | <el-form-item label="Hidden Query" :label-width="formLabelWidth"> |
15 | | - <el-input size="mini" v-model="currentConfig.config.hiddenQuery" autocomplete="off"></el-input> |
| 15 | + <el-input :disabled="currentConfig.config.useShortUrl" size="mini" v-model="currentConfig.config.hiddenQuery" autocomplete="off"></el-input> |
16 | 16 | </el-form-item> |
17 | 17 | </el-col> |
18 | 18 |
|
19 | 19 | <el-col :span="8"> |
20 | 20 | <el-form-item label="Filter Column" :label-width="formLabelWidth"> |
21 | | - <el-input size="mini" v-model="currentConfig.config.filtercolumn" autocomplete="off"></el-input> |
| 21 | + <el-input :disabled="currentConfig.config.useShortUrl" size="mini" v-model="currentConfig.config.filtercolumn" autocomplete="off"></el-input> |
22 | 22 | </el-form-item> |
23 | 23 | </el-col> |
24 | 24 | </el-row> |
|
74 | 74 | <el-form> |
75 | 75 | <el-row> </el-row> |
76 | 76 |
|
77 | | - <el-row :gutter="24" style="text-align:left"> |
| 77 | + <el-row :gutter="24" style="text-align:left" > |
78 | 78 | <el-col :span="8"> |
79 | | - <el-form-item label :label-width="formLabelWidth"> |
| 79 | + <el-form-item label :label-width="formLabelWidth" > |
80 | 80 | <el-row> |
81 | | - <el-switch |
| 81 | + <el-switch :disabled="currentConfig.config.useShortUrl" |
82 | 82 | v-model="currentConfig.queryBarChecked" |
83 | 83 | active-text="Query Bar" |
84 | 84 | @change="query_bar_changed" |
85 | 85 | ></el-switch> |
86 | 86 | </el-row> |
87 | 87 | <el-row> |
88 | | - <el-switch v-model="currentConfig.downloadChecked" active-text="Download"></el-switch> |
| 88 | + <el-switch :disabled="currentConfig.config.useShortUrl" v-model="currentConfig.downloadChecked" active-text="Download"></el-switch> |
89 | 89 | </el-row> |
90 | 90 | <el-row> |
91 | 91 |
|
|
96 | 96 | <el-form-item label :label-width="formLabelWidth"> |
97 | 97 | <el-row> |
98 | 98 | <el-switch |
| 99 | + :disabled="currentConfig.config.useShortUrl" |
99 | 100 | v-model="currentConfig.queryFilterChecked" |
100 | 101 | active-text="Query Filter" |
101 | 102 | @change="query_filter_changed" |
|
126 | 127 | <el-col :span="8"> |
127 | 128 | <el-form-item label :label-width="formLabelWidth"> |
128 | 129 | <el-row> |
129 | | - <el-switch v-model="currentConfig.hideFilter" active-text="Hide Filter"></el-switch> |
| 130 | + <el-switch :disabled="currentConfig.config.useShortUrl" v-model="currentConfig.hideFilter" active-text="Hide Filter"></el-switch> |
130 | 131 | </el-row> |
131 | 132 | <el-row> |
132 | 133 | <el-switch |
|
0 commit comments