admin_store_109

This commit is contained in:
dengbw
2023-01-09 15:01:21 +08:00
committed by lccsw
parent d25b2f6689
commit e873036d48
2 changed files with 12 additions and 2 deletions
+1
View File
@@ -122,6 +122,7 @@ class Member extends HD_Controller
$_title = '添加用户';
}
$show_info['cityList'] = $this->mdSysCity->select(['status' => 1], 'id desc', 0, 0, 'city_id,name');
$show_info['typeAry'] = $this->biz_model->type_ary();
$this->data['selectedBrands'] = $selectedBrands;
$this->data['show_info'] = $show_info;
$this->data['info'] = $info;
+11 -2
View File
@@ -69,6 +69,14 @@
</template>
</select>
</div>
<div class="am-form-group am-para-inline w150">
<select title="类型" v-model="search_info.type">
<option value="0">类型</option>
<template v-for="(v,i) in show_info.typeAry">
<option :value="i">{{v}}</option>
</template>
</select>
</div>
<div class="am-form-group fl ml10">
<a class="am-btn am-btn-success am-btn-sm w100" @click="search()">搜索</a>
</div>
@@ -144,8 +152,8 @@
selectedBrands: [],
cityAry: [],
countyAry: [],
show_info: {cityList: []},
search_info: {city_id: 0, county_id: 0}
show_info: {cityList: [], typeAry: []},
search_info: {city_id: 0, county_id: 0, type: 0}
},
computed: {},
created: function () {
@@ -246,6 +254,7 @@
dataType: 'json',
data: {
page: that.brandsThPage,
type: that.search_info.type,
city_id: that.search_info.city_id,
county_id: that.search_info.county_id
},