|
@@ -185,14 +185,17 @@
|
185
|
185
|
</template>
|
186
|
186
|
</Select>
|
187
|
187
|
</FormItem>
|
188
|
|
- <FormItem label="状态" style="width: 300px">
|
|
188
|
+ <FormItem label="状态" style="width: 100%">
|
189
|
189
|
<RadioGroup v-model="wallpaperInfo.enabled">
|
190
|
190
|
<Radio :label="1">启用</Radio>
|
191
|
191
|
<Radio :label="2">禁用</Radio>
|
192
|
192
|
</RadioGroup>
|
193
|
193
|
</FormItem>
|
194
|
|
- <FormItem label="应用属性">
|
195
|
|
- <RadioGroup v-model="wallpaperInfo.appType">
|
|
194
|
+ <FormItem label="应用属性" style="width: 100%">
|
|
195
|
+ <RadioGroup
|
|
196
|
+ @on-change="ChangeAppType"
|
|
197
|
+ v-model="wallpaperInfo.appType"
|
|
198
|
+ >
|
196
|
199
|
<Radio :label="1">推荐应用</Radio>
|
197
|
200
|
<Radio :label="2">必装应用</Radio>
|
198
|
201
|
</RadioGroup>
|
|
@@ -200,8 +203,12 @@
|
200
|
203
|
<FormItem label="强制安装" style="width: 100%">
|
201
|
204
|
<div class="comm">
|
202
|
205
|
<RadioGroup v-model="wallpaperInfo.forced">
|
203
|
|
- <Radio :label="1">是</Radio>
|
204
|
|
- <Radio :label="0">否</Radio>
|
|
206
|
+ <Radio :disabled="wallpaperInfo.appType === 1" :label="1"
|
|
207
|
+ >是</Radio
|
|
208
|
+ >
|
|
209
|
+ <Radio :disabled="wallpaperInfo.appType === 1" :label="0"
|
|
210
|
+ >否</Radio
|
|
211
|
+ >
|
205
|
212
|
</RadioGroup>
|
206
|
213
|
<span>用户进入安全桌面,该应用将被强制安装。</span>
|
207
|
214
|
</div>
|
|
@@ -926,6 +933,11 @@ export default {
|
926
|
933
|
this.searchList();
|
927
|
934
|
},
|
928
|
935
|
methods: {
|
|
936
|
+ ChangeAppType() {
|
|
937
|
+ if (this.wallpaperInfo.appType === 1) {
|
|
938
|
+ this.wallpaperInfo.forced = 0;
|
|
939
|
+ }
|
|
940
|
+ },
|
929
|
941
|
//下载logo
|
930
|
942
|
download(url) {
|
931
|
943
|
window.location.href = this.$api.showImageUrl + url;
|
|
@@ -1093,7 +1105,7 @@ export default {
|
1093
|
1105
|
align: "center"
|
1094
|
1106
|
},
|
1095
|
1107
|
{
|
1096
|
|
- title: "设备名称",
|
|
1108
|
+ title: "设备名",
|
1097
|
1109
|
key: "sn",
|
1098
|
1110
|
align: "center"
|
1099
|
1111
|
},
|
|
@@ -1400,7 +1412,8 @@ export default {
|
1400
|
1412
|
appName: this.wallpaperInfo.appName,
|
1401
|
1413
|
enabled: this.wallpaperInfo.enabled,
|
1402
|
1414
|
appType: this.wallpaperInfo.appType,
|
1403
|
|
- forced: this.wallpaperInfo.forced,
|
|
1415
|
+ forced:
|
|
1416
|
+ this.wallpaperInfo.appType === 1 ? 0 : this.wallpaperInfo.forced,
|
1404
|
1417
|
whited: this.wallpaperInfo.whited,
|
1405
|
1418
|
showico: this.wallpaperInfo.showico,
|
1406
|
1419
|
strategy: this.wallpaperInfo.strategy,
|