pull/2/head
qsh 4 months ago
parent 904d76208d
commit 252f23f96d
  1. 2
      src/views/Clue/Order/Comp/MallOrderList.vue
  2. 2
      src/views/Clue/Order/Comp/OrderList.vue
  3. 36
      src/views/Clue/Order/Comp/Reback.vue
  4. 12
      src/views/Clue/Pool/Comp/DialogSuccess.vue
  5. 2
      src/views/Clue/Pool/index.vue

@ -286,7 +286,7 @@ async function getCurdSchemas() {
try { try {
const data = await getSimpleFieldList() const data = await getSimpleFieldList()
data.forEach((elem) => { data.forEach((elem) => {
if (elem.field == 'createUser') { if (['createUser', 'convertPeople', 'receiver'].includes(elem.field)) {
elem.search.options = userOptions.value elem.search.options = userOptions.value
} }
}) })

@ -260,7 +260,7 @@ async function getCurdSchemas() {
try { try {
const data = await getSimpleFieldList() const data = await getSimpleFieldList()
data.forEach((elem) => { data.forEach((elem) => {
if (elem.field == 'createUser') { if (['createUser', 'convertPeople', 'receiver'].includes(elem.field)) {
elem.search.options = userOptions.value elem.search.options = userOptions.value
} }
}) })

@ -15,6 +15,26 @@
<el-option label="已驳回" :value="4" /> <el-option label="已驳回" :value="4" />
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item v-if="appStore.getAppInfo?.instanceType == 1">
<el-select v-model="searchForm.receiver" placeholder="接待人" clearable filterable>
<el-option
v-for="item in userOptions"
:key="item.id"
:label="item.nickname"
:value="item.id"
/>
</el-select>
</el-form-item>
<el-form-item v-else-if="appStore.getAppInfo?.instanceType == 2">
<el-select v-model="searchForm.convertPeople" placeholder="转化人" clearable filterable>
<el-option
v-for="item in userOptions"
:key="item.id"
:label="item.nickname"
:value="item.id"
/>
</el-select>
</el-form-item>
<el-form-item> <el-form-item>
<el-select v-model="searchForm.signUser" placeholder="登记人" clearable filterable> <el-select v-model="searchForm.signUser" placeholder="登记人" clearable filterable>
<el-option <el-option
@ -76,6 +96,18 @@
<el-table-column prop="phone" label="联系方式" min-width="150px" /> <el-table-column prop="phone" label="联系方式" min-width="150px" />
<el-table-column prop="money" label="回款金额" min-width="90" /> <el-table-column prop="money" label="回款金额" min-width="90" />
<el-table-column prop="isPayoff" label="是否结清" min-width="90" /> <el-table-column prop="isPayoff" label="是否结清" min-width="90" />
<el-table-column
v-if="appStore.getAppInfo?.instanceType == 1"
prop="receiverName"
label="接待人"
min-width="90"
/>
<el-table-column
v-else-if="appStore.getAppInfo?.instanceType == 2"
prop="convertPeopleName"
label="转化人"
min-width="90"
/>
<el-table-column prop="signUserName" label="登记人" min-width="90" /> <el-table-column prop="signUserName" label="登记人" min-width="90" />
<el-table-column <el-table-column
prop="dealDate" prop="dealDate"
@ -142,10 +174,12 @@ import DialogFeebackDetail from './DialogFeebackDetail.vue'
import DialogBatchAudit from './DialogBatchAudit.vue' import DialogBatchAudit from './DialogBatchAudit.vue'
import { removeNullField } from '@/utils' import { removeNullField } from '@/utils'
import { useAppStore } from '@/store/modules/app'
import { dateFormatter } from '@/utils/formatTime' import { dateFormatter } from '@/utils/formatTime'
const userStore = useUserStore() const userStore = useUserStore()
const message = useMessage() // const message = useMessage() //
const appStore = useAppStore()
const feebackDialog = ref() const feebackDialog = ref()
@ -176,6 +210,8 @@ function handleSearch() {
function handleReset() { function handleReset() {
searchForm.value = { searchForm.value = {
signId: undefined, signId: undefined,
receiver: undefined,
convertPeople: undefined,
name: undefined, name: undefined,
dealDate: [], dealDate: [],
state: undefined, state: undefined,

@ -129,18 +129,6 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8" :offset="0" v-if="appStore.getAppInfo?.instanceType == 2">
<el-form-item label="转化人" prop="convertPeople">
<el-select v-model="form.convertPeople" placeholder="选择转化人" clearable filterable>
<el-option
v-for="item in userOptions"
:key="item.id"
:label="item.nickname"
:value="item.id"
/>
</el-select>
</el-form-item>
</el-col>
<el-col <el-col
:span="8" :span="8"
:offset="0" :offset="0"

@ -214,7 +214,7 @@ async function getCurdSchemas() {
try { try {
const data = await getSimpleFieldList() const data = await getSimpleFieldList()
data.forEach((elem) => { data.forEach((elem) => {
if (elem.field == 'followUser') { if (elem.field == 'followUser' || elem.field == 'convertPeople') {
elem.search.options = userOptions.value elem.search.options = userOptions.value
} }
}) })

Loading…
Cancel
Save