fixed
This commit is contained in:
@@ -138,6 +138,8 @@ class Clues extends HD_Controller
|
||||
!$params['city_id_admin'] && $params['city_id_admin'] = '';
|
||||
!$params['county_id_admin'] && $params['county_id_admin'] = '';
|
||||
!$params['biz_id_admin'] && $params['biz_id_admin'] = '';
|
||||
!$params['brand_id'] && $params['brand_id'] = 0;
|
||||
!$params['series_id'] && $params['series_id'] = 0;
|
||||
|
||||
$count = $this->clues_model->count($where);
|
||||
$lists = [];
|
||||
|
||||
@@ -302,9 +302,7 @@
|
||||
that.cfroms2 = <?=json_encode($cfromAry2, JSON_UNESCAPED_UNICODE)?>;
|
||||
that.init_provinces();
|
||||
that.init_brands();
|
||||
if (that.info.series_id) {
|
||||
that.get_series()
|
||||
}
|
||||
that.get_series();
|
||||
},
|
||||
computed: {},
|
||||
created: function () {
|
||||
|
||||
@@ -129,9 +129,7 @@
|
||||
this.cfromAry = <?=json_encode($cfromAry, JSON_UNESCAPED_UNICODE)?>;
|
||||
this.action = "<?=$action?>";
|
||||
this.init_brands();
|
||||
if (this.info.series_id) {
|
||||
this.get_series()
|
||||
}
|
||||
this.get_series();
|
||||
},
|
||||
methods: {
|
||||
init_brands: function () {
|
||||
|
||||
@@ -303,9 +303,7 @@
|
||||
this.cfroms = <?=json_encode($cfromAry, JSON_UNESCAPED_UNICODE)?>;
|
||||
this.cfroms2 = <?=json_encode($cfromAry2, JSON_UNESCAPED_UNICODE)?>;
|
||||
this.init_brands();
|
||||
if (this.series_id) {
|
||||
this.get_series()
|
||||
}
|
||||
this.get_series();
|
||||
},
|
||||
methods: {
|
||||
init_brands: function () {
|
||||
|
||||
@@ -462,9 +462,7 @@
|
||||
vm.show_info = <?=json_encode($show_info)?>;
|
||||
vm.export_button = <?=$export_button?>;
|
||||
vm.init_brands();
|
||||
if (vm.params.series_id) {
|
||||
vm.get_series()
|
||||
}
|
||||
vm.get_series()
|
||||
},
|
||||
methods: {
|
||||
init_brands: function () {
|
||||
@@ -677,8 +675,8 @@
|
||||
that.params.county_id_admin = '';
|
||||
that.params.of_id = '';
|
||||
that.params.of2_id = '';
|
||||
that.params.brand_id = '';
|
||||
that.params.series_id = '';
|
||||
that.params.brand_id = 0;
|
||||
that.params.series_id = 0;
|
||||
$('#id_tags').val('');
|
||||
$('#id_tagsIntention').val('');
|
||||
$('#id_tagsDefeat').val('');
|
||||
|
||||
Reference in New Issue
Block a user