centaline-data-driven 1.3.13 → 1.3.16

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 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "centaline-data-driven",
3
- "version": "1.3.13",
3
+ "version": "1.3.16",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
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="'/api/third-dept-tran/transaction/detail'" :apiParam="apiParam"></ct-form>
5
+ <ct-form :api="'/salemanage/batchcontractadjustdetail/readImportDetail'" :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: 3,
18
- originalTraId: "1530076554013306882",
19
- pageOnly: true,
20
- pageStyle: 2,
21
- pageTitle: "成交报告",
17
+ actionType:2,
22
18
  }
23
19
  }
24
20
  },
@@ -812,5 +812,7 @@ html {
812
812
  .shortcutFollow .ct-form .el-card__body .el-col{
813
813
  padding:0px 5px 0 0 !important;
814
814
  }
815
-
815
+ .shortcutFollow .el-collapse{
816
+ border-bottom: none;
817
+ }
816
818