hd-idevvue3 3.0.7 → 3.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{static/js/index-DbUA6jg0.js → index.js} +1 -1
- package/package.json +7 -2
- package/.env.development +0 -5
- package/.env.production +0 -5
- package/.eslintrc.js +0 -151
- package/dist/static/js/index-Dl4O91nB.js +0 -73768
- package/index.html +0 -18
- package/pnpm-lock.yaml +0 -3541
- package/src/App.vue +0 -11
- package/src/assets/sound/notify.wav +0 -0
- package/src/demo/demo.vue +0 -42
- package/src/demo/dropdemo.vue +0 -42
- package/src/demo/extsets.vue +0 -208
- package/src/demo/formedit.vue +0 -157
- package/src/demo/hightquery.vue +0 -366
- package/src/demo/inlineedit.vue +0 -182
- package/src/demo/selfdrop.vue +0 -58
- package/src/demo//350/241/214/345/206/205/347/272/247/350/201/224.txt +0 -2
- package/src/directive/el-dragDialog/drag.js +0 -124
- package/src/directive/el-dragDialog/index.js +0 -13
- package/src/errorLog.js +0 -16
- package/src/hdcom/BigGrid.js +0 -179
- package/src/hdcom/BillShow.vue +0 -111
- package/src/hdcom/BillUpload.vue +0 -311
- package/src/hdcom/BtnRight.vue +0 -101
- package/src/hdcom/ErrHint.vue +0 -42
- package/src/hdcom/ExtendColumn.vue +0 -115
- package/src/hdcom/ExtendCommon.js +0 -40
- package/src/hdcom/ExtendForm.vue +0 -141
- package/src/hdcom/FacePicUpload.vue +0 -80
- package/src/hdcom/FaceRecTest.vue +0 -114
- package/src/hdcom/GridChart.vue +0 -207
- package/src/hdcom/GridExField.vue +0 -375
- package/src/hdcom/GridShow.vue +0 -288
- package/src/hdcom/HdAside.vue +0 -225
- package/src/hdcom/HdBtn.vue +0 -125
- package/src/hdcom/HdButton.vue +0 -161
- package/src/hdcom/HdComFaceRec.vue +0 -106
- package/src/hdcom/HdComGrid.vue +0 -876
- package/src/hdcom/HdComQuery.vue +0 -362
- package/src/hdcom/HdComQueryDetail.vue +0 -205
- package/src/hdcom/HdComSortDetail.vue +0 -161
- package/src/hdcom/HdDatePicker.vue +0 -94
- package/src/hdcom/HdDialog.vue +0 -81
- package/src/hdcom/HdDrop.vue +0 -188
- package/src/hdcom/HdFileUpload.vue +0 -167
- package/src/hdcom/HdFilterBox.vue +0 -90
- package/src/hdcom/HdFooter.vue +0 -182
- package/src/hdcom/HdForm.vue +0 -351
- package/src/hdcom/HdFormBtn.vue +0 -131
- package/src/hdcom/HdFormItem.vue +0 -39
- package/src/hdcom/HdGctosGrid +0 -0
- package/src/hdcom/HdGrid.vue +0 -1022
- package/src/hdcom/HdGridEditBtn.vue +0 -58
- package/src/hdcom/HdGridExt.js +0 -250
- package/src/hdcom/HdGridSel.vue +0 -257
- package/src/hdcom/HdHeader.vue +0 -180
- package/src/hdcom/HdHotKey.vue +0 -84
- package/src/hdcom/HdInputHint.vue +0 -53
- package/src/hdcom/HdMain.vue +0 -41
- package/src/hdcom/HdMessage.vue +0 -201
- package/src/hdcom/HdNum.vue +0 -79
- package/src/hdcom/HdPopSel.vue +0 -80
- package/src/hdcom/HdRightMenu.vue +0 -63
- package/src/hdcom/HdSel/SelGridFieldcod.vue +0 -54
- package/src/hdcom/HdTableColumn.vue +0 -381
- package/src/hdcom/HdTempSave.vue +0 -162
- package/src/hdcom/HdTree.vue +0 -103
- package/src/hdcom/HdTreeTable/eval.js +0 -39
- package/src/hdcom/HdTreeTable/index.vue +0 -229
- package/src/hdcom/ImportExcel.vue +0 -178
- package/src/hdcom/index.js +0 -75
- package/src/idev.common.js +0 -79
- package/src/index.js +0 -11
- package/src/utils/HdQuery.js +0 -65
- package/src/utils/comutils.js +0 -120
- package/src/utils/gogocodeTransfer.js +0 -59
- package/src/utils/utils.js +0 -116
- package/src/vendor/Blob.js +0 -187
- package/src/vendor/Export2Excel.js +0 -231
- package/src/vendor/Export2Zip.js +0 -25
- package/src/views/layout/AppMain.vue +0 -34
- package/src/views/layout/HdLayout.vue +0 -90
- package/src/views/layout/header/ElasticSearch.vue +0 -262
- package/src/views/layout/header/HZRecorder.js +0 -259
- package/src/views/layout/header/HeaderSearch.vue +0 -218
- package/src/views/layout/header/Levelbar.vue +0 -55
- package/src/views/layout/header/MainHeader.vue +0 -315
- package/src/views/layout/header/Navbar.vue +0 -101
- package/src/views/layout/header/ScrollPane.vue +0 -103
- package/src/views/layout/header/TagsView.vue +0 -215
- package/src/views/layout/header/VocRec.vue +0 -105
- package/src/views/layout/header/changepswform.vue +0 -130
- package/src/views/layout/index.js +0 -10
- package/src/views/layout/menu/Hamburger.vue +0 -63
- package/src/views/layout/menu/HdMenu.vue +0 -204
- package/src/views/layout/menu/css/menu.css +0 -288
- package/src/views/layout/menu/index.vue +0 -27
- package/src/views/privilege/commsg/commsg.vue +0 -152
- package/src/views/privilege/commsg/commsgOrgn.vue +0 -51
- package/src/views/privilege/commsg/commsgRole.vue +0 -220
- package/src/views/privilege/commsg/commsgform.vue +0 -184
- package/src/views/privilege/commsg/commsgiframe.vue +0 -40
- package/src/views/privilege/commsg/commsgto.vue +0 -199
- package/src/views/privilege/commsg/commsgtoform.vue +0 -114
- package/src/views/privilege/commsg/commsgtrans.vue +0 -227
- package/src/views/privilege/exfield/comexcolumn.vue +0 -161
- package/src/views/privilege/exfield/comexcolumnform.vue +0 -128
- package/src/views/privilege/exfield/comexfield.vue +0 -29
- package/src/views/privilege/exfield/comexfieldform.vue +0 -112
- package/src/views/privilege/exfield/comexfieldsub.vue +0 -163
- package/src/views/privilege/index.js +0 -41
- package/src/views/privilege/menu/comMenu.vue +0 -49
- package/src/views/privilege/menu/menu.vue +0 -250
- package/src/views/privilege/menu/menuinfo.vue +0 -63
- package/src/views/privilege/menu/rolelist.vue +0 -92
- package/src/views/privilege/menu/userlist.vue +0 -92
- package/src/views/privilege/mobile/authmobileupdate.vue +0 -145
- package/src/views/privilege/mobile/authmobileupdateform.vue +0 -120
- package/src/views/privilege/orgDept/authOrgn.vue +0 -188
- package/src/views/privilege/orgDept/authorgnform.vue +0 -157
- package/src/views/privilege/orgDept/orgDept.vue +0 -38
- package/src/views/privilege/orgDept/orgTree.vue +0 -99
- package/src/views/privilege/orgDept/orgnselect.vue +0 -155
- package/src/views/privilege/personDept/authuser.vue +0 -229
- package/src/views/privilege/personDept/authuserform.vue +0 -206
- package/src/views/privilege/personDept/facerec.vue +0 -162
- package/src/views/privilege/personDept/orgncascader.vue +0 -144
- package/src/views/privilege/personDept/personDept.vue +0 -33
- package/src/views/privilege/quartz/comquartzjob.vue +0 -150
- package/src/views/privilege/quartz/comquartzjobform.vue +0 -115
- package/src/views/privilege/quartz/comquartzlog.vue +0 -143
- package/src/views/privilege/role/btnRole.vue +0 -173
- package/src/views/privilege/role/menuRole.vue +0 -84
- package/src/views/privilege/role/orgnRole.vue +0 -78
- package/src/views/privilege/role/role.vue +0 -84
- package/src/views/privilege/role/rolelist.vue +0 -136
- package/src/views/privilege/role/roleselect.vue +0 -74
- package/src/views/privilege/search/comsearch.vue +0 -196
- package/src/views/privilege/search/menu.vue +0 -68
- package/src/views/privilege/syscode/syscode.vue +0 -191
- package/src/views/privilege/syscode/sysfield.vue +0 -119
- package/src/views/privilege/syscode/sysfieldframe.vue +0 -30
- package/src/views/privilege/syslog/menulog.vue +0 -68
- package/src/views/privilege/syslog/syslog.vue +0 -182
- package/src/views/privilege/syslog/syslogconfig.vue +0 -128
- package/src/views/privilege/syslog/syslogform.vue +0 -85
- package/src/views/privilege/syslog/syslogframe.vue +0 -26
- package/src/views/privilege/userRole/userRole.vue +0 -220
- package/vite.config.js +0 -124
- /package/dist/{static/css/index-DRHIlcVU.css → index.css} +0 -0
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<hd-com-grid
|
|
3
|
-
ref="grid"
|
|
4
|
-
:hdQuery="hdQuery"
|
|
5
|
-
findUrl="/webresources/login/privilege/AuthPrivilege/role/find"
|
|
6
|
-
notInit
|
|
7
|
-
>
|
|
8
|
-
<div class="filter-container" slot="query">
|
|
9
|
-
<el-input
|
|
10
|
-
@keyup.enter.native="doQuery"
|
|
11
|
-
style="width: 120px"
|
|
12
|
-
class="filter-item"
|
|
13
|
-
:placeholder="$t('名称')"
|
|
14
|
-
v-model="hdQuery.query.name"
|
|
15
|
-
>
|
|
16
|
-
</el-input>
|
|
17
|
-
<orgnselect
|
|
18
|
-
style="width: 150px; display: inline-block"
|
|
19
|
-
:txtVal.sync="hdQuery.query.orgnName"
|
|
20
|
-
:idVal.sync="hdQuery.query.orgnId"
|
|
21
|
-
class="filter-item"
|
|
22
|
-
:placeholder="$t('选择部门')"
|
|
23
|
-
></orgnselect>
|
|
24
|
-
<el-button @click="doQuery" keyType="query" class="filter-item">{{
|
|
25
|
-
$t('搜索')
|
|
26
|
-
}}</el-button>
|
|
27
|
-
</div>
|
|
28
|
-
<el-table-column
|
|
29
|
-
width="120px"
|
|
30
|
-
align="left"
|
|
31
|
-
header-align="center"
|
|
32
|
-
label="名称"
|
|
33
|
-
prop="name"
|
|
34
|
-
sortable
|
|
35
|
-
>
|
|
36
|
-
</el-table-column>
|
|
37
|
-
<el-table-column
|
|
38
|
-
width="170px"
|
|
39
|
-
align="left"
|
|
40
|
-
header-align="center"
|
|
41
|
-
label="所属部门"
|
|
42
|
-
prop="orgnStr"
|
|
43
|
-
noEdit
|
|
44
|
-
>
|
|
45
|
-
</el-table-column>
|
|
46
|
-
<el-table-column
|
|
47
|
-
width="150px"
|
|
48
|
-
align="left"
|
|
49
|
-
header-align="center"
|
|
50
|
-
label="描述"
|
|
51
|
-
prop="description"
|
|
52
|
-
>
|
|
53
|
-
</el-table-column>
|
|
54
|
-
<el-table-column
|
|
55
|
-
width="100px"
|
|
56
|
-
align="center"
|
|
57
|
-
label="管理员"
|
|
58
|
-
prop="isAdmin"
|
|
59
|
-
input="el-switch"
|
|
60
|
-
v-if="$store.state.user.isAdmin"
|
|
61
|
-
:inputProp="{ activeValue: '1', inactiveValue: '0' }"
|
|
62
|
-
:inputFormat="$ckFt"
|
|
63
|
-
sortable
|
|
64
|
-
>
|
|
65
|
-
</el-table-column>
|
|
66
|
-
</hd-com-grid>
|
|
67
|
-
</template>
|
|
68
|
-
|
|
69
|
-
<script>
|
|
70
|
-
import orgnselect from '../orgDept/orgnselect'
|
|
71
|
-
export default {
|
|
72
|
-
name: 'rolelist',
|
|
73
|
-
components: {
|
|
74
|
-
orgnselect,
|
|
75
|
-
},
|
|
76
|
-
data: function () {
|
|
77
|
-
return {
|
|
78
|
-
hdQuery: new HdQuery(this),
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
mounted() {},
|
|
82
|
-
methods: {
|
|
83
|
-
query(p) {
|
|
84
|
-
this.hdQuery.query.privilegeId = p
|
|
85
|
-
this.doQuery()
|
|
86
|
-
},
|
|
87
|
-
doQuery() {
|
|
88
|
-
this.$refs.grid.doQuery()
|
|
89
|
-
},
|
|
90
|
-
},
|
|
91
|
-
}
|
|
92
|
-
</script>
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<hd-com-grid
|
|
3
|
-
ref="grid"
|
|
4
|
-
:hdQuery="hdQuery"
|
|
5
|
-
findUrl="/webresources/login/privilege/AuthPrivilege/user/find"
|
|
6
|
-
notInit
|
|
7
|
-
>
|
|
8
|
-
<div class="filter-container" slot="query">
|
|
9
|
-
<el-input
|
|
10
|
-
@keyup.enter.native="doQuery"
|
|
11
|
-
style="width: 120px"
|
|
12
|
-
class="filter-item"
|
|
13
|
-
:placeholder="$t('名称')"
|
|
14
|
-
v-model="hdQuery.query.name"
|
|
15
|
-
>
|
|
16
|
-
</el-input>
|
|
17
|
-
<orgnselect
|
|
18
|
-
style="width: 150px; display: inline-block"
|
|
19
|
-
:txtVal.sync="hdQuery.query.orgnName"
|
|
20
|
-
:idVal.sync="hdQuery.query.orgnId"
|
|
21
|
-
class="filter-item"
|
|
22
|
-
:placeholder="$t('选择部门')"
|
|
23
|
-
></orgnselect>
|
|
24
|
-
<el-button @click="doQuery" keyType="query" class="filter-item">{{
|
|
25
|
-
$t('搜索')
|
|
26
|
-
}}</el-button>
|
|
27
|
-
</div>
|
|
28
|
-
<el-table-column
|
|
29
|
-
align="left"
|
|
30
|
-
header-align="center"
|
|
31
|
-
label="姓名"
|
|
32
|
-
prop="name"
|
|
33
|
-
sortable
|
|
34
|
-
width="100px"
|
|
35
|
-
>
|
|
36
|
-
</el-table-column>
|
|
37
|
-
<el-table-column
|
|
38
|
-
align="left"
|
|
39
|
-
header-align="center"
|
|
40
|
-
label="账号"
|
|
41
|
-
prop="account"
|
|
42
|
-
sortable
|
|
43
|
-
width="100px"
|
|
44
|
-
>
|
|
45
|
-
</el-table-column>
|
|
46
|
-
<!-- <el-table-column :input="require('../orgDept/orgnselect').default" :inputFormat="(result, row)=>row.orgnName" align="left" header-align="center" label="部门" prop="orgnId"
|
|
47
|
-
sortable width="180px">-->
|
|
48
|
-
<!-- </el-table-column> -->
|
|
49
|
-
<el-table-column
|
|
50
|
-
align="center"
|
|
51
|
-
label="账号过期日期"
|
|
52
|
-
prop="accountPassDate"
|
|
53
|
-
sortable
|
|
54
|
-
width="auto"
|
|
55
|
-
>
|
|
56
|
-
</el-table-column>
|
|
57
|
-
<el-table-column
|
|
58
|
-
align="center"
|
|
59
|
-
label="密码修改时间"
|
|
60
|
-
prop="pwModifyTim"
|
|
61
|
-
sortable
|
|
62
|
-
width="auto"
|
|
63
|
-
>
|
|
64
|
-
</el-table-column>
|
|
65
|
-
</hd-com-grid>
|
|
66
|
-
</template>
|
|
67
|
-
|
|
68
|
-
<script>
|
|
69
|
-
import orgnselect from '../orgDept/orgnselect'
|
|
70
|
-
|
|
71
|
-
export default {
|
|
72
|
-
name: 'userlist',
|
|
73
|
-
components: {
|
|
74
|
-
orgnselect,
|
|
75
|
-
},
|
|
76
|
-
data: function () {
|
|
77
|
-
return {
|
|
78
|
-
hdQuery: new HdQuery(this),
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
mounted() {},
|
|
82
|
-
methods: {
|
|
83
|
-
query(p) {
|
|
84
|
-
this.hdQuery.query.privilegeId = p
|
|
85
|
-
this.doQuery()
|
|
86
|
-
},
|
|
87
|
-
doQuery() {
|
|
88
|
-
this.$refs.grid.doQuery()
|
|
89
|
-
},
|
|
90
|
-
},
|
|
91
|
-
}
|
|
92
|
-
</script>
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<el-container>
|
|
3
|
-
<el-main>
|
|
4
|
-
<hd-com-grid
|
|
5
|
-
:defaultSort="{ prop: 'versionNo', order: 'descending' }"
|
|
6
|
-
:hdQuery="hdQuery"
|
|
7
|
-
ref="grid"
|
|
8
|
-
url="/webresources/login/mobile/AuthMobileUpdate"
|
|
9
|
-
>
|
|
10
|
-
<div class="filter-container" slot="query">
|
|
11
|
-
<el-input
|
|
12
|
-
@keyup.enter.native="doQuery"
|
|
13
|
-
class="filter-item"
|
|
14
|
-
:placeholder="$t('名称')"
|
|
15
|
-
style="width: 200px"
|
|
16
|
-
v-model="hdQuery.query.anyQuery"
|
|
17
|
-
>
|
|
18
|
-
</el-input>
|
|
19
|
-
<el-button
|
|
20
|
-
@click="$refs.grid.doQuery()"
|
|
21
|
-
class="filter-item"
|
|
22
|
-
:icon="ElIconSearch"
|
|
23
|
-
keyType="query"
|
|
24
|
-
type="primary"
|
|
25
|
-
>{{ $t('搜索') }}
|
|
26
|
-
</el-button>
|
|
27
|
-
<el-button
|
|
28
|
-
@click="doEdit('')"
|
|
29
|
-
class="filter-item"
|
|
30
|
-
:icon="ElIconEdit"
|
|
31
|
-
keyType="add"
|
|
32
|
-
type="primary"
|
|
33
|
-
>{{ $t('新增') }}
|
|
34
|
-
</el-button>
|
|
35
|
-
<el-button
|
|
36
|
-
@click="$refs.grid.doRemoveAll()"
|
|
37
|
-
class="filter-item"
|
|
38
|
-
keyType="del"
|
|
39
|
-
type="danger"
|
|
40
|
-
>{{ $t('删除') }}
|
|
41
|
-
</el-button>
|
|
42
|
-
</div>
|
|
43
|
-
<el-table-column
|
|
44
|
-
align="center"
|
|
45
|
-
fixed="right"
|
|
46
|
-
label="操作"
|
|
47
|
-
width="100px"
|
|
48
|
-
>
|
|
49
|
-
<template slot-scope="scope">
|
|
50
|
-
<hd-btn
|
|
51
|
-
@click.stop="doEdit(scope.row.updateId)"
|
|
52
|
-
hint="编辑"
|
|
53
|
-
icon="el-icon-edit"
|
|
54
|
-
></hd-btn>
|
|
55
|
-
<hd-btn
|
|
56
|
-
@click.stop="$refs.grid.doRemove(scope.row)"
|
|
57
|
-
hint="删除"
|
|
58
|
-
icon="el-icon-delete"
|
|
59
|
-
></hd-btn>
|
|
60
|
-
<hd-btn
|
|
61
|
-
@click.stop="upload(scope.row)"
|
|
62
|
-
hint="apk管理"
|
|
63
|
-
icon="el-icon-upload"
|
|
64
|
-
></hd-btn>
|
|
65
|
-
</template>
|
|
66
|
-
</el-table-column>
|
|
67
|
-
<el-table-column
|
|
68
|
-
align="center"
|
|
69
|
-
label="版本号"
|
|
70
|
-
prop="versionNo"
|
|
71
|
-
sortable
|
|
72
|
-
width="100px"
|
|
73
|
-
>
|
|
74
|
-
</el-table-column>
|
|
75
|
-
<el-table-column
|
|
76
|
-
align="center"
|
|
77
|
-
label="更新信息"
|
|
78
|
-
prop="updateMsg"
|
|
79
|
-
sortable
|
|
80
|
-
width="200px"
|
|
81
|
-
>
|
|
82
|
-
</el-table-column>
|
|
83
|
-
<el-table-column
|
|
84
|
-
align="center"
|
|
85
|
-
label="备注"
|
|
86
|
-
prop="remark"
|
|
87
|
-
sortable
|
|
88
|
-
width="200px"
|
|
89
|
-
>
|
|
90
|
-
</el-table-column>
|
|
91
|
-
|
|
92
|
-
<el-table-column
|
|
93
|
-
align="center"
|
|
94
|
-
label="强制升级"
|
|
95
|
-
prop="isMust"
|
|
96
|
-
sortable
|
|
97
|
-
width="100px"
|
|
98
|
-
>
|
|
99
|
-
</el-table-column>
|
|
100
|
-
</hd-com-grid>
|
|
101
|
-
</el-main>
|
|
102
|
-
<authmobileupdateform
|
|
103
|
-
@save-ok="saveOk"
|
|
104
|
-
ref="authmobileupdateform"
|
|
105
|
-
></authmobileupdateform>
|
|
106
|
-
<HdFileUpload
|
|
107
|
-
:multiple="false"
|
|
108
|
-
accept="apk"
|
|
109
|
-
limit="1"
|
|
110
|
-
ref="upload"
|
|
111
|
-
></HdFileUpload>
|
|
112
|
-
</el-container>
|
|
113
|
-
</template>
|
|
114
|
-
|
|
115
|
-
<script>
|
|
116
|
-
import { Search as ElIconSearch, Edit as ElIconEdit } from '@element-plus/icons-vue'
|
|
117
|
-
import authmobileupdateform from './authmobileupdateform'
|
|
118
|
-
|
|
119
|
-
export default {
|
|
120
|
-
data() {
|
|
121
|
-
return {
|
|
122
|
-
hdQuery: new HdQuery(this),
|
|
123
|
-
ElIconSearch,
|
|
124
|
-
ElIconEdit,
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
|
-
name: 'authmobileupdate',
|
|
128
|
-
components: { authmobileupdateform },
|
|
129
|
-
mounted() {},
|
|
130
|
-
methods: {
|
|
131
|
-
saveOk(row) {
|
|
132
|
-
// 增加或编辑
|
|
133
|
-
this.$refs.grid.doQuery()
|
|
134
|
-
this.upload(row)
|
|
135
|
-
},
|
|
136
|
-
doEdit(updateId) {
|
|
137
|
-
// 增加或编辑
|
|
138
|
-
this.$refs['authmobileupdateform'].show(updateId)
|
|
139
|
-
},
|
|
140
|
-
upload(row) {
|
|
141
|
-
this.$refs['upload'].open('AuthMobileUpdate', row.updateId, true)
|
|
142
|
-
},
|
|
143
|
-
},
|
|
144
|
-
}
|
|
145
|
-
</script>
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<el-dialog :visible.sync="visible" title="编辑" width="60%">
|
|
3
|
-
<el-form :model="hdform" label-width="100px" ref="hdform">
|
|
4
|
-
<el-row>
|
|
5
|
-
<el-col :span="8" :xs="16">
|
|
6
|
-
<el-form-item :rules="$r(1, 0, 36)" label="版本号" prop="versionNo">
|
|
7
|
-
<el-input :clearable="false" type="text" v-model="hdform.versionNo">
|
|
8
|
-
<hd-btn
|
|
9
|
-
hint="版本号使用字符串排序,请确保版本号是最大的,并且上传的apk的版本号必须和本版号一致"
|
|
10
|
-
icon="el-icon-question"
|
|
11
|
-
slot="suffix"
|
|
12
|
-
></hd-btn>
|
|
13
|
-
</el-input>
|
|
14
|
-
</el-form-item>
|
|
15
|
-
</el-col>
|
|
16
|
-
<el-col :span="8" :xs="16">
|
|
17
|
-
<el-form-item :rules="$r(0, 0, 1)" label="强制升级" prop="isMust">
|
|
18
|
-
<el-switch
|
|
19
|
-
active-value="1"
|
|
20
|
-
inactive-value="0"
|
|
21
|
-
v-model="hdform.isMust"
|
|
22
|
-
></el-switch>
|
|
23
|
-
</el-form-item>
|
|
24
|
-
</el-col>
|
|
25
|
-
<el-col :span="22" :xs="22">
|
|
26
|
-
<el-form-item
|
|
27
|
-
:rules="$r(0, 0, 2048)"
|
|
28
|
-
label="更新信息(提示用户)"
|
|
29
|
-
prop="updateMsg"
|
|
30
|
-
>
|
|
31
|
-
<el-input
|
|
32
|
-
:rows="6"
|
|
33
|
-
type="textarea"
|
|
34
|
-
v-model="hdform.updateMsg"
|
|
35
|
-
></el-input>
|
|
36
|
-
</el-form-item>
|
|
37
|
-
</el-col>
|
|
38
|
-
<!--<el-col :span="8" :xs="16">-->
|
|
39
|
-
<!--<el-form-item :rules="$r(0,0,1)" label="强制升级" prop="isMust">-->
|
|
40
|
-
<!--<el-switch active-value="1" inactive-value="0" v-model="hdform.isMust"></el-switch>-->
|
|
41
|
-
<!--</el-form-item>-->
|
|
42
|
-
<!--</el-col>-->
|
|
43
|
-
<el-col :span="22" :xs="22">
|
|
44
|
-
<el-form-item :rules="$r(0, 0, 512)" label="备注" prop="remark">
|
|
45
|
-
<el-input
|
|
46
|
-
:rows="6"
|
|
47
|
-
type="textarea"
|
|
48
|
-
v-model="hdform.remark"
|
|
49
|
-
></el-input>
|
|
50
|
-
</el-form-item>
|
|
51
|
-
</el-col>
|
|
52
|
-
</el-row>
|
|
53
|
-
</el-form>
|
|
54
|
-
<div class="dialog-footer" slot="footer">
|
|
55
|
-
<el-button @click="visible = false">{{ $t('取 消') }}</el-button>
|
|
56
|
-
<el-button :loading="loading" @click="submit" type="primary">
|
|
57
|
-
{{ $t('确 定') }}</el-button
|
|
58
|
-
>
|
|
59
|
-
</div>
|
|
60
|
-
</el-dialog>
|
|
61
|
-
</template>
|
|
62
|
-
|
|
63
|
-
<script>
|
|
64
|
-
export default {
|
|
65
|
-
name: 'authmobileupdateform',
|
|
66
|
-
data() {
|
|
67
|
-
return {
|
|
68
|
-
hdform: {},
|
|
69
|
-
visible: false,
|
|
70
|
-
tsLoading: false,
|
|
71
|
-
loading: false,
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
methods: {
|
|
75
|
-
show(updateId) {
|
|
76
|
-
// 换为本表主键
|
|
77
|
-
//弹窗重复使用时,清除校验项目
|
|
78
|
-
if (this.$refs['hdform']) this.$refs['hdform'].resetFields()
|
|
79
|
-
this.visible = true
|
|
80
|
-
this.$http
|
|
81
|
-
.get(
|
|
82
|
-
'/webresources/login/mobile/AuthMobileUpdate/findone?updateId=' +
|
|
83
|
-
updateId
|
|
84
|
-
)
|
|
85
|
-
.then((response) => {
|
|
86
|
-
const data = response.data
|
|
87
|
-
this.hdform = data
|
|
88
|
-
})
|
|
89
|
-
},
|
|
90
|
-
|
|
91
|
-
submit() {
|
|
92
|
-
// console.debug(this.hdform)
|
|
93
|
-
this.$refs['hdform'].validate((valid) => {
|
|
94
|
-
if (!valid) {
|
|
95
|
-
return false
|
|
96
|
-
}
|
|
97
|
-
this.loading = true
|
|
98
|
-
this.$http
|
|
99
|
-
.post(
|
|
100
|
-
'/webresources/login/mobile/AuthMobileUpdate/saveone',
|
|
101
|
-
this.hdform
|
|
102
|
-
)
|
|
103
|
-
.then((response) => {
|
|
104
|
-
this.loading = false
|
|
105
|
-
const data = response.data
|
|
106
|
-
this.$message({
|
|
107
|
-
type: 'success',
|
|
108
|
-
message: this.$t('保存成功,请上传app'),
|
|
109
|
-
})
|
|
110
|
-
this.$emit('save-ok', data.data) // 主页面调用弹窗时添加
|
|
111
|
-
this.visible = false
|
|
112
|
-
})
|
|
113
|
-
.catch(() => {
|
|
114
|
-
this.loading = false
|
|
115
|
-
})
|
|
116
|
-
})
|
|
117
|
-
},
|
|
118
|
-
},
|
|
119
|
-
}
|
|
120
|
-
</script>
|
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<el-container>
|
|
3
|
-
<el-main>
|
|
4
|
-
<hd-com-grid
|
|
5
|
-
ref="grid"
|
|
6
|
-
:hdQuery="hdQuery"
|
|
7
|
-
url="/webresources/login/privilege/AuthOrgn"
|
|
8
|
-
:removeUrl="removeUrl"
|
|
9
|
-
:defaultSort="{ prop: 'sorter', order: 'ascending' }"
|
|
10
|
-
readForm
|
|
11
|
-
genChart
|
|
12
|
-
>
|
|
13
|
-
<div class="filter-container" slot="query">
|
|
14
|
-
<el-input
|
|
15
|
-
@keyup.enter.native="$refs.grid.doQuery()"
|
|
16
|
-
style="width: 200px"
|
|
17
|
-
class="filter-item"
|
|
18
|
-
:placeholder="$t('名称')"
|
|
19
|
-
v-model="hdQuery.query.anyQuery"
|
|
20
|
-
>
|
|
21
|
-
</el-input>
|
|
22
|
-
<el-button @click="$refs.grid.doQuery()" keyType="query">{{
|
|
23
|
-
$t('搜索')
|
|
24
|
-
}}</el-button>
|
|
25
|
-
<el-button
|
|
26
|
-
class="filter-item"
|
|
27
|
-
@click="doEdit('')"
|
|
28
|
-
type="primary"
|
|
29
|
-
keyType="add"
|
|
30
|
-
>{{ $t('新增') }}
|
|
31
|
-
</el-button>
|
|
32
|
-
<el-button
|
|
33
|
-
class="filter-item"
|
|
34
|
-
@click="$refs.grid.doRemoveAll()"
|
|
35
|
-
type="danger"
|
|
36
|
-
keyType="del"
|
|
37
|
-
>{{ $t('删除') }}
|
|
38
|
-
</el-button>
|
|
39
|
-
</div>
|
|
40
|
-
<el-table-column
|
|
41
|
-
width="100px"
|
|
42
|
-
align="center"
|
|
43
|
-
label="操作"
|
|
44
|
-
fixed="right"
|
|
45
|
-
>
|
|
46
|
-
<template slot-scope="scope">
|
|
47
|
-
<hd-btn
|
|
48
|
-
icon="el-icon-edit"
|
|
49
|
-
hint="编辑"
|
|
50
|
-
@click.stop="doEdit(scope.row)"
|
|
51
|
-
></hd-btn>
|
|
52
|
-
<hd-btn
|
|
53
|
-
icon="el-icon-delete"
|
|
54
|
-
hint="删除"
|
|
55
|
-
@click.stop="doRemove(scope.row)"
|
|
56
|
-
></hd-btn>
|
|
57
|
-
</template>
|
|
58
|
-
</el-table-column>
|
|
59
|
-
|
|
60
|
-
<el-table-column
|
|
61
|
-
width="170px"
|
|
62
|
-
align="left"
|
|
63
|
-
header-align="center"
|
|
64
|
-
label="名称"
|
|
65
|
-
prop="name"
|
|
66
|
-
sortable
|
|
67
|
-
>
|
|
68
|
-
</el-table-column>
|
|
69
|
-
<el-table-column
|
|
70
|
-
width="170px"
|
|
71
|
-
align="left"
|
|
72
|
-
header-align="center"
|
|
73
|
-
label="编码"
|
|
74
|
-
prop="orgnCod"
|
|
75
|
-
sortable
|
|
76
|
-
>
|
|
77
|
-
</el-table-column>
|
|
78
|
-
<el-table-column
|
|
79
|
-
width="100px"
|
|
80
|
-
align="left"
|
|
81
|
-
header-align="center"
|
|
82
|
-
label="英文名"
|
|
83
|
-
prop="enName"
|
|
84
|
-
sortable
|
|
85
|
-
>
|
|
86
|
-
</el-table-column>
|
|
87
|
-
<el-table-column
|
|
88
|
-
width="120px"
|
|
89
|
-
align="left"
|
|
90
|
-
header-align="center"
|
|
91
|
-
label="简称"
|
|
92
|
-
prop="shortNam"
|
|
93
|
-
sortable
|
|
94
|
-
>
|
|
95
|
-
</el-table-column>
|
|
96
|
-
|
|
97
|
-
<el-table-column
|
|
98
|
-
width="100px"
|
|
99
|
-
align="left"
|
|
100
|
-
header-align="center"
|
|
101
|
-
label="类型"
|
|
102
|
-
prop="orgnTyp"
|
|
103
|
-
sortable
|
|
104
|
-
input="hd-drop"
|
|
105
|
-
:inputProp="{ field: 'ORGN_TYP' }"
|
|
106
|
-
:inputFormat="(d, row) => row.orgnTypStr"
|
|
107
|
-
>
|
|
108
|
-
</el-table-column>
|
|
109
|
-
<el-table-column
|
|
110
|
-
width="150px"
|
|
111
|
-
align="left"
|
|
112
|
-
header-align="center"
|
|
113
|
-
label="描述"
|
|
114
|
-
prop="description"
|
|
115
|
-
sortable
|
|
116
|
-
>
|
|
117
|
-
</el-table-column>
|
|
118
|
-
<el-table-column
|
|
119
|
-
width="60px"
|
|
120
|
-
align="left"
|
|
121
|
-
header-align="center"
|
|
122
|
-
label="排序"
|
|
123
|
-
prop="sorter"
|
|
124
|
-
chartNum
|
|
125
|
-
sortable
|
|
126
|
-
>
|
|
127
|
-
</el-table-column>
|
|
128
|
-
</hd-com-grid>
|
|
129
|
-
</el-main>
|
|
130
|
-
<authorgnform
|
|
131
|
-
ref="authorgnform"
|
|
132
|
-
@change="change"
|
|
133
|
-
:hdQuery="hdQuery"
|
|
134
|
-
></authorgnform>
|
|
135
|
-
</el-container>
|
|
136
|
-
</template>
|
|
137
|
-
|
|
138
|
-
<script>
|
|
139
|
-
import authorgnform from './authorgnform'
|
|
140
|
-
|
|
141
|
-
export default {
|
|
142
|
-
name: 'authOrgn',
|
|
143
|
-
components: { authorgnform },
|
|
144
|
-
data() {
|
|
145
|
-
return {
|
|
146
|
-
removeUrl: '',
|
|
147
|
-
parentId: '',
|
|
148
|
-
hdQuery: new HdQuery(this),
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
|
-
mounted() {},
|
|
152
|
-
methods: {
|
|
153
|
-
queryOrg(parentId) {
|
|
154
|
-
this.parentId = parentId
|
|
155
|
-
this.hdQuery.query.parentId = parentId
|
|
156
|
-
this.$refs.grid.doQuery()
|
|
157
|
-
},
|
|
158
|
-
|
|
159
|
-
doEdit(row) {
|
|
160
|
-
// 增加或编辑
|
|
161
|
-
if (!row && !this.parentId) {
|
|
162
|
-
// 新增
|
|
163
|
-
this.$message({
|
|
164
|
-
type: 'error',
|
|
165
|
-
message: this.$t('未选择数据'),
|
|
166
|
-
})
|
|
167
|
-
return false
|
|
168
|
-
}
|
|
169
|
-
this.$refs['authorgnform'].show(row, this.parentId)
|
|
170
|
-
},
|
|
171
|
-
doRemove(row) {
|
|
172
|
-
// 为了兼容easyui,不能传对象到后台删除
|
|
173
|
-
this.removeUrl =
|
|
174
|
-
'/webresources/login/privilege/AuthOrgn/remove?orgnId=' + row.orgnId
|
|
175
|
-
this.$refs.grid.doRemove(row).then(() => {
|
|
176
|
-
this.$emit('change', {
|
|
177
|
-
type: 'remove',
|
|
178
|
-
parentId: this.parentId,
|
|
179
|
-
data: { id: row.orgnId },
|
|
180
|
-
})
|
|
181
|
-
})
|
|
182
|
-
},
|
|
183
|
-
change: function (data) {
|
|
184
|
-
this.$emit('change', data)
|
|
185
|
-
},
|
|
186
|
-
},
|
|
187
|
-
}
|
|
188
|
-
</script>
|