|
@@ -99,7 +99,7 @@
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
import { ref, reactive, onMounted, inject } from "vue";
|
|
|
-import { MOD, GETSYSFILED, GETPERSONNEL } from './api.ts'
|
|
|
+import { MOD, GETSYSFILED, GETPERSONNEL, URL_TABLELIST } from './api.ts'
|
|
|
import { getAllListByCode, getFromValue, resetFromValue, getFirstDayOfMonth, getLastDayOfMonth, formatDate } from '@/utils/tools'
|
|
|
import { post, get } from "@/utils/request";
|
|
|
import { useRouter, useRoute } from "vue-router";
|
|
@@ -151,6 +151,7 @@ const customerCriteriaForm = reactive<customerCriteriaFormType>({ // 筛选条
|
|
|
pageIndex: 1,
|
|
|
pageFrom: 10
|
|
|
})
|
|
|
+const clueTableTotal = ref(0)
|
|
|
const allLoading = reactive({
|
|
|
clueTableLading: false,
|
|
|
})
|
|
@@ -193,7 +194,13 @@ function toCustomerTableDetail(_row: any) {
|
|
|
|
|
|
function getClueTable() {
|
|
|
let valueForm = getFromValue(customerCriteriaForm)
|
|
|
- console.log(valueForm, '<=== valueForm')
|
|
|
+ post(URL_TABLELIST, { ...valueForm}).then((res) => {
|
|
|
+ const { data, total } = res.data
|
|
|
+ clueTable.value = data
|
|
|
+ clueTableTotal.value = total
|
|
|
+ }).finally(() => {
|
|
|
+
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
async function getSystemField() {
|