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.
@@ -78927,7 +78927,7 @@ __webpack_require__.d(__webpack_exports__, "replaceParam", function() { return /
78927
78927
  __webpack_require__.d(__webpack_exports__, "setFrameColState", function() { return /* reexport */ setFrameColState; });
78928
78928
  __webpack_require__.d(__webpack_exports__, "setFrameToolBtnState", function() { return /* reexport */ setFrameToolBtnState; });
78929
78929
  __webpack_require__.d(__webpack_exports__, "showErrors", function() { return /* reexport */ showErrors; });
78930
- __webpack_require__.d(__webpack_exports__, "getUuid", function() { return /* reexport */ getUuid; });
78930
+ __webpack_require__.d(__webpack_exports__, "getUuid", function() { return /* reexport */ common_getUuid; });
78931
78931
  __webpack_require__.d(__webpack_exports__, "getFormValidErrors", function() { return /* reexport */ getFormValidErrors; });
78932
78932
  __webpack_require__.d(__webpack_exports__, "stringUrlQuery", function() { return /* reexport */ common_stringUrlQuery; });
78933
78933
  __webpack_require__.d(__webpack_exports__, "getRouteFullPath", function() { return /* reexport */ getRouteFullPath; });
@@ -107002,247 +107002,6 @@ var srcvue_type_template_id_78416a63_scoped_true_staticRenderFns = []
107002
107002
 
107003
107003
  // CONCATENATED MODULE: ./packages/BasePulldown/src/index.vue?vue&type=template&id=78416a63&scoped=true&
107004
107004
 
107005
- // CONCATENATED MODULE: ./packages/utils/common.js
107006
- /**
107007
- * 替换掩码参数字符串
107008
- * @param {参数字符串} paramString
107009
- * @param {当前页面数据集} formData
107010
- */
107011
- function replaceParamString(
107012
- paramString,
107013
- formData,
107014
- currentModuleSelectInfo
107015
- ) {
107016
- // hh添加
107017
- let tempStr = paramString
107018
- while (true) {
107019
- if (tempStr.indexOf('@Fn(') < 0) {
107020
- break
107021
- }
107022
- let tempReplaceParam = tempStr.substr(tempStr.indexOf('@Fn('))
107023
- tempReplaceParam = tempReplaceParam.substr(
107024
- 0,
107025
- tempReplaceParam.indexOf(')') + 1
107026
- ) // 查找掩码参数
107027
- let tempDataFields = tempReplaceParam
107028
- .substr(0, tempReplaceParam.length - 1)
107029
- .substr(4)
107030
- .split('.')
107031
- let tempReplaceValue = null
107032
- if (tempDataFields[0] === '') {
107033
- // 取主表数据
107034
- tempReplaceValue = formData[tempDataFields[1]]
107035
- } else {
107036
- if (formData[tempDataFields[0]] instanceof Array) {
107037
- let tempSelectItemInfo = currentModuleSelectInfo.filter(filterItem => {
107038
- return filterItem.attrDataName === tempDataFields[0]
107039
- })
107040
- if (tempSelectItemInfo.length > 0) {
107041
- let tempKeyFieldValue =
107042
- tempSelectItemInfo[0].selectItem[tempSelectItemInfo[0].keyField]
107043
- let tempActualRow = formData[tempDataFields[0]].filter(filterItem => {
107044
- return (
107045
- filterItem[tempSelectItemInfo[0].keyField] === tempKeyFieldValue
107046
- )
107047
- })
107048
- if (tempActualRow.length > 0) {
107049
- tempReplaceValue = tempActualRow[0][tempDataFields[1]]
107050
- }
107051
- }
107052
- } else {
107053
- tempReplaceValue = formData[tempDataFields[0]][tempDataFields[1]]
107054
- }
107055
- }
107056
- //刘松嗣临时处理
107057
- if (tempReplaceValue == undefined) {
107058
- tempReplaceValue = '0'
107059
- }
107060
- tempStr = tempStr.substr(
107061
- tempStr.indexOf(tempReplaceParam) + tempReplaceParam.length
107062
- )
107063
-
107064
- if (typeof tempReplaceValue === 'string') {
107065
- paramString = paramString.replace(
107066
- tempReplaceParam,
107067
- '"' + tempReplaceValue + '"'
107068
- )
107069
- tempStr = tempStr.replace(tempReplaceParam, '"' + tempReplaceValue + '"')
107070
- } else {
107071
- paramString = paramString.replace(tempReplaceParam, tempReplaceValue)
107072
- tempStr = tempStr.replace(tempReplaceParam, tempReplaceValue)
107073
- }
107074
- }
107075
- return paramString
107076
- }
107077
-
107078
- /**
107079
- * 替换掩码参数字符串
107080
- * @param {参数字符串} paramString
107081
- * @param {当前页面数据集} formData
107082
- */
107083
- function replaceParam(paramString, formData) {
107084
- let tempStr = paramString
107085
- while (true) {
107086
- if (tempStr.indexOf('@Fn(') < 0) {
107087
- break
107088
- }
107089
- let tempReplaceParam = tempStr.substr(tempStr.indexOf('@Fn('))
107090
- tempReplaceParam = tempReplaceParam.substr(
107091
- 0,
107092
- tempReplaceParam.indexOf(')') + 1
107093
- ) // 查找掩码参数
107094
- let tempDataFields = tempReplaceParam
107095
- .substr(0, tempReplaceParam.length - 1)
107096
- .substr(4)
107097
- .split('.')
107098
- let tempReplaceValue = null
107099
- if (tempDataFields[0] === '') {
107100
- // 取主表数据
107101
- tempReplaceValue = formData[tempDataFields[1]]
107102
- } else {
107103
- tempReplaceValue = formData[tempDataFields[0]][tempDataFields[1]]
107104
- }
107105
- tempStr = tempStr.substr(
107106
- tempStr.indexOf(tempReplaceParam) + tempReplaceParam.length
107107
- )
107108
-
107109
- // if (typeof tempReplaceValue === 'string') {
107110
- // paramString = paramString.replace(
107111
- // tempReplaceParam,
107112
- // '"' + tempReplaceValue + '"'
107113
- // )
107114
- // tempStr = tempStr.replace(tempReplaceParam, '"' + tempReplaceValue + '"')
107115
- // } else {
107116
- paramString = paramString.replace(tempReplaceParam, tempReplaceValue)
107117
- tempStr = tempStr.replace(tempReplaceParam, tempReplaceValue)
107118
- // }
107119
- }
107120
- return paramString
107121
- }
107122
-
107123
- function setFrameColState(formCols, formState, formStatus) {
107124
- for (let prop in formCols) {
107125
- if (formCols[prop].editStates instanceof Array) {
107126
- let exists = formCols[prop].editStates.filter(item => {
107127
- //editState:['add','edit']
107128
- return item === formState // view === add|edit formState :view|add|edit
107129
- }) //[]
107130
- if (exists.length > 0) {
107131
- formCols[prop].edit = true
107132
- } else {
107133
- formCols[prop].edit = false
107134
- }
107135
- }
107136
- // 单据状态控制
107137
- if (
107138
- formStatus &&
107139
- formCols[prop].editStatuss instanceof Array &&
107140
- formCols[prop].editStatuss.length > 0 &&
107141
- formCols[prop].edit === true
107142
- ) {
107143
- let formStatusExists = formCols[prop].editStatuss.filter(item => {
107144
- //editStatuss:[,'publish',]
107145
- return item === formStatus // formStatus:'draft'
107146
- })
107147
- if (formStatusExists.length > 0) {
107148
- formCols[prop].edit = true
107149
- } else {
107150
- formCols[prop].edit = false
107151
- }
107152
- }
107153
- // Vue.set(formCols, i, formCols[i])
107154
- }
107155
- }
107156
- function setFrameToolBtnState(toolBars, formState, formStatus) {
107157
- for (let i = 0; i < toolBars.length; i++) {
107158
- toolBars[i].visible = false
107159
- toolBars[i].isPrimary = false
107160
- if (
107161
- toolBars[i].visibleStates &&
107162
- toolBars[i].visibleStates.indexOf(formState) >= 0
107163
- ) {
107164
- toolBars[i].visible = true
107165
- }
107166
- if (formStatus && toolBars[i].visibleStatuss && toolBars[i].visible) {
107167
- toolBars[i].visible = toolBars[i].visibleStatuss.indexOf(formStatus) >= 0
107168
- }
107169
- }
107170
- // 查找优先级最大的并且显示的设置按钮强调色
107171
- let visibleBtns = toolBars.filter(filterItem => {
107172
- return filterItem.visible === true
107173
- })
107174
- //循环数组查找出小于自身的priority优先级 优先级高设置按钮强调色
107175
- for (let i = 0; i < visibleBtns.length; i++) {
107176
- let tempPriority = visibleBtns[i].priority
107177
- let tempBtns = visibleBtns.filter(filterItem => {
107178
- return filterItem.priority < tempPriority
107179
- })
107180
- //如果找到小于自身优先级的数量>0就说明还有更小的跳出本次不设置true继续查找
107181
- if (tempBtns.length > 0) {
107182
- continue
107183
- }
107184
- visibleBtns[i].isPrimary = true
107185
- }
107186
- }
107187
- function showErrors(errs) {
107188
- let errors = ''
107189
- for (let i = 0; i < errs.length; i++) {
107190
- errors = errors + errs[i] + '\n'
107191
- }
107192
- notification.error({
107193
- style: {
107194
- whiteSpace: 'pre-wrap'
107195
- },
107196
- message: '错误',
107197
- description: errors,
107198
- placement: 'topRight'
107199
- })
107200
- }
107201
- function getUuid() {
107202
- let d = new Date().getTime()
107203
- let uuid = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(
107204
- c
107205
- ) {
107206
- let r = (d + Math.random() * 16) % 16 | 0
107207
- d = Math.floor(d / 16)
107208
- return (c === 'x' ? r : (r & 0x3) | 0x8).toString(16)
107209
- })
107210
- return uuid
107211
- }
107212
- async function getFormValidErrors(formView) {
107213
- let formErrors = []
107214
- const validFormError = await formView.validate().catch(errMap => errMap)
107215
- if (validFormError === false) {
107216
- for (let errorProp in formView.errors) {
107217
- for (let x = 0; x < formView.errors[errorProp].length; x++) {
107218
- formErrors.push(errorProp + ':' + formView.errors[errorProp][x])
107219
- }
107220
- }
107221
- }
107222
- return formErrors
107223
- }
107224
- function common_stringUrlQuery(obj) {
107225
- let strUrlQuery = ''
107226
- for (let prop in obj) {
107227
- strUrlQuery = strUrlQuery + prop + '=' + obj[prop] + '&'
107228
- }
107229
- if (strUrlQuery.length > 0) {
107230
- strUrlQuery = strUrlQuery.substring(0, strUrlQuery.length - 1)
107231
- }
107232
- return strUrlQuery
107233
- }
107234
- function getRouteFullPath(route) {
107235
- let fullPath = route.path + '?' + common_stringUrlQuery(route.query)
107236
- return fullPath
107237
- }
107238
- async function getGridValidErrors(gridView) {
107239
- const gridErrors = await gridView.fullValidate()
107240
- return gridErrors
107241
- }
107242
- // EXTERNAL MODULE: ./node_modules/_axios@0.18.0@axios/index.js
107243
- var _axios_0_18_0_axios = __webpack_require__("7f43");
107244
- var _axios_0_18_0_axios_default = /*#__PURE__*/__webpack_require__.n(_axios_0_18_0_axios);
107245
-
107246
107005
  // CONCATENATED MODULE: ./node_modules/_ant-design-vue@1.7.8@ant-design-vue/es/vc-notification/Notice.js
107247
107006
 
107248
107007
 
@@ -107369,7 +107128,7 @@ function Notification_noop() {}
107369
107128
  var seed = 0;
107370
107129
  var Notification_now = Date.now();
107371
107130
 
107372
- function Notification_getUuid() {
107131
+ function getUuid() {
107373
107132
  return 'rcNotification_' + Notification_now + '_' + seed++;
107374
107133
  }
107375
107134
 
@@ -107398,7 +107157,7 @@ var Notification = {
107398
107157
  return transitionName;
107399
107158
  },
107400
107159
  add: function add(notice) {
107401
- var key = notice.key = notice.key || Notification_getUuid();
107160
+ var key = notice.key = notice.key || getUuid();
107402
107161
  var maxCount = this.$props.maxCount;
107403
107162
 
107404
107163
  this.setState(function (previousState) {
@@ -107776,7 +107535,249 @@ var api = {
107776
107535
  });
107777
107536
 
107778
107537
  api.warn = api.warning;
107779
- /* harmony default export */ var es_notification = (api);
107538
+ /* harmony default export */ var notification = (api);
107539
+ // CONCATENATED MODULE: ./packages/utils/common.js
107540
+
107541
+ /**
107542
+ * 替换掩码参数字符串
107543
+ * @param {参数字符串} paramString
107544
+ * @param {当前页面数据集} formData
107545
+ */
107546
+ function replaceParamString(
107547
+ paramString,
107548
+ formData,
107549
+ currentModuleSelectInfo
107550
+ ) {
107551
+ // hh添加
107552
+ let tempStr = paramString
107553
+ while (true) {
107554
+ if (tempStr.indexOf('@Fn(') < 0) {
107555
+ break
107556
+ }
107557
+ let tempReplaceParam = tempStr.substr(tempStr.indexOf('@Fn('))
107558
+ tempReplaceParam = tempReplaceParam.substr(
107559
+ 0,
107560
+ tempReplaceParam.indexOf(')') + 1
107561
+ ) // 查找掩码参数
107562
+ let tempDataFields = tempReplaceParam
107563
+ .substr(0, tempReplaceParam.length - 1)
107564
+ .substr(4)
107565
+ .split('.')
107566
+ let tempReplaceValue = null
107567
+ if (tempDataFields[0] === '') {
107568
+ // 取主表数据
107569
+ tempReplaceValue = formData[tempDataFields[1]]
107570
+ } else {
107571
+ if (formData[tempDataFields[0]] instanceof Array) {
107572
+ let tempSelectItemInfo = currentModuleSelectInfo.filter(filterItem => {
107573
+ return filterItem.attrDataName === tempDataFields[0]
107574
+ })
107575
+ if (tempSelectItemInfo.length > 0) {
107576
+ let tempKeyFieldValue =
107577
+ tempSelectItemInfo[0].selectItem[tempSelectItemInfo[0].keyField]
107578
+ let tempActualRow = formData[tempDataFields[0]].filter(filterItem => {
107579
+ return (
107580
+ filterItem[tempSelectItemInfo[0].keyField] === tempKeyFieldValue
107581
+ )
107582
+ })
107583
+ if (tempActualRow.length > 0) {
107584
+ tempReplaceValue = tempActualRow[0][tempDataFields[1]]
107585
+ }
107586
+ }
107587
+ } else {
107588
+ tempReplaceValue = formData[tempDataFields[0]][tempDataFields[1]]
107589
+ }
107590
+ }
107591
+ //刘松嗣临时处理
107592
+ if (tempReplaceValue == undefined) {
107593
+ tempReplaceValue = '0'
107594
+ }
107595
+ tempStr = tempStr.substr(
107596
+ tempStr.indexOf(tempReplaceParam) + tempReplaceParam.length
107597
+ )
107598
+
107599
+ if (typeof tempReplaceValue === 'string') {
107600
+ paramString = paramString.replace(
107601
+ tempReplaceParam,
107602
+ '"' + tempReplaceValue + '"'
107603
+ )
107604
+ tempStr = tempStr.replace(tempReplaceParam, '"' + tempReplaceValue + '"')
107605
+ } else {
107606
+ paramString = paramString.replace(tempReplaceParam, tempReplaceValue)
107607
+ tempStr = tempStr.replace(tempReplaceParam, tempReplaceValue)
107608
+ }
107609
+ }
107610
+ return paramString
107611
+ }
107612
+
107613
+ /**
107614
+ * 替换掩码参数字符串
107615
+ * @param {参数字符串} paramString
107616
+ * @param {当前页面数据集} formData
107617
+ */
107618
+ function replaceParam(paramString, formData) {
107619
+ let tempStr = paramString
107620
+ while (true) {
107621
+ if (tempStr.indexOf('@Fn(') < 0) {
107622
+ break
107623
+ }
107624
+ let tempReplaceParam = tempStr.substr(tempStr.indexOf('@Fn('))
107625
+ tempReplaceParam = tempReplaceParam.substr(
107626
+ 0,
107627
+ tempReplaceParam.indexOf(')') + 1
107628
+ ) // 查找掩码参数
107629
+ let tempDataFields = tempReplaceParam
107630
+ .substr(0, tempReplaceParam.length - 1)
107631
+ .substr(4)
107632
+ .split('.')
107633
+ let tempReplaceValue = null
107634
+ if (tempDataFields[0] === '') {
107635
+ // 取主表数据
107636
+ tempReplaceValue = formData[tempDataFields[1]]
107637
+ } else {
107638
+ tempReplaceValue = formData[tempDataFields[0]][tempDataFields[1]]
107639
+ }
107640
+ tempStr = tempStr.substr(
107641
+ tempStr.indexOf(tempReplaceParam) + tempReplaceParam.length
107642
+ )
107643
+
107644
+ // if (typeof tempReplaceValue === 'string') {
107645
+ // paramString = paramString.replace(
107646
+ // tempReplaceParam,
107647
+ // '"' + tempReplaceValue + '"'
107648
+ // )
107649
+ // tempStr = tempStr.replace(tempReplaceParam, '"' + tempReplaceValue + '"')
107650
+ // } else {
107651
+ paramString = paramString.replace(tempReplaceParam, tempReplaceValue)
107652
+ tempStr = tempStr.replace(tempReplaceParam, tempReplaceValue)
107653
+ // }
107654
+ }
107655
+ return paramString
107656
+ }
107657
+
107658
+ function setFrameColState(formCols, formState, formStatus) {
107659
+ for (let prop in formCols) {
107660
+ if (formCols[prop].editStates instanceof Array) {
107661
+ let exists = formCols[prop].editStates.filter(item => {
107662
+ //editState:['add','edit']
107663
+ return item === formState // view === add|edit formState :view|add|edit
107664
+ }) //[]
107665
+ if (exists.length > 0) {
107666
+ formCols[prop].edit = true
107667
+ } else {
107668
+ formCols[prop].edit = false
107669
+ }
107670
+ }
107671
+ // 单据状态控制
107672
+ if (
107673
+ formStatus &&
107674
+ formCols[prop].editStatuss instanceof Array &&
107675
+ formCols[prop].editStatuss.length > 0 &&
107676
+ formCols[prop].edit === true
107677
+ ) {
107678
+ let formStatusExists = formCols[prop].editStatuss.filter(item => {
107679
+ //editStatuss:[,'publish',]
107680
+ return item === formStatus // formStatus:'draft'
107681
+ })
107682
+ if (formStatusExists.length > 0) {
107683
+ formCols[prop].edit = true
107684
+ } else {
107685
+ formCols[prop].edit = false
107686
+ }
107687
+ }
107688
+ // Vue.set(formCols, i, formCols[i])
107689
+ }
107690
+ }
107691
+ function setFrameToolBtnState(toolBars, formState, formStatus) {
107692
+ for (let i = 0; i < toolBars.length; i++) {
107693
+ toolBars[i].visible = false
107694
+ toolBars[i].isPrimary = false
107695
+ if (
107696
+ toolBars[i].visibleStates &&
107697
+ toolBars[i].visibleStates.indexOf(formState) >= 0
107698
+ ) {
107699
+ toolBars[i].visible = true
107700
+ }
107701
+ if (formStatus && toolBars[i].visibleStatuss && toolBars[i].visible) {
107702
+ toolBars[i].visible = toolBars[i].visibleStatuss.indexOf(formStatus) >= 0
107703
+ }
107704
+ }
107705
+ // 查找优先级最大的并且显示的设置按钮强调色
107706
+ let visibleBtns = toolBars.filter(filterItem => {
107707
+ return filterItem.visible === true
107708
+ })
107709
+ //循环数组查找出小于自身的priority优先级 优先级高设置按钮强调色
107710
+ for (let i = 0; i < visibleBtns.length; i++) {
107711
+ let tempPriority = visibleBtns[i].priority
107712
+ let tempBtns = visibleBtns.filter(filterItem => {
107713
+ return filterItem.priority < tempPriority
107714
+ })
107715
+ //如果找到小于自身优先级的数量>0就说明还有更小的跳出本次不设置true继续查找
107716
+ if (tempBtns.length > 0) {
107717
+ continue
107718
+ }
107719
+ visibleBtns[i].isPrimary = true
107720
+ }
107721
+ }
107722
+ function showErrors(errs) {
107723
+ let errors = ''
107724
+ for (let i = 0; i < errs.length; i++) {
107725
+ errors = errors + errs[i] + '\n'
107726
+ }
107727
+ notification.error({
107728
+ style: {
107729
+ whiteSpace: 'pre-wrap'
107730
+ },
107731
+ message: '错误',
107732
+ description: errors,
107733
+ placement: 'topRight'
107734
+ })
107735
+ }
107736
+ function common_getUuid() {
107737
+ let d = new Date().getTime()
107738
+ let uuid = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(
107739
+ c
107740
+ ) {
107741
+ let r = (d + Math.random() * 16) % 16 | 0
107742
+ d = Math.floor(d / 16)
107743
+ return (c === 'x' ? r : (r & 0x3) | 0x8).toString(16)
107744
+ })
107745
+ return uuid
107746
+ }
107747
+ async function getFormValidErrors(formView) {
107748
+ let formErrors = []
107749
+ const validFormError = await formView.validate().catch(errMap => errMap)
107750
+ if (validFormError === false) {
107751
+ for (let errorProp in formView.errors) {
107752
+ for (let x = 0; x < formView.errors[errorProp].length; x++) {
107753
+ formErrors.push(errorProp + ':' + formView.errors[errorProp][x])
107754
+ }
107755
+ }
107756
+ }
107757
+ return formErrors
107758
+ }
107759
+ function common_stringUrlQuery(obj) {
107760
+ let strUrlQuery = ''
107761
+ for (let prop in obj) {
107762
+ strUrlQuery = strUrlQuery + prop + '=' + obj[prop] + '&'
107763
+ }
107764
+ if (strUrlQuery.length > 0) {
107765
+ strUrlQuery = strUrlQuery.substring(0, strUrlQuery.length - 1)
107766
+ }
107767
+ return strUrlQuery
107768
+ }
107769
+ function getRouteFullPath(route) {
107770
+ let fullPath = route.path + '?' + common_stringUrlQuery(route.query)
107771
+ return fullPath
107772
+ }
107773
+ async function getGridValidErrors(gridView) {
107774
+ const gridErrors = await gridView.fullValidate()
107775
+ return gridErrors
107776
+ }
107777
+ // EXTERNAL MODULE: ./node_modules/_axios@0.18.0@axios/index.js
107778
+ var _axios_0_18_0_axios = __webpack_require__("7f43");
107779
+ var _axios_0_18_0_axios_default = /*#__PURE__*/__webpack_require__.n(_axios_0_18_0_axios);
107780
+
107780
107781
  // CONCATENATED MODULE: ./packages/utils/api.js
107781
107782
 
107782
107783
 
@@ -107963,7 +107964,7 @@ service.interceptors.response.use(
107963
107964
  utils_store.dispatch('logOut')
107964
107965
  return Promise.reject(res.msg)
107965
107966
  }
107966
- es_notification.error({
107967
+ notification.error({
107967
107968
  message: '错误信息',
107968
107969
  description: h => {
107969
107970
  return h('div', null, [
@@ -107991,7 +107992,7 @@ service.interceptors.response.use(
107991
107992
  } else {
107992
107993
  errorMsg = error.msg
107993
107994
  }
107994
- es_notification['error']({ message: '错误信息', description: errorMsg })
107995
+ notification['error']({ message: '错误信息', description: errorMsg })
107995
107996
  return Promise.reject(error)
107996
107997
  }
107997
107998
  )
@@ -113110,13 +113111,13 @@ function removeRefreshToken() {
113110
113111
  beforeAvatarUpload(file) {
113111
113112
  // const isPic = file.type === 'image/jpeg' || file.type === 'image/png'
113112
113113
  if (file.size / 1024 / 1024 > this.limitSize) {
113113
- es_notification.error({
113114
+ notification.error({
113114
113115
  message: '错误',
113115
113116
  description: '上传图片大小不能超过 ' + this.limitSize + 'MB!'
113116
113117
  })
113117
113118
  }
113118
113119
  if (this.limitType.length > 0 && !this.limitType[file.type]) {
113119
- es_notification.error({
113120
+ notification.error({
113120
113121
  message: '错误',
113121
113122
  description: '上传附件格式错误!'
113122
113123
  })