|
|
@@ -35,6 +35,7 @@ import {ElMessage} from "element-plus";
|
|
|
import api from "@/api";
|
|
|
|
|
|
const emits = defineEmits(['close'])
|
|
|
+const props = defineProps(['fromPage'])
|
|
|
const loading = ref(true)
|
|
|
let searchValue = ref('')
|
|
|
let list = ref([])
|
|
|
@@ -75,6 +76,7 @@ const initData = () => {
|
|
|
isMember: 2,
|
|
|
isEnable: 0,
|
|
|
salesman:searchValue.value,
|
|
|
+ fromPage:props.fromPage,
|
|
|
}).then((res: any) => {
|
|
|
if(res.code == 200) {
|
|
|
if(res.data.records) {
|