Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.CadastralSystem
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
e9466810
authored
2020-12-18 16:52:48 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://yun.pashanhoo.com:9090/renchao/CadastralSystem
2 parents
ddbf5e7d
2c8a791c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
24 deletions
src/views/zrz/lpb/bjlp/index.vue
src/views/zrz/lpb/bjlp/index.vue
View file @
e946681
...
...
@@ -647,44 +647,30 @@ export default {
},
open
(
hasGenerateCount
,
unGenerateCount
)
{
const
h
=
this
.
$createElement
;
this
.
$msgbox
({
title
:
'消息'
,
message
:
h
(
'p'
,
null
,
[
h
(
'span'
,
null
,
'未生成单元号有 '
+
unGenerateCount
+
'户,'
),
h
(
'span'
,
null
,
'已经生成单元号有 '
+
hasGenerateCount
+
'户,'
),
h
(
'span'
,
null
,
'是否覆盖全部重新生成?'
),
]),
showCancelButton
:
true
,
this
.
$confirm
(
'未生成单元号有'
+
unGenerateCount
+
'户,已经生成单元号有'
+
hasGenerateCount
+
'户,是否覆盖全部重新生成?'
,
'确认信息'
,
{
distinguishCancelAndClose
:
true
,
confirmButtonText
:
'覆盖全部生成'
,
cancelButtonText
:
'跳过已生成单元号户'
,
beforeClose
:
(
action
,
instance
,
done
)
=>
{
if
(
action
===
'confirm'
)
{
instance
.
confirmButtonLoading
=
true
;
instance
.
confirmButtonText
=
'执行中...'
;
setTimeout
(()
=>
{
done
();
setTimeout
(()
=>
{
cancelButtonText
:
'跳过已生成单元号户'
})
.
then
(()
=>
{
batchGeneratorBdcdyh
(
this
.
$store
.
state
.
zrzh
,
this
.
pd
[
0
].
bsm
,
2
).
then
(
(
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
.
success
(
"生成完成!"
);
}
});
instance
.
confirmButtonLoading
=
false
;
},
300
);
},
3000
);
}
else
{
})
.
catch
(
action
=>
{
if
(
action
===
'cancel'
){
batchGeneratorBdcdyh
(
this
.
$store
.
state
.
zrzh
,
this
.
pd
[
0
].
bsm
,
1
).
then
(
(
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
.
success
(
"生成完成!"
);
}
});
done
();
}
}
})
})
;
},
//获取各项单元状态统计数据
...
...
Please
register
or
sign in
to post a comment