|
@@ -1164,7 +1164,7 @@ const getDict = () => {
|
|
|
.post("/customer/selPage", {
|
|
|
pageNum: 1,
|
|
|
pageSize: 50,
|
|
|
- userId: userInfo.user.userId,
|
|
|
+ // userId: userInfo.user.userId,
|
|
|
})
|
|
|
.then((res) => {
|
|
|
customerList.value = res.rows.map((x) => ({
|
|
@@ -1791,16 +1791,14 @@ const loadingSearch = ref(false);
|
|
|
const remoteMethod = (keyword) => {
|
|
|
if (keyword && typeof keyword === "string") {
|
|
|
loadingSearch.value = true;
|
|
|
- proxy
|
|
|
- .post("/customer/selPage", { keyword, userId: userInfo.user.userId })
|
|
|
- .then((res) => {
|
|
|
- customerList.value = res.rows.map((x) => ({
|
|
|
- ...x,
|
|
|
- label: x.name,
|
|
|
- value: x.id,
|
|
|
- }));
|
|
|
- loadingSearch.value = false;
|
|
|
- });
|
|
|
+ proxy.post("/customer/selPage", { keyword }).then((res) => {
|
|
|
+ customerList.value = res.rows.map((x) => ({
|
|
|
+ ...x,
|
|
|
+ label: x.name,
|
|
|
+ value: x.id,
|
|
|
+ }));
|
|
|
+ loadingSearch.value = false;
|
|
|
+ });
|
|
|
}
|
|
|
return;
|
|
|
};
|
|
@@ -2003,7 +2001,7 @@ watch(
|
|
|
proxy
|
|
|
.post("/customer/selPage", {
|
|
|
keyword: res.buyCorporationName,
|
|
|
- userId: userInfo.user.userId,
|
|
|
+ // userId: userInfo.user.userId,
|
|
|
})
|
|
|
.then((res) => {
|
|
|
customerList.value = res.rows.map((x) => ({
|
|
@@ -2093,7 +2091,7 @@ const selectContract = (businessId) => {
|
|
|
proxy
|
|
|
.post("/customer/selPage", {
|
|
|
keyword: res.buyCorporationName,
|
|
|
- userId: userInfo.user.userId,
|
|
|
+ // userId: userInfo.user.userId,
|
|
|
})
|
|
|
.then((res) => {
|
|
|
customerList.value = res.rows.map((x) => ({
|
|
@@ -2217,7 +2215,7 @@ const selectContract = (businessId) => {
|
|
|
proxy
|
|
|
.post("/customer/selPage", {
|
|
|
keyword: res.buyCorporationName,
|
|
|
- userId: userInfo.user.userId,
|
|
|
+ // userId: userInfo.user.userId,
|
|
|
})
|
|
|
.then((res) => {
|
|
|
customerList.value = res.rows.map((x) => ({
|