centaline-data-driven 1.3.14 → 1.3.17
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/README.md +21 -0
- package/package.json +1 -1
- package/src/Form.vue +2 -6
- package/src/centaline/css/common.css +1 -1
- package/src/centaline/dynamicDetail/src/dynamicPropertyDetailOFI.vue +744 -614
- package/src/centaline/dynamicDetail/src/dynamicPropertyDetailRET.vue +333 -58
- package/src/centaline/dynamicForm/src/dynamicForm.vue +5 -5
- package/src/centaline/dynamicForm/src/dynamicFormListTable.vue +3 -1
- package/src/centaline/dynamicSearchList/src/dynamicTableStats.vue +22 -2
- package/src/centaline/dynamicViewerFile/src/dynamicViewerFile.vue +12 -12
- package/src/centaline/loader/src/ctl/Form.js +108 -5
- package/src/centaline/loader/src/ctl/FormList.js +21 -2
- package/src/centaline/quickInputSos/src/quickInput.vue +120 -82
- package/src/main.js +4 -4
- package/wwwroot/static/centaline/centaline-data-driven.js +3 -3
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
package/README.md
CHANGED
|
@@ -73,6 +73,15 @@ Vue.use(centaline, {
|
|
|
73
73
|
*/
|
|
74
74
|
getValueByFieldName(id, attrKey)
|
|
75
75
|
|
|
76
|
+
/**
|
|
77
|
+
* @method 表单列表弹层编辑时,弹层formData添加获取父表单数据方法
|
|
78
|
+
* @param {string} id 指定Field的fieldName1
|
|
79
|
+
* @param {string} attrKey 指定Field的属性attrKey
|
|
80
|
+
* @desc 获取指定Field的指定Field的值
|
|
81
|
+
* @returns {string} 指定Field的指定Field的值
|
|
82
|
+
*/
|
|
83
|
+
getValueByFieldNameFromParent(id, attrKey)
|
|
84
|
+
|
|
76
85
|
/**
|
|
77
86
|
* @method
|
|
78
87
|
* @param {string} id 指定Field的fieldName1
|
|
@@ -103,6 +112,18 @@ getListCount(tableName)
|
|
|
103
112
|
*/
|
|
104
113
|
getListFieldValue(tableName, rowNum, fiedlId, attrName, defaultValue)
|
|
105
114
|
|
|
115
|
+
/**
|
|
116
|
+
* @method 表单列表弹层编辑时,弹层formData添加获取父表单数据方法
|
|
117
|
+
* @param {String} tableName 表fieldName1 默认当前表
|
|
118
|
+
* @param {Number} rowNum 行号 默认当前行号(注意 这里第0行是列头)
|
|
119
|
+
* @param {String} fiedlId 列fieldName1 默认当前列fieldName1
|
|
120
|
+
* @param {String} attrName 需要获取attr,如code1,code2 默认code1
|
|
121
|
+
* @param {String} defaultValue 默认值,若该行被删除时,则直接返回这个值,可空
|
|
122
|
+
* @desc 获取指定列表中的指定Field的指定属性值
|
|
123
|
+
* @returns {String} 指定列表中的指定Field的指定属性值
|
|
124
|
+
*/
|
|
125
|
+
getListFieldValueFromParent(tableName, rowNum, fiedlId, attrName, defaultValue)
|
|
126
|
+
|
|
106
127
|
/**
|
|
107
128
|
* @method
|
|
108
129
|
* @param {String} value 设置的值
|
package/package.json
CHANGED
package/src/Form.vue
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<div id="app-form" class="data-driven" style="width:100%;height:100%;overflow:auto">
|
|
3
3
|
<!-- <ct-form :api="'/PropertyRET/getLayoutOfNew'" :apiParam="apiParam"></ct-form> -->
|
|
4
4
|
<!-- <ct-form :source="formdata.content" :apiParam="apiParam"></ct-form> -->
|
|
5
|
-
<ct-form :api="'/
|
|
5
|
+
<ct-form :api="'/salemanage/adjust/point/readDetail'" :apiParam="apiParam"></ct-form>
|
|
6
6
|
<!--<ct-form :api="'api/Form/formdata'"></ct-form>-->
|
|
7
7
|
<ct-dialog-list></ct-dialog-list>
|
|
8
8
|
</div>
|
|
@@ -14,11 +14,7 @@
|
|
|
14
14
|
data() {
|
|
15
15
|
return {
|
|
16
16
|
apiParam:{
|
|
17
|
-
actionType:
|
|
18
|
-
originalTraId: "1530076554013306882",
|
|
19
|
-
pageOnly: true,
|
|
20
|
-
pageStyle: 2,
|
|
21
|
-
pageTitle: "成交报告",
|
|
17
|
+
actionType:2,
|
|
22
18
|
}
|
|
23
19
|
}
|
|
24
20
|
},
|