doway-coms 1.1.22 → 1.1.23

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.
@@ -78936,7 +78936,7 @@ __webpack_require__.d(__webpack_exports__, "replaceParam", function() { return /
78936
78936
  __webpack_require__.d(__webpack_exports__, "setFrameColState", function() { return /* reexport */ setFrameColState; });
78937
78937
  __webpack_require__.d(__webpack_exports__, "setFrameToolBtnState", function() { return /* reexport */ setFrameToolBtnState; });
78938
78938
  __webpack_require__.d(__webpack_exports__, "showErrors", function() { return /* reexport */ showErrors; });
78939
- __webpack_require__.d(__webpack_exports__, "getUuid", function() { return /* reexport */ getUuid; });
78939
+ __webpack_require__.d(__webpack_exports__, "getUuid", function() { return /* reexport */ common_getUuid; });
78940
78940
  __webpack_require__.d(__webpack_exports__, "getFormValidErrors", function() { return /* reexport */ getFormValidErrors; });
78941
78941
  __webpack_require__.d(__webpack_exports__, "stringUrlQuery", function() { return /* reexport */ common_stringUrlQuery; });
78942
78942
  __webpack_require__.d(__webpack_exports__, "getRouteFullPath", function() { return /* reexport */ getRouteFullPath; });
@@ -107011,247 +107011,6 @@ var srcvue_type_template_id_78416a63_scoped_true_staticRenderFns = []
107011
107011
 
107012
107012
  // CONCATENATED MODULE: ./packages/BasePulldown/src/index.vue?vue&type=template&id=78416a63&scoped=true&
107013
107013
 
107014
- // CONCATENATED MODULE: ./packages/utils/common.js
107015
- /**
107016
- * 替换掩码参数字符串
107017
- * @param {参数字符串} paramString
107018
- * @param {当前页面数据集} formData
107019
- */
107020
- function replaceParamString(
107021
- paramString,
107022
- formData,
107023
- currentModuleSelectInfo
107024
- ) {
107025
- // hh添加
107026
- let tempStr = paramString
107027
- while (true) {
107028
- if (tempStr.indexOf('@Fn(') < 0) {
107029
- break
107030
- }
107031
- let tempReplaceParam = tempStr.substr(tempStr.indexOf('@Fn('))
107032
- tempReplaceParam = tempReplaceParam.substr(
107033
- 0,
107034
- tempReplaceParam.indexOf(')') + 1
107035
- ) // 查找掩码参数
107036
- let tempDataFields = tempReplaceParam
107037
- .substr(0, tempReplaceParam.length - 1)
107038
- .substr(4)
107039
- .split('.')
107040
- let tempReplaceValue = null
107041
- if (tempDataFields[0] === '') {
107042
- // 取主表数据
107043
- tempReplaceValue = formData[tempDataFields[1]]
107044
- } else {
107045
- if (formData[tempDataFields[0]] instanceof Array) {
107046
- let tempSelectItemInfo = currentModuleSelectInfo.filter(filterItem => {
107047
- return filterItem.attrDataName === tempDataFields[0]
107048
- })
107049
- if (tempSelectItemInfo.length > 0) {
107050
- let tempKeyFieldValue =
107051
- tempSelectItemInfo[0].selectItem[tempSelectItemInfo[0].keyField]
107052
- let tempActualRow = formData[tempDataFields[0]].filter(filterItem => {
107053
- return (
107054
- filterItem[tempSelectItemInfo[0].keyField] === tempKeyFieldValue
107055
- )
107056
- })
107057
- if (tempActualRow.length > 0) {
107058
- tempReplaceValue = tempActualRow[0][tempDataFields[1]]
107059
- }
107060
- }
107061
- } else {
107062
- tempReplaceValue = formData[tempDataFields[0]][tempDataFields[1]]
107063
- }
107064
- }
107065
- //刘松嗣临时处理
107066
- if (tempReplaceValue == undefined) {
107067
- tempReplaceValue = '0'
107068
- }
107069
- tempStr = tempStr.substr(
107070
- tempStr.indexOf(tempReplaceParam) + tempReplaceParam.length
107071
- )
107072
-
107073
- if (typeof tempReplaceValue === 'string') {
107074
- paramString = paramString.replace(
107075
- tempReplaceParam,
107076
- '"' + tempReplaceValue + '"'
107077
- )
107078
- tempStr = tempStr.replace(tempReplaceParam, '"' + tempReplaceValue + '"')
107079
- } else {
107080
- paramString = paramString.replace(tempReplaceParam, tempReplaceValue)
107081
- tempStr = tempStr.replace(tempReplaceParam, tempReplaceValue)
107082
- }
107083
- }
107084
- return paramString
107085
- }
107086
-
107087
- /**
107088
- * 替换掩码参数字符串
107089
- * @param {参数字符串} paramString
107090
- * @param {当前页面数据集} formData
107091
- */
107092
- function replaceParam(paramString, formData) {
107093
- let tempStr = paramString
107094
- while (true) {
107095
- if (tempStr.indexOf('@Fn(') < 0) {
107096
- break
107097
- }
107098
- let tempReplaceParam = tempStr.substr(tempStr.indexOf('@Fn('))
107099
- tempReplaceParam = tempReplaceParam.substr(
107100
- 0,
107101
- tempReplaceParam.indexOf(')') + 1
107102
- ) // 查找掩码参数
107103
- let tempDataFields = tempReplaceParam
107104
- .substr(0, tempReplaceParam.length - 1)
107105
- .substr(4)
107106
- .split('.')
107107
- let tempReplaceValue = null
107108
- if (tempDataFields[0] === '') {
107109
- // 取主表数据
107110
- tempReplaceValue = formData[tempDataFields[1]]
107111
- } else {
107112
- tempReplaceValue = formData[tempDataFields[0]][tempDataFields[1]]
107113
- }
107114
- tempStr = tempStr.substr(
107115
- tempStr.indexOf(tempReplaceParam) + tempReplaceParam.length
107116
- )
107117
-
107118
- // if (typeof tempReplaceValue === 'string') {
107119
- // paramString = paramString.replace(
107120
- // tempReplaceParam,
107121
- // '"' + tempReplaceValue + '"'
107122
- // )
107123
- // tempStr = tempStr.replace(tempReplaceParam, '"' + tempReplaceValue + '"')
107124
- // } else {
107125
- paramString = paramString.replace(tempReplaceParam, tempReplaceValue)
107126
- tempStr = tempStr.replace(tempReplaceParam, tempReplaceValue)
107127
- // }
107128
- }
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
107250
- }
107251
- // EXTERNAL MODULE: ./node_modules/_axios@0.18.0@axios/index.js
107252
- var _axios_0_18_0_axios = __webpack_require__("7f43");
107253
- var _axios_0_18_0_axios_default = /*#__PURE__*/__webpack_require__.n(_axios_0_18_0_axios);
107254
-
107255
107014
  // CONCATENATED MODULE: ./node_modules/_ant-design-vue@1.7.8@ant-design-vue/es/vc-notification/Notice.js
107256
107015
 
107257
107016
 
@@ -107378,7 +107137,7 @@ function Notification_noop() {}
107378
107137
  var seed = 0;
107379
107138
  var Notification_now = Date.now();
107380
107139
 
107381
- function Notification_getUuid() {
107140
+ function getUuid() {
107382
107141
  return 'rcNotification_' + Notification_now + '_' + seed++;
107383
107142
  }
107384
107143
 
@@ -107407,7 +107166,7 @@ var Notification = {
107407
107166
  return transitionName;
107408
107167
  },
107409
107168
  add: function add(notice) {
107410
- var key = notice.key = notice.key || Notification_getUuid();
107169
+ var key = notice.key = notice.key || getUuid();
107411
107170
  var maxCount = this.$props.maxCount;
107412
107171
 
107413
107172
  this.setState(function (previousState) {
@@ -107785,7 +107544,249 @@ var api = {
107785
107544
  });
107786
107545
 
107787
107546
  api.warn = api.warning;
107788
- /* harmony default export */ var es_notification = (api);
107547
+ /* harmony default export */ var notification = (api);
107548
+ // CONCATENATED MODULE: ./packages/utils/common.js
107549
+
107550
+ /**
107551
+ * 替换掩码参数字符串
107552
+ * @param {参数字符串} paramString
107553
+ * @param {当前页面数据集} formData
107554
+ */
107555
+ function replaceParamString(
107556
+ paramString,
107557
+ formData,
107558
+ currentModuleSelectInfo
107559
+ ) {
107560
+ // hh添加
107561
+ let tempStr = paramString
107562
+ while (true) {
107563
+ if (tempStr.indexOf('@Fn(') < 0) {
107564
+ break
107565
+ }
107566
+ let tempReplaceParam = tempStr.substr(tempStr.indexOf('@Fn('))
107567
+ tempReplaceParam = tempReplaceParam.substr(
107568
+ 0,
107569
+ tempReplaceParam.indexOf(')') + 1
107570
+ ) // 查找掩码参数
107571
+ let tempDataFields = tempReplaceParam
107572
+ .substr(0, tempReplaceParam.length - 1)
107573
+ .substr(4)
107574
+ .split('.')
107575
+ let tempReplaceValue = null
107576
+ if (tempDataFields[0] === '') {
107577
+ // 取主表数据
107578
+ tempReplaceValue = formData[tempDataFields[1]]
107579
+ } else {
107580
+ if (formData[tempDataFields[0]] instanceof Array) {
107581
+ let tempSelectItemInfo = currentModuleSelectInfo.filter(filterItem => {
107582
+ return filterItem.attrDataName === tempDataFields[0]
107583
+ })
107584
+ if (tempSelectItemInfo.length > 0) {
107585
+ let tempKeyFieldValue =
107586
+ tempSelectItemInfo[0].selectItem[tempSelectItemInfo[0].keyField]
107587
+ let tempActualRow = formData[tempDataFields[0]].filter(filterItem => {
107588
+ return (
107589
+ filterItem[tempSelectItemInfo[0].keyField] === tempKeyFieldValue
107590
+ )
107591
+ })
107592
+ if (tempActualRow.length > 0) {
107593
+ tempReplaceValue = tempActualRow[0][tempDataFields[1]]
107594
+ }
107595
+ }
107596
+ } else {
107597
+ tempReplaceValue = formData[tempDataFields[0]][tempDataFields[1]]
107598
+ }
107599
+ }
107600
+ //刘松嗣临时处理
107601
+ if (tempReplaceValue == undefined) {
107602
+ tempReplaceValue = '0'
107603
+ }
107604
+ tempStr = tempStr.substr(
107605
+ tempStr.indexOf(tempReplaceParam) + tempReplaceParam.length
107606
+ )
107607
+
107608
+ if (typeof tempReplaceValue === 'string') {
107609
+ paramString = paramString.replace(
107610
+ tempReplaceParam,
107611
+ '"' + tempReplaceValue + '"'
107612
+ )
107613
+ tempStr = tempStr.replace(tempReplaceParam, '"' + tempReplaceValue + '"')
107614
+ } else {
107615
+ paramString = paramString.replace(tempReplaceParam, tempReplaceValue)
107616
+ tempStr = tempStr.replace(tempReplaceParam, tempReplaceValue)
107617
+ }
107618
+ }
107619
+ return paramString
107620
+ }
107621
+
107622
+ /**
107623
+ * 替换掩码参数字符串
107624
+ * @param {参数字符串} paramString
107625
+ * @param {当前页面数据集} formData
107626
+ */
107627
+ function replaceParam(paramString, formData) {
107628
+ let tempStr = paramString
107629
+ while (true) {
107630
+ if (tempStr.indexOf('@Fn(') < 0) {
107631
+ break
107632
+ }
107633
+ let tempReplaceParam = tempStr.substr(tempStr.indexOf('@Fn('))
107634
+ tempReplaceParam = tempReplaceParam.substr(
107635
+ 0,
107636
+ tempReplaceParam.indexOf(')') + 1
107637
+ ) // 查找掩码参数
107638
+ let tempDataFields = tempReplaceParam
107639
+ .substr(0, tempReplaceParam.length - 1)
107640
+ .substr(4)
107641
+ .split('.')
107642
+ let tempReplaceValue = null
107643
+ if (tempDataFields[0] === '') {
107644
+ // 取主表数据
107645
+ tempReplaceValue = formData[tempDataFields[1]]
107646
+ } else {
107647
+ tempReplaceValue = formData[tempDataFields[0]][tempDataFields[1]]
107648
+ }
107649
+ tempStr = tempStr.substr(
107650
+ tempStr.indexOf(tempReplaceParam) + tempReplaceParam.length
107651
+ )
107652
+
107653
+ // if (typeof tempReplaceValue === 'string') {
107654
+ // paramString = paramString.replace(
107655
+ // tempReplaceParam,
107656
+ // '"' + tempReplaceValue + '"'
107657
+ // )
107658
+ // tempStr = tempStr.replace(tempReplaceParam, '"' + tempReplaceValue + '"')
107659
+ // } else {
107660
+ paramString = paramString.replace(tempReplaceParam, tempReplaceValue)
107661
+ tempStr = tempStr.replace(tempReplaceParam, tempReplaceValue)
107662
+ // }
107663
+ }
107664
+ return paramString
107665
+ }
107666
+
107667
+ function setFrameColState(formCols, formState, formStatus) {
107668
+ for (let prop in formCols) {
107669
+ if (formCols[prop].editStates instanceof Array) {
107670
+ let exists = formCols[prop].editStates.filter(item => {
107671
+ //editState:['add','edit']
107672
+ return item === formState // view === add|edit formState :view|add|edit
107673
+ }) //[]
107674
+ if (exists.length > 0) {
107675
+ formCols[prop].edit = true
107676
+ } else {
107677
+ formCols[prop].edit = false
107678
+ }
107679
+ }
107680
+ // 单据状态控制
107681
+ if (
107682
+ formStatus &&
107683
+ formCols[prop].editStatuss instanceof Array &&
107684
+ formCols[prop].editStatuss.length > 0 &&
107685
+ formCols[prop].edit === true
107686
+ ) {
107687
+ let formStatusExists = formCols[prop].editStatuss.filter(item => {
107688
+ //editStatuss:[,'publish',]
107689
+ return item === formStatus // formStatus:'draft'
107690
+ })
107691
+ if (formStatusExists.length > 0) {
107692
+ formCols[prop].edit = true
107693
+ } else {
107694
+ formCols[prop].edit = false
107695
+ }
107696
+ }
107697
+ // Vue.set(formCols, i, formCols[i])
107698
+ }
107699
+ }
107700
+ function setFrameToolBtnState(toolBars, formState, formStatus) {
107701
+ for (let i = 0; i < toolBars.length; i++) {
107702
+ toolBars[i].visible = false
107703
+ toolBars[i].isPrimary = false
107704
+ if (
107705
+ toolBars[i].visibleStates &&
107706
+ toolBars[i].visibleStates.indexOf(formState) >= 0
107707
+ ) {
107708
+ toolBars[i].visible = true
107709
+ }
107710
+ if (formStatus && toolBars[i].visibleStatuss && toolBars[i].visible) {
107711
+ toolBars[i].visible = toolBars[i].visibleStatuss.indexOf(formStatus) >= 0
107712
+ }
107713
+ }
107714
+ // 查找优先级最大的并且显示的设置按钮强调色
107715
+ let visibleBtns = toolBars.filter(filterItem => {
107716
+ return filterItem.visible === true
107717
+ })
107718
+ //循环数组查找出小于自身的priority优先级 优先级高设置按钮强调色
107719
+ for (let i = 0; i < visibleBtns.length; i++) {
107720
+ let tempPriority = visibleBtns[i].priority
107721
+ let tempBtns = visibleBtns.filter(filterItem => {
107722
+ return filterItem.priority < tempPriority
107723
+ })
107724
+ //如果找到小于自身优先级的数量>0就说明还有更小的跳出本次不设置true继续查找
107725
+ if (tempBtns.length > 0) {
107726
+ continue
107727
+ }
107728
+ visibleBtns[i].isPrimary = true
107729
+ }
107730
+ }
107731
+ function showErrors(errs) {
107732
+ let errors = ''
107733
+ for (let i = 0; i < errs.length; i++) {
107734
+ errors = errors + errs[i] + '\n'
107735
+ }
107736
+ notification.error({
107737
+ style: {
107738
+ whiteSpace: 'pre-wrap'
107739
+ },
107740
+ message: '错误',
107741
+ description: errors,
107742
+ placement: 'topRight'
107743
+ })
107744
+ }
107745
+ function common_getUuid() {
107746
+ let d = new Date().getTime()
107747
+ let uuid = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(
107748
+ c
107749
+ ) {
107750
+ let r = (d + Math.random() * 16) % 16 | 0
107751
+ d = Math.floor(d / 16)
107752
+ return (c === 'x' ? r : (r & 0x3) | 0x8).toString(16)
107753
+ })
107754
+ return uuid
107755
+ }
107756
+ async function getFormValidErrors(formView) {
107757
+ let formErrors = []
107758
+ const validFormError = await formView.validate().catch(errMap => errMap)
107759
+ if (validFormError === false) {
107760
+ for (let errorProp in formView.errors) {
107761
+ for (let x = 0; x < formView.errors[errorProp].length; x++) {
107762
+ formErrors.push(errorProp + ':' + formView.errors[errorProp][x])
107763
+ }
107764
+ }
107765
+ }
107766
+ return formErrors
107767
+ }
107768
+ function common_stringUrlQuery(obj) {
107769
+ let strUrlQuery = ''
107770
+ for (let prop in obj) {
107771
+ strUrlQuery = strUrlQuery + prop + '=' + obj[prop] + '&'
107772
+ }
107773
+ if (strUrlQuery.length > 0) {
107774
+ strUrlQuery = strUrlQuery.substring(0, strUrlQuery.length - 1)
107775
+ }
107776
+ return strUrlQuery
107777
+ }
107778
+ function getRouteFullPath(route) {
107779
+ let fullPath = route.path + '?' + common_stringUrlQuery(route.query)
107780
+ return fullPath
107781
+ }
107782
+ async function getGridValidErrors(gridView) {
107783
+ const gridErrors = await gridView.fullValidate()
107784
+ return gridErrors
107785
+ }
107786
+ // EXTERNAL MODULE: ./node_modules/_axios@0.18.0@axios/index.js
107787
+ var _axios_0_18_0_axios = __webpack_require__("7f43");
107788
+ var _axios_0_18_0_axios_default = /*#__PURE__*/__webpack_require__.n(_axios_0_18_0_axios);
107789
+
107789
107790
  // CONCATENATED MODULE: ./packages/utils/api.js
107790
107791
 
107791
107792
 
@@ -107972,7 +107973,7 @@ service.interceptors.response.use(
107972
107973
  utils_store.dispatch('logOut')
107973
107974
  return Promise.reject(res.msg)
107974
107975
  }
107975
- es_notification.error({
107976
+ notification.error({
107976
107977
  message: '错误信息',
107977
107978
  description: h => {
107978
107979
  return h('div', null, [
@@ -108000,7 +108001,7 @@ service.interceptors.response.use(
108000
108001
  } else {
108001
108002
  errorMsg = error.msg
108002
108003
  }
108003
- es_notification['error']({ message: '错误信息', description: errorMsg })
108004
+ notification['error']({ message: '错误信息', description: errorMsg })
108004
108005
  return Promise.reject(error)
108005
108006
  }
108006
108007
  )
@@ -113119,13 +113120,13 @@ function removeRefreshToken() {
113119
113120
  beforeAvatarUpload(file) {
113120
113121
  // const isPic = file.type === 'image/jpeg' || file.type === 'image/png'
113121
113122
  if (file.size / 1024 / 1024 > this.limitSize) {
113122
- es_notification.error({
113123
+ notification.error({
113123
113124
  message: '错误',
113124
113125
  description: '上传图片大小不能超过 ' + this.limitSize + 'MB!'
113125
113126
  })
113126
113127
  }
113127
113128
  if (this.limitType.length > 0 && !this.limitType[file.type]) {
113128
- es_notification.error({
113129
+ notification.error({
113129
113130
  message: '错误',
113130
113131
  description: '上传附件格式错误!'
113131
113132
  })