晒农产品
This commit is contained in:
		| @@ -5,6 +5,7 @@ | ||||
|       <ai-search-bar bottomBorder> | ||||
|         <template #left> | ||||
|           <ai-select v-model="search.type" clearable @change="search.current = 1, getList()" :selectList="dict.getDict('agriculturalType')"></ai-select> | ||||
|           <el-button icon="iconfont iconDelete" size="small" @click="removeAll" :disabled="ids.length == 0">删除 </el-button> | ||||
|         </template> | ||||
|         <template #right> | ||||
|           <el-input | ||||
| @@ -26,6 +27,7 @@ | ||||
|         style="margin-top: 16px;" | ||||
|         :current.sync="search.current" | ||||
|         :size.sync="search.size" | ||||
|         @selection-change="v => (ids = v.map((e) => e.id))" | ||||
|         @getList="getList"> | ||||
|         <el-table-column slot="options" width="120px" fixed="right" label="操作" align="center"> | ||||
|           <template slot-scope="{ row }"> | ||||
| @@ -67,6 +69,7 @@ | ||||
|     computed: { | ||||
|       colConfigs () { | ||||
|         return [ | ||||
|           { type: 'selection' }, | ||||
|           { prop: 'title', label: '标题' }, | ||||
|           { prop: 'type', align: 'center', label: '类型', formart: v => this.dict.getLabel('agriculturalType', v) }, | ||||
|           { prop: 'phone', align: 'center', label: '联系电话' }, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user