| | |
| | | /> |
| | | </a-form-item> |
| | | <a-form-item label="客户类型"> |
| | | <j-dict-select-tag |
| | | <a-select |
| | | style="width: 180px" |
| | | v-model="queryParam.clientType" |
| | | placeholder="请选择" |
| | | dictCode="client_type" |
| | | /> |
| | | allowClear |
| | | > |
| | | <a-select-option v-for="item in clientTypeOptions" :key="item.id" :value="item.id"> |
| | | {{ item.clientName }} |
| | | </a-select-option> |
| | | </a-select> |
| | | </a-form-item> |
| | | <!-- <a-select style="width: 180px" allowClear v-model="queryParam.clientType" placeholder="请选择客户类型"> |
| | | <a-select-option :value="1"> 普通客户 </a-select-option> |
| | | <a-select-option :value="2"> 潜在客户 </a-select-option> |
| | |
| | | description: 'CarInfo列表', |
| | | queryParam: {}, |
| | | tagList: [], //所有标签集合 |
| | | clientTypeOptions: [], //客户类型列表 |
| | | // 表头 |
| | | columns: [ |
| | | { |
| | |
| | | }, |
| | | |
| | | methods: { |
| | | // 获取客户类型列表 |
| | | getClientTypeOptions() { |
| | | getAction('/jyz/client/listClientType').then((res) => { |
| | | if (res.code === 200) { |
| | | this.clientTypeOptions = res.result |
| | | } |
| | | }) |
| | | }, |
| | | delSlectTag(item) { |
| | | console.log(item) |
| | | let index = this.selectTagList.findIndex((el) => el == item) |
| | |
| | | this.queryParam.orgCode = node.node.dataRef.orgCode |
| | | this.loadData() |
| | | }, |
| | | // 获取客户类型列表 |
| | | getClientTypeOptions() { |
| | | getAction('/jyz/client/listClientType').then((res) => { |
| | | if (res.code === 200) { |
| | | this.clientTypeOptions = res.result |
| | | } |
| | | }) |
| | | }, |
| | | }, |
| | | |
| | | created() { |
| | | this.getTagInfo(true) |
| | | this.getClientTypeOptions() |
| | | }, |
| | | } |
| | | </script> |