master
飘泊客 1 year ago
parent fc6e8f329d
commit 13a6fec31b

@ -248,6 +248,7 @@ export interface GeopoliticalCustomersSearch {
// salesmanType: number | undefined // salesmanType: number | undefined
customName?: string customName?: string
customNid?: string customNid?: string
storeId?: string
enrollStatus?: string enrollStatus?: string
// 访问时间区间的开始值 // 访问时间区间的开始值
startTime?: string startTime?: string

@ -110,9 +110,9 @@ const columns: ProColumns[] = [
dataIndex: 'enrollStatus', dataIndex: 'enrollStatus',
customRender: function ({ record }: any) { customRender: function ({ record }: any) {
if (record.enrollStatus === 0) { if (record.enrollStatus === 0) {
return h('div', '待分发') return h('div', '暂缓中')
} else if (record.enrollStatus === 1) { } else if (record.enrollStatus === 1) {
return h('div', '分发') return h('div', '分发')
} else if (record.enrollStatus === 2) { } else if (record.enrollStatus === 2) {
return h('div', '已通过') return h('div', '已通过')
} }

@ -22,9 +22,9 @@
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :xl="8" :md="12" :sm="24"> <a-col :xl="8" :md="12" :sm="24">
<a-form-item label="分发门店" name="customNid"> <a-form-item label="分发门店" name="storeId">
<a-select <a-select
v-model:value="formModel.customNid" v-model:value="formModel.storeId"
:field-names="{ label: 'storeName', value: 'id' }" :field-names="{ label: 'storeName', value: 'id' }"
:options="shopList" :options="shopList"
placeholder="请选择分发门店" placeholder="请选择分发门店"
@ -91,7 +91,7 @@ const searchTimeValue = ref<[Dayjs, Dayjs]>()
const distributeTime = ref<[Dayjs, Dayjs]>() const distributeTime = ref<[Dayjs, Dayjs]>()
const formModel = reactive<GeopoliticalCustomersSearch>({ const formModel = reactive<GeopoliticalCustomersSearch>({
customName: '', customName: '',
customNid: '', storeId: '',
enrollStatus: undefined enrollStatus: undefined
}) })

Loading…
Cancel
Save