zydx-plus 1.30.170 → 1.30.171

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": "zydx-plus",
3
- "version": "1.30.170",
3
+ "version": "1.30.171",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -66,29 +66,29 @@ let buttonNames = {
66
66
  headLevel: {
67
67
  default: "demand",
68
68
  demand: '调查要求',
69
- allClass: this.getPrefix(item) + '调查'
69
+ singletonClass: this.getPrefix(item) + '调查'
70
70
  },
71
71
  otherLevel: {
72
- default: "allClass",
73
- allClass: this.getPrefix(item) + '调查'
72
+ default: "singletonClass",
73
+ singletonClass: this.getPrefix(item) + '调查'
74
74
  },
75
75
  lowLevel: {
76
- default: "allClass",
77
- allClass: this.getPrefix(item) + '调查'
76
+ default: "singletonClass",
77
+ singletonClass: this.getPrefix(item) + '调查'
78
78
  },
79
79
  },
80
80
  2: {
81
81
  headLevel: {
82
- default: "allClass",
83
- allClass: this.getPrefix(item) + '调查'
82
+ default: "singletonClass",
83
+ singletonClass: this.getPrefix(item) + '调查'
84
84
  },
85
85
  otherLevel: {
86
- default: "allClass",
87
- allClass: this.getPrefix(item) + '调查'
86
+ default: "singletonClass",
87
+ singletonClass: this.getPrefix(item) + '调查'
88
88
  },
89
89
  lowLevel: {
90
- default: "allClass",
91
- allClass: this.getPrefix(item) + '调查'
90
+ default: "singletonClass",
91
+ singletonClass: this.getPrefix(item) + '调查'
92
92
  },
93
93
  }
94
94
  }
@@ -1172,15 +1172,15 @@ let buttonNames = {
1172
1172
  headLevel: {
1173
1173
  default: "demand",
1174
1174
  demand: '调查要求',
1175
- allClass: this.getPrefix(item) + '调查'
1175
+ singletonClass: this.getPrefix(item) + '调查'
1176
1176
  },
1177
1177
  otherLevel: {
1178
- default: "allClass",
1179
- allClass: this.getPrefix(item) + '调查'
1178
+ default: "singletonClass",
1179
+ singletonClass: this.getPrefix(item) + '调查'
1180
1180
  },
1181
1181
  lowLevel: {
1182
- default: "allClass",
1183
- allClass: this.getPrefix(item) + '调查'
1182
+ default: "singletonClass",
1183
+ singletonClass: this.getPrefix(item) + '调查'
1184
1184
  },
1185
1185
  }
1186
1186
  }
@@ -101,7 +101,7 @@ export default {
101
101
  this.selectAction.splice(this.selectAction.indexOf(param),1)
102
102
  },
103
103
  save (param) {
104
- if (!this.readonly && this.isIncludeItem(param) == -1) {
104
+ if (!this.readonly && this.isIncludeItem(param)) {
105
105
  this.selectAction.push(param)
106
106
  }
107
107
  },
@@ -127,16 +127,18 @@ export default {
127
127
  }
128
128
 
129
129
  .main_center_div {
130
- width: 100%;
130
+ width: 922px;
131
131
  display: flex;
132
132
  padding: 7px 4px;
133
133
  flex-direction: row;
134
134
  align-content: center;
135
+ box-sizing: border-box;
135
136
  border: 1px solid #cccccc;
136
137
  flex-wrap: wrap;
137
138
  }
138
139
 
139
140
  .item_div {
141
+ box-sizing: border-box;
140
142
  border: 1px solid rgba(204, 204, 204, 1);
141
143
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
142
144
  cursor: pointer;
@@ -88,6 +88,7 @@
88
88
  }
89
89
  .subject-title{
90
90
  flex: 1;
91
+ text-indent: 2em;
91
92
  }
92
93
  .subject-title label{
93
94
  display: flex;
@@ -1,6 +1,6 @@
1
1
  <template>
2
- <div class="paper">
3
- <div class="parer-cont">
2
+ <div :class="{paper: borderShow}">
3
+ <div class="parer-cont" ref="parer">
4
4
  <div class="paper-choice" :class="{'array-ch': !styleText(item.testKey)}" v-for="(item,index) in data">
5
5
  <div class="subject">
6
6
  <div class="subject-title">
@@ -53,6 +53,10 @@ export default {
53
53
  multiple: {
54
54
  type: Boolean,
55
55
  default: false
56
+ },
57
+ borderShow: {
58
+ type: Boolean,
59
+ default: true
56
60
  }
57
61
  },
58
62
  watch: {
package/src/index.js CHANGED
@@ -73,7 +73,7 @@ function install(app) {
73
73
  }
74
74
 
75
75
  export default {
76
- version: '1.30.170',
76
+ version: '1.30.171',
77
77
  install,
78
78
  Calendar,
79
79
  Message,