Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zj-manage
Overview
Overview
Details
Activity
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
new-zhengjiang
zj-manage
Commits
5fed15ad
Commit
5fed15ad
authored
Mar 20, 2024
by
swl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gx
parent
5b79e9e1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
73 additions
and
35 deletions
+73
-35
house.vue
src/views/Multipledeedtax/house.vue
+2
-2
enter.vue
src/views/livingCircle/enter.vue
+71
-33
No files found.
src/views/Multipledeedtax/house.vue
View file @
5fed15ad
...
@@ -1415,7 +1415,7 @@ export default {
...
@@ -1415,7 +1415,7 @@ export default {
arr
.
arr1
=
that
.
arr1
||
""
;
// 财政
arr
.
arr1
=
that
.
arr1
||
""
;
// 财政
arr
.
arr2
=
that
.
arr2
||
""
;
// 不动产
arr
.
arr2
=
that
.
arr2
||
""
;
// 不动产
arr
.
arr3
=
that
.
arr3
||
""
;
// 税务
arr
.
arr3
=
that
.
arr3
||
""
;
// 税务
this
.
docxsrc
=
"./static/
d
eedTax1.docx"
;
//模板文件的位置
this
.
docxsrc
=
"./static/
multiD
eedTax1.docx"
;
//模板文件的位置
if
(
this
.
templateType
==
"danYang"
)
{
if
(
this
.
templateType
==
"danYang"
)
{
arr
.
arr1
=
that
.
arr1
||
""
;
// 财政
arr
.
arr1
=
that
.
arr1
||
""
;
// 财政
arr
.
arr2
=
that
.
arr2
||
""
;
// 不动产
arr
.
arr2
=
that
.
arr2
||
""
;
// 不动产
...
@@ -1425,7 +1425,7 @@ export default {
...
@@ -1425,7 +1425,7 @@ export default {
}
}
}
else
{
}
else
{
arr
.
arr3
=
that
.
arr3
||
""
;
// 税务
arr
.
arr3
=
that
.
arr3
||
""
;
// 税务
this
.
docxsrc
=
"./static/
d
eedTax2.docx"
;
//模板文件的位置
this
.
docxsrc
=
"./static/
multiD
eedTax2.docx"
;
//模板文件的位置
}
}
// let docxname = '购房契税补贴申请表'; //导出文件的名字
// let docxname = '购房契税补贴申请表'; //导出文件的名字
...
...
src/views/livingCircle/enter.vue
View file @
5fed15ad
...
@@ -253,23 +253,21 @@
...
@@ -253,23 +253,21 @@
</div>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-popconfirm
<el-button
title=
"确定通过此申请吗?"
type=
"success"
style=
"margin-left: 10px"
round
@
confirm=
"reviewHandle('pass', detail)"
slot=
"reference"
v-if=
"detail.state == 0 && detail.state != 1"
@
click=
"reviewHandle('pass', detail)"
>
>
通过
<el-button
type=
"success"
round
slot=
"reference"
>
通过
</el-button>
</el-button>
</el-popconfirm>
<el-popconfirm
<el-button
title=
"确定拒绝此申请吗?"
type=
"danger"
@
confirm=
"reviewHandle('refuse', detail)"
round
v-if=
"detail.state == 0 && detail.state != 4"
slot=
"reference"
style=
"margin-left: 10px"
@
click=
"reviewHandle('refuse', detail)"
>
>
拒绝
<el-button
type=
"danger"
round
slot=
"reference"
>
拒绝
</el-button>
</el-button>
</el-popconfirm>
<!-- <el-button @click="dialogVisible = false">取 消</el-button>
<!-- <el-button @click="dialogVisible = false">取 消</el-button>
<el-button type="primary" @click="dialogVisible = false"
<el-button type="primary" @click="dialogVisible = false"
...
@@ -468,25 +466,65 @@ export default {
...
@@ -468,25 +466,65 @@ export default {
reviewHandle
(
type
,
row
)
{
reviewHandle
(
type
,
row
)
{
let
params
=
{};
let
params
=
{};
if
(
type
===
"pass"
)
{
if
(
type
===
"pass"
)
{
params
=
{
this
.
$prompt
(
`确定通过该申请吗?`
,
"提示"
,
{
id
:
row
.
id
,
confirmButtonText
:
"确定"
,
state
:
1
,
cancelButtonText
:
"取消"
,
user
:
this
.
userName
,
inputPlaceholder
:
"请输入原因"
,
};
inputType
:
"textarea"
,
}).
then
(({
value
})
=>
{
if
(
!
value
)
{
this
.
$message
.
error
(
"未输入原因"
);
return
;
}
else
{
params
=
{
id
:
row
.
id
,
state
:
1
,
user
:
this
.
userName
,
reason
:
value
,
};
applyReview
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
.
success
(
"审核成功"
);
this
.
init
();
this
.
dialogVisible
=
false
;
}
});
}
});
}
else
{
}
else
{
params
=
{
this
.
$prompt
(
`确定拒绝该申请吗?`
,
"提示"
,
{
id
:
row
.
id
,
confirmButtonText
:
"确定"
,
state
:
4
,
cancelButtonText
:
"取消"
,
user
:
this
.
userName
,
inputPlaceholder
:
"请输入原因"
,
};
inputType
:
"textarea"
,
}).
then
(({
value
})
=>
{
if
(
!
value
)
{
this
.
$message
.
error
(
"未输入原因"
);
return
;
}
else
{
params
=
{
id
:
row
.
id
,
state
:
4
,
user
:
this
.
userName
,
reason
:
value
,
};
applyReview
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
.
success
(
"审核成功"
);
this
.
init
();
this
.
dialogVisible
=
false
;
}
});
}
});
}
}
applyReview
(
params
).
then
((
res
)
=>
{
//
applyReview(params).then((res) => {
if
(
res
.
code
==
200
)
{
//
if (res.code == 200) {
this
.
$message
.
success
(
"审核成功"
);
//
this.$message.success("审核成功");
this
.
init
();
//
this.init();
}
//
}
});
//
});
this
.
dialogVisible
=
false
;
//
this.dialogVisible = false;
},
},
view
(
row
)
{
view
(
row
)
{
...
...
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