jufubao-forms 1.0.0-beta12 → 1.0.0-beta13
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
|
@@ -244,13 +244,19 @@
|
|
|
244
244
|
let getFormFn = "getDynamicForm"; //加盟商营销动态表单fn
|
|
245
245
|
// if(this.formBe == 2) getFormFn = "getSaasDynamicForm"
|
|
246
246
|
|
|
247
|
+
let activity_range = 2;
|
|
248
|
+
// #ifdef MP
|
|
249
|
+
activity_range = 4;
|
|
250
|
+
// #endif
|
|
251
|
+
|
|
247
252
|
this.$xdShowLoading({});
|
|
248
253
|
jfbRootExec(getFormFn, {
|
|
249
254
|
vm: this,
|
|
250
255
|
data: {
|
|
251
256
|
form_id: this.form_id,
|
|
252
257
|
bucket: this.bucket,
|
|
253
|
-
foreign_id: this.foreign_id
|
|
258
|
+
foreign_id: this.foreign_id,
|
|
259
|
+
activity_range: activity_range
|
|
254
260
|
}
|
|
255
261
|
}).then(res => {
|
|
256
262
|
this.$xdHideLoading();
|
|
@@ -130,11 +130,17 @@
|
|
|
130
130
|
this.qaDetailPath = getContainerPropsValue(container, 'content.qaDetailPath', {value: ""}).value;
|
|
131
131
|
},
|
|
132
132
|
getList(){
|
|
133
|
+
let activity_show_terminal = 2;
|
|
134
|
+
|
|
135
|
+
// #ifdef MP
|
|
136
|
+
activity_show_terminal = 4;
|
|
137
|
+
// #endif
|
|
133
138
|
let data = {
|
|
134
139
|
page_token: this.page_token+'',
|
|
135
140
|
page_size: this.page_size,
|
|
136
141
|
bucket: this.bucket,
|
|
137
|
-
base_type: this.base_type
|
|
142
|
+
base_type: this.base_type,
|
|
143
|
+
activity_range: activity_show_terminal
|
|
138
144
|
}
|
|
139
145
|
jfbRootExec("getSaasFormList", {
|
|
140
146
|
vm: this,
|
|
@@ -243,12 +243,17 @@
|
|
|
243
243
|
this.form_id = options.form_id;
|
|
244
244
|
this.foreign_id = options.foreign_id;
|
|
245
245
|
}
|
|
246
|
+
let activity_range = 2;
|
|
247
|
+
// #ifdef MP
|
|
248
|
+
activity_range = 4;
|
|
249
|
+
// #endif
|
|
246
250
|
this.$xdShowLoading({});
|
|
247
251
|
jfbRootExec("getDynamicForm", {
|
|
248
252
|
vm: this,
|
|
249
253
|
data: {
|
|
250
254
|
form_id: this.form_id,
|
|
251
|
-
foreign_id: this.foreign_id
|
|
255
|
+
foreign_id: this.foreign_id,
|
|
256
|
+
activity_range: activity_range
|
|
252
257
|
}
|
|
253
258
|
}).then(res => {
|
|
254
259
|
this.$xdHideLoading();
|