|
@@ -105,8 +105,10 @@
|
105
|
105
|
<template slot-scope="{ row }" slot="actionSlot">
|
106
|
106
|
<div class="action_list">
|
107
|
107
|
<div @click="toView(row)">查看</div>
|
108
|
|
- <div @click="toEdit(row)">编辑</div>
|
109
|
|
- <div class="action_del" @click="toDel(row)">删除</div>
|
|
108
|
+ <div v-if="row.belong === 2" @click="toEdit(row)">编辑</div>
|
|
109
|
+ <div v-if="row.belong === 2" class="action_del" @click="toDel(row)">
|
|
110
|
+ 删除
|
|
111
|
+ </div>
|
110
|
112
|
</div>
|
111
|
113
|
</template>
|
112
|
114
|
</Table>
|
|
@@ -162,10 +164,10 @@
|
162
|
164
|
:label-width="130"
|
163
|
165
|
inline
|
164
|
166
|
>
|
165
|
|
- <FormItem label="名称" prop="appName" style="width: 100%">
|
|
167
|
+ <FormItem label="应用名称" prop="appName" style="width: 100%">
|
166
|
168
|
<Input
|
167
|
169
|
v-model="wallpaperInfo.appName"
|
168
|
|
- placeholder="请输入名称"
|
|
170
|
+ placeholder="上传应用自动识别"
|
169
|
171
|
></Input>
|
170
|
172
|
</FormItem>
|
171
|
173
|
<FormItem label="分组" style="width: 100%" class="require">
|
|
@@ -398,6 +400,7 @@
|
398
|
400
|
<Input
|
399
|
401
|
v-model="wallpaperInfo.appPackage"
|
400
|
402
|
placeholder="请输入应用包名"
|
|
403
|
+ disabled
|
401
|
404
|
></Input>
|
402
|
405
|
</FormItem>
|
403
|
406
|
<FormItem label="应用简介" style="width: 100%">
|
|
@@ -651,7 +654,7 @@
|
651
|
654
|
</template>
|
652
|
655
|
|
653
|
656
|
<script>
|
654
|
|
-import {date_format, getResourceSize, uuid} from "@/utils";
|
|
657
|
+import { date_format, getResourceSize, uuid } from "@/utils";
|
655
|
658
|
import QRCode from "qrcodejs2";
|
656
|
659
|
import axios from "axios";
|
657
|
660
|
import {
|
|
@@ -773,7 +776,7 @@ export default {
|
773
|
776
|
appName: [
|
774
|
777
|
{
|
775
|
778
|
required: true,
|
776
|
|
- message: "请输入名称",
|
|
779
|
+ message: "请输入应用名称",
|
777
|
780
|
trigger: "blur"
|
778
|
781
|
}
|
779
|
782
|
],
|
|
@@ -1211,6 +1214,7 @@ export default {
|
1211
|
1214
|
that.wallpaperInfo.appPackage = res.obj.appPackage;
|
1212
|
1215
|
that.wallpaperInfo.appSize = res.obj.appSize;
|
1213
|
1216
|
that.wallpaperInfo.versionName = res.obj.versionName;
|
|
1217
|
+ that.wallpaperInfo.appName = res.obj.appName;
|
1214
|
1218
|
that.wallpaperInfo.versionNum = res.obj.versionNum;
|
1215
|
1219
|
that.showLiading = false;
|
1216
|
1220
|
} else {
|
|
@@ -1337,6 +1341,7 @@ export default {
|
1337
|
1341
|
if (res.code === 0) {
|
1338
|
1342
|
this.searchForm.list = res.obj.data;
|
1339
|
1343
|
this.searchForm.total = res.obj.total;
|
|
1344
|
+ console.log(this.searchForm.list);
|
1340
|
1345
|
if (document.querySelector(".section_main")) {
|
1341
|
1346
|
document.querySelector(".section_main").scrollTop = 0;
|
1342
|
1347
|
}
|
|
@@ -1374,6 +1379,13 @@ export default {
|
1374
|
1379
|
schoolids: []
|
1375
|
1380
|
};
|
1376
|
1381
|
this.school_list = JSON.parse(JSON.stringify(this.curRegion));
|
|
1382
|
+ this.file_list = [
|
|
1383
|
+ {
|
|
1384
|
+ progress: () => {
|
|
1385
|
+ return 0;
|
|
1386
|
+ }
|
|
1387
|
+ }
|
|
1388
|
+ ];
|
1377
|
1389
|
},
|
1378
|
1390
|
// 保存新建
|
1379
|
1391
|
saveAddInfo() {
|