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