feat:文件夹修改
Showing
12 changed files
with
186 additions
and
91 deletions
1 | /* | ||
2 | * @Description: 统计率 | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-03-01 15:37:49 | ||
5 | */ | ||
6 | /* 引入请求文件 */ | ||
1 | import request from '@/utils/request' | 7 | import request from '@/utils/request' |
8 | /* 引入配置文件 */ | ||
2 | import SERVER from './config' | 9 | import SERVER from './config' |
3 | |||
4 | class business { | 10 | class business { |
5 | /* | 11 | /** |
6 | 成功率统计 | 12 | * @description: 成功率统计 |
7 | startDate:开始日期 | 13 | * @param {*} startDate |
8 | endDate:结束日期 | 14 | * @param {*} endDate |
9 | */ | 15 | * @param {*} qxdm |
10 | async getSuucessRate(startDate,endDate,qxdm) { | 16 | * @author: renchao |
17 | */ | ||
18 | async getSuucessRate (startDate, endDate, qxdm) { | ||
11 | return request({ | 19 | return request({ |
12 | url: SERVER.SERVERAPI + '/rest/statistics/Business/sf', | 20 | url: SERVER.SERVERAPI + '/rest/statistics/Business/sf', |
13 | method: 'get', | 21 | method: 'get', |
14 | params: { | 22 | params: { |
15 | startDate:startDate, | 23 | startDate: startDate, |
16 | endDate:endDate, | 24 | endDate: endDate, |
17 | qxdm:qxdm | 25 | qxdm: qxdm |
18 | } | 26 | } |
19 | }) | 27 | }) |
20 | } | 28 | } | ... | ... |
1 | /* | ||
2 | * @Description: 这个是所有api的前缀配置文件 | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-03-01 15:35:44 | ||
5 | */ | ||
1 | export default { | 6 | export default { |
2 | // SERVERAPI: '/service-bdcsjsb-th', //浩浩 | 7 | // SERVERAPI: '/service-bdcsjsb-th', //浩浩 |
3 | // SERVERAPI: '/service-bdcsjsb-zz', | 8 | // SERVERAPI: '/service-bdcsjsb-zz', | ... | ... |
1 | /* | ||
2 | * @Description: 数据上报模块api文件 | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-03-01 16:33:08 | ||
5 | */ | ||
6 | /* 引入axios请求文件 */ | ||
1 | import request from '@/utils/request' | 7 | import request from '@/utils/request' |
8 | /* 引入配置 */ | ||
2 | import SERVER from './config' | 9 | import SERVER from './config' |
10 | const urlHeader = SERVER.SERVERAPI + '/rest/sjsb/DataReport/' | ||
3 | 11 | ||
4 | // 区县上报分页 | 12 | /** |
13 | * @description: 区县上报根据业务id获取xml | ||
14 | * @param {*} bizMsgid | ||
15 | * @author: renchao | ||
16 | */ | ||
5 | export function getXml (bizMsgid) { | 17 | export function getXml (bizMsgid) { |
6 | return request({ | 18 | return request({ |
7 | url: SERVER.SERVERAPI + '/rest/sjsb/DataReport/getXml', | 19 | url: urlHeader + 'getXml', |
8 | method: 'get', | 20 | method: 'get', |
9 | params: { | 21 | params: { |
10 | businessId: bizMsgid | 22 | businessId: bizMsgid |
... | @@ -12,58 +24,89 @@ export function getXml (bizMsgid) { | ... | @@ -12,58 +24,89 @@ export function getXml (bizMsgid) { |
12 | }) | 24 | }) |
13 | } | 25 | } |
14 | 26 | ||
15 | // 区县上报分页 | 27 | /** |
28 | * @description: 区县上报分页 | ||
29 | * @param {*} data | ||
30 | * @author: renchao | ||
31 | */ | ||
16 | export function getAreaReportPage (data) { | 32 | export function getAreaReportPage (data) { |
17 | return request({ | 33 | return request({ |
18 | url: SERVER.SERVERAPI + '/rest/sjsb/DataReport/getAreaReportPage', | 34 | url: urlHeader + 'getAreaReportPage', |
19 | method: 'post', | 35 | method: 'post', |
20 | data | 36 | data |
21 | }) | 37 | }) |
22 | } | 38 | } |
23 | 39 | ||
24 | 40 | /** | |
25 | // 接入数据上报分页 | 41 | * @description: 接入数据上报分页 |
42 | * @author: renchao | ||
43 | */ | ||
26 | export function getReceiveDataReportPage (data) { | 44 | export function getReceiveDataReportPage (data) { |
27 | return request({ | 45 | return request({ |
28 | url: SERVER.SERVERAPI + '/rest/sjsb/DataReport/getReceiveDataReportPage', | 46 | url: urlHeader + 'getReceiveDataReportPage', |
29 | method: 'post', | 47 | method: 'post', |
30 | data | 48 | data |
31 | }) | 49 | }) |
32 | } | 50 | } |
33 | 51 | ||
34 | // 数据上报分页 | 52 | /** |
53 | * @description: 数据上报分页 | ||
54 | * @author: renchao | ||
55 | */ | ||
35 | export function getDataReportPage (data) { | 56 | export function getDataReportPage (data) { |
36 | return request({ | 57 | return request({ |
37 | url: SERVER.SERVERAPI + '/rest/sjsb/DataReport/getDataReportPage', | 58 | url: urlHeader + 'getDataReportPage', |
38 | method: 'post', | 59 | method: 'post', |
39 | data | 60 | data |
40 | }) | 61 | }) |
41 | } | 62 | } |
42 | 63 | /** | |
43 | // 查询数据上报详情tabs选项卡 | 64 | * @description: 查询数据上报详情tabs选项卡 |
65 | * @author: renchao | ||
66 | */ | ||
44 | export function getTabsDetail (params) { | 67 | export function getTabsDetail (params) { |
45 | return request({ | 68 | return request({ |
46 | url: SERVER.SERVERAPI + '/rest/sjsb/DataReport/getTabsDetail', | 69 | url: urlHeader + 'getTabsDetail', |
47 | method: 'get', | 70 | method: 'get', |
48 | params | 71 | params |
49 | }) | 72 | }) |
50 | } | 73 | } |
51 | // 查询数据上报详情 | 74 | /** |
75 | * @description: 查询数据上报详情 | ||
76 | * @author: renchao | ||
77 | */ | ||
52 | export function getReportDetail (params) { | 78 | export function getReportDetail (params) { |
53 | return request({ | 79 | return request({ |
54 | url: SERVER.SERVERAPI + '/rest/sjsb/DataReport/getReportDetail', | 80 | url: urlHeader + 'getReportDetail', |
55 | method: 'get', | 81 | method: 'get', |
56 | params | 82 | params |
57 | }) | 83 | }) |
58 | } | 84 | } |
59 | 85 | ||
60 | // 结果 | 86 | /** |
87 | * @description: 获取数据上报结果 | ||
88 | * @param {*} bsmReport | ||
89 | * @author: renchao | ||
90 | */ | ||
61 | export function getReceiveDataReportResult (bsmReport) { | 91 | export function getReceiveDataReportResult (bsmReport) { |
62 | return request({ | 92 | return request({ |
63 | url: SERVER.SERVERAPI + '/rest/sjsb/DataReport/getReceiveDataReportResult', | 93 | url: urlHeader + 'getReceiveDataReportResult', |
64 | method: 'get', | 94 | method: 'get', |
65 | params: { | 95 | params: { |
66 | bsmReport: bsmReport | 96 | bsmReport: bsmReport |
67 | } | 97 | } |
68 | }) | 98 | }) |
99 | } | ||
100 | |||
101 | /** | ||
102 | * @description: 重新上报 | ||
103 | * @param {*} bsmReport | ||
104 | * @author: renchao | ||
105 | */ | ||
106 | |||
107 | export function restartGenerateXml (bsmReport) { | ||
108 | return request({ | ||
109 | url: urlHeader + 'restartGenerateXml?bsmReport=' + bsmReport, | ||
110 | method: 'post' | ||
111 | }) | ||
69 | } | 112 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
1 | /* | ||
2 | * @Description: 登薄日志 | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-03-01 17:09:38 | ||
5 | */ | ||
6 | /* 引入请求文件 */ | ||
1 | import request from '@/utils/request' | 7 | import request from '@/utils/request' |
8 | /* 引入配置文件 */ | ||
2 | import SERVER from './config' | 9 | import SERVER from './config' |
10 | const urlHeader = SERVER.SERVERAPI + '/rest/sjsb/RecordLog/' | ||
3 | 11 | ||
4 | // 登簿日志分页 | 12 | /** |
13 | * @description: 登簿日志分页 | ||
14 | * @author: renchao | ||
15 | */ | ||
5 | export function getRecordLogPage (data) { | 16 | export function getRecordLogPage (data) { |
6 | return request({ | 17 | return request({ |
7 | url: SERVER.SERVERAPI + '/rest/sjsb/RecordLog/getRecordLogPage', | 18 | url: urlHeader + 'getRecordLogPage', |
8 | method: 'post', | 19 | method: 'post', |
9 | data | 20 | data |
10 | }) | 21 | }) |
11 | } | 22 | } |
12 | 23 | ||
24 | /** | ||
25 | * @description: 获取详情明细 | ||
26 | * @param {*} dbBsm | ||
27 | * @author: renchao | ||
28 | */ | ||
29 | export function getDetail (dbBsm) { | ||
30 | return request({ | ||
31 | url: urlHeader + 'getDetail', | ||
32 | method: 'get', | ||
33 | params: { | ||
34 | dbBsm: dbBsm | ||
35 | } | ||
36 | }) | ||
37 | } | ||
13 | 38 | ... | ... |
... | @@ -119,8 +119,7 @@ | ... | @@ -119,8 +119,7 @@ |
119 | import { mapGetters } from "vuex"; | 119 | import { mapGetters } from "vuex"; |
120 | import JsonEditor from "@/components/JsonEditor.vue"; | 120 | import JsonEditor from "@/components/JsonEditor.vue"; |
121 | import Xyjg from "./Result"; | 121 | import Xyjg from "./Result"; |
122 | import { getTabsDetail, getXml, getReportDetail } from "@/api/dataReport.js"; | 122 | import { getTabsDetail, getXml, getReportDetail, restartGenerateXml } from "@/api/dataReport.js"; |
123 | import { MessageBox } from "element-ui"; | ||
124 | export default { | 123 | export default { |
125 | components: { JsonEditor, Xyjg }, | 124 | components: { JsonEditor, Xyjg }, |
126 | props: { | 125 | props: { |
... | @@ -241,11 +240,11 @@ export default { | ... | @@ -241,11 +240,11 @@ export default { |
241 | this.editItem = ""; | 240 | this.editItem = ""; |
242 | this.headerList = []; | 241 | this.headerList = []; |
243 | }, | 242 | }, |
244 | submitForm () { | 243 | /** |
245 | // this.$store.dispatch( | 244 | * @description: 提交 |
246 | // "business/setRules", | 245 | * @author: renchao |
247 | // this.$store.state.business.subRules | 246 | */ |
248 | // ); | 247 | submitForm: _.debounce(function () { |
249 | this.$refs["editItem"].handleUpdateForm() | 248 | this.$refs["editItem"].handleUpdateForm() |
250 | .then((res) => { | 249 | .then((res) => { |
251 | if (res == 200) { | 250 | if (res == 200) { |
... | @@ -261,9 +260,22 @@ export default { | ... | @@ -261,9 +260,22 @@ export default { |
261 | type: "error" | 260 | type: "error" |
262 | }) | 261 | }) |
263 | }) | 262 | }) |
264 | }, | 263 | }, 500), |
265 | // 重新上报 | 264 | /** |
266 | handleResubmit () { } | 265 | * @description: 重新上报 |
266 | * @author: renchao | ||
267 | */ | ||
268 | handleResubmit: _.debounce(function () { | ||
269 | restartGenerateXml(this.dataReport.bsmSjsb || this.dataReport.bsmReport).then((res) => { | ||
270 | if (res.code == 200) { | ||
271 | this.resultInfo = res.message | ||
272 | this.$message({ | ||
273 | message: '生成成功', | ||
274 | type: 'success' | ||
275 | }) | ||
276 | } | ||
277 | }) | ||
278 | }, 500) | ||
267 | } | 279 | } |
268 | } | 280 | } |
269 | </script> | 281 | </script> | ... | ... |
... | @@ -118,6 +118,7 @@ | ... | @@ -118,6 +118,7 @@ |
118 | }, | 118 | }, |
119 | data () { | 119 | data () { |
120 | return { | 120 | return { |
121 | |||
121 | pickerOptionsStart: { | 122 | pickerOptionsStart: { |
122 | disabledDate: (time) => { | 123 | disabledDate: (time) => { |
123 | let endDateVal = this.form.receiveEndTime; | 124 | let endDateVal = this.form.receiveEndTime; | ... | ... |
... | @@ -4,38 +4,16 @@ | ... | @@ -4,38 +4,16 @@ |
4 | <h2>{{ productName }}</h2> | 4 | <h2>{{ productName }}</h2> |
5 | <div class="user_style"> | 5 | <div class="user_style"> |
6 | <h3>欢迎登录</h3> | 6 | <h3>欢迎登录</h3> |
7 | <el-form | 7 | <el-form :model="user" :rules="rules" ref="user" id="loginform" class="demo-ruleForm"> |
8 | :model="user" | ||
9 | :rules="rules" | ||
10 | ref="user" | ||
11 | id="loginform" | ||
12 | class="demo-ruleForm" | ||
13 | > | ||
14 | <el-form-item prop="account"> | 8 | <el-form-item prop="account"> |
15 | <el-input | 9 | <el-input class="username" v-model="user.account" placeholder="请输入用户名"></el-input> |
16 | class="username" | ||
17 | v-model="user.account" | ||
18 | placeholder="请输入用户名" | ||
19 | ></el-input> | ||
20 | </el-form-item> | 10 | </el-form-item> |
21 | <el-form-item prop="password"> | 11 | <el-form-item prop="password"> |
22 | <el-input | 12 | <el-input type="password" class="password" @keyup.native="login('user')" v-model="user.password" |
23 | type="password" | 13 | placeholder="请输入密码"></el-input> |
24 | class="password" | ||
25 | v-model="user.password" | ||
26 | placeholder="请输入密码" | ||
27 | ></el-input> | ||
28 | </el-form-item> | 14 | </el-form-item> |
29 | <!-- <el-form-item> | ||
30 | <el-checkbox | ||
31 | label="记住用户名" | ||
32 | @change="checkUserName" | ||
33 | ></el-checkbox> | ||
34 | </el-form-item> --> | ||
35 | <el-form-item class="login-btn"> | 15 | <el-form-item class="login-btn"> |
36 | <el-button type="primary" style="width: 100%" @click="login('user')" | 16 | <el-button type="primary" style="width: 100%" @click="login('user')">登录</el-button> |
37 | >登录</el-button | ||
38 | > | ||
39 | </el-form-item> | 17 | </el-form-item> |
40 | </el-form> | 18 | </el-form> |
41 | </div> | 19 | </div> |
... | @@ -48,7 +26,7 @@ import { loginIn } from "@/api/login.js"; | ... | @@ -48,7 +26,7 @@ import { loginIn } from "@/api/login.js"; |
48 | import { api, getAction } from "@/api/manageApi"; | 26 | import { api, getAction } from "@/api/manageApi"; |
49 | export default { | 27 | export default { |
50 | name: "Login", | 28 | name: "Login", |
51 | data() { | 29 | data () { |
52 | return { | 30 | return { |
53 | user: { | 31 | user: { |
54 | account: "", | 32 | account: "", |
... | @@ -62,7 +40,7 @@ export default { | ... | @@ -62,7 +40,7 @@ export default { |
62 | }, | 40 | }, |
63 | }; | 41 | }; |
64 | }, | 42 | }, |
65 | created() { | 43 | created () { |
66 | const params = {}; | 44 | const params = {}; |
67 | const queryOptions = { | 45 | const queryOptions = { |
68 | conditionGroup: { | 46 | conditionGroup: { |
... | @@ -87,7 +65,7 @@ export default { | ... | @@ -87,7 +65,7 @@ export default { |
87 | } | 65 | } |
88 | }); | 66 | }); |
89 | }, | 67 | }, |
90 | mounted() { | 68 | mounted () { |
91 | // this.checkUserName(); | 69 | // this.checkUserName(); |
92 | }, | 70 | }, |
93 | methods: { | 71 | methods: { |
... | @@ -106,7 +84,7 @@ export default { | ... | @@ -106,7 +84,7 @@ export default { |
106 | this.user.account = localStorage.getItem("accountId"); | 84 | this.user.account = localStorage.getItem("accountId"); |
107 | } | 85 | } |
108 | }, | 86 | }, |
109 | login(user) { | 87 | login (user) { |
110 | var self = this; | 88 | var self = this; |
111 | this.$refs[user].validate((valid) => { | 89 | this.$refs[user].validate((valid) => { |
112 | if (valid) { | 90 | if (valid) { |
... | @@ -135,6 +113,7 @@ export default { | ... | @@ -135,6 +113,7 @@ export default { |
135 | .username, | 113 | .username, |
136 | .password { | 114 | .password { |
137 | position: relative; | 115 | position: relative; |
116 | |||
138 | &:before { | 117 | &:before { |
139 | content: ""; | 118 | content: ""; |
140 | display: block; | 119 | display: block; |
... | @@ -145,18 +124,22 @@ export default { | ... | @@ -145,18 +124,22 @@ export default { |
145 | top: 7px; | 124 | top: 7px; |
146 | background-size: 100% 100%; | 125 | background-size: 100% 100%; |
147 | } | 126 | } |
127 | |||
148 | /deep/ .el-input__inner { | 128 | /deep/ .el-input__inner { |
149 | text-indent: 24px; | 129 | text-indent: 24px; |
150 | border: 1px solid rgba(11, 161, 248, 0.4); | 130 | border: 1px solid rgba(11, 161, 248, 0.4); |
151 | background-color: rgba(6, 135, 205, 0.3) !important; | 131 | background-color: rgba(6, 135, 205, 0.3) !important; |
152 | } | 132 | } |
153 | } | 133 | } |
134 | |||
154 | .username::before { | 135 | .username::before { |
155 | background-image: url(../../image/username.png); | 136 | background-image: url(../../image/username.png); |
156 | } | 137 | } |
138 | |||
157 | .password::before { | 139 | .password::before { |
158 | background-image: url(../../image/password.png); | 140 | background-image: url(../../image/password.png); |
159 | } | 141 | } |
142 | |||
160 | .bg { | 143 | .bg { |
161 | width: 100%; | 144 | width: 100%; |
162 | height: 100%; | 145 | height: 100%; |
... | @@ -180,6 +163,7 @@ export default { | ... | @@ -180,6 +163,7 @@ export default { |
180 | background-size: 100% 100%; | 163 | background-size: 100% 100%; |
181 | box-sizing: border-box; | 164 | box-sizing: border-box; |
182 | padding: 56px; | 165 | padding: 56px; |
166 | |||
183 | h2 { | 167 | h2 { |
184 | width: 100%; | 168 | width: 100%; |
185 | font-size: 36px; | 169 | font-size: 36px; |
... | @@ -190,14 +174,12 @@ export default { | ... | @@ -190,14 +174,12 @@ export default { |
190 | position: absolute; | 174 | position: absolute; |
191 | right: 0; | 175 | right: 0; |
192 | top: -70px; | 176 | top: -70px; |
193 | background-image: linear-gradient( | 177 | background-image: linear-gradient(180deg, |
194 | 180deg, | 178 | rgba(99, 163, 255, 1) 0, |
195 | rgba(99, 163, 255, 1) 0, | 179 | rgba(99, 163, 255, 1) 0, |
196 | rgba(99, 163, 255, 1) 0, | 180 | rgba(182, 220, 255, 1) 49.731445%, |
197 | rgba(182, 220, 255, 1) 49.731445%, | 181 | rgba(114, 190, 255, 1) 100%, |
198 | rgba(114, 190, 255, 1) 100%, | 182 | rgba(114, 190, 255, 1) 100%); |
199 | rgba(114, 190, 255, 1) 100% | ||
200 | ); | ||
201 | overflow-wrap: break-word; | 183 | overflow-wrap: break-word; |
202 | color: rgba(255, 255, 255, 1); | 184 | color: rgba(255, 255, 255, 1); |
203 | font-size: 36px; | 185 | font-size: 36px; |
... | @@ -206,6 +188,7 @@ export default { | ... | @@ -206,6 +188,7 @@ export default { |
206 | -webkit-text-fill-color: transparent; | 188 | -webkit-text-fill-color: transparent; |
207 | } | 189 | } |
208 | } | 190 | } |
191 | |||
209 | .login { | 192 | .login { |
210 | .user_style { | 193 | .user_style { |
211 | h3 { | 194 | h3 { |
... | @@ -217,6 +200,7 @@ export default { | ... | @@ -217,6 +200,7 @@ export default { |
217 | font-weight: 400; | 200 | font-weight: 400; |
218 | } | 201 | } |
219 | } | 202 | } |
203 | |||
220 | .btn { | 204 | .btn { |
221 | width: 100%; | 205 | width: 100%; |
222 | height: 6vh; | 206 | height: 6vh; |
... | @@ -225,6 +209,7 @@ export default { | ... | @@ -225,6 +209,7 @@ export default { |
225 | font-size: 1.4vw; | 209 | font-size: 1.4vw; |
226 | color: #ffffff; | 210 | color: #ffffff; |
227 | } | 211 | } |
212 | |||
228 | .btn:hover { | 213 | .btn:hover { |
229 | cursor: pointer; | 214 | cursor: pointer; |
230 | background-color: #2d8cf0; | 215 | background-color: #2d8cf0; |
... | @@ -235,18 +220,22 @@ export default { | ... | @@ -235,18 +220,22 @@ export default { |
235 | .el-form-item { | 220 | .el-form-item { |
236 | margin-bottom: 24px !important; | 221 | margin-bottom: 24px !important; |
237 | } | 222 | } |
223 | |||
238 | .login-btn { | 224 | .login-btn { |
239 | margin-top: 40px !important; | 225 | margin-top: 40px !important; |
240 | } | 226 | } |
227 | |||
241 | .el-button { | 228 | .el-button { |
242 | font-size: 18px; | 229 | font-size: 18px; |
243 | background: #0d8cc0 !important; | 230 | background: #0d8cc0 !important; |
244 | color: #ffffff !important; | 231 | color: #ffffff !important; |
245 | cursor: pointer !important; | 232 | cursor: pointer !important; |
246 | } | 233 | } |
234 | |||
247 | .el-input__inner { | 235 | .el-input__inner { |
248 | width: 100% !important; | 236 | width: 100% !important; |
249 | } | 237 | } |
238 | |||
250 | .el-checkbox__label { | 239 | .el-checkbox__label { |
251 | color: #fff; | 240 | color: #fff; |
252 | } | 241 | } | ... | ... |
... | @@ -51,7 +51,7 @@ import data from "./data"; | ... | @@ -51,7 +51,7 @@ import data from "./data"; |
51 | // 引入table混入方法 | 51 | // 引入table混入方法 |
52 | import tableMixin from "@/mixins/tableMixin.js"; | 52 | import tableMixin from "@/mixins/tableMixin.js"; |
53 | // 导出excel表格 | 53 | // 导出excel表格 |
54 | import downLbTable from '@/components/downLbTable' | 54 | import downLbTable from '@/components/DownLbTable' |
55 | // 获取时间 | 55 | // 获取时间 |
56 | import { getCurrentDate, setExport2Excel } from "@/utils/tools"; | 56 | import { getCurrentDate, setExport2Excel } from "@/utils/tools"; |
57 | export default { | 57 | export default { | ... | ... |
... | @@ -51,7 +51,7 @@ import data from "./data"; | ... | @@ -51,7 +51,7 @@ import data from "./data"; |
51 | // 引入table混入方法 | 51 | // 引入table混入方法 |
52 | import tableMixin from "@/mixins/tableMixin.js"; | 52 | import tableMixin from "@/mixins/tableMixin.js"; |
53 | // 导出excel表格 | 53 | // 导出excel表格 |
54 | import downLbTable from '@/components/downLbTable' | 54 | import downLbTable from '@/components/DownLbTable' |
55 | // 获取时间 | 55 | // 获取时间 |
56 | import { getCurrentDate, setExport2Excel } from "@/utils/tools"; | 56 | import { getCurrentDate, setExport2Excel } from "@/utils/tools"; |
57 | export default { | 57 | export default { | ... | ... |
... | @@ -49,7 +49,7 @@ import data from "./data"; | ... | @@ -49,7 +49,7 @@ import data from "./data"; |
49 | // 引入table混入方法 | 49 | // 引入table混入方法 |
50 | import tableMixin from "@/mixins/tableMixin.js"; | 50 | import tableMixin from "@/mixins/tableMixin.js"; |
51 | // 导出excel表格 | 51 | // 导出excel表格 |
52 | import downLbTable from '@/components/downLbTable' | 52 | import downLbTable from '@/components/DownLbTable' |
53 | // 获取时间 | 53 | // 获取时间 |
54 | import { getCurrentDate, setExport2Excel } from "@/utils/tools"; | 54 | import { getCurrentDate, setExport2Excel } from "@/utils/tools"; |
55 | export default { | 55 | export default { | ... | ... |
... | @@ -15,22 +15,22 @@ | ... | @@ -15,22 +15,22 @@ |
15 | <el-row class="dialog-from_header item-content-input"> | 15 | <el-row class="dialog-from_header item-content-input"> |
16 | <el-col :span="8"> | 16 | <el-col :span="8"> |
17 | <span>行政编码:</span> | 17 | <span>行政编码:</span> |
18 | <el-input v-model="titleForm.xzbm" maxlength="10"></el-input> | 18 | <el-input v-model="accessLog.AREACODE" maxlength="10"></el-input> |
19 | </el-col> | 19 | </el-col> |
20 | <el-col :span="8"> | 20 | <el-col :span="8"> |
21 | <span>行政名称:</span> | 21 | <span>行政名称:</span> |
22 | <el-input v-model="titleForm.mc" maxlength="20"></el-input> | 22 | <el-input v-model="accessLog.AREANAME" maxlength="20"></el-input> |
23 | </el-col> | 23 | </el-col> |
24 | <el-col :span="8"> | 24 | <el-col :span="8"> |
25 | <span>日期:</span> | 25 | <span>日期:</span> |
26 | <el-date-picker v-model="titleForm.date" type="date"> | 26 | <el-date-picker v-model="accessLog.CREATEDATE" type="date"> |
27 | </el-date-picker> | 27 | </el-date-picker> |
28 | </el-col> | 28 | </el-col> |
29 | </el-row> | 29 | </el-row> |
30 | <el-row class="dialog-from_header item-content-input"> | 30 | <el-row class="dialog-from_header item-content-input"> |
31 | <el-col :span="24"> | 31 | <el-col :span="24"> |
32 | <span class="bz">备注:</span> | 32 | <span class="bz">备注:</span> |
33 | <el-input placeholder="请输入内容" maxlength="1000" v-model="titleForm.bz"> | 33 | <el-input placeholder="请输入内容" maxlength="1000" v-model="accessLog.REMARK"> |
34 | </el-input> | 34 | </el-input> |
35 | </el-col> | 35 | </el-col> |
36 | </el-row> | 36 | </el-row> |
... | @@ -110,7 +110,7 @@ | ... | @@ -110,7 +110,7 @@ |
110 | <div> | 110 | <div> |
111 | <el-row class="dialog-from_header item-content-input"> | 111 | <el-row class="dialog-from_header item-content-input"> |
112 | <el-col :span="4"> | 112 | <el-col :span="4"> |
113 | <span>总数量1:</span> | 113 | <span>总数量:</span> |
114 | <el-input v-model="titleForm.totalNum" oninput="if(value.length > 6) value=value.slice(0, 6)" | 114 | <el-input v-model="titleForm.totalNum" oninput="if(value.length > 6) value=value.slice(0, 6)" |
115 | type="number"></el-input> | 115 | type="number"></el-input> |
116 | </el-col> | 116 | </el-col> |
... | @@ -214,6 +214,7 @@ | ... | @@ -214,6 +214,7 @@ |
214 | <script> | 214 | <script> |
215 | import { sbdata, sendThis } from './data/sbdata' | 215 | import { sbdata, sendThis } from './data/sbdata' |
216 | import { dbdata, sendThis1 } from './data/dbdata' | 216 | import { dbdata, sendThis1 } from './data/dbdata' |
217 | import { getDetail } from "@/api/recordLog.js" | ||
217 | import JsonEditor from "@/components/JsonEditor.vue"; | 218 | import JsonEditor from "@/components/JsonEditor.vue"; |
218 | import Xyjg from "./Result"; | 219 | import Xyjg from "./Result"; |
219 | export default { | 220 | export default { |
... | @@ -230,11 +231,15 @@ export default { | ... | @@ -230,11 +231,15 @@ export default { |
230 | dialogVisible: false, | 231 | dialogVisible: false, |
231 | titleName: 'sjmx', | 232 | titleName: 'sjmx', |
232 | titleName2: 'drdbxd', | 233 | titleName2: 'drdbxd', |
234 | // 头部信息 | ||
235 | accessLog: { | ||
236 | AREACODE: '', | ||
237 | AREANAME: '', | ||
238 | CREATEDATE: '', | ||
239 | REMARK: '' | ||
240 | }, | ||
241 | |||
233 | titleForm: { | 242 | titleForm: { |
234 | xzbm: '', | ||
235 | mc: '', | ||
236 | date: '', | ||
237 | bz: '', | ||
238 | totalNum: '', | 243 | totalNum: '', |
239 | firstReg: '', | 244 | firstReg: '', |
240 | transferReg: '', | 245 | transferReg: '', |
... | @@ -271,8 +276,12 @@ export default { | ... | @@ -271,8 +276,12 @@ export default { |
271 | this.dialogVisible = false; | 276 | this.dialogVisible = false; |
272 | }, | 277 | }, |
273 | isShow (item) { | 278 | isShow (item) { |
274 | this.titleName = 'sjmx'; | 279 | this.titleName = 'sjmx' |
275 | this.dialogVisible = true; | 280 | this.dialogVisible = true |
281 | console.log(item, 'itemitemitem') | ||
282 | getDetail(item.dbBsm).then(res => { | ||
283 | console.log(res, 'eeeeeeeeeeeeeeeee'); | ||
284 | }) | ||
276 | }, | 285 | }, |
277 | // 当日登薄详单 | 286 | // 当日登薄详单 |
278 | handleDBAdd () { | 287 | handleDBAdd () { | ... | ... |
... | @@ -147,6 +147,9 @@ export default { | ... | @@ -147,6 +147,9 @@ export default { |
147 | this.$refs.editLog.isShow(row); | 147 | this.$refs.editLog.isShow(row); |
148 | this.$store.dispatch('business/setReportLogEdit') | 148 | this.$store.dispatch('business/setReportLogEdit') |
149 | } | 149 | } |
150 | }, | ||
151 | destroyed () { | ||
152 | this.$store.dispatch('business/setEdit') | ||
150 | } | 153 | } |
151 | } | 154 | } |
152 | </script> | 155 | </script> | ... | ... |
-
Please register or sign in to post a comment