Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-charge
This project
Loading...
Sign in
Toggle navigation
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 df030993
authored
Feb 28, 2024
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
动态配置模板链接
1 parent
152560db
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
7 deletions
src/setup/qiankun.js
src/views/Radar/index.vue
src/views/parkingPlace/index.vue
src/setup/qiankun.js
View file @
df03099
...
@@ -20,7 +20,8 @@ let instance = null
...
@@ -20,7 +20,8 @@ let instance = null
Vue
.
use
(
ElementUI
)
Vue
.
use
(
ElementUI
)
Vue
.
use
(
GLTable
)
Vue
.
use
(
GLTable
)
export
async
function
bootstrap
({
history
,
common
,
messenger
,
globalState
})
{
export
async
function
bootstrap
({
history
,
common
,
messenger
,
globalState
})
{
const
{
response
,
request
,
sign
,
secret
,
sign_common
,
request_common
,
request_gpt
,
request_merchant
,
messageModel
}
=
await
fetchConfig
(
common
)
const
{
response
,
request
,
sign
,
secret
,
sign_common
,
request_common
,
request_gpt
,
request_merchant
,
messageModel
,
commonData
}
=
await
fetchConfig
(
common
)
Vue
.
prototype
.
$commonData
=
commonData
Vue
.
prototype
.
$history
=
history
Vue
.
prototype
.
$history
=
history
Vue
.
prototype
.
$messenger
=
messenger
Vue
.
prototype
.
$messenger
=
messenger
Vue
.
prototype
.
$globalState
=
globalState
Vue
.
prototype
.
$globalState
=
globalState
...
...
src/views/Radar/index.vue
View file @
df03099
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
</el-button>
</el-button>
<input
type=
"file"
style=
"opacity: 0"
ref=
"file"
accept=
"*"
@
change=
"uploadFile"
/>
<input
type=
"file"
style=
"opacity: 0"
ref=
"file"
accept=
"*"
@
change=
"uploadFile"
/>
</div>
</div>
<a
href=
"https://img01.glsx.com.cn/weapp/resource/saas/scrm/xlsx/红包链接.xlsx
"
target=
"_blank"
>
下载模板
</a>
<a
:href=
"tempUrl
"
target=
"_blank"
>
下载模板
</a>
</div>
</div>
</el-form-item>
</el-form-item>
<div
class=
"tip"
>
支持扩展名:xlsx、xls、csv
</div>
<div
class=
"tip"
>
支持扩展名:xlsx、xls、csv
</div>
...
@@ -65,6 +65,7 @@ export default {
...
@@ -65,6 +65,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
size
:
'small'
,
size
:
'small'
,
tempUrl
:
this
.
$commonData
.
radarTmplUrl
,
url
:
url
,
url
:
url
,
batchForm
:
{
batchForm
:
{
isUpload
:
false
,
isUpload
:
false
,
...
...
src/views/parkingPlace/index.vue
View file @
df03099
...
@@ -61,7 +61,7 @@
...
@@ -61,7 +61,7 @@
</el-button>
</el-button>
<input
type=
"file"
style=
"opacity: 0"
ref=
"file"
accept=
"*"
@
change=
"uploadFile"
/>
<input
type=
"file"
style=
"opacity: 0"
ref=
"file"
accept=
"*"
@
change=
"uploadFile"
/>
</div>
</div>
<a
href=
"https://img01.glsx.com.cn/weapp/resource/saas/scrm/xlsx/红包链接.xlsx
"
target=
"_blank"
>
下载模板
</a>
<a
:href=
"tempUrl
"
target=
"_blank"
>
下载模板
</a>
</div>
</div>
</el-form-item>
</el-form-item>
<div
class=
"tip"
>
支持扩展名:xlsx、xls
</div>
<div
class=
"tip"
>
支持扩展名:xlsx、xls
</div>
...
@@ -131,6 +131,7 @@ export default {
...
@@ -131,6 +131,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
tempUrl
:
this
.
$commonData
.
tmplUrl
,
parkingPlaceVisible
:
false
,
parkingPlaceVisible
:
false
,
uploadVisible
:
false
,
uploadVisible
:
false
,
isBatch
:
false
,
isBatch
:
false
,
...
@@ -526,10 +527,10 @@ export default {
...
@@ -526,10 +527,10 @@ export default {
this
.
isBatch
=
true
this
.
isBatch
=
true
},
},
//车位标记
//车位标记
sign
(
row
){
sign
(
row
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/parkingPlace/sign'
,
path
:
'/parkingPlace/sign'
,
query
:
row
query
:
row
})
})
},
},
openUploadDialog
(
row
)
{
openUploadDialog
(
row
)
{
...
@@ -578,7 +579,7 @@ export default {
...
@@ -578,7 +579,7 @@ export default {
this
.
uploadList
=
JSON
.
parse
(
JSON
.
stringify
(
UPLOAD_LIST
))
this
.
uploadList
=
JSON
.
parse
(
JSON
.
stringify
(
UPLOAD_LIST
))
},
},
getMerchantList
()
{
getMerchantList
()
{
this
.
$apis
.
parkingSpace
.
getMerchantListApi
({
merchantId
:
'44209875'
}).
then
(
res
=>
{
this
.
$apis
.
parkingSpace
.
getMerchantListApi
({
merchantId
:
this
.
$commonData
.
merchantId
}).
then
(
res
=>
{
if
(
res
?.
length
)
{
if
(
res
?.
length
)
{
const
target
=
this
.
searchFormList
.
find
(
item
=>
item
.
name
==
'merchantId'
)
const
target
=
this
.
searchFormList
.
find
(
item
=>
item
.
name
==
'merchantId'
)
target
.
optionList
=
[{
merchantName
:
'全部'
,
merchantNo
:
''
},
...
res
]
target
.
optionList
=
[{
merchantName
:
'全部'
,
merchantNo
:
''
},
...
res
]
...
...
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