imeik-imui 2.3.7 → 2.3.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/css/2.0230635e.css +1 -0
- package/dist/css/3.366b417b.css +1 -0
- package/dist/css/4.8406421c.css +1 -0
- package/dist/css/5.49962813.css +1 -0
- package/dist/css/6.a356f722.css +1 -0
- package/dist/css/7.48ce7654.css +1 -0
- package/dist/css/fail.c6cef1a9.css +1 -0
- package/dist/imeik-imui.common.10.js +384 -0
- package/dist/imeik-imui.common.10.js.gz +0 -0
- package/dist/imeik-imui.common.11.js +118 -0
- package/dist/imeik-imui.common.12.js +140 -0
- package/dist/imeik-imui.common.13.js +127 -0
- package/dist/imeik-imui.common.14.js +357 -0
- package/dist/imeik-imui.common.15.js +157 -0
- package/dist/imeik-imui.common.16.js +320 -0
- package/dist/imeik-imui.common.17.js +102 -0
- package/dist/imeik-imui.common.2.js +400 -0
- package/dist/imeik-imui.common.2.js.gz +0 -0
- package/dist/imeik-imui.common.3.js +484 -0
- package/dist/imeik-imui.common.3.js.gz +0 -0
- package/dist/imeik-imui.common.4.js +876 -0
- package/dist/imeik-imui.common.4.js.gz +0 -0
- package/dist/imeik-imui.common.5.js +92 -0
- package/dist/imeik-imui.common.6.js +99 -0
- package/dist/imeik-imui.common.7.js +293 -0
- package/dist/imeik-imui.common.7.js.gz +0 -0
- package/dist/imeik-imui.common.8.js +315 -0
- package/dist/imeik-imui.common.9.js +77 -0
- package/dist/imeik-imui.common.fail.js +195 -0
- package/dist/imeik-imui.common.fail.js.gz +0 -0
- package/dist/imeik-imui.common.js +26520 -800
- package/dist/imeik-imui.common.js.gz +0 -0
- package/dist/imeik-imui.css +1 -1
- package/dist/imeik-imui.css.gz +0 -0
- package/dist/imeik-imui.umd.10.js +384 -0
- package/dist/imeik-imui.umd.10.js.gz +0 -0
- package/dist/imeik-imui.umd.11.js +118 -0
- package/dist/imeik-imui.umd.12.js +140 -0
- package/dist/imeik-imui.umd.13.js +127 -0
- package/dist/imeik-imui.umd.14.js +357 -0
- package/dist/imeik-imui.umd.15.js +157 -0
- package/dist/imeik-imui.umd.16.js +320 -0
- package/dist/imeik-imui.umd.17.js +102 -0
- package/dist/imeik-imui.umd.2.js +400 -0
- package/dist/imeik-imui.umd.2.js.gz +0 -0
- package/dist/imeik-imui.umd.3.js +484 -0
- package/dist/imeik-imui.umd.3.js.gz +0 -0
- package/dist/imeik-imui.umd.4.js +876 -0
- package/dist/imeik-imui.umd.4.js.gz +0 -0
- package/dist/imeik-imui.umd.5.js +92 -0
- package/dist/imeik-imui.umd.6.js +99 -0
- package/dist/imeik-imui.umd.7.js +293 -0
- package/dist/imeik-imui.umd.7.js.gz +0 -0
- package/dist/imeik-imui.umd.8.js +315 -0
- package/dist/imeik-imui.umd.9.js +77 -0
- package/dist/imeik-imui.umd.fail.js +195 -0
- package/dist/imeik-imui.umd.fail.js.gz +0 -0
- package/dist/imeik-imui.umd.js +26520 -800
- package/dist/imeik-imui.umd.js.gz +0 -0
- package/dist/imeik-imui.umd.min.10.js +1 -0
- package/dist/imeik-imui.umd.min.11.js +1 -0
- package/dist/imeik-imui.umd.min.12.js +1 -0
- package/dist/imeik-imui.umd.min.13.js +1 -0
- package/dist/imeik-imui.umd.min.14.js +1 -0
- package/dist/imeik-imui.umd.min.15.js +1 -0
- package/dist/imeik-imui.umd.min.16.js +1 -0
- package/dist/imeik-imui.umd.min.17.js +1 -0
- package/dist/imeik-imui.umd.min.2.js +1 -0
- package/dist/imeik-imui.umd.min.3.js +1 -0
- package/dist/imeik-imui.umd.min.4.js +1 -0
- package/dist/imeik-imui.umd.min.5.js +1 -0
- package/dist/imeik-imui.umd.min.6.js +1 -0
- package/dist/imeik-imui.umd.min.7.js +1 -0
- package/dist/imeik-imui.umd.min.8.js +1 -0
- package/dist/imeik-imui.umd.min.9.js +1 -0
- package/dist/imeik-imui.umd.min.fail.js +1 -0
- package/dist/imeik-imui.umd.min.js +48 -23
- package/dist/imeik-imui.umd.min.js.gz +0 -0
- package/dist/img/403.f6b0bff1.png +0 -0
- package/dist/img/404.6f8b0c05.png +0 -0
- package/dist/img/home.3c5166d9.svg +172 -0
- package/dist/img/home.3c5166d9.svg.gz +0 -0
- package/dist/img/itemImg.2dab467d.png +0 -0
- package/dist/img/logo2023.9a27179a.svg +42 -0
- package/dist/img/logo2023.9a27179a.svg.gz +0 -0
- package/dist/img/menu-icon-approval-current.2130b50f.png +0 -0
- package/dist/img/menu-icon-approval.562a6985.png +0 -0
- package/dist/img/menu-icon-employees-current.b19603be.png +0 -0
- package/dist/img/menu-icon-miniapp-current.163007db.png +0 -0
- package/dist/img/menu-icon-miniapp.d5ae6730.png +0 -0
- package/dist/img/menu-icon-system-current.7c9509ad.png +0 -0
- package/dist/img/user-avatar.8f143865.png +0 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.item-view[data-v-79cedba3]{width:calc(25% - 12px);height:136px;background-color:#fff;border-radius:4px;margin-right:16px;margin-top:16px;position:relative}.item-view .form-title[data-v-79cedba3]{font-size:16px;color:#393939;line-height:22px;margin:24px}.item-view .button-view[data-v-79cedba3]{margin-left:24px;margin-top:10px;font-size:16px}.item-view .bg-img[data-v-79cedba3]{width:98px;height:88px;position:absolute;bottom:0;right:8px}.item-view[data-v-79cedba3]:nth-child(4n){margin-right:0}.bold[data-v-79cedba3]{font-weight:700}.applyItemContainer[data-v-0111b390]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.fixedBottom[data-v-404d30c6]{left:54px;padding:12px}.fixedBottom.sidebarOpened[data-v-404d30c6]{left:200px}.holdingTim_label[data-v-4d987f00]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.header[data-v-4d987f00]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline;padding-left:12px}.header .header-text[data-v-4d987f00]{font-size:18px;font-weight:600;color:#000}.header .header-text span[data-v-4d987f00]{font-size:14px;font-weight:400;color:#595959;margin-left:24px}.header .header-version[data-v-4d987f00]{font-size:12px;font-weight:400;color:rgba(0,0,0,.45)}.meeting-detail-button[data-v-4d987f00]{text-align:center}.add-meeting-main[data-v-4d987f00]{margin-top:-24px}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.AddOrEditForm[data-v-24d67095] .el-scrollbar__bar.is-horizontal{display:none}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.homeMine{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column;flex-flow:column;height:calc(100vh - 154px)}.homeMine_text{margin-top:36px;font-size:22px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#333}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.loading-demo[data-v-5d5515b6]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-pack:distribute;justify-content:space-around}.loading-demo .loading-item[data-v-5d5515b6]{text-align:center}.loading-demo .loading-item h4[data-v-5d5515b6]{margin-bottom:10px}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.screen-capture-widget[data-v-bd53852c]{position:fixed;right:20px;bottom:20px;z-index:9999}.capture-button[data-v-bd53852c]{-webkit-box-shadow:0 2px 12px 0 rgba(0,0,0,.1);box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.capture-options[data-v-bd53852c]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:10px}.stop-recording-bar[data-v-bd53852c]{position:fixed;top:0;left:0;right:0;background-color:rgba(0,0,0,.7);padding:10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;z-index:10000}.recording-indicator[data-v-bd53852c]{width:10px;height:10px;background-color:red;border-radius:50%;margin-left:10px;-webkit-animation:blink-bd53852c 1s infinite;animation:blink-bd53852c 1s infinite}@-webkit-keyframes blink-bd53852c{0%{opacity:0}50%{opacity:1}to{opacity:0}}@keyframes blink-bd53852c{0%{opacity:0}50%{opacity:1}to{opacity:0}}.fade-enter-active[data-v-bd53852c],.fade-leave-active[data-v-bd53852c]{-webkit-transition:opacity .5s;transition:opacity .5s}.fade-enter[data-v-bd53852c],.fade-leave-to[data-v-bd53852c]{opacity:0}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.container-404[data-v-3aa5cc40]{padding:60px 0 0}.container-404 .pic-404[data-v-3aa5cc40]{text-align:center}.container-404 .pic-404-bg[data-v-3aa5cc40]{width:660px;height:397px;margin:0 auto;background:url(img/404.6f8b0c05.png) no-repeat;background-size:100% 100%}.container-404 .go-home[data-v-3aa5cc40]{margin-top:30px;text-align:center}.container-404[data-v-123a4930]{padding:60px 0 0}.container-404 .pic-403[data-v-123a4930]{text-align:center}.container-404 .pic-403-bg[data-v-123a4930]{width:360px;height:309px;margin:0 auto;background:url(img/403.f6b0bff1.png) no-repeat;background-size:100% 100%}.container-404 .go-home[data-v-123a4930]{margin-top:30px;text-align:center}
|
|
@@ -0,0 +1,384 @@
|
|
|
1
|
+
((typeof self !== 'undefined' ? self : this)["webpackJsonpimeik_imui"] = (typeof self !== 'undefined' ? self : this)["webpackJsonpimeik_imui"] || []).push([[10],{
|
|
2
|
+
|
|
3
|
+
/***/ "7bab":
|
|
4
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5
|
+
|
|
6
|
+
"use strict";
|
|
7
|
+
// ESM COMPAT FLAG
|
|
8
|
+
__webpack_require__.r(__webpack_exports__);
|
|
9
|
+
|
|
10
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5c4e617d-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/views/commonComponents/FormWithMultiplePartDemo.vue?vue&type=template&id=18ee1594
|
|
11
|
+
var render = function render() {
|
|
12
|
+
var _vm = this,
|
|
13
|
+
_c = _vm._self._c;
|
|
14
|
+
return _c('ImWrapper', [_c('div', {
|
|
15
|
+
staticClass: "bg-white p-4 mb-[32px]"
|
|
16
|
+
}, [_c('ImForm', {
|
|
17
|
+
ref: "ImForm",
|
|
18
|
+
attrs: {
|
|
19
|
+
"form": _vm.formConfig,
|
|
20
|
+
"is-view": _vm.isView
|
|
21
|
+
}
|
|
22
|
+
}, [_c('CardHeader', {
|
|
23
|
+
staticClass: "-mt-4",
|
|
24
|
+
attrs: {
|
|
25
|
+
"slot": "infoSlot",
|
|
26
|
+
"text": "素材信息"
|
|
27
|
+
},
|
|
28
|
+
slot: "infoSlot"
|
|
29
|
+
}), _c('FormSplit', {
|
|
30
|
+
attrs: {
|
|
31
|
+
"slot": "split"
|
|
32
|
+
},
|
|
33
|
+
slot: "split"
|
|
34
|
+
}), _c('CardHeader', {
|
|
35
|
+
attrs: {
|
|
36
|
+
"slot": "moreInfo",
|
|
37
|
+
"text": "更多信息"
|
|
38
|
+
},
|
|
39
|
+
slot: "moreInfo"
|
|
40
|
+
})], 1)], 1), !_vm.isView ? _c('FixedBottom', [_c('el-button', {
|
|
41
|
+
on: {
|
|
42
|
+
"click": _vm.closeCurrent
|
|
43
|
+
}
|
|
44
|
+
}, [_vm._v("取 消")]), _c('el-button', {
|
|
45
|
+
attrs: {
|
|
46
|
+
"type": "primary"
|
|
47
|
+
},
|
|
48
|
+
on: {
|
|
49
|
+
"click": _vm.submitForm
|
|
50
|
+
}
|
|
51
|
+
}, [_vm._v("保 存")])], 1) : _vm._e()], 1);
|
|
52
|
+
};
|
|
53
|
+
var staticRenderFns = [];
|
|
54
|
+
|
|
55
|
+
// CONCATENATED MODULE: ./src/views/commonComponents/FormWithMultiplePartDemo.vue?vue&type=template&id=18ee1594
|
|
56
|
+
|
|
57
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
58
|
+
var objectSpread2 = __webpack_require__("5530");
|
|
59
|
+
|
|
60
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
|
|
61
|
+
var es_regexp_exec = __webpack_require__("ac1f");
|
|
62
|
+
|
|
63
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
64
|
+
var es_string_replace = __webpack_require__("5319");
|
|
65
|
+
|
|
66
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/views/commonComponents/FormWithMultiplePartDemo.vue?vue&type=script&lang=js
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
/* harmony default export */ var FormWithMultiplePartDemovue_type_script_lang_js = ({
|
|
71
|
+
// 组件名称
|
|
72
|
+
name: 'FormWithMultiplePartDemo',
|
|
73
|
+
// 组件数据
|
|
74
|
+
data: function data() {
|
|
75
|
+
return {
|
|
76
|
+
// 从路由查询参数中获取objectCode
|
|
77
|
+
objectCode: this.$route.query.objectCode,
|
|
78
|
+
// 表单配置
|
|
79
|
+
formConfig: {
|
|
80
|
+
// 表单列数
|
|
81
|
+
column: 3,
|
|
82
|
+
// 表单项间距
|
|
83
|
+
gutter: 24,
|
|
84
|
+
// 表单属性
|
|
85
|
+
attrs: {
|
|
86
|
+
labelPosition: 'top'
|
|
87
|
+
},
|
|
88
|
+
// 表单数据
|
|
89
|
+
props: {
|
|
90
|
+
author: '张三',
|
|
91
|
+
introduction: '简介',
|
|
92
|
+
name: '名称',
|
|
93
|
+
gender: 'male',
|
|
94
|
+
coverUrl: 'https://udstatic.imeik.com/pcUploads/1726199178042/d1626d76a40835bf15e5a80dccf51a3a.jpeg',
|
|
95
|
+
videoId: '70695608718371efaa476eb3690d0102',
|
|
96
|
+
fileList: []
|
|
97
|
+
},
|
|
98
|
+
// 表单项配置
|
|
99
|
+
formItems: []
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
},
|
|
103
|
+
// 计算属性
|
|
104
|
+
computed: {
|
|
105
|
+
// 是否为查看模式
|
|
106
|
+
isView: function isView() {
|
|
107
|
+
return false;
|
|
108
|
+
},
|
|
109
|
+
// 表单项配置
|
|
110
|
+
formItems: function formItems() {
|
|
111
|
+
return [
|
|
112
|
+
// 素材信息标题插槽
|
|
113
|
+
{
|
|
114
|
+
type: 'ImSlot',
|
|
115
|
+
notInForm: true,
|
|
116
|
+
slots: {
|
|
117
|
+
slot: 'infoSlot'
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
// 作者输入框
|
|
121
|
+
{
|
|
122
|
+
type: 'ImInput',
|
|
123
|
+
prop: 'author',
|
|
124
|
+
label: '作者',
|
|
125
|
+
rules: [{
|
|
126
|
+
required: !this.isView,
|
|
127
|
+
message: '请输入作者'
|
|
128
|
+
}],
|
|
129
|
+
attrs: {
|
|
130
|
+
isView: this.isView,
|
|
131
|
+
maxlength: 32,
|
|
132
|
+
showWordLimit: true
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
// 名称输入框
|
|
136
|
+
{
|
|
137
|
+
type: 'ImInput',
|
|
138
|
+
prop: 'name',
|
|
139
|
+
label: '名称',
|
|
140
|
+
rules: [{
|
|
141
|
+
required: !this.isView,
|
|
142
|
+
message: '请输入名称'
|
|
143
|
+
}],
|
|
144
|
+
attrs: {
|
|
145
|
+
isView: this.isView,
|
|
146
|
+
maxlength: 32,
|
|
147
|
+
showWordLimit: true
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
// 性别选择框
|
|
151
|
+
{
|
|
152
|
+
type: 'ImSelect',
|
|
153
|
+
prop: 'gender',
|
|
154
|
+
label: '性别',
|
|
155
|
+
rules: [{
|
|
156
|
+
required: !this.isView,
|
|
157
|
+
message: '请选择性别'
|
|
158
|
+
}],
|
|
159
|
+
attrs: {
|
|
160
|
+
isView: this.isView,
|
|
161
|
+
class: 'w-full',
|
|
162
|
+
options: [{
|
|
163
|
+
label: '男',
|
|
164
|
+
value: 'male'
|
|
165
|
+
}, {
|
|
166
|
+
label: '女',
|
|
167
|
+
value: 'female'
|
|
168
|
+
}]
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
// 添加换行符,不作为表单项
|
|
172
|
+
// {
|
|
173
|
+
// type: 'ImBr', // 使用ImBr组件
|
|
174
|
+
// notInForm: true // 标记该项不在表单中
|
|
175
|
+
// },
|
|
176
|
+
// 简介输入框
|
|
177
|
+
{
|
|
178
|
+
type: 'ImInput',
|
|
179
|
+
prop: 'introduction',
|
|
180
|
+
label: '简介',
|
|
181
|
+
span: 24,
|
|
182
|
+
rules: [{
|
|
183
|
+
required: !this.isView,
|
|
184
|
+
message: '请输入简介'
|
|
185
|
+
}],
|
|
186
|
+
attrs: {
|
|
187
|
+
isView: this.isView,
|
|
188
|
+
type: 'textarea',
|
|
189
|
+
rows: 6,
|
|
190
|
+
maxlength: 64,
|
|
191
|
+
showWordLimit: true
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
// 分隔线插槽
|
|
195
|
+
{
|
|
196
|
+
type: 'ImSlot',
|
|
197
|
+
notInForm: true,
|
|
198
|
+
slots: {
|
|
199
|
+
slot: 'split'
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
// 更多信息标题插槽
|
|
203
|
+
{
|
|
204
|
+
type: 'ImSlot',
|
|
205
|
+
notInForm: true,
|
|
206
|
+
slots: {
|
|
207
|
+
slot: 'moreInfo'
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
// 视频封面上传
|
|
211
|
+
{
|
|
212
|
+
type: 'ImMultiVideoUpload',
|
|
213
|
+
prop: 'imagelost',
|
|
214
|
+
label: '视频封面',
|
|
215
|
+
rules: [{
|
|
216
|
+
required: !this.isView,
|
|
217
|
+
message: '请上传视频封面'
|
|
218
|
+
}],
|
|
219
|
+
attrs: {
|
|
220
|
+
isView: this.isView,
|
|
221
|
+
tipText: '请上传.png,.jpg,.jpeg,.gif,.svg格式文件,每个文件不超过5M,最多上传9张图片 '
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
// 换行
|
|
225
|
+
{
|
|
226
|
+
type: 'ImBr',
|
|
227
|
+
notInForm: true
|
|
228
|
+
},
|
|
229
|
+
// 视频文件上传,视频上传返回的是videoId
|
|
230
|
+
{
|
|
231
|
+
type: 'ImFieldFileUpload',
|
|
232
|
+
prop: '123',
|
|
233
|
+
label: '视频文件',
|
|
234
|
+
rules: [{
|
|
235
|
+
required: !this.isView,
|
|
236
|
+
message: '请选择视频文件'
|
|
237
|
+
}],
|
|
238
|
+
attrs: {
|
|
239
|
+
isView: this.isView,
|
|
240
|
+
tipText: '12312收到发生的反手刀辅导费'
|
|
241
|
+
}
|
|
242
|
+
}, {
|
|
243
|
+
type: 'ImBr',
|
|
244
|
+
notInForm: true
|
|
245
|
+
}, {
|
|
246
|
+
type: 'ImMultiImgUploadList',
|
|
247
|
+
prop: 'ImMultiImgUploadList',
|
|
248
|
+
label: '视频文件',
|
|
249
|
+
rules: [{
|
|
250
|
+
required: !this.isView,
|
|
251
|
+
message: '请选择视频文件'
|
|
252
|
+
}],
|
|
253
|
+
attrs: {
|
|
254
|
+
isView: this.isView
|
|
255
|
+
}
|
|
256
|
+
}, {
|
|
257
|
+
type: 'ImBr',
|
|
258
|
+
notInForm: true
|
|
259
|
+
}, {
|
|
260
|
+
type: 'ImMultiVideoUpload',
|
|
261
|
+
prop: 'fileList',
|
|
262
|
+
span: 24,
|
|
263
|
+
label: '文件',
|
|
264
|
+
rules: [{
|
|
265
|
+
required: !this.isView,
|
|
266
|
+
message: '请选择文件'
|
|
267
|
+
}],
|
|
268
|
+
attrs: {
|
|
269
|
+
isView: this.isView
|
|
270
|
+
}
|
|
271
|
+
}];
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
// 侦听器
|
|
275
|
+
watch: {
|
|
276
|
+
// 监听formItems变化,更新formConfig
|
|
277
|
+
formItems: {
|
|
278
|
+
handler: function handler(newVal) {
|
|
279
|
+
this.formConfig.formItems = newVal;
|
|
280
|
+
},
|
|
281
|
+
immediate: true
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
// 生命周期钩子
|
|
285
|
+
created: function created() {
|
|
286
|
+
// 如果存在objectCode,则获取详情
|
|
287
|
+
if (this.objectCode) {
|
|
288
|
+
this.getItemDetail();
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
// 方法
|
|
292
|
+
methods: {
|
|
293
|
+
// 获取详情方法
|
|
294
|
+
getItemDetail: function getItemDetail() {
|
|
295
|
+
// 注释掉的代码为获取详情的API调用
|
|
296
|
+
// getDetail({ objectCode: this.objectCode }).then((res) => {
|
|
297
|
+
// if (res.code === 200) {
|
|
298
|
+
// const props = this.formConfig.props
|
|
299
|
+
// const keys = Object.keys(props)
|
|
300
|
+
// // 直接遍历进行赋值,特殊属性需要单独拿出来处理
|
|
301
|
+
// for (let i = 0; i < keys.length; i++) {
|
|
302
|
+
// const key = keys[i]
|
|
303
|
+
// props[key] = res.data[key] || undefined
|
|
304
|
+
// }
|
|
305
|
+
// }
|
|
306
|
+
// })
|
|
307
|
+
},
|
|
308
|
+
// 提交表单方法
|
|
309
|
+
submitForm: function submitForm(callback) {
|
|
310
|
+
var _this = this;
|
|
311
|
+
// 表单验证
|
|
312
|
+
this.$refs.ImForm.validate(function (valid) {
|
|
313
|
+
if (!valid) {
|
|
314
|
+
_this.$message.warning('请检查表单项!');
|
|
315
|
+
return;
|
|
316
|
+
}
|
|
317
|
+
// 构造提交数据
|
|
318
|
+
var data = Object(objectSpread2["a" /* default */])({}, _this.formConfig.props);
|
|
319
|
+
if (_this.objectCode) {
|
|
320
|
+
// 编辑模式
|
|
321
|
+
data.objectCode = _this.objectCode;
|
|
322
|
+
// 注释掉的代码为编辑API调用
|
|
323
|
+
// editResources(data).then((res) => {
|
|
324
|
+
// if (res.code === 200) {
|
|
325
|
+
// this.$message.success('更新成功!')
|
|
326
|
+
// this.closeCurrent()
|
|
327
|
+
// } else {
|
|
328
|
+
// this.$message.error(res.message)
|
|
329
|
+
// }
|
|
330
|
+
// })
|
|
331
|
+
} else {
|
|
332
|
+
// 新增模式
|
|
333
|
+
// 注释掉的代码为新增API调用
|
|
334
|
+
// resourcesCommit(data).then((res) => {
|
|
335
|
+
// if (res.code === 200) {
|
|
336
|
+
// this.$message.success('操作成功!')
|
|
337
|
+
// this.closeCurrent()
|
|
338
|
+
// } else {
|
|
339
|
+
// this.$message.error(res.message)
|
|
340
|
+
// }
|
|
341
|
+
// })
|
|
342
|
+
}
|
|
343
|
+
});
|
|
344
|
+
},
|
|
345
|
+
// 关闭当前页面方法
|
|
346
|
+
closeCurrent: function closeCurrent() {
|
|
347
|
+
// 重置表单
|
|
348
|
+
this.$refs.ImForm.reset();
|
|
349
|
+
// 跳转到资源列表页
|
|
350
|
+
this.$router.replace({
|
|
351
|
+
name: 'ListPage'
|
|
352
|
+
});
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
});
|
|
356
|
+
// CONCATENATED MODULE: ./src/views/commonComponents/FormWithMultiplePartDemo.vue?vue&type=script&lang=js
|
|
357
|
+
/* harmony default export */ var commonComponents_FormWithMultiplePartDemovue_type_script_lang_js = (FormWithMultiplePartDemovue_type_script_lang_js);
|
|
358
|
+
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
359
|
+
var componentNormalizer = __webpack_require__("2877");
|
|
360
|
+
|
|
361
|
+
// CONCATENATED MODULE: ./src/views/commonComponents/FormWithMultiplePartDemo.vue
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
/* normalize component */
|
|
368
|
+
|
|
369
|
+
var component = Object(componentNormalizer["a" /* default */])(
|
|
370
|
+
commonComponents_FormWithMultiplePartDemovue_type_script_lang_js,
|
|
371
|
+
render,
|
|
372
|
+
staticRenderFns,
|
|
373
|
+
false,
|
|
374
|
+
null,
|
|
375
|
+
null,
|
|
376
|
+
null
|
|
377
|
+
|
|
378
|
+
)
|
|
379
|
+
|
|
380
|
+
/* harmony default export */ var FormWithMultiplePartDemo = __webpack_exports__["default"] = (component.exports);
|
|
381
|
+
|
|
382
|
+
/***/ })
|
|
383
|
+
|
|
384
|
+
}]);
|
|
Binary file
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
((typeof self !== 'undefined' ? self : this)["webpackJsonpimeik_imui"] = (typeof self !== 'undefined' ? self : this)["webpackJsonpimeik_imui"] || []).push([[11],{
|
|
2
|
+
|
|
3
|
+
/***/ "eb75":
|
|
4
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5
|
+
|
|
6
|
+
"use strict";
|
|
7
|
+
// ESM COMPAT FLAG
|
|
8
|
+
__webpack_require__.r(__webpack_exports__);
|
|
9
|
+
|
|
10
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5c4e617d-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/views/commonComponents/ImCardDemo.vue?vue&type=template&id=355ecc6f&scoped=true
|
|
11
|
+
var render = function render() {
|
|
12
|
+
var _vm = this,
|
|
13
|
+
_c = _vm._self._c;
|
|
14
|
+
return _c('ImWrapper', [_c('div', {
|
|
15
|
+
staticClass: "p-4 bg-white",
|
|
16
|
+
attrs: {
|
|
17
|
+
"slot": "header"
|
|
18
|
+
},
|
|
19
|
+
slot: "header"
|
|
20
|
+
}, [_vm._v("这个页面是卡片组件的演示页面")]), _c('ImCard', {
|
|
21
|
+
scopedSlots: _vm._u([{
|
|
22
|
+
key: "title",
|
|
23
|
+
fn: function fn() {
|
|
24
|
+
return [_c('span', [_vm._v("卡片标题1")])];
|
|
25
|
+
},
|
|
26
|
+
proxy: true
|
|
27
|
+
}, {
|
|
28
|
+
key: "extra",
|
|
29
|
+
fn: function fn() {
|
|
30
|
+
return [_c('el-button', {
|
|
31
|
+
staticClass: "float-right",
|
|
32
|
+
attrs: {
|
|
33
|
+
"type": "primary",
|
|
34
|
+
"size": "mini"
|
|
35
|
+
}
|
|
36
|
+
}, [_vm._v("操作1")])];
|
|
37
|
+
},
|
|
38
|
+
proxy: true
|
|
39
|
+
}])
|
|
40
|
+
}, [_c('div', [_vm._v("卡片内容1")])]), _c('ImCard', {
|
|
41
|
+
scopedSlots: _vm._u([{
|
|
42
|
+
key: "title",
|
|
43
|
+
fn: function fn() {
|
|
44
|
+
return [_c('span', [_vm._v("卡片标题2")])];
|
|
45
|
+
},
|
|
46
|
+
proxy: true
|
|
47
|
+
}, {
|
|
48
|
+
key: "extra",
|
|
49
|
+
fn: function fn() {
|
|
50
|
+
return [_c('el-button', {
|
|
51
|
+
staticClass: "float-right",
|
|
52
|
+
attrs: {
|
|
53
|
+
"type": "primary",
|
|
54
|
+
"size": "mini"
|
|
55
|
+
}
|
|
56
|
+
}, [_vm._v("操作2")])];
|
|
57
|
+
},
|
|
58
|
+
proxy: true
|
|
59
|
+
}])
|
|
60
|
+
}, [_c('div', [_vm._v("卡片内容2")])]), _c('ImCard', {
|
|
61
|
+
scopedSlots: _vm._u([{
|
|
62
|
+
key: "title",
|
|
63
|
+
fn: function fn() {
|
|
64
|
+
return [_c('span', [_vm._v("卡片标题3")])];
|
|
65
|
+
},
|
|
66
|
+
proxy: true
|
|
67
|
+
}, {
|
|
68
|
+
key: "extra",
|
|
69
|
+
fn: function fn() {
|
|
70
|
+
return [_c('el-button', {
|
|
71
|
+
staticClass: "float-right",
|
|
72
|
+
attrs: {
|
|
73
|
+
"type": "primary",
|
|
74
|
+
"size": "mini"
|
|
75
|
+
}
|
|
76
|
+
}, [_vm._v("操作3")])];
|
|
77
|
+
},
|
|
78
|
+
proxy: true
|
|
79
|
+
}])
|
|
80
|
+
}, [_c('div', [_vm._v("卡片内容3")])])], 1);
|
|
81
|
+
};
|
|
82
|
+
var staticRenderFns = [];
|
|
83
|
+
|
|
84
|
+
// CONCATENATED MODULE: ./src/views/commonComponents/ImCardDemo.vue?vue&type=template&id=355ecc6f&scoped=true
|
|
85
|
+
|
|
86
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/views/commonComponents/ImCardDemo.vue?vue&type=script&lang=js
|
|
87
|
+
/* harmony default export */ var ImCardDemovue_type_script_lang_js = ({
|
|
88
|
+
name: 'ImCardDemo'
|
|
89
|
+
});
|
|
90
|
+
// CONCATENATED MODULE: ./src/views/commonComponents/ImCardDemo.vue?vue&type=script&lang=js
|
|
91
|
+
/* harmony default export */ var commonComponents_ImCardDemovue_type_script_lang_js = (ImCardDemovue_type_script_lang_js);
|
|
92
|
+
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
93
|
+
var componentNormalizer = __webpack_require__("2877");
|
|
94
|
+
|
|
95
|
+
// CONCATENATED MODULE: ./src/views/commonComponents/ImCardDemo.vue
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
/* normalize component */
|
|
102
|
+
|
|
103
|
+
var component = Object(componentNormalizer["a" /* default */])(
|
|
104
|
+
commonComponents_ImCardDemovue_type_script_lang_js,
|
|
105
|
+
render,
|
|
106
|
+
staticRenderFns,
|
|
107
|
+
false,
|
|
108
|
+
null,
|
|
109
|
+
"355ecc6f",
|
|
110
|
+
null
|
|
111
|
+
|
|
112
|
+
)
|
|
113
|
+
|
|
114
|
+
/* harmony default export */ var ImCardDemo = __webpack_exports__["default"] = (component.exports);
|
|
115
|
+
|
|
116
|
+
/***/ })
|
|
117
|
+
|
|
118
|
+
}]);
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
((typeof self !== 'undefined' ? self : this)["webpackJsonpimeik_imui"] = (typeof self !== 'undefined' ? self : this)["webpackJsonpimeik_imui"] || []).push([[12],{
|
|
2
|
+
|
|
3
|
+
/***/ "fc67":
|
|
4
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5
|
+
|
|
6
|
+
"use strict";
|
|
7
|
+
// ESM COMPAT FLAG
|
|
8
|
+
__webpack_require__.r(__webpack_exports__);
|
|
9
|
+
|
|
10
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5c4e617d-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/views/commonComponents/ImDialogDemo.vue?vue&type=template&id=6e40dfbc&scoped=true
|
|
11
|
+
var render = function render() {
|
|
12
|
+
var _vm = this,
|
|
13
|
+
_c = _vm._self._c;
|
|
14
|
+
return _c('ImWrapper', [_c('div', {
|
|
15
|
+
staticClass: "p-4 bg-white",
|
|
16
|
+
attrs: {
|
|
17
|
+
"slot": "header"
|
|
18
|
+
},
|
|
19
|
+
slot: "header"
|
|
20
|
+
}, [_vm._v("这个页面是对话框组件的演示页面")]), _c('el-button', {
|
|
21
|
+
on: {
|
|
22
|
+
"click": _vm.openDialog
|
|
23
|
+
}
|
|
24
|
+
}, [_vm._v("打开对话框")]), _c('ImDialog', {
|
|
25
|
+
attrs: {
|
|
26
|
+
"visible": _vm.dialogVisible,
|
|
27
|
+
"title": "示例对话框",
|
|
28
|
+
"width": "600px",
|
|
29
|
+
"height": "auto"
|
|
30
|
+
},
|
|
31
|
+
on: {
|
|
32
|
+
"update:visible": function updateVisible($event) {
|
|
33
|
+
_vm.dialogVisible = $event;
|
|
34
|
+
},
|
|
35
|
+
"submit": _vm.handleSubmit,
|
|
36
|
+
"cancel": _vm.handleCancel
|
|
37
|
+
}
|
|
38
|
+
}, [_c('ImForm', {
|
|
39
|
+
attrs: {
|
|
40
|
+
"form": _vm.formConfig
|
|
41
|
+
}
|
|
42
|
+
})], 1)], 1);
|
|
43
|
+
};
|
|
44
|
+
var staticRenderFns = [];
|
|
45
|
+
|
|
46
|
+
// CONCATENATED MODULE: ./src/views/commonComponents/ImDialogDemo.vue?vue&type=template&id=6e40dfbc&scoped=true
|
|
47
|
+
|
|
48
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/views/commonComponents/ImDialogDemo.vue?vue&type=script&lang=js
|
|
49
|
+
/* harmony default export */ var ImDialogDemovue_type_script_lang_js = ({
|
|
50
|
+
name: 'ImDialogDemo',
|
|
51
|
+
data: function data() {
|
|
52
|
+
return {
|
|
53
|
+
dialogVisible: false,
|
|
54
|
+
formConfig: {
|
|
55
|
+
column: 1,
|
|
56
|
+
gutter: 24,
|
|
57
|
+
attrs: {
|
|
58
|
+
labelPosition: 'top'
|
|
59
|
+
},
|
|
60
|
+
// 表单属性
|
|
61
|
+
props: {
|
|
62
|
+
ruleName: undefined,
|
|
63
|
+
keywords: undefined,
|
|
64
|
+
content: undefined
|
|
65
|
+
},
|
|
66
|
+
// 表单项配置
|
|
67
|
+
formItems: [{
|
|
68
|
+
type: 'ImInput',
|
|
69
|
+
prop: 'ruleName',
|
|
70
|
+
label: '规则名称',
|
|
71
|
+
attrs: {
|
|
72
|
+
maxlength: 10,
|
|
73
|
+
showWordLimit: true
|
|
74
|
+
}
|
|
75
|
+
}, {
|
|
76
|
+
type: 'ImInput',
|
|
77
|
+
prop: 'keywords',
|
|
78
|
+
label: '关键词',
|
|
79
|
+
attrs: {
|
|
80
|
+
maxlength: 10,
|
|
81
|
+
showWordLimit: true
|
|
82
|
+
}
|
|
83
|
+
}, {
|
|
84
|
+
type: 'ImInput',
|
|
85
|
+
prop: 'content',
|
|
86
|
+
label: '回复内容',
|
|
87
|
+
attrs: {
|
|
88
|
+
type: 'textarea',
|
|
89
|
+
rows: 4,
|
|
90
|
+
size: 'medium',
|
|
91
|
+
maxlength: 50,
|
|
92
|
+
showWordLimit: true
|
|
93
|
+
}
|
|
94
|
+
}]
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
},
|
|
98
|
+
methods: {
|
|
99
|
+
openDialog: function openDialog() {
|
|
100
|
+
this.dialogVisible = true;
|
|
101
|
+
},
|
|
102
|
+
handleSubmit: function handleSubmit() {
|
|
103
|
+
console.log('提交表单', this.formConfig.props);
|
|
104
|
+
this.dialogVisible = false;
|
|
105
|
+
},
|
|
106
|
+
handleCancel: function handleCancel() {
|
|
107
|
+
console.log('取消操作');
|
|
108
|
+
this.dialogVisible = false;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
});
|
|
112
|
+
// CONCATENATED MODULE: ./src/views/commonComponents/ImDialogDemo.vue?vue&type=script&lang=js
|
|
113
|
+
/* harmony default export */ var commonComponents_ImDialogDemovue_type_script_lang_js = (ImDialogDemovue_type_script_lang_js);
|
|
114
|
+
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
115
|
+
var componentNormalizer = __webpack_require__("2877");
|
|
116
|
+
|
|
117
|
+
// CONCATENATED MODULE: ./src/views/commonComponents/ImDialogDemo.vue
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
/* normalize component */
|
|
124
|
+
|
|
125
|
+
var component = Object(componentNormalizer["a" /* default */])(
|
|
126
|
+
commonComponents_ImDialogDemovue_type_script_lang_js,
|
|
127
|
+
render,
|
|
128
|
+
staticRenderFns,
|
|
129
|
+
false,
|
|
130
|
+
null,
|
|
131
|
+
"6e40dfbc",
|
|
132
|
+
null
|
|
133
|
+
|
|
134
|
+
)
|
|
135
|
+
|
|
136
|
+
/* harmony default export */ var ImDialogDemo = __webpack_exports__["default"] = (component.exports);
|
|
137
|
+
|
|
138
|
+
/***/ })
|
|
139
|
+
|
|
140
|
+
}]);
|