|
@@ -71,12 +71,10 @@
|
71
|
71
|
<div>{{ row.appType === 1 ? "推荐应用" : "必装应用" }}</div>
|
72
|
72
|
</template>
|
73
|
73
|
<template slot-scope="{ row }" slot="enabled">
|
74
|
|
- <div
|
75
|
|
- v-if="
|
76
|
|
- row.createid === userInfo.adminid ||
|
77
|
|
- row.schoolid === powerParams.objectid
|
78
|
|
- "
|
79
|
|
- >
|
|
74
|
+ <div v-if="row.regionSchool === 2">
|
|
75
|
+ {{ row.enabled === 1 ? "启用" : "禁用" }}
|
|
76
|
+ </div>
|
|
77
|
+ <div v-else-if="row.regionSchool === 3">
|
80
|
78
|
<i-switch
|
81
|
79
|
size="large"
|
82
|
80
|
v-model="row.enabled"
|
|
@@ -88,9 +86,6 @@
|
88
|
86
|
<span slot="close">禁用</span>
|
89
|
87
|
</i-switch>
|
90
|
88
|
</div>
|
91
|
|
- <div v-else>
|
92
|
|
- {{ row.enabled === 1 ? "启用" : "禁用" }}
|
93
|
|
- </div>
|
94
|
89
|
</template>
|
95
|
90
|
<template slot-scope="{ row }" slot="whited">
|
96
|
91
|
<div class="action_list">
|
|
@@ -113,20 +108,9 @@
|
113
|
108
|
<template slot-scope="{ row }" slot="actionSlot">
|
114
|
109
|
<div class="action_list">
|
115
|
110
|
<div @click="toView(row)">查看</div>
|
|
111
|
+ <div v-if="row.regionSchool === 3" @click="toEdit(row)">编辑</div>
|
116
|
112
|
<div
|
117
|
|
- v-if="
|
118
|
|
- row.createid === userInfo.adminid ||
|
119
|
|
- row.schoolid === powerParams.objectid
|
120
|
|
- "
|
121
|
|
- @click="toEdit(row)"
|
122
|
|
- >
|
123
|
|
- 编辑
|
124
|
|
- </div>
|
125
|
|
- <div
|
126
|
|
- v-if="
|
127
|
|
- row.createid === userInfo.adminid ||
|
128
|
|
- row.schoolid === powerParams.objectid
|
129
|
|
- "
|
|
113
|
+ v-if="row.regionSchool === 3"
|
130
|
114
|
class="action_del"
|
131
|
115
|
@click="toDel(row)"
|
132
|
116
|
>
|
|
@@ -210,12 +194,6 @@
|
210
|
194
|
</template>
|
211
|
195
|
</Select>
|
212
|
196
|
</FormItem>
|
213
|
|
- <FormItem label="状态" style="width: 100%">
|
214
|
|
- <RadioGroup v-model="wallpaperInfo.enabled">
|
215
|
|
- <Radio :label="1">启用</Radio>
|
216
|
|
- <Radio :label="2">禁用</Radio>
|
217
|
|
- </RadioGroup>
|
218
|
|
- </FormItem>
|
219
|
197
|
<FormItem label="应用属性" style="width: 100%">
|
220
|
198
|
<RadioGroup
|
221
|
199
|
@on-change="ChangeAppType"
|
|
@@ -600,7 +578,7 @@
|
600
|
578
|
</div>
|
601
|
579
|
<div class="view_com">
|
602
|
580
|
<div class="view_t">更新内容</div>
|
603
|
|
- <div>{{ viewInfo.appRenew || "无"}}</div>
|
|
581
|
+ <div>{{ viewInfo.appRenew || "无" }}</div>
|
604
|
582
|
</div>
|
605
|
583
|
<div class="view_com">
|
606
|
584
|
<div class="view_t">授权型号</div>
|
|
@@ -745,7 +723,6 @@ export default {
|
745
|
723
|
appid: null,
|
746
|
724
|
appName: "",
|
747
|
725
|
appgroupid: 0,
|
748
|
|
- enabled: 1,
|
749
|
726
|
appType: 1,
|
750
|
727
|
forced: 0,
|
751
|
728
|
whited: 1,
|
|
@@ -1382,7 +1359,6 @@ export default {
|
1382
|
1359
|
appid: null,
|
1383
|
1360
|
appName: "",
|
1384
|
1361
|
appgroupid: "",
|
1385
|
|
- enabled: 1,
|
1386
|
1362
|
appType: 1,
|
1387
|
1363
|
forced: 0,
|
1388
|
1364
|
whited: 1,
|
|
@@ -1448,7 +1424,6 @@ export default {
|
1448
|
1424
|
rtype: this.powerParams.rtype,
|
1449
|
1425
|
objectid: this.powerParams.objectid,
|
1450
|
1426
|
appName: this.wallpaperInfo.appName,
|
1451
|
|
- enabled: this.wallpaperInfo.enabled,
|
1452
|
1427
|
appType: this.wallpaperInfo.appType,
|
1453
|
1428
|
forced:
|
1454
|
1429
|
this.wallpaperInfo.appType === 1 ? 0 : this.wallpaperInfo.forced,
|
|
@@ -1507,7 +1482,6 @@ export default {
|
1507
|
1482
|
rversion: res.obj.rversion,
|
1508
|
1483
|
appName: res.obj.appName,
|
1509
|
1484
|
appgroupid: res.obj.appgroupid,
|
1510
|
|
- enabled: res.obj.enabled,
|
1511
|
1485
|
appType: res.obj.appType,
|
1512
|
1486
|
forced: res.obj.forced,
|
1513
|
1487
|
whited: res.obj.whited,
|