doway-coms 1.1.21 → 1.1.22
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/lib/doway-coms.common.js +162 -35
- package/lib/doway-coms.css +1 -1
- package/lib/doway-coms.umd.js +162 -35
- package/lib/doway-coms.umd.min.js +7 -7
- package/package.json +1 -1
package/lib/doway-coms.umd.js
CHANGED
|
@@ -26263,13 +26263,6 @@ addToUnscopables('values');
|
|
|
26263
26263
|
addToUnscopables('entries');
|
|
26264
26264
|
|
|
26265
26265
|
|
|
26266
|
-
/***/ }),
|
|
26267
|
-
|
|
26268
|
-
/***/ "5887":
|
|
26269
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
26270
|
-
|
|
26271
|
-
// extracted by mini-css-extract-plugin
|
|
26272
|
-
|
|
26273
26266
|
/***/ }),
|
|
26274
26267
|
|
|
26275
26268
|
/***/ "58da":
|
|
@@ -49042,6 +49035,13 @@ var isArray = Array.isArray || helperCreateInInObjectString('Array')
|
|
|
49042
49035
|
module.exports = isArray
|
|
49043
49036
|
|
|
49044
49037
|
|
|
49038
|
+
/***/ }),
|
|
49039
|
+
|
|
49040
|
+
/***/ "9c47":
|
|
49041
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
49042
|
+
|
|
49043
|
+
// extracted by mini-css-extract-plugin
|
|
49044
|
+
|
|
49045
49045
|
/***/ }),
|
|
49046
49046
|
|
|
49047
49047
|
/***/ "9d19":
|
|
@@ -70858,6 +70858,17 @@ var eachTree = helperCreateTreeFunc(eachTreeItem)
|
|
|
70858
70858
|
module.exports = eachTree
|
|
70859
70859
|
|
|
70860
70860
|
|
|
70861
|
+
/***/ }),
|
|
70862
|
+
|
|
70863
|
+
/***/ "dbfc":
|
|
70864
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
70865
|
+
|
|
70866
|
+
"use strict";
|
|
70867
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_10_1_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_8_0_2_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_10_1_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_39d29e22_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9c47");
|
|
70868
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_10_1_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_8_0_2_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_10_1_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_39d29e22_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_10_1_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_8_0_2_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_10_1_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_39d29e22_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
70869
|
+
/* unused harmony reexport * */
|
|
70870
|
+
|
|
70871
|
+
|
|
70861
70872
|
/***/ }),
|
|
70862
70873
|
|
|
70863
70874
|
/***/ "dc7e":
|
|
@@ -78922,6 +78933,14 @@ __webpack_require__.d(__webpack_exports__, "moduleCodeEnum", function() { return
|
|
|
78922
78933
|
__webpack_require__.d(__webpack_exports__, "dictCodeEnum", function() { return /* reexport */ dictCodeEnum; });
|
|
78923
78934
|
__webpack_require__.d(__webpack_exports__, "replaceParamString", function() { return /* reexport */ replaceParamString; });
|
|
78924
78935
|
__webpack_require__.d(__webpack_exports__, "replaceParam", function() { return /* reexport */ replaceParam; });
|
|
78936
|
+
__webpack_require__.d(__webpack_exports__, "setFrameColState", function() { return /* reexport */ setFrameColState; });
|
|
78937
|
+
__webpack_require__.d(__webpack_exports__, "setFrameToolBtnState", function() { return /* reexport */ setFrameToolBtnState; });
|
|
78938
|
+
__webpack_require__.d(__webpack_exports__, "showErrors", function() { return /* reexport */ showErrors; });
|
|
78939
|
+
__webpack_require__.d(__webpack_exports__, "getUuid", function() { return /* reexport */ getUuid; });
|
|
78940
|
+
__webpack_require__.d(__webpack_exports__, "getFormValidErrors", function() { return /* reexport */ getFormValidErrors; });
|
|
78941
|
+
__webpack_require__.d(__webpack_exports__, "stringUrlQuery", function() { return /* reexport */ common_stringUrlQuery; });
|
|
78942
|
+
__webpack_require__.d(__webpack_exports__, "getRouteFullPath", function() { return /* reexport */ getRouteFullPath; });
|
|
78943
|
+
__webpack_require__.d(__webpack_exports__, "getGridValidErrors", function() { return /* reexport */ getGridValidErrors; });
|
|
78925
78944
|
__webpack_require__.d(__webpack_exports__, "timeAgo", function() { return /* reexport */ timeAgo; });
|
|
78926
78945
|
__webpack_require__.d(__webpack_exports__, "parseTime", function() { return /* reexport */ parseTime; });
|
|
78927
78946
|
__webpack_require__.d(__webpack_exports__, "formatTime", function() { return /* reexport */ formatTime; });
|
|
@@ -107108,6 +107127,126 @@ function replaceParamString(
|
|
|
107108
107127
|
// }
|
|
107109
107128
|
}
|
|
107110
107129
|
return paramString
|
|
107130
|
+
}
|
|
107131
|
+
|
|
107132
|
+
function setFrameColState(formCols, formState, formStatus) {
|
|
107133
|
+
for (let prop in formCols) {
|
|
107134
|
+
if (formCols[prop].editStates instanceof Array) {
|
|
107135
|
+
let exists = formCols[prop].editStates.filter(item => {
|
|
107136
|
+
//editState:['add','edit']
|
|
107137
|
+
return item === formState // view === add|edit formState :view|add|edit
|
|
107138
|
+
}) //[]
|
|
107139
|
+
if (exists.length > 0) {
|
|
107140
|
+
formCols[prop].edit = true
|
|
107141
|
+
} else {
|
|
107142
|
+
formCols[prop].edit = false
|
|
107143
|
+
}
|
|
107144
|
+
}
|
|
107145
|
+
// 单据状态控制
|
|
107146
|
+
if (
|
|
107147
|
+
formStatus &&
|
|
107148
|
+
formCols[prop].editStatuss instanceof Array &&
|
|
107149
|
+
formCols[prop].editStatuss.length > 0 &&
|
|
107150
|
+
formCols[prop].edit === true
|
|
107151
|
+
) {
|
|
107152
|
+
let formStatusExists = formCols[prop].editStatuss.filter(item => {
|
|
107153
|
+
//editStatuss:[,'publish',]
|
|
107154
|
+
return item === formStatus // formStatus:'draft'
|
|
107155
|
+
})
|
|
107156
|
+
if (formStatusExists.length > 0) {
|
|
107157
|
+
formCols[prop].edit = true
|
|
107158
|
+
} else {
|
|
107159
|
+
formCols[prop].edit = false
|
|
107160
|
+
}
|
|
107161
|
+
}
|
|
107162
|
+
// Vue.set(formCols, i, formCols[i])
|
|
107163
|
+
}
|
|
107164
|
+
}
|
|
107165
|
+
function setFrameToolBtnState(toolBars, formState, formStatus) {
|
|
107166
|
+
for (let i = 0; i < toolBars.length; i++) {
|
|
107167
|
+
toolBars[i].visible = false
|
|
107168
|
+
toolBars[i].isPrimary = false
|
|
107169
|
+
if (
|
|
107170
|
+
toolBars[i].visibleStates &&
|
|
107171
|
+
toolBars[i].visibleStates.indexOf(formState) >= 0
|
|
107172
|
+
) {
|
|
107173
|
+
toolBars[i].visible = true
|
|
107174
|
+
}
|
|
107175
|
+
if (formStatus && toolBars[i].visibleStatuss && toolBars[i].visible) {
|
|
107176
|
+
toolBars[i].visible = toolBars[i].visibleStatuss.indexOf(formStatus) >= 0
|
|
107177
|
+
}
|
|
107178
|
+
}
|
|
107179
|
+
// 查找优先级最大的并且显示的设置按钮强调色
|
|
107180
|
+
let visibleBtns = toolBars.filter(filterItem => {
|
|
107181
|
+
return filterItem.visible === true
|
|
107182
|
+
})
|
|
107183
|
+
//循环数组查找出小于自身的priority优先级 优先级高设置按钮强调色
|
|
107184
|
+
for (let i = 0; i < visibleBtns.length; i++) {
|
|
107185
|
+
let tempPriority = visibleBtns[i].priority
|
|
107186
|
+
let tempBtns = visibleBtns.filter(filterItem => {
|
|
107187
|
+
return filterItem.priority < tempPriority
|
|
107188
|
+
})
|
|
107189
|
+
//如果找到小于自身优先级的数量>0就说明还有更小的跳出本次不设置true继续查找
|
|
107190
|
+
if (tempBtns.length > 0) {
|
|
107191
|
+
continue
|
|
107192
|
+
}
|
|
107193
|
+
visibleBtns[i].isPrimary = true
|
|
107194
|
+
}
|
|
107195
|
+
}
|
|
107196
|
+
function showErrors(errs) {
|
|
107197
|
+
let errors = ''
|
|
107198
|
+
for (let i = 0; i < errs.length; i++) {
|
|
107199
|
+
errors = errors + errs[i] + '\n'
|
|
107200
|
+
}
|
|
107201
|
+
notification.error({
|
|
107202
|
+
style: {
|
|
107203
|
+
whiteSpace: 'pre-wrap'
|
|
107204
|
+
},
|
|
107205
|
+
message: '错误',
|
|
107206
|
+
description: errors,
|
|
107207
|
+
placement: 'topRight'
|
|
107208
|
+
})
|
|
107209
|
+
}
|
|
107210
|
+
function getUuid() {
|
|
107211
|
+
let d = new Date().getTime()
|
|
107212
|
+
let uuid = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(
|
|
107213
|
+
c
|
|
107214
|
+
) {
|
|
107215
|
+
let r = (d + Math.random() * 16) % 16 | 0
|
|
107216
|
+
d = Math.floor(d / 16)
|
|
107217
|
+
return (c === 'x' ? r : (r & 0x3) | 0x8).toString(16)
|
|
107218
|
+
})
|
|
107219
|
+
return uuid
|
|
107220
|
+
}
|
|
107221
|
+
async function getFormValidErrors(formView) {
|
|
107222
|
+
let formErrors = []
|
|
107223
|
+
const validFormError = await formView.validate().catch(errMap => errMap)
|
|
107224
|
+
if (validFormError === false) {
|
|
107225
|
+
for (let errorProp in formView.errors) {
|
|
107226
|
+
for (let x = 0; x < formView.errors[errorProp].length; x++) {
|
|
107227
|
+
formErrors.push(errorProp + ':' + formView.errors[errorProp][x])
|
|
107228
|
+
}
|
|
107229
|
+
}
|
|
107230
|
+
}
|
|
107231
|
+
return formErrors
|
|
107232
|
+
}
|
|
107233
|
+
function common_stringUrlQuery(obj) {
|
|
107234
|
+
let strUrlQuery = ''
|
|
107235
|
+
for (let prop in obj) {
|
|
107236
|
+
strUrlQuery = strUrlQuery + prop + '=' + obj[prop] + '&'
|
|
107237
|
+
}
|
|
107238
|
+
if (strUrlQuery.length > 0) {
|
|
107239
|
+
strUrlQuery = strUrlQuery.substring(0, strUrlQuery.length - 1)
|
|
107240
|
+
}
|
|
107241
|
+
return strUrlQuery
|
|
107242
|
+
}
|
|
107243
|
+
function getRouteFullPath(route) {
|
|
107244
|
+
let fullPath = route.path + '?' + common_stringUrlQuery(route.query)
|
|
107245
|
+
return fullPath
|
|
107246
|
+
}
|
|
107247
|
+
async function getGridValidErrors(gridView) {
|
|
107248
|
+
const gridErrors = await gridView.fullValidate()
|
|
107249
|
+
return gridErrors
|
|
107111
107250
|
}
|
|
107112
107251
|
// EXTERNAL MODULE: ./node_modules/_axios@0.18.0@axios/index.js
|
|
107113
107252
|
var _axios_0_18_0_axios = __webpack_require__("7f43");
|
|
@@ -107239,7 +107378,7 @@ function Notification_noop() {}
|
|
|
107239
107378
|
var seed = 0;
|
|
107240
107379
|
var Notification_now = Date.now();
|
|
107241
107380
|
|
|
107242
|
-
function
|
|
107381
|
+
function Notification_getUuid() {
|
|
107243
107382
|
return 'rcNotification_' + Notification_now + '_' + seed++;
|
|
107244
107383
|
}
|
|
107245
107384
|
|
|
@@ -107268,7 +107407,7 @@ var Notification = {
|
|
|
107268
107407
|
return transitionName;
|
|
107269
107408
|
},
|
|
107270
107409
|
add: function add(notice) {
|
|
107271
|
-
var key = notice.key = notice.key ||
|
|
107410
|
+
var key = notice.key = notice.key || Notification_getUuid();
|
|
107272
107411
|
var maxCount = this.$props.maxCount;
|
|
107273
107412
|
|
|
107274
107413
|
this.setState(function (previousState) {
|
|
@@ -107646,7 +107785,7 @@ var api = {
|
|
|
107646
107785
|
});
|
|
107647
107786
|
|
|
107648
107787
|
api.warn = api.warning;
|
|
107649
|
-
/* harmony default export */ var
|
|
107788
|
+
/* harmony default export */ var es_notification = (api);
|
|
107650
107789
|
// CONCATENATED MODULE: ./packages/utils/api.js
|
|
107651
107790
|
|
|
107652
107791
|
|
|
@@ -107833,7 +107972,7 @@ service.interceptors.response.use(
|
|
|
107833
107972
|
utils_store.dispatch('logOut')
|
|
107834
107973
|
return Promise.reject(res.msg)
|
|
107835
107974
|
}
|
|
107836
|
-
|
|
107975
|
+
es_notification.error({
|
|
107837
107976
|
message: '错误信息',
|
|
107838
107977
|
description: h => {
|
|
107839
107978
|
return h('div', null, [
|
|
@@ -107861,7 +108000,7 @@ service.interceptors.response.use(
|
|
|
107861
108000
|
} else {
|
|
107862
108001
|
errorMsg = error.msg
|
|
107863
108002
|
}
|
|
107864
|
-
|
|
108003
|
+
es_notification['error']({ message: '错误信息', description: errorMsg })
|
|
107865
108004
|
return Promise.reject(error)
|
|
107866
108005
|
}
|
|
107867
108006
|
)
|
|
@@ -109585,15 +109724,15 @@ BaseForm_src.install = function(Vue) {
|
|
|
109585
109724
|
};
|
|
109586
109725
|
// 默认导出组件
|
|
109587
109726
|
/* harmony default export */ var BaseForm = (BaseForm_src);
|
|
109588
|
-
// CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6e9e9b0a-vue-loader-template"}!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.10.1@vue-loader/lib??vue-loader-options!./packages/BasePictureCard/src/index.vue?vue&type=template&id=
|
|
109589
|
-
var
|
|
109727
|
+
// CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6e9e9b0a-vue-loader-template"}!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.10.1@vue-loader/lib??vue-loader-options!./packages/BasePictureCard/src/index.vue?vue&type=template&id=39d29e22&scoped=true&
|
|
109728
|
+
var srcvue_type_template_id_39d29e22_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticStyle:{"display":"inline-block"}},[_c('div',{staticClass:"file-card"},[_vm._l((_vm.internalRows.filter(
|
|
109590
109729
|
x => x.sysRowState != 'delete'
|
|
109591
109730
|
)),function(internalRow){return _c('div',{key:internalRow.attach.fileName,staticClass:"attach-wrapper"},[(internalRow.sysRowState !== _vm.sysRowState.delete)?[(internalRow.attach.content === 'image')?_c('div',{staticClass:"attach"},[_c('img',{staticStyle:{"border":"1px solid #ccc","border-radius":"6px","overflow":"hidden","margin":"0","padding":"0"},style:({ width: _vm.width, height: _vm.height, lineHeight: _vm.height }),attrs:{"src":`${_vm.internalServiceUrl}/GetAttachFile/${internalRow.attach.id}?accessToken=${_vm.$store.getters.token}`},on:{"click":function($event){return _vm.attachFileClick(internalRow.attach)}}}),(_vm.edit === true)?_c('i',{staticClass:"el-icon-error attach-delete",on:{"click":function($event){return _vm.removeAttach(internalRow.attach)}}}):_vm._e(),_c('i',{staticClass:"el-icon-download attach-download",on:{"click":function($event){return _vm.downloadAttach(internalRow.attach)}}}),_c('i',{staticClass:"el-icon-view attach-view",on:{"click":function($event){return _vm.viewAttach(internalRow.attach)}}}),_c('VxeCheckbox',{staticClass:"attach-circle",attrs:{"disabled":_vm.formState == 'view'},on:{"change":function($event){return _vm.circleAttach(internalRow.attach, internalRow)}},model:{value:(internalRow.isDefault),callback:function ($$v) {_vm.$set(internalRow, "isDefault", $$v)},expression:"internalRow.isDefault"}})],1):_c('div',{staticClass:"attach"},[_c('img',{staticClass:"o_image",attrs:{"data-mimetype":internalRow.attach.contentType},on:{"click":function($event){return _vm.attachFileClick(internalRow.attach)}}}),(_vm.edit === true)?_c('i',{staticClass:"el-icon-error attach-delete",on:{"click":function($event){return _vm.removeAttach(internalRow.attach)}}}):_vm._e(),_c('i',{staticClass:"el-icon-download attach-download",on:{"click":function($event){return _vm.downloadAttach(internalRow.attach)}}}),_c('i',{staticClass:"el-icon-view attach-view",on:{"click":function($event){return _vm.viewAttach(internalRow.attach)}}}),_c('VxeCheckbox',{staticClass:"attach-circle",attrs:{"disabled":_vm.formState == 'view'},on:{"change":function($event){return _vm.circleAttach(internalRow.attach, internalRow)}},model:{value:(internalRow.isDefault),callback:function ($$v) {_vm.$set(internalRow, "isDefault", $$v)},expression:"internalRow.isDefault"}})],1),_c('div',{staticStyle:{"overflow":"hidden","text-overflow":"ellipsis","white-space":"nowrap"},style:({ width: _vm.width }),attrs:{"title":internalRow.attach.name}},[_vm._v(" "+_vm._s(internalRow.attach.name)+" ")])]:_vm._e()],2)}),(_vm.edit === true)?_c('a-upload',{staticClass:"avatar-uploader",attrs:{"headers":_vm.uploadHeaders,"action":_vm.uploadData.picAction,"data":_vm.uploadData,"on-success":_vm.handleAvatarSuccess,"show-file-list":false,"before-upload":_vm.beforeAvatarUpload}},[_c('div',{staticStyle:{"border":"1px solid #d9d9d9","border-radius":"6px"},style:({ width: _vm.width, height: _vm.height, lineHeight: _vm.height })},[_c('i',{staticClass:"el-icon-plus avatar-uploader-icon",staticStyle:{"text-align":"center"},style:({ width: _vm.width, height: _vm.height, lineHeight: _vm.height })})])]):_vm._e(),(_vm.edit !== true && _vm.showEmptyText && _vm.internalRows.length === 0)?_c('div',[_vm._v(" 没有附件信息哦,请编辑添加附件信息 ")]):_vm._e()],2),_c('VxeModal',{attrs:{"show-zoom":"","transfer":"","resize":"","destroy-on-close":"","fullscreen":_vm.isFullscreen || _vm.dialogViewType == 'application/pdf'},scopedSlots:_vm._u([{key:"title",fn:function(){return [(_vm.dialogViewType !== 'application/pdf')?_c('div',{staticStyle:{"text-align":"right","margin-right":"15px","padding-top":"5px"}},[(!_vm.isFullscreen)?_c('i',{staticClass:"el-icon-full-screen",staticStyle:{"font-size":"19px","margin-right":"10px"},on:{"click":_vm.screenClick}}):_c('i',{staticClass:"el-icon-connection",staticStyle:{"font-size":"19px","margin-right":"10px"},on:{"click":_vm.narrowClick}})]):_vm._e()]},proxy:true}]),model:{value:(_vm.dialogVisible),callback:function ($$v) {_vm.dialogVisible=$$v},expression:"dialogVisible"}},[(_vm.dialogViewType == 'application/pdf')?_c('embed',{attrs:{"src":_vm.dialogImageUrl,"type":_vm.dialogViewType,"width":"100%","height":"100%"}}):_c('img',{attrs:{"width":"90%","height":"auto","src":_vm.dialogImageUrl}})])],1)
|
|
109592
109731
|
}
|
|
109593
|
-
var
|
|
109732
|
+
var srcvue_type_template_id_39d29e22_scoped_true_staticRenderFns = []
|
|
109594
109733
|
|
|
109595
109734
|
|
|
109596
|
-
// CONCATENATED MODULE: ./packages/BasePictureCard/src/index.vue?vue&type=template&id=
|
|
109735
|
+
// CONCATENATED MODULE: ./packages/BasePictureCard/src/index.vue?vue&type=template&id=39d29e22&scoped=true&
|
|
109597
109736
|
|
|
109598
109737
|
// EXTERNAL MODULE: ./node_modules/_lodash@4.17.21@lodash/uniqBy.js
|
|
109599
109738
|
var uniqBy = __webpack_require__("a524");
|
|
@@ -112887,7 +113026,6 @@ function removeRefreshToken() {
|
|
|
112887
113026
|
},
|
|
112888
113027
|
created() {},
|
|
112889
113028
|
mounted() {
|
|
112890
|
-
this.dialogVisible = true
|
|
112891
113029
|
this.internalServiceUrl = attachGetAttachUrlApi()
|
|
112892
113030
|
this.uploadData.picType = this.picType
|
|
112893
113031
|
this.uploadData.resId = this.resId
|
|
@@ -112981,13 +113119,13 @@ function removeRefreshToken() {
|
|
|
112981
113119
|
beforeAvatarUpload(file) {
|
|
112982
113120
|
// const isPic = file.type === 'image/jpeg' || file.type === 'image/png'
|
|
112983
113121
|
if (file.size / 1024 / 1024 > this.limitSize) {
|
|
112984
|
-
|
|
113122
|
+
es_notification.error({
|
|
112985
113123
|
message: '错误',
|
|
112986
113124
|
description: '上传图片大小不能超过 ' + this.limitSize + 'MB!'
|
|
112987
113125
|
})
|
|
112988
113126
|
}
|
|
112989
113127
|
if (this.limitType.length > 0 && !this.limitType[file.type]) {
|
|
112990
|
-
|
|
113128
|
+
es_notification.error({
|
|
112991
113129
|
message: '错误',
|
|
112992
113130
|
description: '上传附件格式错误!'
|
|
112993
113131
|
})
|
|
@@ -113058,8 +113196,8 @@ function removeRefreshToken() {
|
|
|
113058
113196
|
|
|
113059
113197
|
// CONCATENATED MODULE: ./packages/BasePictureCard/src/index.vue?vue&type=script&lang=js&
|
|
113060
113198
|
/* harmony default export */ var packages_BasePictureCard_srcvue_type_script_lang_js_ = (BasePictureCard_srcvue_type_script_lang_js_);
|
|
113061
|
-
// EXTERNAL MODULE: ./packages/BasePictureCard/src/index.vue?vue&type=style&index=0&id=
|
|
113062
|
-
var
|
|
113199
|
+
// EXTERNAL MODULE: ./packages/BasePictureCard/src/index.vue?vue&type=style&index=0&id=39d29e22&prod&lang=scss&scoped=true&
|
|
113200
|
+
var srcvue_type_style_index_0_id_39d29e22_prod_lang_scss_scoped_true_ = __webpack_require__("dbfc");
|
|
113063
113201
|
|
|
113064
113202
|
// CONCATENATED MODULE: ./packages/BasePictureCard/src/index.vue
|
|
113065
113203
|
|
|
@@ -113072,11 +113210,11 @@ var srcvue_type_style_index_0_id_1393dbd5_prod_lang_scss_scoped_true_ = __webpac
|
|
|
113072
113210
|
|
|
113073
113211
|
var BasePictureCard_src_component = normalizeComponent(
|
|
113074
113212
|
packages_BasePictureCard_srcvue_type_script_lang_js_,
|
|
113075
|
-
|
|
113076
|
-
|
|
113213
|
+
srcvue_type_template_id_39d29e22_scoped_true_render,
|
|
113214
|
+
srcvue_type_template_id_39d29e22_scoped_true_staticRenderFns,
|
|
113077
113215
|
false,
|
|
113078
113216
|
null,
|
|
113079
|
-
"
|
|
113217
|
+
"39d29e22",
|
|
113080
113218
|
null
|
|
113081
113219
|
|
|
113082
113220
|
)
|
|
@@ -114630,17 +114768,6 @@ function getBaseURL () {
|
|
|
114630
114768
|
module.exports = getBaseURL
|
|
114631
114769
|
|
|
114632
114770
|
|
|
114633
|
-
/***/ }),
|
|
114634
|
-
|
|
114635
|
-
/***/ "ff20":
|
|
114636
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
114637
|
-
|
|
114638
|
-
"use strict";
|
|
114639
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_10_1_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_8_0_2_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_10_1_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_1393dbd5_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5887");
|
|
114640
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_10_1_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_8_0_2_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_10_1_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_1393dbd5_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_0_9_0_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_3_6_0_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_15_10_1_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_3_0_0_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_8_0_2_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_15_10_1_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_1393dbd5_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
114641
|
-
/* unused harmony reexport * */
|
|
114642
|
-
|
|
114643
|
-
|
|
114644
114771
|
/***/ }),
|
|
114645
114772
|
|
|
114646
114773
|
/***/ "ff55":
|