hd-idevvue3 3.0.3 → 3.0.4
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/assets/index.9c127719.css +1 -0
- package/dist/hd-idevvue3.mjs +3521 -3305
- package/dist/hd-idevvue3.umd.js +29 -29
- package/npminstall-debug.log +2 -10
- package/package.json +3 -1
- package/pnpm-lock.yaml +37 -4
- package/src/App.vue +11 -15
- package/src/assets/sound/notify.wav +0 -0
- package/src/demo/demo.vue +9 -10
- package/src/demo/dropdemo.vue +42 -43
- package/src/demo/extsets.vue +140 -39
- package/src/demo/formedit.vue +157 -145
- package/src/demo/hightquery.vue +263 -66
- package/src/demo/inlineedit.vue +129 -35
- package/src/demo/selfdrop.vue +32 -15
- package/src/directive/el-dragDialog/drag.js +13 -13
- package/src/directive/el-dragDialog/index.js +13 -13
- package/src/errorLog.js +3 -3
- package/src/hdcom/BigGrid.js +54 -48
- package/src/hdcom/BillShow.vue +84 -63
- package/src/hdcom/BillUpload.vue +144 -86
- package/src/hdcom/BtnRight.vue +26 -23
- package/src/hdcom/ErrHint.vue +36 -24
- package/src/hdcom/ExtendColumn.vue +97 -90
- package/src/hdcom/ExtendCommon.js +24 -13
- package/src/hdcom/ExtendForm.vue +107 -80
- package/src/hdcom/FacePicUpload.vue +59 -50
- package/src/hdcom/FaceRecTest.vue +87 -77
- package/src/hdcom/GridChart.vue +175 -162
- package/src/hdcom/GridExField.vue +328 -234
- package/src/hdcom/GridShow.vue +89 -39
- package/src/hdcom/HdAside.vue +192 -145
- package/src/hdcom/HdBtn.vue +44 -32
- package/src/hdcom/HdButton.vue +141 -117
- package/src/hdcom/HdComFaceRec.vue +80 -32
- package/src/hdcom/HdComGrid.vue +329 -229
- package/src/hdcom/HdComQuery.vue +179 -90
- package/src/hdcom/HdComQueryDetail.vue +159 -115
- package/src/hdcom/HdComSortDetail.vue +136 -130
- package/src/hdcom/HdDatePicker.vue +32 -16
- package/src/hdcom/HdDialog.vue +62 -44
- package/src/hdcom/HdDrop.vue +163 -138
- package/src/hdcom/HdFileUpload.vue +138 -119
- package/src/hdcom/HdFilterBox.vue +62 -62
- package/src/hdcom/HdFooter.vue +152 -119
- package/src/hdcom/HdForm.vue +276 -203
- package/src/hdcom/HdFormBtn.vue +81 -39
- package/src/hdcom/HdFormItem.vue +14 -10
- package/src/hdcom/HdGrid.vue +353 -156
- package/src/hdcom/HdGridEditBtn.vue +34 -20
- package/src/hdcom/HdGridExt.js +78 -47
- package/src/hdcom/HdGridSel.vue +227 -193
- package/src/hdcom/HdHeader.vue +149 -117
- package/src/hdcom/HdHotKey.vue +70 -67
- package/src/hdcom/HdInputHint.vue +40 -36
- package/src/hdcom/HdMain.vue +25 -27
- package/src/hdcom/HdMessage.vue +180 -171
- package/src/hdcom/HdNum.vue +67 -57
- package/src/hdcom/HdPopSel.vue +46 -24
- package/src/hdcom/HdRightMenu.vue +63 -61
- package/src/hdcom/HdSel/SelGridFieldcod.vue +46 -28
- package/src/hdcom/HdTableColumn.vue +156 -109
- package/src/hdcom/HdTempSave.vue +138 -116
- package/src/hdcom/HdTree.vue +89 -72
- package/src/hdcom/HdTreeTable/eval.js +8 -3
- package/src/hdcom/HdTreeTable/index.vue +229 -174
- package/src/hdcom/ImportExcel.vue +69 -34
- package/src/hdcom/index.js +39 -44
- package/src/idev.common.js +54 -47
- package/src/index.js +3 -6
- package/src/utils/HdQuery.js +25 -14
- package/src/utils/comutils.js +50 -28
- package/src/utils/gogocodeTransfer.js +59 -0
- package/src/utils/utils.js +30 -19
- package/src/vendor/Blob.js +187 -179
- package/src/vendor/Export2Excel.js +231 -220
- package/src/vendor/Export2Zip.js +25 -22
- package/src/views/layout/AppMain.vue +34 -32
- package/src/views/layout/HdLayout.vue +64 -52
- package/src/views/layout/header/ElasticSearch.vue +196 -159
- package/src/views/layout/header/HZRecorder.js +163 -135
- package/src/views/layout/header/HeaderSearch.vue +165 -145
- package/src/views/layout/header/Levelbar.vue +55 -49
- package/src/views/layout/header/MainHeader.vue +233 -189
- package/src/views/layout/header/Navbar.vue +74 -78
- package/src/views/layout/header/ScrollPane.vue +103 -81
- package/src/views/layout/header/TagsView.vue +169 -164
- package/src/views/layout/header/VocRec.vue +86 -78
- package/src/views/layout/header/changepswform.vue +98 -64
- package/src/views/layout/index.js +5 -7
- package/src/views/layout/menu/Hamburger.vue +63 -45
- package/src/views/layout/menu/HdMenu.vue +155 -118
- package/src/views/layout/menu/index.vue +21 -19
- package/src/views/privilege/commsg/commsg.vue +115 -41
- package/src/views/privilege/commsg/commsgOrgn.vue +40 -31
- package/src/views/privilege/commsg/commsgRole.vue +180 -109
- package/src/views/privilege/commsg/commsgform.vue +125 -101
- package/src/views/privilege/commsg/commsgiframe.vue +30 -23
- package/src/views/privilege/commsg/commsgto.vue +163 -84
- package/src/views/privilege/commsg/commsgtoform.vue +64 -58
- package/src/views/privilege/commsg/commsgtrans.vue +187 -115
- package/src/views/privilege/exfield/comexcolumn.vue +133 -43
- package/src/views/privilege/exfield/comexcolumnform.vue +85 -58
- package/src/views/privilege/exfield/comexfield.vue +15 -17
- package/src/views/privilege/exfield/comexfieldform.vue +71 -53
- package/src/views/privilege/exfield/comexfieldsub.vue +137 -46
- package/src/views/privilege/index.js +19 -20
- package/src/views/privilege/menu/comMenu.vue +49 -41
- package/src/views/privilege/menu/menu.vue +166 -49
- package/src/views/privilege/menu/menuinfo.vue +41 -34
- package/src/views/privilege/menu/rolelist.vue +78 -33
- package/src/views/privilege/menu/userlist.vue +76 -33
- package/src/views/privilege/mobile/authmobileupdate.vue +119 -43
- package/src/views/privilege/mobile/authmobileupdateform.vue +76 -46
- package/src/views/privilege/orgDept/authOrgn.vue +157 -65
- package/src/views/privilege/orgDept/authorgnform.vue +50 -38
- package/src/views/privilege/orgDept/orgDept.vue +38 -37
- package/src/views/privilege/orgDept/orgTree.vue +99 -88
- package/src/views/privilege/orgDept/orgnselect.vue +132 -111
- package/src/views/privilege/personDept/authuser.vue +197 -91
- package/src/views/privilege/personDept/authuserform.vue +123 -71
- package/src/views/privilege/personDept/facerec.vue +128 -83
- package/src/views/privilege/personDept/orgncascader.vue +134 -115
- package/src/views/privilege/personDept/personDept.vue +9 -7
- package/src/views/privilege/quartz/comquartzjob.vue +123 -38
- package/src/views/privilege/quartz/comquartzjobform.vue +67 -51
- package/src/views/privilege/quartz/comquartzlog.vue +116 -32
- package/src/views/privilege/role/btnRole.vue +123 -67
- package/src/views/privilege/role/menuRole.vue +65 -45
- package/src/views/privilege/role/orgnRole.vue +63 -41
- package/src/views/privilege/role/role.vue +26 -9
- package/src/views/privilege/role/rolelist.vue +114 -45
- package/src/views/privilege/role/roleselect.vue +34 -17
- package/src/views/privilege/search/comsearch.vue +164 -73
- package/src/views/privilege/search/menu.vue +38 -22
- package/src/views/privilege/syscode/syscode.vue +157 -69
- package/src/views/privilege/syscode/sysfield.vue +96 -43
- package/src/views/privilege/syscode/sysfieldframe.vue +30 -30
- package/src/views/privilege/syslog/menulog.vue +38 -22
- package/src/views/privilege/syslog/syslog.vue +145 -78
- package/src/views/privilege/syslog/syslogconfig.vue +91 -24
- package/src/views/privilege/syslog/syslogform.vue +45 -43
- package/src/views/privilege/syslog/syslogframe.vue +26 -26
- package/src/views/privilege/userRole/userRole.vue +187 -89
- package/vite.config.js +7 -0
- package/dist/assets/index.774ef40e.css +0 -1
- package/src/views/privilege.zip +0 -0
|
@@ -1,65 +1,150 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<el-container>
|
|
3
3
|
<el-main>
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
<hd-com-grid
|
|
5
|
+
ref="grid"
|
|
6
|
+
:hdQuery="hdQuery"
|
|
7
|
+
url="/webresources/login/com/ComQuartzJob"
|
|
8
|
+
>
|
|
6
9
|
<div class="filter-container" slot="query">
|
|
7
|
-
<el-input
|
|
8
|
-
|
|
10
|
+
<el-input
|
|
11
|
+
@keyup.enter.native="$refs.grid.doQuery()"
|
|
12
|
+
style="width: 200px"
|
|
13
|
+
class="filter-item"
|
|
14
|
+
:placeholder="$t('实体名称,任务名称')"
|
|
15
|
+
v-model="hdQuery.query.anyQuery"
|
|
16
|
+
>
|
|
9
17
|
</el-input>
|
|
10
|
-
<el-button
|
|
11
|
-
|
|
18
|
+
<el-button
|
|
19
|
+
class="filter-item"
|
|
20
|
+
type="primary"
|
|
21
|
+
:icon="ElIconSearch"
|
|
22
|
+
@click="$refs.grid.doQuery()"
|
|
23
|
+
:keyMap="['alt', 'q']"
|
|
24
|
+
>{{ $t('搜索') }}</el-button
|
|
25
|
+
>
|
|
26
|
+
<el-button
|
|
27
|
+
class="filter-item"
|
|
28
|
+
@click="doEdit('')"
|
|
29
|
+
type="primary"
|
|
30
|
+
:icon="ElIconEdit"
|
|
31
|
+
:keyMap="['alt', 'a']"
|
|
32
|
+
>{{ $t('新增') }}
|
|
12
33
|
</el-button>
|
|
13
|
-
<el-button
|
|
34
|
+
<el-button
|
|
35
|
+
class="filter-item"
|
|
36
|
+
@click="$refs.grid.doRemoveAll()"
|
|
37
|
+
type="danger"
|
|
38
|
+
:keyMap="['alt', 'd']"
|
|
39
|
+
>{{ $t('删除') }}
|
|
14
40
|
</el-button>
|
|
15
41
|
</div>
|
|
16
|
-
<el-table-column
|
|
42
|
+
<el-table-column
|
|
43
|
+
width="100px"
|
|
44
|
+
align="center"
|
|
45
|
+
label="操作"
|
|
46
|
+
fixed="right"
|
|
47
|
+
>
|
|
17
48
|
<template slot-scope="scope">
|
|
18
|
-
<hd-btn
|
|
19
|
-
|
|
49
|
+
<hd-btn
|
|
50
|
+
icon="el-icon-edit"
|
|
51
|
+
hint="编辑"
|
|
52
|
+
@click.stop="doEdit(scope.row.qjId)"
|
|
53
|
+
></hd-btn>
|
|
54
|
+
<hd-btn
|
|
55
|
+
icon="el-icon-delete"
|
|
56
|
+
hint="删除"
|
|
57
|
+
@click.stop="$refs.grid.doRemove(scope.row.qjId)"
|
|
58
|
+
></hd-btn>
|
|
20
59
|
</template>
|
|
21
60
|
</el-table-column>
|
|
22
|
-
<el-table-column
|
|
61
|
+
<el-table-column
|
|
62
|
+
width="100px"
|
|
63
|
+
align="center"
|
|
64
|
+
label="实体名"
|
|
65
|
+
prop="beanName"
|
|
66
|
+
sortable
|
|
67
|
+
>
|
|
23
68
|
</el-table-column>
|
|
24
|
-
<el-table-column
|
|
69
|
+
<el-table-column
|
|
70
|
+
width="100px"
|
|
71
|
+
align="center"
|
|
72
|
+
label="cron表达式"
|
|
73
|
+
prop="cronExpression"
|
|
74
|
+
sortable
|
|
75
|
+
>
|
|
25
76
|
</el-table-column>
|
|
26
|
-
<el-table-column
|
|
77
|
+
<el-table-column
|
|
78
|
+
width="100px"
|
|
79
|
+
align="center"
|
|
80
|
+
label="是否使用"
|
|
81
|
+
prop="isPause"
|
|
82
|
+
sortable
|
|
83
|
+
>
|
|
27
84
|
<template slot-scope="scope">
|
|
28
|
-
<span>{{scope.row.isPause == '0' ? '√' : '×'}}</span>
|
|
85
|
+
<span>{{ scope.row.isPause == '0' ? '√' : '×' }}</span>
|
|
29
86
|
</template>
|
|
30
87
|
</el-table-column>
|
|
31
|
-
<el-table-column
|
|
88
|
+
<el-table-column
|
|
89
|
+
width="100px"
|
|
90
|
+
align="center"
|
|
91
|
+
label="任务名称"
|
|
92
|
+
prop="jobName"
|
|
93
|
+
sortable
|
|
94
|
+
>
|
|
32
95
|
</el-table-column>
|
|
33
|
-
<el-table-column
|
|
96
|
+
<el-table-column
|
|
97
|
+
width="100px"
|
|
98
|
+
align="center"
|
|
99
|
+
label="执行方法"
|
|
100
|
+
prop="methodName"
|
|
101
|
+
sortable
|
|
102
|
+
>
|
|
34
103
|
</el-table-column>
|
|
35
|
-
<el-table-column
|
|
104
|
+
<el-table-column
|
|
105
|
+
width="100px"
|
|
106
|
+
align="center"
|
|
107
|
+
label="参数名称"
|
|
108
|
+
prop="params"
|
|
109
|
+
sortable
|
|
110
|
+
>
|
|
36
111
|
</el-table-column>
|
|
37
|
-
<el-table-column
|
|
112
|
+
<el-table-column
|
|
113
|
+
width="100px"
|
|
114
|
+
align="center"
|
|
115
|
+
label="备注"
|
|
116
|
+
prop="remark"
|
|
117
|
+
sortable
|
|
118
|
+
>
|
|
38
119
|
</el-table-column>
|
|
39
120
|
</hd-com-grid>
|
|
40
121
|
</el-main>
|
|
41
|
-
<comquartzjobform
|
|
122
|
+
<comquartzjobform
|
|
123
|
+
ref="comquartzjobform"
|
|
124
|
+
@save-ok="$refs.grid.doQuery()"
|
|
125
|
+
></comquartzjobform>
|
|
42
126
|
</el-container>
|
|
43
127
|
</template>
|
|
44
|
-
<script>
|
|
45
|
-
import comquartzjobform from './comquartzjobform'
|
|
46
|
-
export default {
|
|
47
|
-
name: 'comquartzjob',
|
|
48
|
-
components: { comquartzjobform },
|
|
49
|
-
data() {
|
|
50
|
-
return {
|
|
51
|
-
hdQuery: new HdQuery(this),
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
|
|
55
|
-
mounted() {
|
|
56
128
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
129
|
+
<script>
|
|
130
|
+
import { Search as ElIconSearch, Edit as ElIconEdit } from '@element-plus/icons'
|
|
131
|
+
import comquartzjobform from './comquartzjobform'
|
|
132
|
+
export default {
|
|
133
|
+
data() {
|
|
134
|
+
return {
|
|
135
|
+
hdQuery: new HdQuery(this),
|
|
136
|
+
ElIconSearch,
|
|
137
|
+
ElIconEdit,
|
|
63
138
|
}
|
|
64
|
-
}
|
|
139
|
+
},
|
|
140
|
+
name: 'comquartzjob',
|
|
141
|
+
components: { comquartzjobform },
|
|
142
|
+
mounted() {},
|
|
143
|
+
methods: {
|
|
144
|
+
doEdit(qjId) {
|
|
145
|
+
// 增加或编辑
|
|
146
|
+
this.$refs['comquartzjobform'].show(qjId)
|
|
147
|
+
},
|
|
148
|
+
},
|
|
149
|
+
}
|
|
65
150
|
</script>
|
|
@@ -1,89 +1,106 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<el-dialog title="编辑" :visible.sync="visible" width=
|
|
2
|
+
<el-dialog title="编辑" :visible.sync="visible" width="60%">
|
|
3
3
|
<el-form label-width="100px" :model="hdform" ref="hdform">
|
|
4
4
|
<el-row>
|
|
5
5
|
<el-col :span="8" :xs="16">
|
|
6
|
-
<el-form-item label
|
|
7
|
-
<el-input type="text" v-model="hdform.beanName"
|
|
6
|
+
<el-form-item label="实体名" prop="beanName" :rules="$r(0, 0, 50)">
|
|
7
|
+
<el-input type="text" v-model="hdform.beanName"></el-input>
|
|
8
8
|
</el-form-item>
|
|
9
9
|
</el-col>
|
|
10
10
|
<el-col :span="8" :xs="16">
|
|
11
|
-
<el-form-item
|
|
12
|
-
|
|
11
|
+
<el-form-item
|
|
12
|
+
label="cron表达式"
|
|
13
|
+
prop="cronExpression"
|
|
14
|
+
:rules="$r(0, 0, 50)"
|
|
15
|
+
>
|
|
16
|
+
<el-input type="text" v-model="hdform.cronExpression"></el-input>
|
|
13
17
|
</el-form-item>
|
|
14
18
|
</el-col>
|
|
15
19
|
<el-col :span="8" :xs="16">
|
|
16
|
-
<el-form-item label
|
|
17
|
-
|
|
20
|
+
<el-form-item label="是否使用" prop="isPause" :rules="$r(0)"
|
|
21
|
+
><!--1暂停,0不暂停就是使用-->
|
|
22
|
+
<el-switch
|
|
23
|
+
v-model="hdform.isPause"
|
|
24
|
+
active-value="0"
|
|
25
|
+
inactive-value="1"
|
|
26
|
+
></el-switch>
|
|
18
27
|
</el-form-item>
|
|
19
28
|
</el-col>
|
|
20
29
|
<el-col :span="8" :xs="16">
|
|
21
|
-
<el-form-item label
|
|
22
|
-
<el-input type="text" v-model="hdform.jobName"
|
|
30
|
+
<el-form-item label="任务名称" prop="jobName" :rules="$r(0, 0, 50)">
|
|
31
|
+
<el-input type="text" v-model="hdform.jobName"></el-input>
|
|
23
32
|
</el-form-item>
|
|
24
33
|
</el-col>
|
|
25
34
|
<el-col :span="8" :xs="16">
|
|
26
|
-
<el-form-item
|
|
27
|
-
|
|
35
|
+
<el-form-item
|
|
36
|
+
label="执行方法"
|
|
37
|
+
prop="methodName"
|
|
38
|
+
:rules="$r(0, 0, 50)"
|
|
39
|
+
>
|
|
40
|
+
<el-input type="text" v-model="hdform.methodName"></el-input>
|
|
28
41
|
</el-form-item>
|
|
29
42
|
</el-col>
|
|
30
43
|
<el-col :span="8" :xs="16">
|
|
31
|
-
<el-form-item label
|
|
32
|
-
<el-input type="text" v-model="hdform.params"
|
|
44
|
+
<el-form-item label="参数名称" prop="params" :rules="$r(0, 0, 255)">
|
|
45
|
+
<el-input type="text" v-model="hdform.params"></el-input>
|
|
33
46
|
</el-form-item>
|
|
34
47
|
</el-col>
|
|
35
48
|
<el-col :span="8" :xs="16">
|
|
36
|
-
<el-form-item label
|
|
37
|
-
<el-input type="text" v-model="hdform.remark"
|
|
49
|
+
<el-form-item label="备注" prop="remark" :rules="$r(0, 0, 255)">
|
|
50
|
+
<el-input type="text" v-model="hdform.remark"></el-input>
|
|
38
51
|
</el-form-item>
|
|
39
52
|
</el-col>
|
|
40
53
|
</el-row>
|
|
41
54
|
</el-form>
|
|
42
55
|
<div slot="footer" class="dialog-footer">
|
|
43
|
-
<el-button @click="visible = false">{{$t('取 消')}}</el-button>
|
|
44
|
-
<el-button type="primary" @click="submit" :loading="loading">
|
|
56
|
+
<el-button @click="visible = false">{{ $t('取 消') }}</el-button>
|
|
57
|
+
<el-button type="primary" @click="submit" :loading="loading">
|
|
58
|
+
{{ $t('确 定') }}</el-button
|
|
59
|
+
>
|
|
45
60
|
</div>
|
|
46
61
|
</el-dialog>
|
|
47
|
-
|
|
48
62
|
</template>
|
|
49
63
|
|
|
50
64
|
<script>
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
65
|
+
export default {
|
|
66
|
+
name: 'comquartzjobform',
|
|
67
|
+
data() {
|
|
68
|
+
return {
|
|
69
|
+
hdform: {},
|
|
70
|
+
visible: false,
|
|
71
|
+
tsLoading: false,
|
|
72
|
+
loading: false,
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
methods: {
|
|
76
|
+
show(qjId) {
|
|
77
|
+
// 换为本表主键
|
|
78
|
+
//弹窗重复使用时,清除校验项目
|
|
79
|
+
if (this.$refs['hdform']) this.$refs['hdform'].resetFields()
|
|
80
|
+
this.visible = true
|
|
81
|
+
this.$http
|
|
82
|
+
.get('/webresources/login/com/ComQuartzJob/findone?qjId=' + qjId)
|
|
83
|
+
.then((response) => {
|
|
69
84
|
const data = response.data
|
|
70
85
|
this.hdform = data
|
|
71
86
|
})
|
|
72
|
-
|
|
87
|
+
},
|
|
73
88
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
89
|
+
submit() {
|
|
90
|
+
// console.debug(this.hdform)
|
|
91
|
+
this.$refs['hdform'].validate((valid) => {
|
|
92
|
+
if (!valid) {
|
|
93
|
+
return false
|
|
94
|
+
}
|
|
95
|
+
this.loading = true
|
|
96
|
+
this.$http
|
|
97
|
+
.post('/webresources/login/com/ComQuartzJob/saveone', this.hdform)
|
|
98
|
+
.then((response) => {
|
|
82
99
|
this.loading = false
|
|
83
100
|
const data = response.data
|
|
84
101
|
this.$message({
|
|
85
102
|
type: data.code == '-1' ? 'error' : 'success',
|
|
86
|
-
message: data.message
|
|
103
|
+
message: data.message,
|
|
87
104
|
})
|
|
88
105
|
if (data.code == '-1') {
|
|
89
106
|
return
|
|
@@ -91,9 +108,8 @@
|
|
|
91
108
|
this.$emit('save-ok') // 主页面调用弹窗时添加
|
|
92
109
|
this.visible = false
|
|
93
110
|
})
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
111
|
+
})
|
|
112
|
+
},
|
|
113
|
+
},
|
|
114
|
+
}
|
|
98
115
|
</script>
|
|
99
|
-
|
|
@@ -1,59 +1,143 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<el-container>
|
|
3
3
|
<el-main>
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
<hd-com-grid
|
|
5
|
+
ref="grid"
|
|
6
|
+
:hdQuery="hdQuery"
|
|
7
|
+
url="/webresources/login/com/ComQuartzLog"
|
|
8
|
+
recHide
|
|
9
|
+
:default-sort="{ prop: '', order: 'descending' }"
|
|
10
|
+
>
|
|
6
11
|
<div class="filter-container" slot="query">
|
|
7
|
-
<el-input
|
|
8
|
-
|
|
12
|
+
<el-input
|
|
13
|
+
@keyup.enter.native="$refs.grid.doQuery()"
|
|
14
|
+
style="width: 200px"
|
|
15
|
+
class="filter-item"
|
|
16
|
+
:placeholder="$t('实体名称,任务名称')"
|
|
17
|
+
v-model="hdQuery.query.anyQuery"
|
|
18
|
+
>
|
|
9
19
|
</el-input>
|
|
10
|
-
<el-button
|
|
11
|
-
|
|
20
|
+
<el-button
|
|
21
|
+
class="filter-item"
|
|
22
|
+
type="primary"
|
|
23
|
+
:icon="ElIconSearch"
|
|
24
|
+
@click="$refs.grid.doQuery()"
|
|
25
|
+
:keyMap="['alt', 'q']"
|
|
26
|
+
>{{ $t('搜索') }}</el-button
|
|
27
|
+
>
|
|
28
|
+
<el-button
|
|
29
|
+
class="filter-item"
|
|
30
|
+
@click="$refs.grid.doRemoveAll()"
|
|
31
|
+
type="danger"
|
|
32
|
+
:keyMap="['alt', 'd']"
|
|
33
|
+
>{{ $t('删除') }}
|
|
12
34
|
</el-button>
|
|
13
35
|
</div>
|
|
14
|
-
<el-table-column
|
|
36
|
+
<el-table-column
|
|
37
|
+
width="100px"
|
|
38
|
+
align="center"
|
|
39
|
+
label="操作"
|
|
40
|
+
fixed="right"
|
|
41
|
+
>
|
|
15
42
|
<template slot-scope="scope">
|
|
16
|
-
<hd-btn
|
|
43
|
+
<hd-btn
|
|
44
|
+
icon="el-icon-delete"
|
|
45
|
+
hint="删除"
|
|
46
|
+
@click.stop="$refs.grid.doRemove(scope.row.qlId)"
|
|
47
|
+
></hd-btn>
|
|
17
48
|
</template>
|
|
18
49
|
</el-table-column>
|
|
19
50
|
|
|
20
|
-
<el-table-column
|
|
51
|
+
<el-table-column
|
|
52
|
+
width="100px"
|
|
53
|
+
align="center"
|
|
54
|
+
label="实体名称"
|
|
55
|
+
prop="beanName"
|
|
56
|
+
sortable
|
|
57
|
+
>
|
|
21
58
|
</el-table-column>
|
|
22
|
-
<el-table-column
|
|
59
|
+
<el-table-column
|
|
60
|
+
width="120px"
|
|
61
|
+
align="center"
|
|
62
|
+
label="cron表达式"
|
|
63
|
+
prop="cronExpression"
|
|
64
|
+
sortable
|
|
65
|
+
>
|
|
23
66
|
</el-table-column>
|
|
24
|
-
<el-table-column
|
|
67
|
+
<el-table-column
|
|
68
|
+
width="100px"
|
|
69
|
+
align="center"
|
|
70
|
+
label="执行时间"
|
|
71
|
+
prop="exceptionDetail"
|
|
72
|
+
sortable
|
|
73
|
+
>
|
|
25
74
|
</el-table-column>
|
|
26
|
-
<el-table-column
|
|
75
|
+
<el-table-column
|
|
76
|
+
width="100px"
|
|
77
|
+
align="center"
|
|
78
|
+
label="是否成功"
|
|
79
|
+
prop="isSuccess"
|
|
80
|
+
sortable
|
|
81
|
+
>
|
|
27
82
|
</el-table-column>
|
|
28
|
-
<el-table-column
|
|
83
|
+
<el-table-column
|
|
84
|
+
width="100px"
|
|
85
|
+
align="center"
|
|
86
|
+
label="任务名称"
|
|
87
|
+
prop="jobName"
|
|
88
|
+
sortable
|
|
89
|
+
>
|
|
29
90
|
</el-table-column>
|
|
30
|
-
<el-table-column
|
|
91
|
+
<el-table-column
|
|
92
|
+
width="100px"
|
|
93
|
+
align="center"
|
|
94
|
+
label="任务参数"
|
|
95
|
+
prop="params"
|
|
96
|
+
sortable
|
|
97
|
+
>
|
|
31
98
|
</el-table-column>
|
|
32
|
-
<el-table-column
|
|
99
|
+
<el-table-column
|
|
100
|
+
width="120px"
|
|
101
|
+
align="center"
|
|
102
|
+
label="运行时间(秒)"
|
|
103
|
+
prop="time"
|
|
104
|
+
sortable
|
|
105
|
+
>
|
|
33
106
|
</el-table-column>
|
|
34
|
-
<el-table-column
|
|
107
|
+
<el-table-column
|
|
108
|
+
width="200px"
|
|
109
|
+
align="center"
|
|
110
|
+
label="记录时间"
|
|
111
|
+
prop="logTime"
|
|
112
|
+
:inputProp="$datetime"
|
|
113
|
+
sortable
|
|
114
|
+
>
|
|
35
115
|
</el-table-column>
|
|
36
|
-
<el-table-column
|
|
116
|
+
<el-table-column
|
|
117
|
+
width="100px"
|
|
118
|
+
align="center"
|
|
119
|
+
label="方法名"
|
|
120
|
+
prop="methodName"
|
|
121
|
+
sortable
|
|
122
|
+
>
|
|
37
123
|
</el-table-column>
|
|
38
124
|
</hd-com-grid>
|
|
39
125
|
</el-main>
|
|
40
126
|
</el-container>
|
|
41
127
|
</template>
|
|
42
|
-
<script>
|
|
43
|
-
export default {
|
|
44
|
-
name: 'comquartzlog',
|
|
45
|
-
components: { },
|
|
46
|
-
data() {
|
|
47
|
-
return {
|
|
48
|
-
hdQuery: new HdQuery(this),
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
|
|
52
|
-
mounted() {
|
|
53
|
-
|
|
54
|
-
},
|
|
55
|
-
methods: {
|
|
56
128
|
|
|
129
|
+
<script>
|
|
130
|
+
import { Search as ElIconSearch } from '@element-plus/icons'
|
|
131
|
+
export default {
|
|
132
|
+
data() {
|
|
133
|
+
return {
|
|
134
|
+
hdQuery: new HdQuery(this),
|
|
135
|
+
ElIconSearch,
|
|
57
136
|
}
|
|
58
|
-
}
|
|
137
|
+
},
|
|
138
|
+
name: 'comquartzlog',
|
|
139
|
+
components: {},
|
|
140
|
+
mounted() {},
|
|
141
|
+
methods: {},
|
|
142
|
+
}
|
|
59
143
|
</script>
|