importThree.vue
2.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<!-- 导入明细&回单 第三步 -->
<template>
<d2-container>
<div class="infoDiv">
<div class="imgCon">
<img src="../image/threeStep.png"
class="imgSize">
</div>
<div class="describe">
<div class="describe-title">
<div><img src="../image/info-circle-fill.png"></div>
<div class="describe-title-text">操作成功</div>
<div class="describe-title-tips">请关注企微机器人通知</div>
</div>
<div class="describe-text">
流水明细状态:{{ resultInfo.detailSuccessCount ? resultInfo.detailSuccessCount : '-' }}条</div>
<div class="describe-text">
导入回单:{{ resultInfo.receiptSuccessCount ? resultInfo.receiptSuccessCount : '-' }}条</div>
</div>
<div class="footer">
<el-button @click="submitForm"
type="primary"
:loading="$store.state.d2admin.loading.value">再导一次</el-button>
<el-button @click="routerBack">返回</el-button>
</div>
</div>
</d2-container>
</template>
<script>
import { mapActions, mapState } from 'vuex'
export default {
name: 'ImportThree',
props: {
resultInfo: {
type: Object,
default: () => { }
}
},
components: {
},
data() {
return {
userInfo: this.$store.state.d2admin.user.info
}
},
computed: {
...mapState({
dowloadList: (state) => state.d2admin.user.dowloadList
})
},
mounted() {
this.getBaseData()
},
methods: {
...mapActions({
get: 'd2admin/base/get',
close: 'd2admin/page/close'
}),
...mapActions('d2admin/user', ['actionSetDownloadList']),
async getBaseData() {
},
routerBack() {
this.$emit('goBackListPage')
},
submitForm() {
this.$emit('importAgain')
}
}
}
</script>
<style scoped>
.infoDiv {
width: 100%;
/* height: 100%; */
background-color: #fff;
}
.imgCon {
text-align: center;
/* margin-bottom: 50px; */
}
.imgSize {
width: 1200px;
}
.describe {
border-radius: 4px;
opacity: 1;
background: #fafafa;
width: 98%;
height: 110px;
/* margin: 0 auto 20px; */
.describe-title {
display: flex;
justify-content: center; /* 水平居中 */
padding: 17px 0 0 9px;
.describe-title-text {
font-size: 16px;
font-weight: 600;
padding-left: 10px;
}
.describe-title-tips {
font-size: 14px;
color: #999999;
padding-left: 8px;
}
}
.describe-text {
font-size: 14px;
color: #333333;
text-align: center;
padding-top: 5px;
}
}
.footer {
text-align: center;
padding: 20px 0 20px 0;
}
</style>