功能变化: 地区管理搜索条件过滤,fix: https://gitee.com/liqianglog/django-vue-admin/issues/I5GCS5
							parent
							
								
									6371c983fb
								
							
						
					
					
						commit
						fb69352849
					
				|  | @ -3,8 +3,9 @@ import { request } from '@/api/service' | |||
| export const urlPrefix = '/api/system/area/' | ||||
| 
 | ||||
| export function GetList (query) { | ||||
|   if (query.pcode === undefined || query.pcode === null || query.pcode.length === 0) { | ||||
|   if ((!query.pcode || query.pcode.length === 0) && !query.name && !query.code) { | ||||
|     query.level = 1 | ||||
|     delete query.pcode | ||||
|   } | ||||
|   return request({ | ||||
|     url: urlPrefix, | ||||
|  |  | |||
|  | @ -70,24 +70,6 @@ export const crudOptions = (vm) => { | |||
|       width: 100 | ||||
|     }, | ||||
|     columns: [ | ||||
|       { | ||||
|         title: '关键词', | ||||
|         key: 'search', | ||||
|         show: false, | ||||
|         disabled: true, | ||||
|         search: { | ||||
|           disabled: false | ||||
|         }, | ||||
|         form: { | ||||
|           disabled: true, | ||||
|           component: { | ||||
|             placeholder: '请输入关键词' | ||||
|           } | ||||
|         }, | ||||
|         view: { | ||||
|           disabled: true | ||||
|         } | ||||
|       }, | ||||
|       { | ||||
|         title: 'ID', | ||||
|         key: 'id', | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 李强
						李强