Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
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 7996df50
authored
Jun 05, 2023
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
vant相关修改
1 parent
2d30227b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
11 deletions
vue3-lw-pc/src/views/drainageCode/smartForms/build/formsDetail.vue
vue3-lw-pc/vite.config.js
vue3-lw-pc/src/views/drainageCode/smartForms/build/formsDetail.vue
View file @
7996df5
...
@@ -189,9 +189,7 @@
...
@@ -189,9 +189,7 @@
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
{
Dialog
,
Toast
}
from
'vant'
import
{
showDialog
,
showFailToast
}
from
'vant'
// import 'vant/lib/dialog/style'
// import 'vant/lib/toast/style'
import
{
getWechatAuthUserInfo
,
getIP
}
from
'@/utils/index'
import
{
getWechatAuthUserInfo
,
getIP
}
from
'@/utils/index'
import
{
import
{
selectInfoToSurvey
,
selectInfoToSurvey
,
...
@@ -725,7 +723,7 @@ export default {
...
@@ -725,7 +723,7 @@ export default {
}
else
{
}
else
{
// this.toast(response.data)
// this.toast(response.data)
this
.
fromList
=
''
this
.
fromList
=
''
Dialog
.
alert
({
showDialog
({
title
:
'提示'
,
title
:
'提示'
,
message
:
'当前问卷您已填写完毕,暂时无法填写。'
,
message
:
'当前问卷您已填写完毕,暂时无法填写。'
,
confirmButtonText
:
'我知道了'
,
confirmButtonText
:
'我知道了'
,
...
@@ -785,7 +783,7 @@ export default {
...
@@ -785,7 +783,7 @@ export default {
// this.$alert('当前问卷暂未开放回收,暂时无法填写。', '提示', {
// this.$alert('当前问卷暂未开放回收,暂时无法填写。', '提示', {
// confirmButtonText: '我知道了',
// confirmButtonText: '我知道了',
// });
// });
Dialog
.
alert
({
showDialog
({
title
:
'提示'
,
title
:
'提示'
,
message
:
'当前问卷暂未开放回收,暂时无法填写。'
,
message
:
'当前问卷暂未开放回收,暂时无法填写。'
,
confirmButtonText
:
'我知道了'
,
confirmButtonText
:
'我知道了'
,
...
@@ -797,7 +795,7 @@ export default {
...
@@ -797,7 +795,7 @@ export default {
// this.$alert('当前问卷已暂停回收,暂时无法填写。', '提示', {
// this.$alert('当前问卷已暂停回收,暂时无法填写。', '提示', {
// confirmButtonText: '我知道了',
// confirmButtonText: '我知道了',
// });
// });
Dialog
.
alert
({
showDialog
({
title
:
'提示'
,
title
:
'提示'
,
message
:
'当前问卷已暂停回收,暂时无法填写。'
,
message
:
'当前问卷已暂停回收,暂时无法填写。'
,
confirmButtonText
:
'我知道了'
,
confirmButtonText
:
'我知道了'
,
...
@@ -809,7 +807,7 @@ export default {
...
@@ -809,7 +807,7 @@ export default {
// this.$alert('当前问卷已结束回收,无法填写。', '提示', {
// this.$alert('当前问卷已结束回收,无法填写。', '提示', {
// confirmButtonText: '我知道了',
// confirmButtonText: '我知道了',
// });
// });
Dialog
.
alert
({
showDialog
({
title
:
'提示'
,
title
:
'提示'
,
message
:
'当前问卷已结束回收,无法填写。'
,
message
:
'当前问卷已结束回收,无法填写。'
,
confirmButtonText
:
'我知道了'
,
confirmButtonText
:
'我知道了'
,
...
@@ -858,7 +856,7 @@ export default {
...
@@ -858,7 +856,7 @@ export default {
}
}
return
return
}
else
{
}
else
{
Dialog
.
alert
(
response
.
msg
)
showDialog
(
response
.
msg
)
}
}
})
})
},
},
...
@@ -900,9 +898,9 @@ export default {
...
@@ -900,9 +898,9 @@ export default {
that
.
$forceUpdate
()
that
.
$forceUpdate
()
},
},
toast
(
message
)
{
toast
(
message
)
{
Toast
.
fail
({
showFailToast
({
message
,
message
,
getContainer
:
'#'
+
this
.
cpUnionDomId
,
teleport
:
'#'
+
this
.
cpUnionDomId
,
})
})
},
},
},
},
...
...
vue3-lw-pc/vite.config.js
View file @
7996df5
...
@@ -35,7 +35,6 @@ export default defineConfig(async ({ command, mode }) => {
...
@@ -35,7 +35,6 @@ export default defineConfig(async ({ command, mode }) => {
// 例如 https://www.admin.vip/。如果应用被部署在一个子路径上,你就需要用这个选项指定这个子路径。例如,如果你的应用被部署在 https://www.admin.vip/admin/,则设置 baseUrl 为 /admin/。
// 例如 https://www.admin.vip/。如果应用被部署在一个子路径上,你就需要用这个选项指定这个子路径。例如,如果你的应用被部署在 https://www.admin.vip/admin/,则设置 baseUrl 为 /admin/。
// base: ENV === 'production' ? '/' : '/',
// base: ENV === 'production' ? '/' : '/',
base
:
env
.
BASE_URL
||
'/'
,
base
:
env
.
BASE_URL
||
'/'
,
// base:'/xdy/',
build
:
{
build
:
{
outDir
:
'pc'
,
outDir
:
'pc'
,
minify
:
'terser'
,
minify
:
'terser'
,
...
...
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