jufubao-admin-library 1.1.52 → 1.1.54
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.
|
@@ -79,10 +79,13 @@
|
|
|
79
79
|
</el-form-item>
|
|
80
80
|
</template>
|
|
81
81
|
</xd-base-dynamic-field>
|
|
82
|
-
<div class="adjust-btn" style="margin-left: 140px">
|
|
82
|
+
<div v-if="!isView" class="adjust-btn" style="margin-left: 140px">
|
|
83
83
|
<el-button @click="handleClick(true)" type="primary">{{btnName}}并返回</el-button>
|
|
84
84
|
<el-button @click="handleClick(false)" type="primary">{{btnName}}</el-button>
|
|
85
85
|
</div>
|
|
86
|
+
<div v-else>
|
|
87
|
+
<el-button @click="handleBack" type="primary">返回</el-button>
|
|
88
|
+
</div>
|
|
86
89
|
</div>
|
|
87
90
|
</div>
|
|
88
91
|
|
|
@@ -130,73 +133,77 @@
|
|
|
130
133
|
handTimeOptions:[{start:'',end:''}],
|
|
131
134
|
timeList:[
|
|
132
135
|
{
|
|
133
|
-
label:'
|
|
136
|
+
label:'0时',
|
|
137
|
+
value:'0',
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
label:'1时',
|
|
134
141
|
value:'1',
|
|
135
142
|
},{
|
|
136
|
-
label:'2',
|
|
143
|
+
label:'2时',
|
|
137
144
|
value:'2',
|
|
138
145
|
},{
|
|
139
|
-
label:'3',
|
|
146
|
+
label:'3时',
|
|
140
147
|
value:'3',
|
|
141
148
|
},{
|
|
142
|
-
label:'4',
|
|
149
|
+
label:'4时',
|
|
143
150
|
value:'4',
|
|
144
151
|
},{
|
|
145
|
-
label:'5',
|
|
152
|
+
label:'5时',
|
|
146
153
|
value:'5',
|
|
147
154
|
},{
|
|
148
|
-
label:'6',
|
|
155
|
+
label:'6时',
|
|
149
156
|
value:'6',
|
|
150
157
|
},{
|
|
151
|
-
label:'7',
|
|
158
|
+
label:'7时',
|
|
152
159
|
value:'7',
|
|
153
160
|
},{
|
|
154
|
-
label:'8',
|
|
161
|
+
label:'8时',
|
|
155
162
|
value:'8',
|
|
156
163
|
},{
|
|
157
|
-
label:'9',
|
|
164
|
+
label:'9时',
|
|
158
165
|
value:'9',
|
|
159
166
|
},{
|
|
160
|
-
label:'10',
|
|
167
|
+
label:'10时',
|
|
161
168
|
value:'10',
|
|
162
169
|
},{
|
|
163
|
-
label:'11',
|
|
170
|
+
label:'11时',
|
|
164
171
|
value:'11',
|
|
165
172
|
},{
|
|
166
|
-
label:'12',
|
|
173
|
+
label:'12时',
|
|
167
174
|
value:'12',
|
|
168
175
|
},{
|
|
169
|
-
label:'13',
|
|
176
|
+
label:'13时',
|
|
170
177
|
value:'13',
|
|
171
178
|
},{
|
|
172
|
-
label:'14',
|
|
179
|
+
label:'14时',
|
|
173
180
|
value:'14',
|
|
174
181
|
},{
|
|
175
|
-
label:'15',
|
|
182
|
+
label:'15时',
|
|
176
183
|
value:'15',
|
|
177
184
|
},{
|
|
178
|
-
label:'16',
|
|
185
|
+
label:'16时',
|
|
179
186
|
value:'16',
|
|
180
187
|
},{
|
|
181
|
-
label:'17',
|
|
188
|
+
label:'17时',
|
|
182
189
|
value:'17',
|
|
183
190
|
},{
|
|
184
|
-
label:'18',
|
|
191
|
+
label:'18时',
|
|
185
192
|
value:'18',
|
|
186
193
|
},{
|
|
187
|
-
label:'19',
|
|
194
|
+
label:'19时',
|
|
188
195
|
value:'19',
|
|
189
196
|
},{
|
|
190
|
-
label:'20',
|
|
197
|
+
label:'20时',
|
|
191
198
|
value:'20',
|
|
192
199
|
},{
|
|
193
|
-
label:'21',
|
|
200
|
+
label:'21时',
|
|
194
201
|
value:'21',
|
|
195
202
|
},{
|
|
196
|
-
label:'22',
|
|
203
|
+
label:'22时',
|
|
197
204
|
value:'22',
|
|
198
205
|
},{
|
|
199
|
-
label:'23',
|
|
206
|
+
label:'23时',
|
|
200
207
|
value:'23',
|
|
201
208
|
},
|
|
202
209
|
]
|
|
@@ -243,7 +250,18 @@
|
|
|
243
250
|
let params = {};
|
|
244
251
|
params[this.keyword.role] = this.select_policy_id
|
|
245
252
|
let res = await this.getRole(params);
|
|
246
|
-
|
|
253
|
+
if(this.isView) {
|
|
254
|
+
switch (this.editType) {
|
|
255
|
+
case 'MP':
|
|
256
|
+
res.data = res.data.modify_price
|
|
257
|
+
break;
|
|
258
|
+
case 'SE':
|
|
259
|
+
res.data = res.data.select
|
|
260
|
+
break;
|
|
261
|
+
default:
|
|
262
|
+
break;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
247
265
|
//电影
|
|
248
266
|
if(this.isMovie) {
|
|
249
267
|
formData = this.setMovieForm(res.data)
|
|
@@ -635,7 +635,8 @@ export default {
|
|
|
635
635
|
{ "label": "按城市", "value": 'CITY' },
|
|
636
636
|
{ "label": "按院线", "value": 'LINE' },
|
|
637
637
|
{ "label": "按号段", "value": 'CARD' },
|
|
638
|
-
{ "label": "按影院", "value": 'CINE' }
|
|
638
|
+
{ "label": "按影院", "value": 'CINE' },
|
|
639
|
+
{ "label": "按影片", "value": 'FILM' },
|
|
639
640
|
]
|
|
640
641
|
},
|
|
641
642
|
|
|
@@ -667,6 +668,32 @@ export default {
|
|
|
667
668
|
{ required: false, message: '请选择院线', trigger: 'change' },
|
|
668
669
|
]
|
|
669
670
|
},
|
|
671
|
+
params.adjust_type === 'FILM' && {
|
|
672
|
+
label: '按影片:',
|
|
673
|
+
ele: 'xd-remote-select',
|
|
674
|
+
valueKey: 'FILM_valid_data',
|
|
675
|
+
value: params['FILM_valid_data'] || [],
|
|
676
|
+
className: 'input50',
|
|
677
|
+
placeholder: '请选择影片',
|
|
678
|
+
multiple: true,
|
|
679
|
+
collapseTags: false,
|
|
680
|
+
remoteSearch: (query, resolve) => {
|
|
681
|
+
///movie-partner/v1/{xsiteid}/film/options
|
|
682
|
+
getOptions({
|
|
683
|
+
server: 'movie-partner',
|
|
684
|
+
fn: "film",
|
|
685
|
+
path: "p2",
|
|
686
|
+
params: {
|
|
687
|
+
keyword: query,
|
|
688
|
+
},
|
|
689
|
+
}).then(res=>{
|
|
690
|
+
resolve(res.data.list)
|
|
691
|
+
})
|
|
692
|
+
},
|
|
693
|
+
rules: [
|
|
694
|
+
{ required: false, message: '请选择院线', trigger: 'change' },
|
|
695
|
+
]
|
|
696
|
+
},
|
|
670
697
|
params.adjust_type === 'CITY' && {
|
|
671
698
|
label: '按城市:',
|
|
672
699
|
placeholder: '请选择城市',
|
|
@@ -1175,6 +1175,9 @@ export default {
|
|
|
1175
1175
|
}
|
|
1176
1176
|
});
|
|
1177
1177
|
this.listForm = listForm;
|
|
1178
|
+
this.formKey = Date.now();
|
|
1179
|
+
this.status = true;
|
|
1180
|
+
this.dialogShow = true;
|
|
1178
1181
|
console.log(this.listForm, "llll");
|
|
1179
1182
|
});
|
|
1180
1183
|
} else {
|
|
@@ -1268,11 +1271,11 @@ export default {
|
|
|
1268
1271
|
}
|
|
1269
1272
|
});
|
|
1270
1273
|
this.listForm = listForm;
|
|
1274
|
+
this.formKey = Date.now();
|
|
1275
|
+
this.status = true;
|
|
1276
|
+
this.dialogShow = true;
|
|
1271
1277
|
console.log(this.listForm, "llll");
|
|
1272
1278
|
}
|
|
1273
|
-
this.dialogShow = true;
|
|
1274
|
-
this.formKey = Date.now();
|
|
1275
|
-
this.status = true;
|
|
1276
1279
|
},
|
|
1277
1280
|
funOpenAppEdit() {
|
|
1278
1281
|
let params = {
|