ap-dev 1.2.18 → 1.2.20

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.
@@ -134,6 +134,13 @@ export default {
134
134
  memo: '默认更新v-mode的值,可自定义',
135
135
  code: `// 自定义确认方法
136
136
  searchPickConfirm: (selectData) => {}`
137
+ }, {
138
+ name: 'afterSearchPickConfirm',
139
+ type: '方法',
140
+ default: '省略',
141
+ memo: '确认方法执行后回调',
142
+ code: `// searchPickConfirm返回true时才调用
143
+ afterSearchPickConfirm: () => {}`
137
144
  }, {
138
145
  name: 'searchPickClear',
139
146
  type: '方法',
@@ -141,6 +148,13 @@ export default {
141
148
  memo: '默认清空v-mode的值,可自定义',
142
149
  code: `// 自定义取消方法
143
150
  searchPickClear: () => {}`
151
+ }, {
152
+ name: 'afterSearchPickClear',
153
+ type: '方法',
154
+ default: '省略',
155
+ memo: '清空方法执行后回调义',
156
+ code: `// searchPickClear返回true时才调用
157
+ afterSearchPickClear: () => {}`
144
158
  }, {
145
159
  name: '其他参数',
146
160
  type: '',
@@ -14,7 +14,7 @@
14
14
  <div class="color-ctn" title="点击复制颜色">
15
15
  <div class="color-item" @click="copyText('#13CE66', $event)" style="background-color: #13CE66"></div>
16
16
  <div class="color-text">
17
- <div @click="copyText('#1890FF', $event)" title="点击复制颜色">#13CE66</div>
17
+ <div @click="copyText('#13CE66', $event)" title="点击复制颜色">#13CE66</div>
18
18
  <div @click="copyText('ap-color-green', $event)" title="点击复制字体颜色类">ap-color-green</div>
19
19
  <div @click="copyText('ap-bg-green', $event)" title="点击复制背景颜色类">ap-bg-green</div>
20
20
  </div>
@@ -22,7 +22,7 @@
22
22
  <div class="color-ctn" title="点击复制颜色">
23
23
  <div class="color-item" @click="copyText('#ffba00', $event)" style="background-color: #ffba00"></div>
24
24
  <div class="color-text">
25
- <div @click="copyText('#1890FF', $event)" title="点击复制颜色">#ffba00</div>
25
+ <div @click="copyText('#ffba00', $event)" title="点击复制颜色">#ffba00</div>
26
26
  <div @click="copyText('ap-color-yellow', $event)" title="点击复制字体颜色类">ap-color-yellow</div>
27
27
  <div @click="copyText('ap-bg-yellow', $event)" title="点击复制背景颜色类">ap-bg-yellow</div>
28
28
  </div>
@@ -30,7 +30,7 @@
30
30
  <div class="color-ctn" title="点击复制颜色">
31
31
  <div class="color-item" @click="copyText('#ff4949', $event)" style="background-color: #ff4949"></div>
32
32
  <div class="color-text">
33
- <div @click="copyText('#1890FF', $event)" title="点击复制颜色">#ff4949</div>
33
+ <div @click="copyText('#ff4949', $event)" title="点击复制颜色">#ff4949</div>
34
34
  <div @click="copyText('ap-color-red', $event)" title="点击复制字体颜色类">ap-color-red</div>
35
35
  <div @click="copyText('ap-bg-red', $event)" title="点击复制背景颜色类">ap-bg-red</div>
36
36
  </div>
@@ -38,14 +38,14 @@
38
38
  <div class="color-ctn" title="点击复制颜色">
39
39
  <div class="color-item" @click="copyText('#909399', $event)" style="background-color: #909399"></div>
40
40
  <div class="color-text">
41
- <div @click="copyText('#1890FF', $event)" title="点击复制颜色">#909399</div>
41
+ <div @click="copyText('#909399', $event)" title="点击复制颜色">#909399</div>
42
42
  <div @click="copyText('ap-color-gray', $event)" title="点击复制字体颜色类">ap-color-gray</div>
43
43
  <div @click="copyText('ap-bg-gray', $event)" title="点击复制背景颜色类">ap-bg-gray</div>
44
44
  </div>
45
45
  </div>
46
46
  </api-content>
47
47
  <div class="memo">注:1、按钮、tag、字体都是以该配色为基础。<br>
48
- 2、点击颜色或类名可直接复制。</div>
48
+ 2、点击颜色或类名可直接复制。</div>
49
49
  <br>
50
50
  <api-tittle-2>二、按钮</api-tittle-2>
51
51
  <api-content style="height: 60px;">
@@ -95,7 +95,7 @@
95
95
  <ap-main margin="0110">
96
96
  <ap-table ref="tDevCptParamTemplateTableRef" :options.sync="tDevCptParamTemplateTable">
97
97
  <template #slotTemplate="searchProps">
98
- <!-- <el-input v-model="searchProps.rowData.fdTemplate" type="textarea" :rows=10></el-input>-->
98
+ <!-- <el-input v-model="searchProps.rowData.fdTemplate" type="textarea" :rows=10></el-input>-->
99
99
  <cpt-template v-model="searchProps.rowData.fdTemplate" :cptId="selectedCptId"></cpt-template>
100
100
  </template>
101
101
  <template #slotDefault="searchProps">
@@ -879,8 +879,14 @@ export default {
879
879
  prop: 'fdScript',
880
880
  label: '脚本',
881
881
  type: 'input',
882
- help: 'js执行脚本。<br><b>自带参数:</b>paramObj, paramTemplateObj' +
883
- '<br><b>示例1-参数:</b>"\${InputSize.value}" != ""<br><b>示例2-自带参数:</b>paramTemplateObj.attrs.length>0'
882
+ help: 'js执行脚本。' +
883
+ '<br><b>一、用于判断是否显示</b>' +
884
+ '<br><b>可用参数:</b>paramObj, paramTemplateObj' +
885
+ '<br><b>示例1:</b>"\${InputSize.value}" != ""<br><b>示例2:</b>paramTemplateObj.attrs.length>0'+
886
+ '<br><b>二、用于修改值(固定格式):</b>'+
887
+ '<br><b>可用参数:</b>paramObj,paramList' +
888
+ '<br><b>格式:</b>changeValue(paramList, \'参数编码\' , \'新值\')' +
889
+ '<br><b>示例1:</b>changeValue(paramList, \'typeValue\' , \'a\')'
884
890
  }, {
885
891
  prop: 'fdComment',
886
892
  label: '备注',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ap-dev",
3
- "version": "1.2.18",
3
+ "version": "1.2.20",
4
4
  "description": "===== ap-dev =====",
5
5
  "author": "xiexinbin",
6
6
  "email": "876818817@qq.com",