更新
This commit is contained in:
@@ -31,12 +31,12 @@ const getCascaderList = () => {
|
||||
return request.get("/oil-finance/internalCompany/getCascaderList");
|
||||
};
|
||||
//公司 远程搜索
|
||||
const getLikeByNameSuccess = (params) => {
|
||||
return request.postJson(
|
||||
"/oil-user/oilCompanyInfo/getLikeByNameSuccess",
|
||||
params
|
||||
);
|
||||
};
|
||||
// const getLikeByNameSuccess = (params) => {
|
||||
// return request.postJson(
|
||||
// "/oil-user/oilCompanyInfo/getLikeByNameSuccess",
|
||||
// params
|
||||
// );
|
||||
// };
|
||||
|
||||
export default {
|
||||
getByPage,
|
||||
@@ -45,5 +45,5 @@ export default {
|
||||
save,
|
||||
update,
|
||||
getCascaderList,
|
||||
getLikeByNameSuccess,
|
||||
// getLikeByNameSuccess,
|
||||
};
|
||||
|
||||
@@ -352,6 +352,7 @@ export default {
|
||||
},
|
||||
//table list
|
||||
getByPage() {
|
||||
this.parameter.params["companyType"] = "4";
|
||||
serve.getByPage(this.parameter).then((res) => {
|
||||
this.tableData = res.data.list;
|
||||
this.parameter.total = res.data.totalCount;
|
||||
|
||||
@@ -139,6 +139,7 @@
|
||||
|
||||
<script>
|
||||
import serve from "api/financialCenter/enterpriseRecharge.js";
|
||||
import commonServe from "api/common.js";
|
||||
|
||||
import autocomplete from "components/autocomplete/index.vue";
|
||||
|
||||
@@ -178,7 +179,7 @@ export default {
|
||||
companyFinance: {},
|
||||
form: {},
|
||||
configAutocomplete: {
|
||||
serveTarget: serve.getLikeByNameSuccess,
|
||||
serveTarget: commonServe.getRefineryCompanyList,
|
||||
autocompleteKey: "name",
|
||||
labelKey: "name",
|
||||
valueKey: "id",
|
||||
@@ -305,7 +306,7 @@ export default {
|
||||
this.$refs["form"].validate((valid) => {
|
||||
if (valid) {
|
||||
let params = { transactionType: "RECHARGE", ...this.form };
|
||||
this.judgeInterface(this.form).then((res) => {
|
||||
this.judgeInterface(params).then((res) => {
|
||||
this.$message.success(res.msg);
|
||||
this.closeWindow();
|
||||
});
|
||||
|
||||
@@ -114,7 +114,7 @@ export default {
|
||||
companyInfo: {},
|
||||
form: {},
|
||||
configAutocomplete: {
|
||||
serveTarget: serve.getLikeByNameSuccess,
|
||||
serveTarget: commonServe.getRefineryCompanyList,
|
||||
autocompleteKey: "name",
|
||||
labelKey: "name",
|
||||
valueKey: "id",
|
||||
|
||||
@@ -518,7 +518,7 @@ export default {
|
||||
},
|
||||
//table list
|
||||
getByPage() {
|
||||
// this.parameter.params.companyAccountType = "4";
|
||||
this.parameter.params["companyAccountType"] = "4";
|
||||
serve.getByPage(this.parameter).then((res) => {
|
||||
this.tableData = res.data.list;
|
||||
this.parameter.total = res.data.totalCount;
|
||||
|
||||
@@ -349,7 +349,7 @@ export default {
|
||||
},
|
||||
//table list
|
||||
getByPage() {
|
||||
// this.parameter.params.companyAccountType = "4";
|
||||
this.parameter.params["companyAccountType"] = "4";
|
||||
serve.getByPage(this.parameter).then((res) => {
|
||||
this.tableData = res.data.list;
|
||||
this.parameter.total = res.data.totalCount;
|
||||
|
||||
@@ -29,7 +29,7 @@ module.exports = {
|
||||
[process.env.VUE_APP_BASE_API]: {
|
||||
// target: `https://3816t6291y.oicp.vip`,
|
||||
// target: 'https://6l438d1757.zicp.fun',
|
||||
target: "http://192.168.110.10:38080",
|
||||
target: "http://192.168.110.230:38080",
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
["^" + process.env.VUE_APP_BASE_API]: "",
|
||||
|
||||
Reference in New Issue
Block a user