Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
52e6ca54
Commit
52e6ca54
authored
Feb 03, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://gitlab.jdshangmen.com/jiedao-app/jiedao-app-operator
into dev
parents
c21ff64b
7c7f5eed
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
12 deletions
+19
-12
file.js
src/api/infra/file.js
+1
-0
index.js
src/router/index.js
+12
-8
index.vue
src/views/system/version/index.vue
+6
-4
No files found.
src/api/infra/file.js
View file @
52e6ca54
...
@@ -21,6 +21,7 @@ export function uploadFile(data) {
...
@@ -21,6 +21,7 @@ export function uploadFile(data) {
return
request
({
return
request
({
url
:
'
/infra/file/upload
'
,
url
:
'
/infra/file/upload
'
,
method
:
'
post
'
,
method
:
'
post
'
,
timeout
:
60000
,
data
:
data
data
:
data
})
})
}
}
src/router/index.js
View file @
52e6ca54
...
@@ -4,7 +4,6 @@ import Router from 'vue-router'
...
@@ -4,7 +4,6 @@ import Router from 'vue-router'
import
Layout
from
'
@/layout
'
import
Layout
from
'
@/layout
'
Vue
.
use
(
Router
)
Vue
.
use
(
Router
)
/**
/**
* Note: 路由配置项
* Note: 路由配置项
*
*
...
@@ -256,7 +255,7 @@ export const constantRoutes = [
...
@@ -256,7 +255,7 @@ export const constantRoutes = [
path
:
'
/customerCommissionInfo/:dictId(
\\
d+)/:id(
\\
d+)?
'
,
path
:
'
/customerCommissionInfo/:dictId(
\\
d+)/:id(
\\
d+)?
'
,
component
:
(
resolve
)
=>
require
([
'
@/views/ecw/customerCommissionInfo/index
'
],
resolve
),
component
:
(
resolve
)
=>
require
([
'
@/views/ecw/customerCommissionInfo/index
'
],
resolve
),
name
:
'
customerCommissionInfo
'
,
name
:
'
customerCommissionInfo
'
,
meta
:
{
title
:
'
佣金设置
'
,
icon
:
''
,
activeMenu
:
'
/customer/customerCommissionInfo
'
},
meta
:
{
title
:
'
佣金设置
'
,
titleEn
:
'
Commission settings
'
,
icon
:
''
,
activeMenu
:
'
/customer/customerCommissionInfo
'
},
props
:
true
,
props
:
true
,
},
},
{
{
...
@@ -264,27 +263,27 @@ export const constantRoutes = [
...
@@ -264,27 +263,27 @@ export const constantRoutes = [
component
:
(
resolve
)
=>
import
(
'
@/views/ecw/customer/edit
'
),
component
:
(
resolve
)
=>
import
(
'
@/views/ecw/customer/edit
'
),
props
:
true
,
props
:
true
,
name
:
'
customerEdit
'
,
name
:
'
customerEdit
'
,
meta
:
{
title
:
'
编辑客户
'
,
icon
:
''
}
meta
:
{
title
:
'
编辑客户
'
,
titleEn
:
'
Edit Customer
'
,
icon
:
''
}
},
},
{
{
path
:
'
add-edit/:customerId(
\\
d+)
'
,
path
:
'
add-edit/:customerId(
\\
d+)
'
,
component
:
(
resolve
)
=>
import
(
'
@/views/ecw/customer/edit
'
),
component
:
(
resolve
)
=>
import
(
'
@/views/ecw/customer/edit
'
),
props
:
true
,
props
:
true
,
name
:
'
customerEdit
'
,
name
:
'
customerEdit
'
,
meta
:
{
title
:
'
新建客户
'
,
icon
:
''
}
meta
:
{
title
:
'
新建客户
'
,
titleEn
:
'
New customer
'
,
icon
:
''
}
},{
},{
path
:
'
perfect/:customerId(
\\
d+)
'
,
path
:
'
perfect/:customerId(
\\
d+)
'
,
component
:
(
resolve
)
=>
import
(
'
@/views/ecw/customer/edit
'
),
component
:
(
resolve
)
=>
import
(
'
@/views/ecw/customer/edit
'
),
props
:
true
,
props
:
true
,
name
:
'
perfect
'
,
name
:
'
perfect
'
,
meta
:
{
title
:
'
完善客户
'
,
icon
:
''
}
meta
:
{
title
:
'
完善客户
'
,
titleEn
:
'
Perfect customers
'
,
icon
:
''
}
},
},
{
{
path
:
'
query/:customerId(
\\
d+)
'
,
path
:
'
query/:customerId(
\\
d+)
'
,
component
:
(
resolve
)
=>
import
(
'
@/views/ecw/customer/query
'
),
component
:
(
resolve
)
=>
import
(
'
@/views/ecw/customer/query
'
),
props
:
true
,
props
:
true
,
name
:
'
customerQuery
'
,
name
:
'
customerQuery
'
,
meta
:
{
title
:
'
客户详情
'
,
icon
:
''
,
activeMenu
:
'
/customer/customer
'
}
meta
:
{
title
:
'
客户详情
'
,
titleEn
:
'
Customer details
'
,
icon
:
''
,
activeMenu
:
'
/customer/customer
'
}
}
}
]
]
},
},
...
@@ -299,7 +298,7 @@ export const constantRoutes = [
...
@@ -299,7 +298,7 @@ export const constantRoutes = [
component
:
(
resolve
)
=>
import
(
'
@/views/ecw/order/special
'
),
component
:
(
resolve
)
=>
import
(
'
@/views/ecw/order/special
'
),
props
:
true
,
props
:
true
,
name
:
'
order-special
'
,
name
:
'
order-special
'
,
meta
:
{
title
:
'
订单特价申请
'
,
icon
:
''
,
activeMenu
:
'
/order/index
'
}
meta
:
{
title
:
'
订单特价申请
'
,
titleEn
:
'
Order special price application
'
,
icon
:
''
,
activeMenu
:
'
/order/index
'
}
},
},
/* {
/* {
path: 'discount/:orderItemId(\\d+)',
path: 'discount/:orderItemId(\\d+)',
...
@@ -342,7 +341,7 @@ export const constantRoutes = [
...
@@ -342,7 +341,7 @@ export const constantRoutes = [
component
:
(
resolve
)
=>
require
([
'
@/views/ecw/order/associatedOrder
'
],
resolve
),
component
:
(
resolve
)
=>
require
([
'
@/views/ecw/order/associatedOrder
'
],
resolve
),
props
:
true
,
props
:
true
,
name
:
'
associatedOrder
'
,
name
:
'
associatedOrder
'
,
meta
:
{
title
:
'
关联订单
'
,
icon
:
''
,
activeMenu
:
'
/order/associatedOrder
'
,
noCache
:
true
,}
meta
:
{
title
:
'
关联订单
'
,
titleEn
:
'
Associated order
'
,
icon
:
''
,
activeMenu
:
'
/order/associatedOrder
'
,
noCache
:
true
,}
},
},
{
{
path
:
'
add-associated-order/:orderId(
\\
d+)
'
,
path
:
'
add-associated-order/:orderId(
\\
d+)
'
,
...
@@ -351,6 +350,7 @@ export const constantRoutes = [
...
@@ -351,6 +350,7 @@ export const constantRoutes = [
name
:
'
addAssociatedOrder
'
,
name
:
'
addAssociatedOrder
'
,
meta
:{
meta
:{
title
:
'
添加关联订单
'
,
title
:
'
添加关联订单
'
,
titleEn
:
'
Add associated order
'
,
icon
:
''
,
icon
:
''
,
activeMenu
:
'
/order/addAssociatedOrder
'
,
activeMenu
:
'
/order/addAssociatedOrder
'
,
noCache
:
true
,
noCache
:
true
,
...
@@ -363,6 +363,7 @@ export const constantRoutes = [
...
@@ -363,6 +363,7 @@ export const constantRoutes = [
props
:
true
,
props
:
true
,
meta
:
{
meta
:
{
title
:
'
订单互斥
'
,
title
:
'
订单互斥
'
,
titleEn
:
'
Orders are mutually exclusive
'
,
icon
:
''
,
icon
:
''
,
activeMenu
:
'
/order/mutexOrder
'
,
activeMenu
:
'
/order/mutexOrder
'
,
noCache
:
true
,
noCache
:
true
,
...
@@ -374,6 +375,7 @@ export const constantRoutes = [
...
@@ -374,6 +375,7 @@ export const constantRoutes = [
props
:
true
,
props
:
true
,
meta
:{
meta
:{
title
:
'
未加入互斥
'
,
title
:
'
未加入互斥
'
,
titleEn
:
'
Mutual exclusion is not added
'
,
icon
:
''
,
icon
:
''
,
activeMenu
:
'
/order/notMutexOrder
'
,
activeMenu
:
'
/order/notMutexOrder
'
,
noCache
:
true
,
noCache
:
true
,
...
@@ -386,6 +388,7 @@ export const constantRoutes = [
...
@@ -386,6 +388,7 @@ export const constantRoutes = [
props
:
true
,
props
:
true
,
meta
:{
meta
:{
title
:
'
调拨出仓
'
,
title
:
'
调拨出仓
'
,
titleEn
:
'
Transfer out of warehouse
'
,
icon
:
''
,
icon
:
''
,
activeMenu
:
'
order/transferWarehousing
'
,
activeMenu
:
'
order/transferWarehousing
'
,
noCache
:
true
,
noCache
:
true
,
...
@@ -398,6 +401,7 @@ export const constantRoutes = [
...
@@ -398,6 +401,7 @@ export const constantRoutes = [
props
:
true
,
props
:
true
,
meta
:{
meta
:{
title
:
'
调拨到仓
'
,
title
:
'
调拨到仓
'
,
titleEn
:
'
Transfer to warehouse
'
,
icon
:
''
,
icon
:
''
,
activeMenu
:
'
order/transferToWarehouse
'
,
activeMenu
:
'
order/transferToWarehouse
'
,
noCache
:
true
,
noCache
:
true
,
...
...
src/views/system/version/index.vue
View file @
52e6ca54
...
@@ -101,7 +101,7 @@
...
@@ -101,7 +101,7 @@
</el-form-item>
</el-form-item>
<el-form-item
v-if=
"linkType==2"
>
<el-form-item
v-if=
"linkType==2"
>
<el-upload
action=
"#"
:http-request=
"requestUpload"
:show-file-list=
"
fals
e"
:before-upload=
"beforeUpload"
>
<el-upload
action=
"#"
:http-request=
"requestUpload"
:show-file-list=
"
tru
e"
:before-upload=
"beforeUpload"
>
<el-button
size=
"small"
>
{{ $t('上传') }}
<i
class=
"el-icon-upload el-icon--right"
></i>
<el-button
size=
"small"
>
{{ $t('上传') }}
<i
class=
"el-icon-upload el-icon--right"
></i>
</el-button>
</el-button>
</el-upload>
</el-upload>
...
@@ -223,6 +223,7 @@ export default {
...
@@ -223,6 +223,7 @@ export default {
},
},
/** 表单重置 */
/** 表单重置 */
reset
()
{
reset
()
{
this
.
linkType
=
1
;
this
.
form
=
{
this
.
form
=
{
id
:
undefined
,
id
:
undefined
,
appUrl
:
undefined
,
appUrl
:
undefined
,
...
@@ -230,7 +231,6 @@ export default {
...
@@ -230,7 +231,6 @@ export default {
appVersion
:
undefined
,
appVersion
:
undefined
,
versionCode
:
undefined
,
versionCode
:
undefined
,
forceUpdate
:
undefined
,
forceUpdate
:
undefined
,
linkType
:
1
,
desp
:
undefined
,
desp
:
undefined
,
};
};
this
.
resetForm
(
"
form
"
);
this
.
resetForm
(
"
form
"
);
...
@@ -251,6 +251,7 @@ export default {
...
@@ -251,6 +251,7 @@ export default {
handleAdd
()
{
handleAdd
()
{
this
.
reset
();
this
.
reset
();
this
.
open
=
true
;
this
.
open
=
true
;
// console.log(this.form);
this
.
title
=
"
添加app版本管理
"
;
this
.
title
=
"
添加app版本管理
"
;
},
},
/** 修改按钮操作 */
/** 修改按钮操作 */
...
@@ -259,7 +260,7 @@ export default {
...
@@ -259,7 +260,7 @@ export default {
const
id
=
row
.
id
;
const
id
=
row
.
id
;
getVersion
(
id
).
then
(
response
=>
{
getVersion
(
id
).
then
(
response
=>
{
this
.
form
=
response
.
data
;
this
.
form
=
response
.
data
;
this
.
form
.
linkType
=
1
;
this
.
linkType
=
1
;
this
.
open
=
true
;
this
.
open
=
true
;
this
.
title
=
"
修改app版本管理
"
;
this
.
title
=
"
修改app版本管理
"
;
});
});
...
@@ -308,8 +309,9 @@ export default {
...
@@ -308,8 +309,9 @@ export default {
// } else {
// } else {
//上传
//上传
let
formData
=
new
FormData
();
let
formData
=
new
FormData
();
// console.log(file);
formData
.
append
(
"
file
"
,
file
);
formData
.
append
(
"
file
"
,
file
);
formData
.
append
(
"
path
"
,
this
.
uuid
());
formData
.
append
(
"
path
"
,
this
.
uuid
()
+
"
/
"
+
file
.
name
);
uploadFile
(
formData
).
then
(
response
=>
{
uploadFile
(
formData
).
then
(
response
=>
{
this
.
$set
(
this
.
form
,
'
appUrl
'
,
response
.
data
);
this
.
$set
(
this
.
form
,
'
appUrl
'
,
response
.
data
);
// this.form.img = response.data;
// this.form.img = response.data;
...
...
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