vue2-client 1.2.61 → 1.2.64
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/CHANGELOG.md +13 -1
- package/package.json +1 -1
- package/src/base-client/components/common/CreateQuery/CreateQuery.vue +2 -2
- package/src/base-client/components/common/CreateSimpleFormQuery/CreateSimpleFormQueryItem.vue +1 -1
- package/src/base-client/components/common/XAddForm/XAddForm.vue +5 -0
- package/src/base-client/components/common/XAddNativeForm/XAddNativeForm.vue +5 -0
- package/src/base-client/components/common/XFormTable/XFormTable.vue +484 -483
- package/src/base-client/components/common/XFormTable/index.md +2 -1
- package/src/base-client/components/common/XTable/XTable.vue +8 -1
- package/src/pages/CreateQueryPage.vue +58 -58
- package/vue.config.js +153 -153
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,22 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
> 所有关于本项目的变化都在该文档里。
|
|
3
3
|
|
|
4
|
-
**1.2.
|
|
4
|
+
**1.2.64 -2022-05-25 @张振宇**
|
|
5
|
+
- 功能修改:
|
|
6
|
+
- 建档表单配置 bug修改
|
|
7
|
+
|
|
8
|
+
**1.2.3 -2022-05-26 @苗艳强**
|
|
9
|
+
- 功能修改:
|
|
10
|
+
- x-form-table:
|
|
11
|
+
- 修改 afterSubmit 事件增加操作类型
|
|
12
|
+
- 新增 afterDelete 事件
|
|
13
|
+
|
|
14
|
+
**1.2.57 - 1.2.63 -2022-05-25 @张振宇**
|
|
5
15
|
- 功能修改:
|
|
6
16
|
- 文件上传 基础表单相关修改
|
|
7
17
|
- 简单表单生成 数据字段提取出来
|
|
18
|
+
- 新增修改表单加载时不带出 文件属性
|
|
19
|
+
- 查询表单页面按钮配置
|
|
8
20
|
|
|
9
21
|
**1.2.55 -2022-05-20 @江超**
|
|
10
22
|
- 问题修复:
|
package/package.json
CHANGED
|
@@ -440,9 +440,9 @@ export default {
|
|
|
440
440
|
delete item.dataModeArray
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
|
-
if (this.buttonStateData.length !== 4) {
|
|
443
|
+
// if (this.buttonStateData.length !== 4) {
|
|
444
444
|
this.result.buttonState = this.buttonState
|
|
445
|
-
}
|
|
445
|
+
// }
|
|
446
446
|
then()
|
|
447
447
|
},
|
|
448
448
|
view () {
|
package/src/base-client/components/common/CreateSimpleFormQuery/CreateSimpleFormQueryItem.vue
CHANGED
|
@@ -516,7 +516,7 @@ export default {
|
|
|
516
516
|
if (!this.selectDataShow) {
|
|
517
517
|
this.delKey(this.item, 'selectType', 'selectKey', 'lazyLoad', 'selectKeyName')
|
|
518
518
|
}
|
|
519
|
-
this.delKey(this.item, 'addOrEdit', 'queryType', 'default', 'silencePurpose', 'silenceSource', '
|
|
519
|
+
this.delKey(this.item, 'addOrEdit', 'queryType', 'default', 'silencePurpose', 'silenceSource', 'lazyLoad')
|
|
520
520
|
this.item.dataModeArray = ['addOrEditForm']
|
|
521
521
|
this.$emit('itemHandle', this.item, this.type)
|
|
522
522
|
this.initItem()
|
|
@@ -316,6 +316,11 @@ export default {
|
|
|
316
316
|
},
|
|
317
317
|
getModifyModelData () {
|
|
318
318
|
for (let i = 0; i < this.realJsonData.length; i++) {
|
|
319
|
+
if (['FilesId', 'Images'].includes(this.realJsonData[i])) {
|
|
320
|
+
// 附件需要跳过 因为会通过 modifyModelData中的files,images属性给upload赋值
|
|
321
|
+
// 新增修改表单每次提交时只会提交最新添加的文件
|
|
322
|
+
continue
|
|
323
|
+
}
|
|
319
324
|
const item = this.realJsonData[i]
|
|
320
325
|
if (this.modifyModelData.data[item.model] || this.modifyModelData.data[item.model] === 0) {
|
|
321
326
|
this.form[item.model] = this.modifyModelData.data[item.model] + ''
|
|
@@ -293,6 +293,11 @@ export default {
|
|
|
293
293
|
},
|
|
294
294
|
getModifyModelData () {
|
|
295
295
|
for (let i = 0; i < this.realJsonData.length; i++) {
|
|
296
|
+
if (['FilesId', 'Images'].includes(this.realJsonData[i])) {
|
|
297
|
+
// 附件需要跳过 因为会通过 modifyModelData中的files,images属性给upload赋值
|
|
298
|
+
// 新增修改表单每次提交时只会提交最新添加的文件
|
|
299
|
+
continue
|
|
300
|
+
}
|
|
296
301
|
const item = this.realJsonData[i]
|
|
297
302
|
if (this.modifyModelData.data[item.model] || this.modifyModelData.data[item.model] === 0) {
|
|
298
303
|
this.form[item.model] = this.modifyModelData.data[item.model] + ''
|