n20-common-lib 2.6.67 → 2.6.69

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.6.67",
3
+ "version": "2.6.69",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -124,4 +124,4 @@
124
124
  "last 2 versions",
125
125
  "not dead"
126
126
  ]
127
- }
127
+ }
@@ -47,9 +47,11 @@ export default {
47
47
  methods: {
48
48
  // 审批意见选择是否单选,1是 0 否
49
49
  getIsMultiple() {
50
- axios.get(`/bems/activiti/actAppOpi/queryAppOpiAndUser`, null, { loading: false }).then(({ msg }) => {
51
- this.multiple = msg === '0'
52
- })
50
+ axios
51
+ .get(`/bems/activiti/actAppOpi/queryAppOpiAndUser`, null, { loading: false, noMsg: true })
52
+ .then(({ msg }) => {
53
+ this.multiple = msg === '0'
54
+ })
53
55
  },
54
56
  getData() {
55
57
  if (this.andUser) {
@@ -3,7 +3,7 @@
3
3
  ref="date-picker"
4
4
  v-model="valueC"
5
5
  class="n20-date-editor"
6
- :class="{ 'has-value': clearable && valueC }"
6
+ :class="{ 'has-value': clearable && valueC, [this.$attrs && this.$attrs['rule-form']]: !valueC }"
7
7
  :type="type"
8
8
  :value-format="valueFormat"
9
9
  :placeholder="'选择日期' | $lc"
@@ -119,7 +119,6 @@ directive.install = (Vue) => {
119
119
  // 表单验证
120
120
  el[VALIDATE] = async (type) => {
121
121
  let _value = _this[binding.value || 'value']
122
- console.log(_this.$attrs)
123
122
  let _rules = getRules(_this.$attrs['rules'], type)
124
123
 
125
124
  if (_rules.length > 0) {