标签管理样式完成
This commit is contained in:
		| @@ -7,7 +7,8 @@ | ||||
|           <template #left> | ||||
|             <el-button type="primary" icon="iconfont iconAdd" @click="dialog=true">添加 | ||||
|             </el-button> | ||||
|             <el-button icon="iconfont iconDelete" @click="dialog=true">删除</el-button> | ||||
|             <el-button icon="iconfont iconDelete" :disabled="!search.ids" @click="handleDelete(search.ids)">删除 | ||||
|             </el-button> | ||||
|           </template> | ||||
|           <template #right> | ||||
|             <el-input size="small" placeholder="标签信息/添加人" v-model="search.title" clearable | ||||
| @@ -15,7 +16,8 @@ | ||||
|           </template> | ||||
|         </ai-search-bar> | ||||
|         <ai-table :tableData="tableData" :total="page.total" :current.sync="page.current" :size.sync="page.size" | ||||
|                   @getList="getTableData" :col-configs="colConfigs" :dict="dict"> | ||||
|                   @getList="getTableData" :col-configs="colConfigs" :dict="dict" | ||||
|                   @selection-change="v=>search.ids=v.map(e=>e.id).toString()"> | ||||
|           <el-table-column slot="options" align="center" label="操作" fixed="right" width="160px"> | ||||
|             <el-row type="flex" justify="center" align="middle" slot-scope="{row}"> | ||||
|               <el-button type="text" @click="handleEdit(row)">编辑</el-button> | ||||
| @@ -65,8 +67,8 @@ export default { | ||||
|       page: {current: 1, size: 10, total: 0}, | ||||
|       dialog: false, | ||||
|       tableData: [], | ||||
|       search: {organizationName: ""}, | ||||
|       form: {logoUrl: []}, | ||||
|       search: {name: "", ids: ""}, | ||||
|       form: {}, | ||||
|       colConfigs: [ | ||||
|         {type: "selection"}, | ||||
|         {label: "标签信息", prop: "organizationName"}, | ||||
| @@ -78,7 +80,7 @@ export default { | ||||
|   }, | ||||
|   methods: { | ||||
|     getTableData() { | ||||
|       this.instance.post("/appfinancialorganization/list", null, { | ||||
|       this.instance.post("/app/appfinancialorganization/list", null, { | ||||
|         params: {...this.page, ...this.search} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user