Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tsndu-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
魏吉光
tsndu-web
Commits
45a14e29
Commit
45a14e29
authored
Nov 06, 2020
by
weijiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改线上url
parent
0eeca6f3
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
8 deletions
+8
-8
src/api/request_methods.js
+1
-1
src/view/data/fee/add/index.vue
+2
-2
src/view/data/model/addBrand/index.vue
+2
-2
src/view/data/model/addModel/index.vue
+2
-2
vue.config.js
+1
-1
No files found.
src/api/request_methods.js
View file @
45a14e29
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 {
...
...
src/view/data/fee/add/index.vue
View file @
45a14e29
...
@@ -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>
...
...
src/view/data/model/addBrand/index.vue
View file @
45a14e29
...
@@ -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>
...
...
src/view/data/model/addModel/index.vue
View file @
45a14e29
...
@@ -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>
...
...
vue.config.js
View file @
45a14e29
...
@@ -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重写的,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment