Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform-ui
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform-ui
Commits
b0702595
Commit
b0702595
authored
Aug 06, 2019
by
denghr
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'base-modify' of
http://113.105.137.151:22280/youjj/cloud-platform-ui
into base-modify
parents
e0031c65
215fc934
Changes
18
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
60 additions
and
50 deletions
+60
-50
index.vue
src/views/admin/appUser/index.vue
+1
-1
index.vue
src/views/appManagement/appVersion/index.vue
+0
-1
index.vue
src/views/appManagement/modalManagement/index.vue
+2
-2
index.vue
src/views/appManagement/selectedActivities/index.vue
+2
-2
bannerSetting.vue
src/views/baseInfo/bannerSetting.vue
+1
-1
campsiteLabel.vue
src/views/campsiteManage/campsiteLabel.vue
+1
-1
oneCampsiteModal.vue
src/views/campsiteManage/modal/oneCampsiteModal.vue
+3
-2
cunponManagement.vue
src/views/cunponManagements/cunponManagement.vue
+1
-1
index.vue
src/views/member/info/index.vue
+2
-2
editorTool.vue
src/views/modal/editorTool.vue
+2
-1
illegalModal.vue
src/views/order/rentVehicleInfo/illegalModal.vue
+3
-2
oneTourModal.vue
src/views/tourManage/modal/oneTourModal.vue
+3
-2
tourLabel.vue
src/views/tourManage/tourLabel.vue
+3
-3
index.vue
src/views/userManagement/memberManagement/index.vue
+1
-1
accItemSelector.vue
src/views/vehicle/accompanyingItem/accItemSelector.vue
+2
-2
index.vue
src/views/vehicle/bookRecord/index.vue
+4
-3
oneType.vue
src/views/vehicleType/modal/oneType.vue
+11
-5
ueditor.config.js
static/utf8-jsp/ueditor.config.js
+18
-18
No files found.
src/views/admin/appUser/index.vue
View file @
b0702595
...
@@ -76,7 +76,7 @@
...
@@ -76,7 +76,7 @@
</el-form-item>
</el-form-item>
<el-form-item
label=
"数据权限"
prop=
"dataState"
>
<el-form-item
label=
"数据权限"
prop=
"dataState"
>
<el-checkbox-group
v-model=
"form.dataLimit"
>
<el-checkbox-group
v-model=
"form.dataLimit"
>
<el-checkbox
v-for=
"item in dataOptions"
:label=
"item.id"
>
{{item.val}}
</el-checkbox>
<el-checkbox
v-for=
"item in dataOptions"
:label=
"item.id"
:key=
"item"
>
{{item.val}}
</el-checkbox>
</el-checkbox-group>
</el-checkbox-group>
</el-form-item>
</el-form-item>
<el-form-item
label=
"描述"
>
<el-form-item
label=
"描述"
>
...
...
src/views/appManagement/appVersion/index.vue
View file @
b0702595
...
@@ -238,7 +238,6 @@
...
@@ -238,7 +238,6 @@
},
},
listLoading
:
true
,
listLoading
:
true
,
tableKey
:
0
,
tableKey
:
0
,
BASE_API
:
process
.
env
.
BASE_API
,
query
:
{
query
:
{
limit
:
10
,
limit
:
10
,
page
:
1
,
page
:
1
,
...
...
src/views/appManagement/modalManagement/index.vue
View file @
b0702595
...
@@ -95,7 +95,7 @@
...
@@ -95,7 +95,7 @@
<el-form-item
label=
"弹窗图片"
prop=
"background"
:style=
"{display:'block'}"
>
<el-form-item
label=
"弹窗图片"
prop=
"background"
:style=
"{display:'block'}"
>
<el-upload
<el-upload
class=
"avatar-uploader"
class=
"avatar-uploader"
:action=
"
'https://xxtest.upyuns.com
/api/universal/file/app/unauth/admin/upload'"
:action=
"
BASE_API+'
/api/universal/file/app/unauth/admin/upload'"
:show-file-list=
"false"
:show-file-list=
"false"
:headers=
"getHeaderWithToken"
:headers=
"getHeaderWithToken"
:on-success=
"handleAvatarSuccess"
>
:on-success=
"handleAvatarSuccess"
>
...
@@ -106,7 +106,7 @@
...
@@ -106,7 +106,7 @@
<el-form-item
label=
"按钮图片"
prop=
"buttonImages"
:style=
"{display:'block'}"
>
<el-form-item
label=
"按钮图片"
prop=
"buttonImages"
:style=
"{display:'block'}"
>
<el-upload
<el-upload
class=
"avatar-uploader"
class=
"avatar-uploader"
:action=
"
'https://xxtest.upyuns.com
/api/universal/file/app/unauth/admin/upload'"
:action=
"
BASE_API+'
/api/universal/file/app/unauth/admin/upload'"
:show-file-list=
"false"
:show-file-list=
"false"
:headers=
"getHeaderWithToken"
:headers=
"getHeaderWithToken"
:on-success=
"handleBtnSuccess"
>
:on-success=
"handleBtnSuccess"
>
...
...
src/views/appManagement/selectedActivities/index.vue
View file @
b0702595
...
@@ -87,7 +87,7 @@
...
@@ -87,7 +87,7 @@
<el-form-item
label=
"图片"
prop=
"picture"
:style=
"{display:'block'}"
>
<el-form-item
label=
"图片"
prop=
"picture"
:style=
"{display:'block'}"
>
<el-upload
<el-upload
class=
"avatar-uploader"
class=
"avatar-uploader"
:action=
"
'https://xxtest.upyuns.com
/api/universal/file/app/unauth/admin/upload'"
:action=
"
BASE_API+'
/api/universal/file/app/unauth/admin/upload'"
:show-file-list=
"false"
:show-file-list=
"false"
:headers=
"getHeaderWithToken"
:headers=
"getHeaderWithToken"
:on-success=
"handleAvatarSuccess"
>
:on-success=
"handleAvatarSuccess"
>
...
@@ -521,7 +521,7 @@
...
@@ -521,7 +521,7 @@
}
}
});
});
})
})
},
},
}
}
}
}
...
...
src/views/baseInfo/bannerSetting.vue
View file @
b0702595
...
@@ -77,7 +77,7 @@
...
@@ -77,7 +77,7 @@
<el-form-item
label=
"banner图"
prop=
"cover"
:style=
"{display:'block'}"
>
<el-form-item
label=
"banner图"
prop=
"cover"
:style=
"{display:'block'}"
>
<el-upload
<el-upload
class=
"avatar-uploader"
class=
"avatar-uploader"
:action=
"
'https://xxtest.upyuns.com
/api/universal/file/app/unauth/admin/upload'"
:action=
"
BASE_API+'
/api/universal/file/app/unauth/admin/upload'"
:show-file-list=
"false"
:show-file-list=
"false"
:headers=
"getHeaderWithToken"
:headers=
"getHeaderWithToken"
:on-success=
"handleAvatarSuccess"
>
:on-success=
"handleAvatarSuccess"
>
...
...
src/views/campsiteManage/campsiteLabel.vue
View file @
b0702595
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
<el-form-item
label=
"标签底图"
:style=
"{display:'block'}"
>
<el-form-item
label=
"标签底图"
:style=
"{display:'block'}"
>
<el-upload
<el-upload
class=
"avatar-uploader"
class=
"avatar-uploader"
:action=
"
'https://xxtest.upyuns.com
/api/universal/file/app/unauth/admin/upload'"
:action=
"
BASE_API+'
/api/universal/file/app/unauth/admin/upload'"
:show-file-list=
"false"
:show-file-list=
"false"
:headers=
"getHeaderWithToken"
:headers=
"getHeaderWithToken"
:on-success=
"handleAvatarSuccess"
>
:on-success=
"handleAvatarSuccess"
>
...
...
src/views/campsiteManage/modal/oneCampsiteModal.vue
View file @
b0702595
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
<el-upload
<el-upload
class=
"upload-demo"
class=
"upload-demo"
:headers=
"getHeaderWithToken"
:headers=
"getHeaderWithToken"
action=
"https://xxtest.upyuns.com/api/universal/file/app/unauth/admin/upload
"
:action=
"BASE_API+'/api/universal/file/app/unauth/admin/upload'
"
:show-file-list=
"false"
:show-file-list=
"false"
:on-success=
"handleAvatarSuccess"
:on-success=
"handleAvatarSuccess"
list-type=
"picture"
>
list-type=
"picture"
>
...
@@ -67,7 +67,7 @@
...
@@ -67,7 +67,7 @@
<el-upload
<el-upload
class=
"upload-demo"
class=
"upload-demo"
:headers=
"getHeaderWithToken"
:headers=
"getHeaderWithToken"
action=
"https://xxtest.upyuns.com/api/universal/file/app/unauth/admin/upload
"
:action=
"BASE_API+'/api/universal/file/app/unauth/admin/upload'
"
:on-remove=
"handleRemove"
:on-remove=
"handleRemove"
:file-list=
"fileList2"
:file-list=
"fileList2"
:on-success=
"handleBannerSuccess"
:on-success=
"handleBannerSuccess"
...
@@ -155,6 +155,7 @@
...
@@ -155,6 +155,7 @@
},
},
data
()
{
data
()
{
return
{
return
{
BASE_API
:
process
.
env
.
BASE_API
,
defaultMsg
:
'这里是UE测试'
,
defaultMsg
:
'这里是UE测试'
,
config
:
{
config
:
{
initialFrameWidth
:
null
,
initialFrameWidth
:
null
,
...
...
src/views/cunponManagements/cunponManagement.vue
View file @
b0702595
...
@@ -153,7 +153,7 @@
...
@@ -153,7 +153,7 @@
<el-upload
<el-upload
class=
"upload-demo"
class=
"upload-demo"
:headers=
"getHeaderWithToken"
:headers=
"getHeaderWithToken"
action=
"https://xxtest.upyuns.com/api/universal/file/app/unauth/admin/upload
"
:action=
"BASE_API+'/api/universal/file/app/unauth/admin/upload'
"
:show-file-list=
"false"
:show-file-list=
"false"
:on-success=
"handleAvatarSuccess"
:on-success=
"handleAvatarSuccess"
list-type=
"picture"
>
list-type=
"picture"
>
...
...
src/views/member/info/index.vue
View file @
b0702595
...
@@ -121,7 +121,7 @@
...
@@ -121,7 +121,7 @@
</el-table-column>
</el-table-column>
<el-table-column
width=
"150"
align=
"center"
label=
"家庭成员"
>
<el-table-column
width=
"150"
align=
"center"
label=
"家庭成员"
>
<
template
scope=
"scope"
>
<
template
scope=
"scope"
>
<el-row
v-for=
"item in scope.row.family"
>
<el-row
v-for=
"item in scope.row.family"
:key=
"item"
>
{{
item
.
name
}}
-
{{
item
.
relationship
}}
{{
item
.
name
}}
-
{{
item
.
relationship
}}
</el-row>
</el-row>
</
template
>
</
template
>
...
@@ -232,7 +232,7 @@
...
@@ -232,7 +232,7 @@
</el-form-item>
</el-form-item>
<el-form-item
label=
"家庭成员"
prop=
"family"
>
<el-form-item
label=
"家庭成员"
prop=
"family"
>
<el-row
v-for=
"(item, index) in form.family"
>
<el-row
v-for=
"(item, index) in form.family"
:key=
"item"
>
<el-col
:span=
"9"
>
<el-col
:span=
"9"
>
<el-input
v-model=
"item.name"
placeholder=
"成员名称"
></el-input>
<el-input
v-model=
"item.name"
placeholder=
"成员名称"
></el-input>
</el-col>
</el-col>
...
...
src/views/modal/editorTool.vue
View file @
b0702595
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<!-- 图片上传组件辅助-->
<!-- 图片上传组件辅助-->
<el-upload
<el-upload
class=
"avatar-uploader"
class=
"avatar-uploader"
:action=
"
'https://xxtest.upyuns.com
/api/universal/file/app/unauth/admin/upload'"
:action=
"
BASE_API+'
/api/universal/file/app/unauth/admin/upload'"
:show-file-list=
"false"
:show-file-list=
"false"
:headers=
"getHeaderWithToken"
:headers=
"getHeaderWithToken"
:before-upload=
"beforeUpload"
:before-upload=
"beforeUpload"
...
@@ -79,6 +79,7 @@
...
@@ -79,6 +79,7 @@
data
()
{
data
()
{
return
{
return
{
BASE_API
:
process
.
env
.
BASE_API
,
content
:
this
.
value
,
content
:
this
.
value
,
quillUpdateImg
:
false
,
// 根据图片上传状态来确定是否显示loading动画,刚开始是false,不显示
quillUpdateImg
:
false
,
// 根据图片上传状态来确定是否显示loading动画,刚开始是false,不显示
quill
:
undefined
,
quill
:
undefined
,
...
...
src/views/order/rentVehicleInfo/illegalModal.vue
View file @
b0702595
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
<el-col>
<el-col>
<el-form-item
label=
"违章截图"
:style=
"
{display:'block'}">
<el-form-item
label=
"违章截图"
:style=
"
{display:'block'}">
<!--
<el-upload-->
<!--
<el-upload-->
<!--
action="https://xxtest.upyuns.com/api/universal/file/app/unauth/admin/upload
"-->
<!--
:action="BASE_API+'/api/universal/file/app/unauth/admin/upload'
"-->
<!--list-type="picture-card"-->
<!--list-type="picture-card"-->
<!--:headers="getHeaderWithToken"-->
<!--:headers="getHeaderWithToken"-->
<!--:on-success="handleSuccess"-->
<!--:on-success="handleSuccess"-->
...
@@ -70,7 +70,7 @@
...
@@ -70,7 +70,7 @@
<el-upload
<el-upload
class=
"upload-demo"
class=
"upload-demo"
:headers=
"getHeaderWithToken"
:headers=
"getHeaderWithToken"
action=
"https://xxtest.upyuns.com/api/universal/file/app/unauth/admin/upload
"
:action=
"BASE_API+'/api/universal/file/app/unauth/admin/upload'
"
:on-remove=
"handleRemove"
:on-remove=
"handleRemove"
:file-list=
"fileList2"
:file-list=
"fileList2"
:on-success=
"handleSuccess"
:on-success=
"handleSuccess"
...
@@ -126,6 +126,7 @@
...
@@ -126,6 +126,7 @@
},
},
data
()
{
data
()
{
return
{
return
{
BASE_API
:
process
.
env
.
BASE_API
,
price
:
undefined
,
//违章罚款金额
price
:
undefined
,
//违章罚款金额
isVisible
:
false
,
isVisible
:
false
,
fileList2
:[],
//违章截图
fileList2
:[],
//违章截图
...
...
src/views/tourManage/modal/oneTourModal.vue
View file @
b0702595
...
@@ -138,7 +138,7 @@
...
@@ -138,7 +138,7 @@
<el-upload
<el-upload
class=
"upload-demo"
class=
"upload-demo"
:headers=
"getHeaderWithToken"
:headers=
"getHeaderWithToken"
action=
"https://xxtest.upyuns.com/api/universal/file/app/unauth/admin/upload
"
:action=
"BASE_API+'/api/universal/file/app/unauth/admin/upload'
"
:show-file-list=
"false"
:show-file-list=
"false"
:on-success=
"handleAvatarSuccess"
:on-success=
"handleAvatarSuccess"
:on-progress=
"uploadProcess"
:on-progress=
"uploadProcess"
...
@@ -152,7 +152,7 @@
...
@@ -152,7 +152,7 @@
<el-upload
<el-upload
class=
"upload-demo"
class=
"upload-demo"
:headers=
"getHeaderWithToken"
:headers=
"getHeaderWithToken"
action=
"https://xxtest.upyuns.com/api/universal/file/app/unauth/admin/upload
"
:action=
"BASE_API+'/api/universal/file/app/unauth/admin/upload'
"
:on-remove=
"handleRemove"
:on-remove=
"handleRemove"
:file-list=
"fileList2"
:file-list=
"fileList2"
:on-success=
"handleBannerSuccess"
:on-success=
"handleBannerSuccess"
...
@@ -256,6 +256,7 @@ import UE from '../../modal/Ueditor';//百度ue富文本
...
@@ -256,6 +256,7 @@ import UE from '../../modal/Ueditor';//百度ue富文本
},
},
data
()
{
data
()
{
return
{
return
{
BASE_API
:
process
.
env
.
BASE_API
,
config
:
{
config
:
{
initialFrameWidth
:
null
,
initialFrameWidth
:
null
,
initialFrameHeight
:
350
initialFrameHeight
:
350
...
...
src/views/tourManage/tourLabel.vue
View file @
b0702595
...
@@ -72,7 +72,7 @@
...
@@ -72,7 +72,7 @@
<el-form-item
label=
"封面图"
:style=
"{display:'block'}"
>
<el-form-item
label=
"封面图"
:style=
"{display:'block'}"
>
<el-upload
<el-upload
class=
"avatar-uploader"
class=
"avatar-uploader"
:action=
"
'https://xxtest.upyuns.com
/api/universal/file/app/unauth/admin/upload'"
:action=
"
BASE_API+'
/api/universal/file/app/unauth/admin/upload'"
:show-file-list=
"false"
:show-file-list=
"false"
:headers=
"getHeaderWithToken"
:headers=
"getHeaderWithToken"
:on-success=
"handleAvatarSuccess"
>
:on-success=
"handleAvatarSuccess"
>
...
@@ -84,7 +84,7 @@
...
@@ -84,7 +84,7 @@
<el-upload
<el-upload
class=
"upload-demo"
class=
"upload-demo"
:headers=
"getHeaderWithToken"
:headers=
"getHeaderWithToken"
action=
"https://xxtest.upyuns.com/api/universal/file/app/unauth/admin/upload
"
:action=
"BASE_API+'/api/universal/file/app/unauth/admin/upload'
"
:on-remove=
"handleRemove"
:on-remove=
"handleRemove"
:file-list=
"fileList2"
:file-list=
"fileList2"
:on-success=
"handleBannerSuccess"
:on-success=
"handleBannerSuccess"
...
@@ -156,11 +156,11 @@
...
@@ -156,11 +156,11 @@
},
},
data
()
{
data
()
{
return
{
return
{
BASE_API
:
process
.
env
.
BASE_API
,
isCreate
:
false
,
//是否点击了确定按钮
isCreate
:
false
,
//是否点击了确定按钮
isExist
:
false
,
//标签是否已存在
isExist
:
false
,
//标签是否已存在
tableKey
:
0
,
tableKey
:
0
,
modalTitle
:
"创建"
,
modalTitle
:
"创建"
,
BASE_API
:
process
.
env
.
BASE_API
,
bannerDialogVisible
:
false
,
//添加、编辑弹框
bannerDialogVisible
:
false
,
//添加、编辑弹框
showLoadingBody
:
false
,
showLoadingBody
:
false
,
fileList2
:
[],
//轮播图
fileList2
:
[],
//轮播图
...
...
src/views/userManagement/memberManagement/index.vue
View file @
b0702595
...
@@ -106,7 +106,7 @@
...
@@ -106,7 +106,7 @@
<el-upload
<el-upload
class=
"upload-demo"
class=
"upload-demo"
:headers=
"getHeaderWithToken"
:headers=
"getHeaderWithToken"
action=
"https://xxtest.upyuns.com/api/universal/file/app/unauth/admin/upload
"
:action=
"BASE_API+'/api/universal/file/app/unauth/admin/upload'
"
:show-file-list=
"false"
:show-file-list=
"false"
:on-success=
"handleAvatarSuccess"
:on-success=
"handleAvatarSuccess"
list-type=
"picture"
>
list-type=
"picture"
>
...
...
src/views/vehicle/accompanyingItem/accItemSelector.vue
View file @
b0702595
...
@@ -5,9 +5,9 @@
...
@@ -5,9 +5,9 @@
element-loading-spinner=
"el-icon-loading"
:visible
.
sync=
"dialogVisible"
>
element-loading-spinner=
"el-icon-loading"
:visible
.
sync=
"dialogVisible"
>
<el-form
:model=
"selected"
:inline=
"true"
ref=
"form4Selected"
label-width=
"100px"
>
<el-form
:model=
"selected"
:inline=
"true"
ref=
"form4Selected"
label-width=
"100px"
>
<el-collapse
v-model=
"activeTypes"
>
<el-collapse
v-model=
"activeTypes"
>
<el-collapse-item
v-for=
" (val, key, index) in allAccItem "
:title=
"getTypeName(key)"
:name=
"key"
>
<el-collapse-item
v-for=
" (val, key, index) in allAccItem "
:title=
"getTypeName(key)"
:name=
"key"
:key=
"item"
>
<el-row
:gutter=
"10"
>
<el-row
:gutter=
"10"
>
<el-col
v-for=
" item in val "
:span=
"8"
:style=
"
{padding: '2px'}">
<el-col
v-for=
" item in val "
:span=
"8"
:style=
"
{padding: '2px'}"
:key="item"
>
<el-col
:span=
"16"
:style=
"
{textAlign: 'center'}">
<el-col
:span=
"16"
:style=
"
{textAlign: 'center'}">
<span
:style=
"
{padding: '3px 10px', fontSize: '14px' ,display: 'inline-block'}">
{{
item
.
name
}}
</span>
<span
:style=
"
{padding: '3px 10px', fontSize: '14px' ,display: 'inline-block'}">
{{
item
.
name
}}
</span>
</el-col>
</el-col>
...
...
src/views/vehicle/bookRecord/index.vue
View file @
b0702595
...
@@ -441,7 +441,7 @@
...
@@ -441,7 +441,7 @@
<el-upload
<el-upload
class=
"upload-demo"
class=
"upload-demo"
:headers=
"getHeaderWithToken"
:headers=
"getHeaderWithToken"
action=
"https://xxtest.upyuns.com/api/universal/file/app/unauth/admin/upload
"
:action=
"BASE_API+'/api/universal/file/app/unauth/admin/upload'
"
:on-remove=
"handleDepartureRemove"
:on-remove=
"handleDepartureRemove"
:file-list=
"departurePicList"
:file-list=
"departurePicList"
:on-success=
"handleDepartureSuccess"
:on-success=
"handleDepartureSuccess"
...
@@ -495,7 +495,7 @@
...
@@ -495,7 +495,7 @@
<el-upload
<el-upload
class=
"upload-demo"
class=
"upload-demo"
:headers=
"getHeaderWithToken"
:headers=
"getHeaderWithToken"
action=
"https://xxtest.upyuns.com/api/universal/file/app/unauth/admin/upload
"
:action=
"BASE_API+'/api/universal/file/app/unauth/admin/upload'
"
:on-remove=
"handleArrivalRemove"
:on-remove=
"handleArrivalRemove"
:file-list=
"arrivalPicList"
:file-list=
"arrivalPicList"
:on-success=
"handleArrivalSuccess"
:on-success=
"handleArrivalSuccess"
...
@@ -520,7 +520,7 @@
...
@@ -520,7 +520,7 @@
<el-upload
<el-upload
class=
"upload-demo"
class=
"upload-demo"
:headers=
"getHeaderWithToken"
:headers=
"getHeaderWithToken"
action=
"https://xxtest.upyuns.com/api/universal/file/app/unauth/admin/upload
"
:action=
"BASE_API+'/api/universal/file/app/unauth/admin/upload'
"
:on-remove=
"handleRemove"
:on-remove=
"handleRemove"
:file-list=
"fileList2"
:file-list=
"fileList2"
:on-success=
"handleSuccess"
:on-success=
"handleSuccess"
...
@@ -606,6 +606,7 @@
...
@@ -606,6 +606,7 @@
},
},
data
()
{
data
()
{
return
{
return
{
BASE_API
:
process
.
env
.
BASE_API
,
departureFormrules
:{
departureFormrules
:{
checkMan
:{
checkMan
:{
required
:
true
,
required
:
true
,
...
...
src/views/vehicleType/modal/oneType.vue
View file @
b0702595
...
@@ -86,7 +86,7 @@
...
@@ -86,7 +86,7 @@
<el-form-item
label=
"房车配置"
></el-form-item>
<el-form-item
label=
"房车配置"
></el-form-item>
<el-row>
<el-row>
<el-col
:span=
"8"
v-for=
"(item, index) in labelList"
>
<el-col
:span=
"8"
v-for=
"(item, index) in labelList"
:key=
"item"
>
<el-form-item>
<el-form-item>
<span
style=
"width: 150px;text-align:right;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;padding-right: 10px;"
>
{{
item
.
parent
.
name
}}
</span>
<span
style=
"width: 150px;text-align:right;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;padding-right: 10px;"
>
{{
item
.
parent
.
name
}}
</span>
<el-input
v-model=
"item.selectChild"
readonly
icon=
"edit"
@
click=
"editConfig(item)"
style=
"width: 70%;"
></el-input>
<el-input
v-model=
"item.selectChild"
readonly
icon=
"edit"
@
click=
"editConfig(item)"
style=
"width: 70%;"
></el-input>
...
@@ -126,7 +126,7 @@
...
@@ -126,7 +126,7 @@
</el-row>
</el-row>
<el-form-item
label=
"房车参数"
>
<el-form-item
label=
"房车参数"
>
<el-button
size=
"small"
class=
"el-button el-button--primary"
type=
"button"
icon=
"plus"
@
click=
"addModelParam()"
>
添加
</el-button>
<el-button
size=
"small"
class=
"el-button el-button--primary"
type=
"button"
icon=
"plus"
@
click=
"addModelParam()"
>
添加
</el-button>
<el-col
v-for=
"(item, index) in form.modelParam"
>
<el-col
v-for=
"(item, index) in form.modelParam"
:key=
"item.id"
>
<el-form-item
label=
"参数名称"
style=
"margin: 10px 5px;"
>
<el-form-item
label=
"参数名称"
style=
"margin: 10px 5px;"
>
<el-input
style=
"width: 30%;"
v-model=
"item.key"
></el-input>
<el-input
style=
"width: 30%;"
v-model=
"item.key"
></el-input>
<el-input
style=
"width: 30%;"
v-model=
"item.val"
></el-input>
<el-input
style=
"width: 30%;"
v-model=
"item.val"
></el-input>
...
@@ -138,7 +138,7 @@
...
@@ -138,7 +138,7 @@
<el-upload
<el-upload
class=
"upload-demo"
class=
"upload-demo"
:headers=
"getHeaderWithToken"
:headers=
"getHeaderWithToken"
action=
"https://xxtest.upyuns.com/api/universal/file/app/unauth/admin/upload
"
:action=
"BASE_API+'/api/universal/file/app/unauth/admin/upload'
"
:on-remove=
"handleRemove"
:on-remove=
"handleRemove"
:file-list=
"fileList2"
:file-list=
"fileList2"
:on-success=
"handleBannerSuccess"
:on-success=
"handleBannerSuccess"
...
@@ -241,6 +241,7 @@ import UE from '../../modal/Ueditor';//百度ue富文本
...
@@ -241,6 +241,7 @@ import UE from '../../modal/Ueditor';//百度ue富文本
},
},
data
()
{
data
()
{
return
{
return
{
BASE_API
:
process
.
env
.
BASE_API
,
config
:
{
config
:
{
initialFrameWidth
:
null
,
initialFrameWidth
:
null
,
initialFrameHeight
:
350
initialFrameHeight
:
350
...
@@ -421,9 +422,11 @@ import UE from '../../modal/Ueditor';//百度ue富文本
...
@@ -421,9 +422,11 @@ import UE from '../../modal/Ueditor';//百度ue富文本
vioDeposit
:
this
.
form
.
vioDeposit
,
vioDeposit
:
this
.
form
.
vioDeposit
,
hotSign
:
this
.
form
.
hotSign
,
//热门车型
hotSign
:
this
.
form
.
hotSign
,
//热门车型
rentDiscountStatus
:
this
.
form
.
rentDiscountStatus
,
//租车优惠状态 0--没有优惠;1--会员折扣;2--固定值
rentDiscountStatus
:
this
.
form
.
rentDiscountStatus
,
//租车优惠状态 0--没有优惠;1--会员折扣;2--固定值
rentDiscountPrice
:
this
.
form
.
pPrice
+
","
+
this
.
form
.
hPrice
+
","
+
this
.
form
.
zPrice
,
//租车优惠价格 固定优化价格
buyPrice
:
this
.
form
.
buyPrice
,
//购买价格
buyPrice
:
this
.
form
.
buyPrice
,
//购买价格
};
};
if
(
this
.
form
.
rentDiscountStatus
==
2
){
params
.
rentDiscountPrice
=
this
.
form
.
pPrice
+
","
+
this
.
form
.
hPrice
+
","
+
this
.
form
.
zPrice
//租车优惠价格 固定优化价格
}
console
.
log
(
params
);
console
.
log
(
params
);
console
.
log
(
this
.
form
);
console
.
log
(
this
.
form
);
addVehicleModel
(
params
).
then
(
response
=>
{
addVehicleModel
(
params
).
then
(
response
=>
{
...
@@ -464,9 +467,12 @@ import UE from '../../modal/Ueditor';//百度ue富文本
...
@@ -464,9 +467,12 @@ import UE from '../../modal/Ueditor';//百度ue富文本
vioDeposit
:
this
.
form
.
vioDeposit
,
vioDeposit
:
this
.
form
.
vioDeposit
,
hotSign
:
this
.
form
.
hotSign
,
//热门车型
hotSign
:
this
.
form
.
hotSign
,
//热门车型
rentDiscountStatus
:
this
.
form
.
rentDiscountStatus
,
//租车优惠状态 0--没有优惠;1--会员折扣;2--固定值
rentDiscountStatus
:
this
.
form
.
rentDiscountStatus
,
//租车优惠状态 0--没有优惠;1--会员折扣;2--固定值
rentDiscountPrice
:
this
.
form
.
pPrice
+
","
+
this
.
form
.
hPrice
+
","
+
this
.
form
.
zPrice
,
//租车优惠价格 固定优化价格
//
rentDiscountPrice:this.form.pPrice+","+this.form.hPrice+","+this.form.zPrice,//租车优惠价格 固定优化价格
buyPrice
:
this
.
form
.
buyPrice
,
//购买价格
buyPrice
:
this
.
form
.
buyPrice
,
//购买价格
};
};
if
(
this
.
form
.
rentDiscountStatus
==
2
){
params
.
rentDiscountPrice
=
this
.
form
.
pPrice
+
","
+
this
.
form
.
hPrice
+
","
+
this
.
form
.
zPrice
//租车优惠价格 固定优化价格
}
console
.
log
(
params
);
console
.
log
(
params
);
console
.
log
(
this
.
form
);
console
.
log
(
this
.
form
);
updateVehicleModel
(
params
).
then
(
response
=>
{
updateVehicleModel
(
params
).
then
(
response
=>
{
...
...
static/utf8-jsp/ueditor.config.js
View file @
b0702595
...
@@ -19,21 +19,22 @@
...
@@ -19,21 +19,22 @@
* 因此,UEditor提供了针对不同页面的编辑器可单独配置的根路径,具体来说,在需要实例化编辑器的页面最顶部写上如下代码即可。当然,需要令此处的URL等于对应的配置。
* 因此,UEditor提供了针对不同页面的编辑器可单独配置的根路径,具体来说,在需要实例化编辑器的页面最顶部写上如下代码即可。当然,需要令此处的URL等于对应的配置。
* window.UEDITOR_HOME_URL = "/xxxx/xxxx/";
* window.UEDITOR_HOME_URL = "/xxxx/xxxx/";
*/
*/
// window.UEDITOR_HOME_URL = "/static/utf8-jsp/";
window
.
UEDITOR_HOME_URL
=
"/static/utf8-jsp/"
;
var
getHost
=
function
(
url
)
{
var
getHost
=
function
(
url
)
{
var
host
=
"null"
;
var
host
=
"null"
;
if
(
typeof
url
==
"undefined"
if
(
typeof
url
==
"undefined"
||
null
==
url
)
||
null
==
url
)
url
=
window
.
location
.
href
;
url
=
window
.
location
.
href
;
var
regex
=
/.*
\:\/\/([^\/]
*
)
.*/
;
var
regex
=
/.*
\:\/\/([^\/]
*
)
.*/
;
var
match
=
url
.
match
(
regex
);
var
match
=
url
.
match
(
regex
);
if
(
typeof
match
!=
"undefined"
if
(
typeof
match
!=
"undefined"
&&
null
!=
match
)
&&
null
!=
match
)
host
=
match
[
1
]
+
"/"
;
host
=
match
[
1
];
return
host
;
return
host
+
"/"
;
}
}
var
URL
=
getHost
();
var
URL
=
window
.
UEDITOR_HOME_URL
||
getUEBasePath
();
/**
/**
* 配置项主体。注意,此处所有涉及到路径的配置别遗漏URL变量。
* 配置项主体。注意,此处所有涉及到路径的配置别遗漏URL变量。
*/
*/
...
@@ -43,7 +44,7 @@
...
@@ -43,7 +44,7 @@
UEDITOR_HOME_URL
:
URL
UEDITOR_HOME_URL
:
URL
// 服务器统一请求接口路径
// 服务器统一请求接口路径
,
serverUrl
:
"
/
api/universal/file/app/unauth/ueditor"
,
serverUrl
:
"api/universal/file/app/unauth/ueditor"
//工具栏上的所有的功能按钮和下拉框,可以在new编辑器的实例时选择自己需要的重新定义
//工具栏上的所有的功能按钮和下拉框,可以在new编辑器的实例时选择自己需要的重新定义
,
toolbars
:
[[
,
toolbars
:
[[
...
@@ -446,9 +447,8 @@
...
@@ -446,9 +447,8 @@
function
getUEBasePath
(
docUrl
,
confUrl
)
{
function
getUEBasePath
(
docUrl
,
confUrl
)
{
return
URL
;
//
return getBasePath(docUrl || self.document.URL || self.location.href, confUrl || getConfigFilePath());
return
getBasePath
(
docUrl
||
self
.
document
.
URL
||
self
.
location
.
href
,
confUrl
||
getConfigFilePath
());
}
}
...
...
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