ap-dev 1.1.28 → 1.1.29

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.
@@ -23,13 +23,11 @@
23
23
  </div>
24
24
  <api-tittle-2>二、参数说明:</api-tittle-2>
25
25
  1、部门树相关的参数:type -> org-tree
26
- <api-table :data="attrData1" :columns="attrCols1"/>
26
+ <api-table :data="attrData1" :columns="attrCols1" style="height:390px;"/>
27
27
  2、部门下拉相关的参数:type -> org-select
28
- <api-table :data="attrData2" :columns="attrCols1"/>
28
+ <api-table :data="attrData2" :columns="attrCols1" style="height:270px;"/>
29
29
  3、人员相关的参数:type -> org-pick
30
- <api-table :data="attrData3" :columns="attrCols1"/>
31
- <api-tittle-2>三、事件说明:</api-tittle-2>
32
- <api-table :data="methodData" :columns="methodCols"/>
30
+ <api-table :data="attrData3" :columns="attrCols1" style="height:180px;"/>
33
31
  </div>
34
32
  </template>
35
33
 
@@ -124,7 +122,7 @@ export default {
124
122
  name: '常用参数',
125
123
  type: '',
126
124
  default: '',
127
- memo: '见实例',
125
+ memo: '见示例代码',
128
126
  code: `// 配置表格单选
129
127
  searchPickTableOptions: {
130
128
  multiSelect: false,
@@ -137,28 +135,6 @@ export default {
137
135
  }
138
136
  ]
139
137
 
140
-
141
- const methodCols = [
142
- {label: '名称', prop: 'name', width: '200px'},
143
- {label: '描述', prop: 'memo', minWidth: '100px'},
144
- {label: '示例代码', prop: 'code', minWidth: '100px'}]
145
-
146
- const methodData = [
147
- {
148
- group: '设置数据',
149
- name: 'initSearchData',
150
- memo: '设置选中数据。<br>' +
151
- '<span class="api-memo">参数1:value。选中值,必填,多个数据使用“,”间隔</span><br>' +
152
- '<span class="api-memo">参数2:text。显示文本,非必填,多个数据使用“,”间隔</span>',
153
- code: '1、参数传输 (value),调用searchPickTextUrl获取对象<br/>' +
154
- '单选:<span class="api-code">this.$refs.searchRef.initSearchData(\'xxx\');</span><br/>' +
155
- '多选:<span class="api-code">this.$refs.searchRef.initSearchData(\'xxx,xxx\');</span><br/>' +
156
- '2、参数传输 (value, text),不会调用请求获取对象<br/>' +
157
- '单选:<span class="api-code">this.$refs.searchRef.initSearchData(\'xxx\',\'xxx\');</span><br/>' +
158
- '多选:<span class="api-code">this.$refs.searchRef.initSearchData(\'xxx,xxx\',\'xxx,xxx\');</span><br/>'
159
- }
160
- ]
161
-
162
138
  const js1 = `// 1、部门树选择组件:
163
139
  <ap-org :options.sync="orgTree" v-model="orgTreeValue"></ap-org>
164
140
 
@@ -199,8 +175,6 @@ orgPick: {
199
175
  attrData1,
200
176
  attrData2,
201
177
  attrData3,
202
- methodData,
203
- methodCols,
204
178
  js1,
205
179
  js2,
206
180
  js3,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ap-dev",
3
- "version": "1.1.28",
3
+ "version": "1.1.29",
4
4
  "description": "===== ap-dev =====",
5
5
  "author": "xiexinbin",
6
6
  "email": "876818817@qq.com",