n20-common-lib 2.4.25 → 2.4.27
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
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
v-model="approveMsgSlt"
|
|
5
5
|
class="w-100p"
|
|
6
6
|
clearable
|
|
7
|
-
multiple
|
|
7
|
+
:multiple="multiple"
|
|
8
8
|
collapse-tags
|
|
9
9
|
:placeholder="'请选择审批意见' | $lc"
|
|
10
10
|
@change="changeFn"
|
|
@@ -35,13 +35,21 @@ export default {
|
|
|
35
35
|
data() {
|
|
36
36
|
return {
|
|
37
37
|
approveMsgSlt: [],
|
|
38
|
-
approveMsgList: []
|
|
38
|
+
approveMsgList: [],
|
|
39
|
+
multiple: false
|
|
39
40
|
}
|
|
40
41
|
},
|
|
41
42
|
mounted() {
|
|
42
43
|
this.getData()
|
|
44
|
+
this.getIsMultiple()
|
|
43
45
|
},
|
|
44
46
|
methods: {
|
|
47
|
+
// 审批意见选择是否单选,1是 0 否
|
|
48
|
+
getIsMultiple() {
|
|
49
|
+
axios.get(`/bems/activiti/actAppOpi/queryAppOpiAndUser`).then(({ msg }) => {
|
|
50
|
+
this.multiple = msg === '0'
|
|
51
|
+
})
|
|
52
|
+
},
|
|
45
53
|
getData() {
|
|
46
54
|
if (this.andUser) {
|
|
47
55
|
axios.post('/bems/activiti/actAppOpi/queryAppOpiAndUser').then(({ data }) => {
|
|
@@ -119,7 +119,7 @@ HoverTooltip.install = (Vue) => {
|
|
|
119
119
|
el.$tipHide = () => tipHide(el)
|
|
120
120
|
el.addEventListener('mouseenter', () => {
|
|
121
121
|
console.log(getWidth(binding.value))
|
|
122
|
-
if (getWidth(binding.value) > (binding.arg ||
|
|
122
|
+
if (getWidth(binding.value) > (binding.arg || 98)) {
|
|
123
123
|
return el.$tipShow()
|
|
124
124
|
}
|
|
125
125
|
})
|