n20-common-lib 2.22.12 → 2.22.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n20-common-lib",
3
- "version": "2.22.12",
3
+ "version": "2.22.14",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -101,10 +101,10 @@
101
101
  "jszip": "^3.10.0",
102
102
  "md2vue-loader": "file:./md2vue-loader",
103
103
  "mockjs": "^1.1.0",
104
- "node-sass": "6.0.0",
104
+ "sass": "^1.77.0",
105
105
  "nstc-get-i18n": "^0.0.4",
106
106
  "qiankun": "^2.5.1",
107
- "sass-loader": "^10.2.0",
107
+ "sass-loader": "^10.5.2",
108
108
  "screenfull": "^5.1.0",
109
109
  "showdown": "^2.1.0",
110
110
  "sortablejs": "^1.15.0",
@@ -106,23 +106,11 @@ export default {
106
106
  this.selectCheck = this.selectSprList?.showNextNodeAssignee || false
107
107
  },
108
108
  personChange(list) {
109
- const prevList = this.personList || []
110
109
  const { nextNodeAssigneeMinnum: min = 0, nextNodeAssigneeMaxnum: max = 0 } = this.selectSprList || {}
111
110
 
112
111
  // 校验最大值
113
112
  if (max && list.length > max) {
114
- if (this.$message && this.$message.warning) {
115
- this.$message.warning(`审批人数需小于 ${max} 个`)
116
- }
117
- // 恢复为上一次合法选择
118
- this.$nextTick(() => {
119
- if (this.$refs.personTable) {
120
- this.$refs.personTable.clearSelection()
121
- prevList.forEach((row) => {
122
- this.$refs.personTable.toggleRowSelection(row, true)
123
- })
124
- }
125
- })
113
+ this.$message.warning(`审批人数需小于或等于 ${max} 个`)
126
114
  return
127
115
  }
128
116
 
@@ -131,9 +119,8 @@ export default {
131
119
 
132
120
  // 校验最小值(仅提示,不强制拦截)
133
121
  if (min && list.length < min) {
134
- if (this.$message && this.$message.info) {
135
- this.$message.info(`审批人数需大于 ${min} 个`)
136
- }
122
+ this.$message.info(`审批人数需大于或等于 ${min} 个`)
123
+ return
137
124
  }
138
125
  },
139
126
  closeFn(item) {
@@ -78,6 +78,8 @@
78
78
  placeholder="请输入"
79
79
  size="normal"
80
80
  clearable
81
+ maxlength="500"
82
+ show-word-limit
81
83
  @change="row.appNoType = 'add'"
82
84
  />
83
85
  </vxe-column>