Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-scene
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 d386b334
authored
Oct 23, 2023
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
动态配置模板链接
1 parent
3ec3a931
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
src/setup/qiankun.js
src/views/leadManage/leadInto.vue
src/views/leadManage/sendRepairList.vue
src/setup/qiankun.js
View file @
d386b33
...
...
@@ -24,7 +24,8 @@ let instance = null
Vue
.
use
(
ElementUI
)
Vue
.
use
(
GLTable
)
export
async
function
bootstrap
({
history
,
common
,
messenger
,
globalState
,
routerBase
})
{
const
{
response
,
request
,
sign
,
secret
,
sign_common
,
request_common
,
response_sop
,
request_sop
,
request_merchant
}
=
await
fetchConfig
(
common
)
const
{
response
,
request
,
sign
,
secret
,
sign_common
,
request_common
,
response_sop
,
request_sop
,
request_merchant
,
tmplUrl
}
=
await
fetchConfig
(
common
)
Vue
.
prototype
.
$tmplUrl
=
tmplUrl
Vue
.
prototype
.
$history
=
history
Vue
.
prototype
.
$messenger
=
messenger
Vue
.
prototype
.
$globalState
=
globalState
...
...
src/views/leadManage/leadInto.vue
View file @
d386b33
...
...
@@ -6,7 +6,7 @@
<label
class=
"label"
for=
""
>
Excel文件:
</label>
<el-button
size=
"small"
icon=
"el-icon-plus"
@
click=
"selectFile"
>
上传文件
</el-button>
<input
type=
"file"
style=
"opacity: 0;width: 0;height: 0;"
ref=
"file"
accept=
"*"
@
change=
"uploadFile"
/>
<span
class=
"download-text"
>
下载模板
</span>
<span
class=
"download-text"
@
click=
"downLoadTmpl"
>
下载模板
</span>
</div>
<span
class=
"file-name"
v-if=
"fileUrl"
>
{{
fileName
}}
</span>
</div>
...
...
@@ -55,6 +55,11 @@ export default {
util
.
exportFn
(
this
.
checkInfo
.
errUrl
)
}
},
downLoadTmpl
(){
const
url
=
this
.
$tmplUrl
if
(
!
url
)
return
this
.
$message
.
error
(
'请配置模板链接'
)
util
.
exportFn
(
url
)
},
handleCancel
(){
this
.
fileUrl
=
''
this
.
fileName
=
''
...
...
src/views/leadManage/sendRepairList.vue
View file @
d386b33
...
...
@@ -475,7 +475,7 @@ export default {
if
(
configType
==
0
){
this
.
basicForm
=
{
pushFlag
,
sendTime
:
[
endTime
,
start
Time
],
sendTime
:
[
startTime
,
end
Time
],
pushPhonesList
:
pushPhones
?.
split
(
','
)
||
[]
}
}
...
...
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