qj-common 4.3.0 → 4.3.2
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/.babelrc +12 -12
- package/.eslintrc.js +25 -25
- package/.idea/common.iml +11 -11
- package/.idea/modules.xml +7 -7
- package/.idea/vcs.xml +5 -5
- package/.postcssrc.js +9 -9
- package/.prettierrc.js +7 -7
- package/.project +37 -37
- package/README.md +2 -2
- package/gulpfile.js +20 -20
- package/package.json +18 -18
- package/src/api/apimanage.js +146 -146
- package/src/api/common/index.js +192 -192
- package/src/api/login.js +160 -160
- package/src/api/shopFbu.js +515 -515
- package/src/api/upload.js +8 -8
- package/src/components/Bounced/index.vue +145 -145
- package/src/components/Breadcrumb/index.vue +71 -71
- package/src/components/Checkbox/index.vue +53 -53
- package/src/components/Hamburger/index.vue +48 -48
- package/src/components/Logistics/logic.vue +186 -186
- package/src/components/ScrollBar/index.vue +60 -60
- package/src/components/Sticky/index.vue +76 -76
- package/src/components/SvgIcon/index.vue +42 -42
- package/src/components/ThemePicker/index.vue +243 -243
- package/src/components/Tinymce/components/editorImage.vue +94 -94
- package/src/components/Tinymce/index.vue +166 -166
- package/src/components/Tinymce/plugins.js +7 -7
- package/src/components/Tinymce/toolbar.js +6 -6
- package/src/components/TreeTable/customEval.js +44 -44
- package/src/components/TreeTable/eval.js +29 -29
- package/src/components/TreeTable/index.vue +124 -124
- package/src/components/TreeTable/readme.md +89 -89
- package/src/components/TreeTableApi/customEval.js +49 -49
- package/src/components/TreeTableApi/eval.js +29 -29
- package/src/components/TreeTableApi/index.vue +124 -124
- package/src/components/TreeTableApi/readme.md +89 -89
- package/src/components/Upload/singleImage.vue +123 -123
- package/src/components/Upload/singleImage2.vue +118 -118
- package/src/components/Upload/singleImage3.vue +138 -138
- package/src/components/Upload/upload.vue +295 -295
- package/src/components/workOrderList/index.vue +158 -158
- package/src/dependencies.js +119 -119
- package/src/iconShop/demo.css +539 -539
- package/src/iconShop/demo_index.html +8445 -8445
- package/src/iconShop/iconfont.css +1451 -1451
- package/src/iconShop/iconfont.json +2522 -2522
- package/src/iconShop/iconfont.svg +1070 -1070
- package/src/iconfont/demo.css +539 -539
- package/src/iconfont/demo_index.html +5276 -5276
- package/src/iconfont/iconfont.css +905 -905
- package/src/iconfont/iconfont.json +1563 -1563
- package/src/iconfont/iconfont.svg +692 -692
- package/src/icons/index.js +9 -9
- package/src/lang/e.js +48 -48
- package/src/lang/en.js +48 -48
- package/src/lang/zh.js +48 -48
- package/src/main.js +62 -62
- package/src/permission.js +283 -283
- package/src/permissionForMall.backup.js +375 -375
- package/src/permissionForMall.js +375 -375
- package/src/preset.js +67 -67
- package/src/router/_import_common.js +1 -1
- package/src/router/_import_development.js +1 -1
- package/src/router/_import_production.js +1 -1
- package/src/store/getters.js +39 -39
- package/src/store/index.js +18 -18
- package/src/store/modules/app.js +34 -30
- package/src/store/modules/menu.js +82 -82
- package/src/store/modules/user.js +227 -227
- package/src/styles/element-ui.scss +1368 -1368
- package/src/styles/index.scss +166 -166
- package/src/styles/mixin.scss +27 -27
- package/src/styles/pc-ui.scss +1031 -1031
- package/src/styles/scrollBar.scss +21 -21
- package/src/styles/sidebar.scss +123 -123
- package/src/styles/transition.scss +32 -32
- package/src/styles/variables.scss +44 -44
- package/src/styles/wf-ui.scss +86 -86
- package/src/utils/auth.js +57 -57
- package/src/utils/dom.js +12 -12
- package/src/utils/getQueryString.js +5 -5
- package/src/utils/import.js +5 -5
- package/src/utils/index.js +355 -355
- package/src/utils/interceptor.js +34 -34
- package/src/utils/menu.js +116 -116
- package/src/utils/proapp.js +35 -35
- package/src/utils/query.js +26 -26
- package/src/utils/request.js +366 -366
- package/src/utils/routeMapping.js +39 -39
- package/src/utils/routeMapping.json +310 -310
- package/src/utils/utils.js +84 -84
- package/src/utils/validate.js +102 -102
- package/src/views/404.vue +72 -72
- package/src/views/Layout.vue +106 -106
- package/src/views/imgSwiper/index.vue +34 -34
- package/src/views/layout/Layout.vue +181 -170
- package/src/views/layout/components/AppMain.vue +20 -20
- package/src/views/layout/components/Footer.vue +22 -22
- package/src/views/layout/components/LeftNavbar.vue +318 -310
- package/src/views/layout/components/NavMenu.vue +15 -15
- package/src/views/layout/components/Navbar.vue +664 -661
- package/src/views/layout/components/Sidebar/SidebarItem.vue +116 -113
- package/src/views/layout/components/Sidebar/index.vue +203 -193
- package/src/views/layout/components/index.js +19 -19
- package/src/views/layout/theme/darkBlue/Layout.vue +140 -140
- package/src/views/layout/theme/darkBlue/components/AppMain.vue +38 -38
- package/src/views/layout/theme/darkBlue/components/Footer.vue +147 -147
- package/src/views/layout/theme/darkBlue/components/LeftNavbar(/345/261/225/347/244/272/345/205/250/351/203/250/350/217/234/345/215/225).vue +448 -448
- package/src/views/layout/theme/darkBlue/components/LeftNavbar.3.vue +191 -191
- package/src/views/layout/theme/darkBlue/components/LeftNavbar.vue +466 -466
- package/src/views/layout/theme/darkBlue/components/Navbar.vue +200 -200
- package/src/views/layout/theme/darkBlue/components/Sidebar/SidebarItem.vue +71 -71
- package/src/views/layout/theme/darkBlue/components/Sidebar/index.vue +49 -49
- package/src/views/layout/theme/darkBlue/components/index.js +15 -15
- package/src/views/layout-default/Layout.vue +134 -134
- package/src/views/layout-default/components/AppMain.vue +19 -19
- package/src/views/layout-default/components/Footer.vue +22 -22
- package/src/views/layout-default/components/LeftNavbar.vue +164 -164
- package/src/views/layout-default/components/Navbar.vue +295 -295
- package/src/views/layout-default/components/Sidebar/SidebarItem.vue +67 -67
- package/src/views/layout-default/components/Sidebar/index.vue +59 -59
- package/src/views/layout-default/components/index.js +4 -4
- package/src/views/layout-default/theme/darkBlue/Layout.vue +140 -140
- package/src/views/layout-default/theme/darkBlue/components/AppMain.vue +38 -38
- package/src/views/layout-default/theme/darkBlue/components/Footer.vue +147 -147
- package/src/views/layout-default/theme/darkBlue/components/LeftNavbar.vue +465 -465
- package/src/views/layout-default/theme/darkBlue/components/Navbar.vue +200 -200
- package/src/views/layout-default/theme/darkBlue/components/Sidebar/SidebarItem.vue +69 -69
- package/src/views/layout-default/theme/darkBlue/components/Sidebar/index.vue +49 -49
- package/src/views/layout-default/theme/darkBlue/components/index.js +15 -15
- package/src/views/pc/Internationalization.vue +80 -80
- package/src/views/pc/default/Layout.vue +442 -442
- package/src/views/pc/default/LayoutCard.vue +424 -424
- package/src/views/pc/default/assets/flex.scss +99 -99
- package/src/views/pc/default/footer-modules/DgFooter/index.vue +179 -179
- package/src/views/pc/default/footer-modules/DgFooter/indexSDX.vue +187 -187
- package/src/views/pc/default/footer-modules/footer.vue +171 -171
- package/src/views/pc/default/footer-modules/footerAns.vue +167 -167
- package/src/views/pc/default/footer-modules/footerBulk.vue +169 -169
- package/src/views/pc/default/footer-modules/footerDM.vue +254 -254
- package/src/views/pc/default/footer-modules/footerDefault.vue +267 -267
- package/src/views/pc/default/footer-modules/footerDefaultA.vue +270 -270
- package/src/views/pc/default/footer-modules/footerDefaultNew.vue +201 -201
- package/src/views/pc/default/footer-modules/footerHDB.vue +153 -153
- package/src/views/pc/default/footer-modules/footerHy.vue +63 -63
- package/src/views/pc/default/footer-modules/footerKYW.vue +163 -163
- package/src/views/pc/default/footer-modules/footerMh.vue +30 -30
- package/src/views/pc/default/footer-modules/footerNew.vue +116 -116
- package/src/views/pc/default/footer-modules/footer_yzj.vue +169 -169
- package/src/views/pc/default/footer-modules/footerayd.vue +85 -85
- package/src/views/pc/default/footer-modules/ymFooter.vue +154 -154
- package/src/views/pc/default/footer-modules/zgl.vue +250 -250
- package/src/views/pc/default/header-modules/DgHeader/Logo.vue +57 -57
- package/src/views/pc/default/header-modules/DgHeader/Search.vue +135 -135
- package/src/views/pc/default/header-modules/DgHeader/Settleup.vue +46 -46
- package/src/views/pc/default/header-modules/DgHeader/index.vue +38 -38
- package/src/views/pc/default/header-modules/active.vue +177 -177
- package/src/views/pc/default/header-modules/header.vue +97 -97
- package/src/views/pc/default/header-modules/headerA.vue +142 -142
- package/src/views/pc/default/header-modules/headerFLPT.vue +157 -157
- package/src/views/pc/default/header-modules/headerMh.vue +187 -187
- package/src/views/pc/default/header-modules/headerNew.vue +121 -121
- package/src/views/pc/default/header-modules/headerSDX.vue +304 -304
- package/src/views/pc/default/header-modules/headerStyle2.vue +173 -173
- package/src/views/pc/default/header-modules/headerStyle3.vue +190 -190
- package/src/views/pc/default/header-modules/headerStyle4.vue +163 -163
- package/src/views/pc/default/header-modules/headerStyleAns.vue +400 -400
- package/src/views/pc/default/header-modules/headerStyleBulk.vue +427 -427
- package/src/views/pc/default/header-modules/headerStyleDefalut.vue +209 -209
- package/src/views/pc/default/header-modules/headerStyleKYW.vue +435 -435
- package/src/views/pc/default/header-modules/headerStyle_yzj.vue +427 -427
- package/src/views/pc/default/header-modules/headerayd.vue +187 -187
- package/src/views/pc/default/header-modules/index.vue +466 -466
- package/src/views/pc/default/header-modules/ymHeader.vue +292 -292
- package/src/views/pc/default/header-modules/ysHeader.vue +248 -248
- package/src/views/pc/default/header-modules/zgl.vue +855 -855
- package/src/views/pc/default/leftMenu-modules/leftMenu-logo.vue +194 -194
- package/src/views/pc/default/leftMenu-modules/leftMenu-style2.vue +206 -206
- package/src/views/pc/default/leftMenu-modules/leftMenu-style3.vue +207 -207
- package/src/views/pc/default/leftMenu-modules/leftMenu-style4.vue +192 -192
- package/src/views/pc/default/leftMenu-modules/leftMenu.vue +183 -183
- package/src/views/pc/default/leftMenu-modules/leftMenuDefault.vue +212 -212
- package/src/views/pc/default/leftMenu-modules/leftMenuDefaultEn.vue +214 -214
- package/src/views/pc/default/leftMenu-modules/leftMenuDefaultFLPT.vue +220 -220
- package/src/views/pc/default/leftMenu-modules/leftMenuDefaultayd.vue +220 -220
- package/src/views/pc/default/nav-modules/nav.vue +52 -52
- package/src/views/pc/default/nav-modules/navAns.vue +60 -60
- package/src/views/pc/default/nav-modules/navBulk.vue +60 -60
- package/src/views/pc/default/top-modules/DgTopShortcut/index.vue +177 -177
- package/src/views/pc/default/top-modules/Toplg.vue +280 -280
- package/src/views/pc/default/top-modules/topA.vue +136 -136
- package/src/views/pc/default/top-modules/topAns.vue +261 -261
- package/src/views/pc/default/top-modules/topAns_yzj.vue +282 -282
- package/src/views/pc/default/top-modules/topBar.vue +304 -304
- package/src/views/pc/default/top-modules/topBulk.vue +280 -280
- package/src/views/pc/default/top-modules/topDefault.vue +244 -244
- package/src/views/pc/default/top-modules/topDefaultDM.vue +197 -197
- package/src/views/pc/default/top-modules/topDefaultNew.vue +271 -271
- package/src/views/pc/default/top-modules/topFLPT.vue +197 -197
- package/src/views/pc/default/top-modules/topHDB.vue +479 -479
- package/src/views/pc/default/top-modules/topKYW.vue +258 -258
- package/src/views/pc/default/top-modules/topMh.vue +174 -174
- package/src/views/pc/default/top-modules/topNew.vue +97 -97
- package/src/views/pc/default/top-modules/topSDX.vue +298 -298
- package/src/views/pc/default/top-modules/topSimple.vue +247 -247
- package/src/views/pc/default/top-modules/topSimpleHy.vue +256 -256
- package/src/views/pc/default/top-modules/topUcc.vue +264 -264
- package/src/views/pc/default/top-modules/topayd.vue +170 -170
- package/src/views/pc/default/top-modules/ymTop.vue +299 -299
- package/src/views/pc/default/top-modules/zgltop.vue +499 -499
- package/src/views/routerView.vue +9 -9
- package/src/views/templates/components/temp-select.vue +80 -80
- package/src/views/templates/components/temp-upload.vue +233 -233
- package/src/views/templates/readme.md +2 -2
- package/src/views/templates/templateInput.vue +421 -421
- package/src/views/templates/templateReadme.html +588 -588
- package/src/views/templates/templateReadme.md +619 -619
- package/src/views/templates/templateTable.vue +2243 -2243
- package/src/views/templates/templateTableData.vue +1883 -1883
- package/src/views/templates/templateUi/templateTableContent.vue +187 -187
- package/src/views/treeTemplate/index.vue +559 -559
- package/src/views/treeTemplate/treeTemplate.md +274 -274
- package/src/views/uploadDialog/index copy.vue +352 -352
- package/src/views/uploadDialog/index.vue +558 -558
- package/src/views/uploadDialog/indexOlay.vue +582 -582
- package/src/views/uploadDialog/indexPM.vue +578 -578
- package/src/views/uploadDialog/indexUpload.vue +543 -543
- package/src/views/uploadDialog/readme.md +45 -45
package/src/api/upload.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import request from '#/utils/request'
|
|
2
|
-
|
|
3
|
-
export function getToken() {
|
|
4
|
-
return request({
|
|
5
|
-
url: '/qiniu/upload/token', // 假地址 自行替换
|
|
6
|
-
method: 'get'
|
|
7
|
-
})
|
|
8
|
-
}
|
|
1
|
+
import request from '#/utils/request'
|
|
2
|
+
|
|
3
|
+
export function getToken() {
|
|
4
|
+
return request({
|
|
5
|
+
url: '/qiniu/upload/token', // 假地址 自行替换
|
|
6
|
+
method: 'get'
|
|
7
|
+
})
|
|
8
|
+
}
|
|
@@ -1,145 +1,145 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<el-dialog title="参数" :visible.sync="dialogFormVisible" :modal-append-to-body="false">
|
|
4
|
-
<el-form :model="form" ref='form'>
|
|
5
|
-
<el-form-item label="变量名" :label-width="formLabelWidth" prop="paramName">
|
|
6
|
-
<el-input v-model="form.paramName" auto-complete="off" style="width: 50%;" clearable></el-input>
|
|
7
|
-
</el-form-item>
|
|
8
|
-
<el-form-item label="含义" :label-width="formLabelWidth" prop="paramValue">
|
|
9
|
-
<el-input v-model="form.paramValue" auto-complete="off" clearable></el-input>
|
|
10
|
-
</el-form-item>
|
|
11
|
-
<el-form-item label="api版本" :label-width="formLabelWidth">
|
|
12
|
-
<el-input v-model="form.appapiVersion" auto-complete="off" clearable></el-input>
|
|
13
|
-
</el-form-item>
|
|
14
|
-
<el-form-item label="类型" :label-width="formLabelWidth" prop="paramType">
|
|
15
|
-
<el-select v-if="form.flag" v-model="form.paramType" @change="change" filterable placeholder="请选择">
|
|
16
|
-
<el-option
|
|
17
|
-
v-for="item in options"
|
|
18
|
-
:key="item.value"
|
|
19
|
-
:value="item.value">
|
|
20
|
-
</el-option>
|
|
21
|
-
</el-select>
|
|
22
|
-
<el-input v-else type="text" ref="inp" style="width:300px;">{{form.paramType}}</el-input>
|
|
23
|
-
<el-button icon="el-icon-sort" circle @click="switchs()"></el-button>
|
|
24
|
-
</el-form-item>
|
|
25
|
-
<el-form-item label="类名" :label-width="formLabelWidth" prop="paramClassname">
|
|
26
|
-
<el-input v-model="form.paramClassname" auto-complete="off" clearable></el-input>
|
|
27
|
-
</el-form-item>
|
|
28
|
-
<el-form-item label="备注" :label-width="formLabelWidth" prop="paramRemark">
|
|
29
|
-
<el-input v-model="form.paramRemark" auto-complete="off" clearable></el-input>
|
|
30
|
-
</el-form-item>
|
|
31
|
-
</el-form>
|
|
32
|
-
<div slot="footer" class="dialog-footer">
|
|
33
|
-
<el-button @click="resetForm('form'),dialogFormVisible=false">取 消</el-button>
|
|
34
|
-
<el-button type="primary" @click="addlists(form)">确 定</el-button>
|
|
35
|
-
</div>
|
|
36
|
-
</el-dialog>
|
|
37
|
-
<el-button type="primary" @click= 'dialogFormVisible=true' size="small" icon="el-icon-circle-plus"></el-button>
|
|
38
|
-
</div>
|
|
39
|
-
</template>
|
|
40
|
-
<script>
|
|
41
|
-
import request from "#/utils/request";
|
|
42
|
-
import { addApiPram } from "#/api/apimanage";
|
|
43
|
-
export default {
|
|
44
|
-
name: "bounced",
|
|
45
|
-
data() {
|
|
46
|
-
return {
|
|
47
|
-
dialogTableVisible: false,
|
|
48
|
-
dialogFormVisible: false,
|
|
49
|
-
form: {
|
|
50
|
-
appapiVersion: "1.0",
|
|
51
|
-
paramType: "",
|
|
52
|
-
flag: true
|
|
53
|
-
},
|
|
54
|
-
formLabelWidth: "120px",
|
|
55
|
-
options: [
|
|
56
|
-
{
|
|
57
|
-
label: "java.lang.Character",
|
|
58
|
-
value: "Character"
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
label: "java.lang.Double ",
|
|
62
|
-
value: "Double"
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
label: "java.lang.Integer ",
|
|
66
|
-
value: "Integer"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
label: "java.lang.Long",
|
|
70
|
-
value: "Long"
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
label: "java.lang.Object",
|
|
74
|
-
value: "Object"
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
label: "java.lang.String",
|
|
78
|
-
value: "String"
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
label: "java.math.BigDecimal",
|
|
82
|
-
value: "BigDecimal"
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
label: "java.util.Date",
|
|
86
|
-
value: "Date"
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
label: "java.util.HashMap",
|
|
90
|
-
value: "Map"
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
label: "java.util.List",
|
|
94
|
-
value: "List"
|
|
95
|
-
}
|
|
96
|
-
]
|
|
97
|
-
};
|
|
98
|
-
},
|
|
99
|
-
props: ["apiCode", "flash", "dire"],
|
|
100
|
-
methods: {
|
|
101
|
-
change(vid) {
|
|
102
|
-
let obj = {};
|
|
103
|
-
obj = this.options.find(item => {
|
|
104
|
-
return item.value === vid; //筛选出匹配数据
|
|
105
|
-
});
|
|
106
|
-
this.form.paramClassname = obj.label;
|
|
107
|
-
},
|
|
108
|
-
switchs() {
|
|
109
|
-
if (this.form.flag) {
|
|
110
|
-
this.form.flag = false;
|
|
111
|
-
} else {
|
|
112
|
-
this.form.flag = true;
|
|
113
|
-
}
|
|
114
|
-
this.form.paramClassname = "";
|
|
115
|
-
},
|
|
116
|
-
addlists() {
|
|
117
|
-
const querystring = require("querystring");
|
|
118
|
-
this.form.appapiCode = this.apiCode;
|
|
119
|
-
this.form.paramPtype = 0;
|
|
120
|
-
if (this.form.flag == false) {
|
|
121
|
-
let inps = this.$refs.inp;
|
|
122
|
-
this.form.paramType = inps.currentValue;
|
|
123
|
-
this.form.paramPtype = 1;
|
|
124
|
-
}
|
|
125
|
-
this.form.paramDire = this.dire;
|
|
126
|
-
this.form.paramOrder = 1;
|
|
127
|
-
this.form.dataState = 1;
|
|
128
|
-
this.form.tenantCode = "00000000";
|
|
129
|
-
const data = querystring.stringify(this.form);
|
|
130
|
-
addApiPram(data).then(res => {
|
|
131
|
-
this.$message({
|
|
132
|
-
message: res.msg,
|
|
133
|
-
type: "success"
|
|
134
|
-
});
|
|
135
|
-
this.flash();
|
|
136
|
-
});
|
|
137
|
-
this.dialogFormVisible = false;
|
|
138
|
-
this.resetForm("form");
|
|
139
|
-
},
|
|
140
|
-
resetForm(formName) {
|
|
141
|
-
this.$refs[formName].resetFields();
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
};
|
|
145
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<el-dialog title="参数" :visible.sync="dialogFormVisible" :modal-append-to-body="false">
|
|
4
|
+
<el-form :model="form" ref='form'>
|
|
5
|
+
<el-form-item label="变量名" :label-width="formLabelWidth" prop="paramName">
|
|
6
|
+
<el-input v-model="form.paramName" auto-complete="off" style="width: 50%;" clearable></el-input>
|
|
7
|
+
</el-form-item>
|
|
8
|
+
<el-form-item label="含义" :label-width="formLabelWidth" prop="paramValue">
|
|
9
|
+
<el-input v-model="form.paramValue" auto-complete="off" clearable></el-input>
|
|
10
|
+
</el-form-item>
|
|
11
|
+
<el-form-item label="api版本" :label-width="formLabelWidth">
|
|
12
|
+
<el-input v-model="form.appapiVersion" auto-complete="off" clearable></el-input>
|
|
13
|
+
</el-form-item>
|
|
14
|
+
<el-form-item label="类型" :label-width="formLabelWidth" prop="paramType">
|
|
15
|
+
<el-select v-if="form.flag" v-model="form.paramType" @change="change" filterable placeholder="请选择">
|
|
16
|
+
<el-option
|
|
17
|
+
v-for="item in options"
|
|
18
|
+
:key="item.value"
|
|
19
|
+
:value="item.value">
|
|
20
|
+
</el-option>
|
|
21
|
+
</el-select>
|
|
22
|
+
<el-input v-else type="text" ref="inp" style="width:300px;">{{form.paramType}}</el-input>
|
|
23
|
+
<el-button icon="el-icon-sort" circle @click="switchs()"></el-button>
|
|
24
|
+
</el-form-item>
|
|
25
|
+
<el-form-item label="类名" :label-width="formLabelWidth" prop="paramClassname">
|
|
26
|
+
<el-input v-model="form.paramClassname" auto-complete="off" clearable></el-input>
|
|
27
|
+
</el-form-item>
|
|
28
|
+
<el-form-item label="备注" :label-width="formLabelWidth" prop="paramRemark">
|
|
29
|
+
<el-input v-model="form.paramRemark" auto-complete="off" clearable></el-input>
|
|
30
|
+
</el-form-item>
|
|
31
|
+
</el-form>
|
|
32
|
+
<div slot="footer" class="dialog-footer">
|
|
33
|
+
<el-button @click="resetForm('form'),dialogFormVisible=false">取 消</el-button>
|
|
34
|
+
<el-button type="primary" @click="addlists(form)">确 定</el-button>
|
|
35
|
+
</div>
|
|
36
|
+
</el-dialog>
|
|
37
|
+
<el-button type="primary" @click= 'dialogFormVisible=true' size="small" icon="el-icon-circle-plus"></el-button>
|
|
38
|
+
</div>
|
|
39
|
+
</template>
|
|
40
|
+
<script>
|
|
41
|
+
import request from "#/utils/request";
|
|
42
|
+
import { addApiPram } from "#/api/apimanage";
|
|
43
|
+
export default {
|
|
44
|
+
name: "bounced",
|
|
45
|
+
data() {
|
|
46
|
+
return {
|
|
47
|
+
dialogTableVisible: false,
|
|
48
|
+
dialogFormVisible: false,
|
|
49
|
+
form: {
|
|
50
|
+
appapiVersion: "1.0",
|
|
51
|
+
paramType: "",
|
|
52
|
+
flag: true
|
|
53
|
+
},
|
|
54
|
+
formLabelWidth: "120px",
|
|
55
|
+
options: [
|
|
56
|
+
{
|
|
57
|
+
label: "java.lang.Character",
|
|
58
|
+
value: "Character"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
label: "java.lang.Double ",
|
|
62
|
+
value: "Double"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
label: "java.lang.Integer ",
|
|
66
|
+
value: "Integer"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
label: "java.lang.Long",
|
|
70
|
+
value: "Long"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
label: "java.lang.Object",
|
|
74
|
+
value: "Object"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
label: "java.lang.String",
|
|
78
|
+
value: "String"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
label: "java.math.BigDecimal",
|
|
82
|
+
value: "BigDecimal"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
label: "java.util.Date",
|
|
86
|
+
value: "Date"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
label: "java.util.HashMap",
|
|
90
|
+
value: "Map"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
label: "java.util.List",
|
|
94
|
+
value: "List"
|
|
95
|
+
}
|
|
96
|
+
]
|
|
97
|
+
};
|
|
98
|
+
},
|
|
99
|
+
props: ["apiCode", "flash", "dire"],
|
|
100
|
+
methods: {
|
|
101
|
+
change(vid) {
|
|
102
|
+
let obj = {};
|
|
103
|
+
obj = this.options.find(item => {
|
|
104
|
+
return item.value === vid; //筛选出匹配数据
|
|
105
|
+
});
|
|
106
|
+
this.form.paramClassname = obj.label;
|
|
107
|
+
},
|
|
108
|
+
switchs() {
|
|
109
|
+
if (this.form.flag) {
|
|
110
|
+
this.form.flag = false;
|
|
111
|
+
} else {
|
|
112
|
+
this.form.flag = true;
|
|
113
|
+
}
|
|
114
|
+
this.form.paramClassname = "";
|
|
115
|
+
},
|
|
116
|
+
addlists() {
|
|
117
|
+
const querystring = require("querystring");
|
|
118
|
+
this.form.appapiCode = this.apiCode;
|
|
119
|
+
this.form.paramPtype = 0;
|
|
120
|
+
if (this.form.flag == false) {
|
|
121
|
+
let inps = this.$refs.inp;
|
|
122
|
+
this.form.paramType = inps.currentValue;
|
|
123
|
+
this.form.paramPtype = 1;
|
|
124
|
+
}
|
|
125
|
+
this.form.paramDire = this.dire;
|
|
126
|
+
this.form.paramOrder = 1;
|
|
127
|
+
this.form.dataState = 1;
|
|
128
|
+
this.form.tenantCode = "00000000";
|
|
129
|
+
const data = querystring.stringify(this.form);
|
|
130
|
+
addApiPram(data).then(res => {
|
|
131
|
+
this.$message({
|
|
132
|
+
message: res.msg,
|
|
133
|
+
type: "success"
|
|
134
|
+
});
|
|
135
|
+
this.flash();
|
|
136
|
+
});
|
|
137
|
+
this.dialogFormVisible = false;
|
|
138
|
+
this.resetForm("form");
|
|
139
|
+
},
|
|
140
|
+
resetForm(formName) {
|
|
141
|
+
this.$refs[formName].resetFields();
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
};
|
|
145
|
+
</script>
|
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<el-breadcrumb class="app-breadcrumb" separator="/">
|
|
3
|
-
<transition-group name="breadcrumb">
|
|
4
|
-
<template>
|
|
5
|
-
<el-breadcrumb-item v-for="(item,index) in levelList" :key="index" v-if="item.meta.title">
|
|
6
|
-
<!-- v-for="(item,index) in levelList" :key="index" v-if="item.meta.title" -->
|
|
7
|
-
<!-- <a :href="item.path" class="index-href">{{item.meta.title}}</a> -->
|
|
8
|
-
<a class="index-href">{{$route.name}}</a>
|
|
9
|
-
</el-breadcrumb-item>
|
|
10
|
-
</template>
|
|
11
|
-
</transition-group>
|
|
12
|
-
</el-breadcrumb>
|
|
13
|
-
</template>
|
|
14
|
-
|
|
15
|
-
<script>
|
|
16
|
-
export default {
|
|
17
|
-
created() {
|
|
18
|
-
this.getBreadcrumb();
|
|
19
|
-
},
|
|
20
|
-
data() {
|
|
21
|
-
return {
|
|
22
|
-
levelList: null
|
|
23
|
-
};
|
|
24
|
-
},
|
|
25
|
-
watch: {
|
|
26
|
-
$route() {
|
|
27
|
-
this.getBreadcrumb();
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
methods: {
|
|
31
|
-
getBreadcrumb() {
|
|
32
|
-
let matched = this.$route.matched.filter(item => item.meta.title);
|
|
33
|
-
// console.log(matched)
|
|
34
|
-
const first = matched[0];
|
|
35
|
-
if (first && first.name !== "dashboard") {
|
|
36
|
-
matched = [{ path: "/dashboard", meta: { title: "首页" } }].concat(
|
|
37
|
-
matched
|
|
38
|
-
);
|
|
39
|
-
}
|
|
40
|
-
this.levelList = [{ path: "/paas/index", meta: { title: "首页" } }];
|
|
41
|
-
// for(var j = 0,len=this.levelList.length; j < len; j++){
|
|
42
|
-
// console.log(this.levelList[j].meta.title)
|
|
43
|
-
// }
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
computed: {
|
|
47
|
-
// title() {
|
|
48
|
-
// return this.$store.getters.title;
|
|
49
|
-
// }
|
|
50
|
-
}
|
|
51
|
-
};
|
|
52
|
-
</script>
|
|
53
|
-
|
|
54
|
-
<style rel="stylesheet/scss" lang="scss" scoped>
|
|
55
|
-
.app-breadcrumb.el-breadcrumb {
|
|
56
|
-
display: inline-block;
|
|
57
|
-
font-size: 14px;
|
|
58
|
-
line-height: inherit;
|
|
59
|
-
/*margin-left: 5px;*/
|
|
60
|
-
.index-href {
|
|
61
|
-
cursor: pointer;
|
|
62
|
-
// font-weight: bold;
|
|
63
|
-
color: #333;
|
|
64
|
-
font-size: 14px;
|
|
65
|
-
}
|
|
66
|
-
.no-redirect {
|
|
67
|
-
color: #97a8be;
|
|
68
|
-
cursor: text;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<el-breadcrumb class="app-breadcrumb" separator="/">
|
|
3
|
+
<transition-group name="breadcrumb">
|
|
4
|
+
<template>
|
|
5
|
+
<el-breadcrumb-item v-for="(item,index) in levelList" :key="index" v-if="item.meta.title">
|
|
6
|
+
<!-- v-for="(item,index) in levelList" :key="index" v-if="item.meta.title" -->
|
|
7
|
+
<!-- <a :href="item.path" class="index-href">{{item.meta.title}}</a> -->
|
|
8
|
+
<a class="index-href">{{$route.name}}</a>
|
|
9
|
+
</el-breadcrumb-item>
|
|
10
|
+
</template>
|
|
11
|
+
</transition-group>
|
|
12
|
+
</el-breadcrumb>
|
|
13
|
+
</template>
|
|
14
|
+
|
|
15
|
+
<script>
|
|
16
|
+
export default {
|
|
17
|
+
created() {
|
|
18
|
+
this.getBreadcrumb();
|
|
19
|
+
},
|
|
20
|
+
data() {
|
|
21
|
+
return {
|
|
22
|
+
levelList: null
|
|
23
|
+
};
|
|
24
|
+
},
|
|
25
|
+
watch: {
|
|
26
|
+
$route() {
|
|
27
|
+
this.getBreadcrumb();
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
methods: {
|
|
31
|
+
getBreadcrumb() {
|
|
32
|
+
let matched = this.$route.matched.filter(item => item.meta.title);
|
|
33
|
+
// console.log(matched)
|
|
34
|
+
const first = matched[0];
|
|
35
|
+
if (first && first.name !== "dashboard") {
|
|
36
|
+
matched = [{ path: "/dashboard", meta: { title: "首页" } }].concat(
|
|
37
|
+
matched
|
|
38
|
+
);
|
|
39
|
+
}
|
|
40
|
+
this.levelList = [{ path: "/paas/index", meta: { title: "首页" } }];
|
|
41
|
+
// for(var j = 0,len=this.levelList.length; j < len; j++){
|
|
42
|
+
// console.log(this.levelList[j].meta.title)
|
|
43
|
+
// }
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
computed: {
|
|
47
|
+
// title() {
|
|
48
|
+
// return this.$store.getters.title;
|
|
49
|
+
// }
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
</script>
|
|
53
|
+
|
|
54
|
+
<style rel="stylesheet/scss" lang="scss" scoped>
|
|
55
|
+
.app-breadcrumb.el-breadcrumb {
|
|
56
|
+
display: inline-block;
|
|
57
|
+
font-size: 14px;
|
|
58
|
+
line-height: inherit;
|
|
59
|
+
/*margin-left: 5px;*/
|
|
60
|
+
.index-href {
|
|
61
|
+
cursor: pointer;
|
|
62
|
+
// font-weight: bold;
|
|
63
|
+
color: #333;
|
|
64
|
+
font-size: 14px;
|
|
65
|
+
}
|
|
66
|
+
.no-redirect {
|
|
67
|
+
color: #97a8be;
|
|
68
|
+
cursor: text;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
</style>
|
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="checkbox-btn">
|
|
3
|
-
<slot name="checkbox"></slot>
|
|
4
|
-
<i class="el-icon-check iconfont"></i>
|
|
5
|
-
</div>
|
|
6
|
-
</template>
|
|
7
|
-
<script>
|
|
8
|
-
export default {};
|
|
9
|
-
</script>
|
|
10
|
-
<style scoped lang="scss">
|
|
11
|
-
.checkbox-btn {
|
|
12
|
-
position: relative;
|
|
13
|
-
width: 16px;
|
|
14
|
-
height: 16px;
|
|
15
|
-
}
|
|
16
|
-
.checkbox-btn input[type="checkbox"],
|
|
17
|
-
.checkbox-btn .el-icon-check {
|
|
18
|
-
width: 16px;
|
|
19
|
-
height: 16px;
|
|
20
|
-
display: block;
|
|
21
|
-
position: absolute;
|
|
22
|
-
top: 0;
|
|
23
|
-
left: 0;
|
|
24
|
-
z-index: 10;
|
|
25
|
-
background-color: #ffffff;
|
|
26
|
-
border-radius: 3px;
|
|
27
|
-
border: solid 1px #dddddd;
|
|
28
|
-
box-sizing: border-box;
|
|
29
|
-
}
|
|
30
|
-
.checkbox-btn input[type="checkbox"] {
|
|
31
|
-
z-index: 11;
|
|
32
|
-
}
|
|
33
|
-
.checkbox-btn .el-icon-check:before {
|
|
34
|
-
display: none;
|
|
35
|
-
}
|
|
36
|
-
.checkbox-btn input[type="checkbox"]:checked + .el-icon-check {
|
|
37
|
-
border-color: #d3392f;
|
|
38
|
-
}
|
|
39
|
-
.checkbox-btn input[type="checkbox"]:checked + .el-icon-check:before {
|
|
40
|
-
color: #d3392f;
|
|
41
|
-
float: left;
|
|
42
|
-
display: block;
|
|
43
|
-
font-size: 14px;
|
|
44
|
-
}
|
|
45
|
-
.checkbox-btn input[type="checkbox"] {
|
|
46
|
-
opacity: 0;
|
|
47
|
-
}
|
|
48
|
-
.checkbox-btn .i-checkbox {
|
|
49
|
-
z-index: 8;
|
|
50
|
-
}
|
|
51
|
-
</style>
|
|
52
|
-
|
|
53
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div class="checkbox-btn">
|
|
3
|
+
<slot name="checkbox"></slot>
|
|
4
|
+
<i class="el-icon-check iconfont"></i>
|
|
5
|
+
</div>
|
|
6
|
+
</template>
|
|
7
|
+
<script>
|
|
8
|
+
export default {};
|
|
9
|
+
</script>
|
|
10
|
+
<style scoped lang="scss">
|
|
11
|
+
.checkbox-btn {
|
|
12
|
+
position: relative;
|
|
13
|
+
width: 16px;
|
|
14
|
+
height: 16px;
|
|
15
|
+
}
|
|
16
|
+
.checkbox-btn input[type="checkbox"],
|
|
17
|
+
.checkbox-btn .el-icon-check {
|
|
18
|
+
width: 16px;
|
|
19
|
+
height: 16px;
|
|
20
|
+
display: block;
|
|
21
|
+
position: absolute;
|
|
22
|
+
top: 0;
|
|
23
|
+
left: 0;
|
|
24
|
+
z-index: 10;
|
|
25
|
+
background-color: #ffffff;
|
|
26
|
+
border-radius: 3px;
|
|
27
|
+
border: solid 1px #dddddd;
|
|
28
|
+
box-sizing: border-box;
|
|
29
|
+
}
|
|
30
|
+
.checkbox-btn input[type="checkbox"] {
|
|
31
|
+
z-index: 11;
|
|
32
|
+
}
|
|
33
|
+
.checkbox-btn .el-icon-check:before {
|
|
34
|
+
display: none;
|
|
35
|
+
}
|
|
36
|
+
.checkbox-btn input[type="checkbox"]:checked + .el-icon-check {
|
|
37
|
+
border-color: #d3392f;
|
|
38
|
+
}
|
|
39
|
+
.checkbox-btn input[type="checkbox"]:checked + .el-icon-check:before {
|
|
40
|
+
color: #d3392f;
|
|
41
|
+
float: left;
|
|
42
|
+
display: block;
|
|
43
|
+
font-size: 14px;
|
|
44
|
+
}
|
|
45
|
+
.checkbox-btn input[type="checkbox"] {
|
|
46
|
+
opacity: 0;
|
|
47
|
+
}
|
|
48
|
+
.checkbox-btn .i-checkbox {
|
|
49
|
+
z-index: 8;
|
|
50
|
+
}
|
|
51
|
+
</style>
|
|
52
|
+
|
|
53
|
+
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<!--<svg t="1492500959545" @click="toggleClick" class="svg-icon hamburger" :class="{'is-active':isActive}" style="" viewBox="0 0 1024 1024"
|
|
4
|
-
version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1691" xmlns:xlink="http://www.w3.org/1999/xlink" width="64" height="64">
|
|
5
|
-
<path d="M966.8023 568.849776 57.196677 568.849776c-31.397081 0-56.850799-25.452695-56.850799-56.850799l0 0c0-31.397081 25.452695-56.849776 56.850799-56.849776l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.849776l0 0C1023.653099 543.397081 998.200404 568.849776 966.8023 568.849776z"
|
|
6
|
-
p-id="1692"></path>
|
|
7
|
-
<path d="M966.8023 881.527125 57.196677 881.527125c-31.397081 0-56.850799-25.452695-56.850799-56.849776l0 0c0-31.397081 25.452695-56.849776 56.850799-56.849776l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.849776l0 0C1023.653099 856.07443 998.200404 881.527125 966.8023 881.527125z"
|
|
8
|
-
p-id="1693"></path>
|
|
9
|
-
<path d="M966.8023 256.17345 57.196677 256.17345c-31.397081 0-56.850799-25.452695-56.850799-56.849776l0 0c0-31.397081 25.452695-56.850799 56.850799-56.850799l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.850799l0 0C1023.653099 230.720755 998.200404 256.17345 966.8023 256.17345z"
|
|
10
|
-
p-id="1694"></path>
|
|
11
|
-
</svg>-->
|
|
12
|
-
<div class="hamburger" :class="{'is-active':isActive}">
|
|
13
|
-
<img src="../../assets/nav/tool.png">
|
|
14
|
-
</div>
|
|
15
|
-
</div>
|
|
16
|
-
</template>
|
|
17
|
-
|
|
18
|
-
<script>
|
|
19
|
-
export default {
|
|
20
|
-
name: 'hamburger',
|
|
21
|
-
props: {
|
|
22
|
-
isActive: {
|
|
23
|
-
type: Boolean,
|
|
24
|
-
default: false
|
|
25
|
-
},
|
|
26
|
-
toggleClick: {
|
|
27
|
-
type: Function,
|
|
28
|
-
default: null
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
</script>
|
|
33
|
-
|
|
34
|
-
<style scoped>
|
|
35
|
-
.hamburger {
|
|
36
|
-
display: inline-block;
|
|
37
|
-
cursor: pointer;
|
|
38
|
-
transform: rotate(0deg);
|
|
39
|
-
transition: .38s;
|
|
40
|
-
transform-origin: 50% 50%;
|
|
41
|
-
}
|
|
42
|
-
.hamburger img {
|
|
43
|
-
height: 18px;
|
|
44
|
-
}
|
|
45
|
-
.hamburger.is-active {
|
|
46
|
-
transform: rotate(90deg);
|
|
47
|
-
}
|
|
48
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<!--<svg t="1492500959545" @click="toggleClick" class="svg-icon hamburger" :class="{'is-active':isActive}" style="" viewBox="0 0 1024 1024"
|
|
4
|
+
version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1691" xmlns:xlink="http://www.w3.org/1999/xlink" width="64" height="64">
|
|
5
|
+
<path d="M966.8023 568.849776 57.196677 568.849776c-31.397081 0-56.850799-25.452695-56.850799-56.850799l0 0c0-31.397081 25.452695-56.849776 56.850799-56.849776l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.849776l0 0C1023.653099 543.397081 998.200404 568.849776 966.8023 568.849776z"
|
|
6
|
+
p-id="1692"></path>
|
|
7
|
+
<path d="M966.8023 881.527125 57.196677 881.527125c-31.397081 0-56.850799-25.452695-56.850799-56.849776l0 0c0-31.397081 25.452695-56.849776 56.850799-56.849776l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.849776l0 0C1023.653099 856.07443 998.200404 881.527125 966.8023 881.527125z"
|
|
8
|
+
p-id="1693"></path>
|
|
9
|
+
<path d="M966.8023 256.17345 57.196677 256.17345c-31.397081 0-56.850799-25.452695-56.850799-56.849776l0 0c0-31.397081 25.452695-56.850799 56.850799-56.850799l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.850799l0 0C1023.653099 230.720755 998.200404 256.17345 966.8023 256.17345z"
|
|
10
|
+
p-id="1694"></path>
|
|
11
|
+
</svg>-->
|
|
12
|
+
<div class="hamburger" :class="{'is-active':isActive}">
|
|
13
|
+
<img src="../../assets/nav/tool.png">
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
</template>
|
|
17
|
+
|
|
18
|
+
<script>
|
|
19
|
+
export default {
|
|
20
|
+
name: 'hamburger',
|
|
21
|
+
props: {
|
|
22
|
+
isActive: {
|
|
23
|
+
type: Boolean,
|
|
24
|
+
default: false
|
|
25
|
+
},
|
|
26
|
+
toggleClick: {
|
|
27
|
+
type: Function,
|
|
28
|
+
default: null
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
</script>
|
|
33
|
+
|
|
34
|
+
<style scoped>
|
|
35
|
+
.hamburger {
|
|
36
|
+
display: inline-block;
|
|
37
|
+
cursor: pointer;
|
|
38
|
+
transform: rotate(0deg);
|
|
39
|
+
transition: .38s;
|
|
40
|
+
transform-origin: 50% 50%;
|
|
41
|
+
}
|
|
42
|
+
.hamburger img {
|
|
43
|
+
height: 18px;
|
|
44
|
+
}
|
|
45
|
+
.hamburger.is-active {
|
|
46
|
+
transform: rotate(90deg);
|
|
47
|
+
}
|
|
48
|
+
</style>
|