jufubao-forms 1.0.0-beta10 → 1.0.0-beta11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-forms",
3
- "version": "1.0.0-beta10",
3
+ "version": "1.0.0-beta11",
4
4
  "private": false,
5
5
  "description": "聚福宝表单业务插件库",
6
6
  "main": "index.js",
@@ -18,6 +18,17 @@ export default {
18
18
  { label: 'saas系统', value: 'saas'}
19
19
  ]
20
20
  },
21
+ {
22
+ label: "表单类型",
23
+ ele: "xd-radio",
24
+ valueKey: "base_type",
25
+ value: data['base_type'] || '',
26
+ groupKey:'content',
27
+ list: [
28
+ { label: "员工调研", value: "form"},
29
+ { label: '知识竞赛', value: 'answer'}
30
+ ]
31
+ },
21
32
  {
22
33
  label: "列表外边距设置",
23
34
  groupKey:'style',
@@ -75,6 +75,7 @@
75
75
  detailPath: "",
76
76
  bucket: "default",
77
77
  qaDetailPath: "",
78
+ base_type: "",
78
79
  }
79
80
  },
80
81
  computed: {
@@ -124,6 +125,7 @@
124
125
  this.listPadding = getContainerPropsValue(container, 'content.listPadding', {});
125
126
  this.itemRadius = getContainerPropsValue(container, 'content.itemRadius', 0);
126
127
  this.bucket = getContainerPropsValue(container, 'content.bucket', 'default');
128
+ this.base_type = getContainerPropsValue(container, 'content.base_type', '');
127
129
  this.detailPath = getContainerPropsValue(container, 'content.detailPath', {value: ""}).value;
128
130
  this.qaDetailPath = getContainerPropsValue(container, 'content.qaDetailPath', {value: ""}).value;
129
131
  },
@@ -131,7 +133,8 @@
131
133
  let data = {
132
134
  page_token: this.page_token+'',
133
135
  page_size: this.page_size,
134
- bucket: this.bucket
136
+ bucket: this.bucket,
137
+ base_type: this.base_type
135
138
  }
136
139
  jfbRootExec("getSaasFormList", {
137
140
  vm: this,