diff --git a/src/views/Clue/Order/Comp/Reback.vue b/src/views/Clue/Order/Comp/Reback.vue
index cbc2026..92ec83c 100644
--- a/src/views/Clue/Order/Comp/Reback.vue
+++ b/src/views/Clue/Order/Comp/Reback.vue
@@ -18,22 +18,83 @@
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
{{ row.isPayoff }}
+
+
+
+
import * as FeebackApi from '@/api/clue/payment'
import { getSimpleUserList as getUserOption, getAllUserList } from '@/api/system/user'
+import { getPlaceList } from '@/api/school/place'
+import { getClassTypeList } from '@/api/school/class'
+import { DICT_TYPE, getDictOptions } from '@/utils/dict'
import { useUserStore } from '@/store/modules/user'
import DialogFeebackAudit from './DialogFeebackAudit.vue'
@@ -352,6 +440,13 @@ const searchForm = ref({
const userOptions = ref([])
const allUserOptions = ref([])
+const schoolOptions = ref([])
+const allPlaceOptions = ref([])
+
+const placeOptions = computed(() => {
+ return allPlaceOptions.value.filter((it) => it.schoolId == searchForm.value.signSchool)
+})
+
const tableList = ref([])
const total = ref(0)
@@ -373,11 +468,30 @@ function handleReset() {
applyUser: undefined,
checkTime: [],
mobile: undefined,
+ signSchool: undefined,
+ signPlace: undefined,
+ signClass: undefined,
pageNo: 1,
pageSize: 20
}
}
+function changeSchool() {
+ searchForm.value.signPlace = undefined
+ searchForm.value.signClass = undefined
+}
+
+function changePlace() {
+ searchForm.value.signClass = undefined
+ getClassTypeOptions()
+}
+
+const classOptions = ref([])
+async function getClassTypeOptions() {
+ const data = await getClassTypeList({ placeId: searchForm.value.signPlace, status: 0 })
+ classOptions.value = data
+}
+
const totalInfo = ref({})
const loading = ref(false)
async function getList() {
@@ -428,6 +542,11 @@ function handleAudit(row) {
}
function getOptions() {
+ // 驾校
+ getPlaceList({ placeStatus: 0, schoolStatus: 0, isSearchSchool: true }).then((data) => {
+ schoolOptions.value = data.schoolList
+ allPlaceOptions.value = data.placeList
+ })
getUserOption().then((data) => {
userOptions.value = data
})
diff --git a/src/views/Clue/Set/Comp/DialogSource.vue b/src/views/Clue/Set/Comp/DialogSource.vue
index 02c22a1..5ada67f 100644
--- a/src/views/Clue/Set/Comp/DialogSource.vue
+++ b/src/views/Clue/Set/Comp/DialogSource.vue
@@ -24,8 +24,8 @@
-
-
+
+
总价
单价
@@ -56,7 +56,7 @@
线索成本
添加年份
-
+
{
status: 0,
sort: 1,
remark: '',
- mode: 0,
- priceVOList: []
+ costModel: 0,
+ sourceCostVOS: []
}
formRef.value?.resetFields()
}
@@ -172,17 +172,17 @@ const resetForm = () => {
function handleAddPrice() {
const obj = {
year: undefined,
- monthTargetVOList: []
+ monthData: []
}
for (let i = 1; i <= 12; i++) {
- obj.monthTargetVOList.push({
+ obj.monthData.push({
month: i,
- targetPrice: undefined
+ costMoney: undefined
})
}
- if (!formData.value.priceVOList) {
- formData.value.priceVOList = []
+ if (!formData.value.sourceCostVOS) {
+ formData.value.sourceCostVOS = []
}
- formData.value.priceVOList.push(obj)
+ formData.value.sourceCostVOS.push(obj)
}