Commit 45a14e29 by weijiguang

修改线上url

parent 0eeca6f3
import axios from "@/libs/axios"; import axios from "@/libs/axios";
import { stringify } from "qs"; import { stringify } from "qs";
const proxy = process.env.NODE_ENV == 'development' ? "/apis" : "https://smp.sskuaixiu.com/api/order/pub-open/"; const proxy = process.env.NODE_ENV == 'development' ? "/apis" : "https://auto.bjjsycloud.com/api/";
// if(process.env.NODE_ENV == 'development') { // if(process.env.NODE_ENV == 'development') {
// console.log("dev: " + proxy); // console.log("dev: " + proxy);
// } else { // } else {
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<Row> <Row>
<Col span="24"> <Col span="24">
<FormItem label="费用项名称" prop="name"> <FormItem label="费用项名称" prop="name">
<Input v-model.trim="saveForm.name" type="text" /> <Input v-model.trim="saveForm.name" type="text" placeholder="名称"/>
</FormItem> </FormItem>
</Col> </Col>
</Row> </Row>
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<Row> <Row>
<Col span="24"> <Col span="24">
<FormItem label="金额" prop="amount"> <FormItem label="金额" prop="amount">
<Input v-model.trim="saveForm.amount" type="text" /> <Input v-model.trim="saveForm.amount" type="text" placeholder="金额"/>
</FormItem> </FormItem>
</Col> </Col>
</Row> </Row>
......
...@@ -7,14 +7,14 @@ ...@@ -7,14 +7,14 @@
<Row> <Row>
<Col span="24"> <Col span="24">
<FormItem label="品牌编码" prop="code"> <FormItem label="品牌编码" prop="code">
<Input v-model.trim="dataForm.code" type="text" /> <Input v-model.trim="dataForm.code" type="text" placeholder="编码"/>
</FormItem> </FormItem>
</Col> </Col>
</Row> </Row>
<Row> <Row>
<Col span="24"> <Col span="24">
<FormItem label="品牌名称" prop="name"> <FormItem label="品牌名称" prop="name">
<Input v-model.trim="dataForm.name" type="text" /> <Input v-model.trim="dataForm.name" type="text" placeholder="名称"/>
</FormItem> </FormItem>
</Col> </Col>
</Row> </Row>
......
...@@ -15,14 +15,14 @@ ...@@ -15,14 +15,14 @@
<Row> <Row>
<Col span="24"> <Col span="24">
<FormItem label="型号编码" prop="code"> <FormItem label="型号编码" prop="code">
<Input v-model.trim="dataForm.code" type="text" /> <Input v-model.trim="dataForm.code" type="text" placeholder="编码"/>
</FormItem> </FormItem>
</Col> </Col>
</Row> </Row>
<Row> <Row>
<Col span="24"> <Col span="24">
<FormItem label="型号名称" prop="name"> <FormItem label="型号名称" prop="name">
<Input v-model.trim="dataForm.name" type="text" /> <Input v-model.trim="dataForm.name" type="text" placeholder="名称"/>
</FormItem> </FormItem>
</Col> </Col>
</Row> </Row>
......
...@@ -4,7 +4,7 @@ module.exports = { ...@@ -4,7 +4,7 @@ module.exports = {
proxy: { proxy: {
'/apis': { '/apis': {
target: 'http://localhost:8088/', // 接口域名 target: 'http://localhost:8088/', // 接口域名
// target: 'https://smp.sskuaixiu.com/', // 接口域名 // target: 'https://auto.bjjsycloud.com/api/', // 接口域名
changeOrigin: true, //是否跨域 changeOrigin: true, //是否跨域
pathRewrite: { pathRewrite: {
'^/apis': '/' //需要rewrite重写的, '^/apis': '/' //需要rewrite重写的,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment