Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
platform
/
fanxing_new
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5c64452e
authored
Nov 23, 2021
by
罗鑫霖
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
lxl
1 parent
6f6a48e2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
16 deletions
public/js/version.json
src/api/baseUrl.js
src/views/search/xcycle.vue
public/js/version.json
View file @
5c64452
{
"commit"
:
"
4b64e700aabddfd8a3571739b1bece4194641df5"
,
"commitDate"
:
"2021-9-27 18:45"
,
"buildDate"
:
"2021-11-11 16:23"
,
"version"
:
"2.1.0"
,
"info"
:
"【BUG】存储配置导出
"
}
{
"commit"
:
"
6f6a48e2b677829ac314a8a72547c506f9546278"
,
"commitDate"
:
"2021-11-11 16:27"
,
"buildDate"
:
"2021-11-12 18:36"
,
"version"
:
"2.1.0"
,
"info"
:
"合并冲突
"
}
\ No newline at end of file
src/api/baseUrl.js
View file @
5c64452
...
...
@@ -9,10 +9,10 @@
let
baseUrl
=
"/api"
;
// 本地代理
import
axios
from
"axios"
;
switch
(
process
.
env
.
NODE_ENV
)
{
switch
(
process
.
env
.
NODE_ENV
)
{
case
"development"
:
// baseUrl = "http://192.168.9.234:20080"; // 测试环境url
baseUrl
=
window
.
config
.
https
?
"https://192.168.9.245:20070"
:
"http://123.6.38.39
:20080"
;
// 测试环境url
baseUrl
=
window
.
config
.
https
?
"https://192.168.9.245:20070"
:
"http://192.168.9.233
:20080"
;
// 测试环境url
// baseUrl = "http://192.168.9.82:8080"; // 测试环境url
// baseUrl = "http://192.168.9.61:8086";
// baseUrl = 'http://vion-panda.51vip.biz:52510';
...
...
@@ -21,9 +21,9 @@ import axios from "axios";
baseUrl
=
"https://pre-server.feleti.cn"
;
// 预上线环境url
break
;
case
"production"
:
baseUrl
=
window
.
config
.
https
?
`https://
${
location
.
host
}
`
:
`http://
${
location
.
host
}
`
;
// 生产环境url
baseUrl
=
window
.
config
.
https
?
`https://
${
location
.
host
}
`
:
`http://
${
location
.
host
}
`
;
// 生产环境url
break
;
}
}
export
default
baseUrl
;
\ No newline at end of file
src/views/search/xcycle.vue
View file @
5c64452
...
...
@@ -107,10 +107,20 @@
v-show=
"conditions.event_type == 'xcycle'"
>
<span
class=
"inputBox"
>
<el-input
placeholder=
"请输入公司名称"
<el-select
filterable
placeholder=
"请选择"
:popper-append-to-body=
"false"
v-model=
"conditions.company"
></el-input>
>
<el-option
value=
""
label=
"全部"
></el-option>
<el-option
v-for=
"item in companyList"
:value=
"item.code"
:key=
"item.code"
:label=
"item.name"
></el-option>
</el-select>
</span>
</el-form-item>
<el-form-item
...
...
@@ -192,9 +202,9 @@
<el-option
value=
""
label=
"全部"
></el-option>
<el-option
v-for=
"item in bodyColorList"
:value=
"item.
valu
e"
:key=
"item.
valu
e"
:label=
"item.
label
"
:value=
"item.
cod
e"
:key=
"item.
cod
e"
:label=
"item.
name
"
></el-option>
</el-select>
</span>
...
...
@@ -213,9 +223,9 @@
<el-option
value=
""
label=
"全部"
></el-option>
<el-option
v-for=
"item in bodyColorList"
:value=
"item.
valu
e"
:key=
"item.
valu
e"
:label=
"item.
label
"
:value=
"item.
cod
e"
:key=
"item.
cod
e"
:label=
"item.
name
"
></el-option>
</el-select>
</span>
...
...
@@ -502,6 +512,7 @@ export default {
detailObj
:
{},
carImg
:
require
(
"@/assets/img/home/defaultImg.png"
),
bodyColorList
:
this
.
$buildCode
.
getCodeList
(
"车身颜色"
),
companyList
:
this
.
$buildCode
.
getCodeList
(
"外卖公司"
),
detailImg
:
""
,
detailVisible
:
false
,
loading
:
false
,
...
...
@@ -610,7 +621,7 @@ export default {
this
.
conditions
.
task_id
+
"&subtask_id="
+
this
.
conditions
.
subtask_id
+
"&company
_like
="
+
"&company="
+
this
.
conditions
.
company
+
"&with_hats="
+
this
.
conditions
.
with_hats
+
...
...
@@ -742,7 +753,7 @@ export default {
};
if
(
this
.
conditions
.
event_type
==
"xcycle"
)
{
search_params
.
xcycle_type
=
this
.
conditions
.
xcycle_type
;
search_params
.
company
_like
=
this
.
conditions
.
company
;
search_params
.
company
=
this
.
conditions
.
company
;
search_params
.
plate_number__like
=
this
.
conditions
.
plate
;
}
else
{
search_params
.
upbodyColor
=
this
.
conditions
.
upbodyColor
;
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment