jufubao-admin-library 1.1.85 → 1.1.86
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.
|
@@ -81,6 +81,7 @@
|
|
|
81
81
|
:radius-num="radius"
|
|
82
82
|
:circle-color="color"
|
|
83
83
|
:site_id="siteId"
|
|
84
|
+
:typeData="typeData"
|
|
84
85
|
@onDelete="handleItemDelete"
|
|
85
86
|
@onSubmit="handleItemSubmit"
|
|
86
87
|
v-model="item.model"
|
|
@@ -99,6 +100,7 @@
|
|
|
99
100
|
import XdJbzItem from "./jbz/XdJbzItemScale.vue";
|
|
100
101
|
import {Loading} from "element-ui";
|
|
101
102
|
import {mapActions} from "vuex";
|
|
103
|
+
import { getOptions } from "@/utils/options";
|
|
102
104
|
|
|
103
105
|
export default {
|
|
104
106
|
components: {
|
|
@@ -147,6 +149,7 @@ export default {
|
|
|
147
149
|
yLeft:15.2,
|
|
148
150
|
yHeight: 15.2,
|
|
149
151
|
siteId:'',
|
|
152
|
+
typeData:[],
|
|
150
153
|
|
|
151
154
|
};
|
|
152
155
|
},
|
|
@@ -171,6 +174,21 @@ export default {
|
|
|
171
174
|
},
|
|
172
175
|
},
|
|
173
176
|
created() {
|
|
177
|
+
getOptions([{
|
|
178
|
+
// #ifdef sms-walking
|
|
179
|
+
server:'saas-app-partner',
|
|
180
|
+
// #endif
|
|
181
|
+
// #ifndef sms-walking
|
|
182
|
+
server:'saas-app-public',
|
|
183
|
+
// #endif
|
|
184
|
+
fn:'sms-activity-type',
|
|
185
|
+
path:'p1',
|
|
186
|
+
},]).then(res=>{
|
|
187
|
+
this.typeData = res[0]['data']['list']
|
|
188
|
+
})
|
|
189
|
+
.catch(err=>{
|
|
190
|
+
|
|
191
|
+
})
|
|
174
192
|
if(this.$route.params.map_id) this.map_id = Number(this.$route.params.map_id);
|
|
175
193
|
if(this.$route.params.activity_id) this.activity_id = Number(this.$route.params.activity_id);
|
|
176
194
|
// #ifdef sms-walking
|
|
@@ -58,7 +58,6 @@
|
|
|
58
58
|
<script>
|
|
59
59
|
import XdDialog from "@/components/XdDialog.vue";
|
|
60
60
|
import XdBaseDynamicField from "@/components/XdBaseDynamicField.vue";
|
|
61
|
-
import { getOptions } from "@/utils/options";
|
|
62
61
|
import {mapActions} from "vuex";
|
|
63
62
|
|
|
64
63
|
//背景放大坐标不放大
|
|
@@ -116,6 +115,12 @@ export default {
|
|
|
116
115
|
type: String,
|
|
117
116
|
default: ''
|
|
118
117
|
},
|
|
118
|
+
typeData: {
|
|
119
|
+
type: Array,
|
|
120
|
+
default(){
|
|
121
|
+
return []
|
|
122
|
+
}
|
|
123
|
+
},
|
|
119
124
|
},
|
|
120
125
|
data(){
|
|
121
126
|
return {
|
|
@@ -162,7 +167,6 @@ export default {
|
|
|
162
167
|
formListKey:'formListKey',
|
|
163
168
|
formList: [],
|
|
164
169
|
formValue: {},
|
|
165
|
-
typeData:[],
|
|
166
170
|
}
|
|
167
171
|
},
|
|
168
172
|
watch:{
|
|
@@ -226,21 +230,6 @@ export default {
|
|
|
226
230
|
},
|
|
227
231
|
},
|
|
228
232
|
created(){
|
|
229
|
-
getOptions([{
|
|
230
|
-
// #ifdef sms-walking
|
|
231
|
-
server:'saas-app-partner',
|
|
232
|
-
// #endif
|
|
233
|
-
// #ifndef sms-walking
|
|
234
|
-
server:'saas-app-public',
|
|
235
|
-
// #endif
|
|
236
|
-
fn:'sms-activity-type',
|
|
237
|
-
path:'p1',
|
|
238
|
-
},]).then(res=>{
|
|
239
|
-
this.typeData = res[0]['data']['list']
|
|
240
|
-
})
|
|
241
|
-
.catch(err=>{
|
|
242
|
-
|
|
243
|
-
})
|
|
244
233
|
this.id = `circle_${this.$xdHelper.randomChar(20)}`;
|
|
245
234
|
this.init('init');
|
|
246
235
|
this.$nextTick(() => {
|
|
@@ -94,6 +94,7 @@ import checkPermission from "@/utils/permission"
|
|
|
94
94
|
import permissions from "@/constant/permissions"
|
|
95
95
|
import PeopleManage from './components/PeopleManage'
|
|
96
96
|
import XdDialog from "@/components/XdDialog.vue";
|
|
97
|
+
import { getOptions } from "@/utils/options";
|
|
97
98
|
import {
|
|
98
99
|
mapActions,
|
|
99
100
|
mapState,
|
|
@@ -176,11 +177,19 @@ export default {
|
|
|
176
177
|
tables: [],
|
|
177
178
|
showPeopleManage:false,
|
|
178
179
|
clickId:null,
|
|
180
|
+
sourceFromData:[],
|
|
179
181
|
}
|
|
180
182
|
},
|
|
181
183
|
|
|
182
184
|
created() {
|
|
183
|
-
|
|
185
|
+
getOptions({
|
|
186
|
+
server: 'saas-app-public',
|
|
187
|
+
fn: 'source-from',
|
|
188
|
+
path: 'p1',
|
|
189
|
+
},).then(res => {
|
|
190
|
+
this.sourceFromData = res.data.list
|
|
191
|
+
this.initSearchForm()
|
|
192
|
+
})
|
|
184
193
|
},
|
|
185
194
|
methods: {
|
|
186
195
|
...mapActions('activity_manage', [
|
|
@@ -291,7 +300,24 @@ export default {
|
|
|
291
300
|
}
|
|
292
301
|
]
|
|
293
302
|
},
|
|
294
|
-
|
|
303
|
+
{
|
|
304
|
+
label: '活动类型:',
|
|
305
|
+
ele: 'xd-select-list',
|
|
306
|
+
valueKey: 'activity_type',
|
|
307
|
+
value: '',
|
|
308
|
+
placeholder: '请选择活动类型',
|
|
309
|
+
list: [{ value: 'sign_up', label: '企业报名' }, { value: 'activity', label: '企业活动' }]
|
|
310
|
+
},
|
|
311
|
+
// #ifdef saas-admin
|
|
312
|
+
{
|
|
313
|
+
label: '活动来源:',
|
|
314
|
+
ele: 'xd-select-list',
|
|
315
|
+
valueKey: 'activity_type',
|
|
316
|
+
value: '',
|
|
317
|
+
placeholder: '请选择活动类型',
|
|
318
|
+
list: this.sourceFromData
|
|
319
|
+
},
|
|
320
|
+
// #endif
|
|
295
321
|
];
|
|
296
322
|
},
|
|
297
323
|
/**
|