5e988259 by jiaozeping@pashanhoo.com
2 parents be746b5c dc5f316c
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
9 <el-row> 9 <el-row>
10 <el-col :span="6"> 10 <el-col :span="6">
11 <span>业务报文ID:</span> 11 <span>业务报文ID:</span>
12 <div>{{ dataReport.bizmsgid }}</div> 12 <div>{{ dataReport.bizMsgid }}</div>
13 </el-col> 13 </el-col>
14 <el-col :span="6"> 14 <el-col :span="6">
15 <span>接入报文ID:</span> 15 <span>接入报文ID:</span>
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
45 <el-row> 45 <el-row>
46 <el-col :span="6"> 46 <el-col :span="6">
47 <span>创建时间:</span> 47 <span>创建时间:</span>
48 <div>{{ dataReport.syscreatedate }}</div> 48 <div>{{ dataReport.createdate }}</div>
49 </el-col> 49 </el-col>
50 <el-col :span="6"> 50 <el-col :span="6">
51 <span>业务流水号:</span> 51 <span>业务流水号:</span>
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
91 </el-tabs> 91 </el-tabs>
92 <div class="edit-content"> 92 <div class="edit-content">
93 <component :is="editItem" ref="editItem" :class="{ 'editForm': $store.state.business.Edit }" :bsmYwsjb="bsmYwsjb" 93 <component :is="editItem" ref="editItem" :class="{ 'editForm': $store.state.business.Edit }" :bsmYwsjb="bsmYwsjb"
94 :bsmSjsb="dataReport.bizmsgid" /> 94 :bsmSjsb="dataReport.bsmReport" />
95 </div> 95 </div>
96 <div slot="footer" class="dialog_footer" ref="dialogFooter"> 96 <div slot="footer" class="dialog_footer" ref="dialogFooter">
97 <div class="dialog_button"> 97 <div class="dialog_button">
...@@ -107,116 +107,128 @@ ...@@ -107,116 +107,128 @@
107 </template> 107 </template>
108 108
109 <script> 109 <script>
110 import { mapGetters } from 'vuex' 110 import { mapGetters } from "vuex";
111 import dataReporting from '@/api/dataReporting' 111 import dataReporting from "@/api/dataReporting";
112 import { getDetail } from '@/api/sbbwcx.js' 112 import { getDetail } from "@/api/sbbwcx.js";
113 import { MessageBox } from 'element-ui' 113 import { MessageBox } from "element-ui";
114 export default { 114 export default {
115 computed: { 115 computed: {
116 ...mapGetters(['dicData']) 116 ...mapGetters(["dicData"]),
117 }, 117 },
118 props: { 118 props: {},
119 }, 119 data() {
120 data () {
121 return { 120 return {
122 dataReport: {}, 121 dataReport: {},
123 index: 0, 122 index: 0,
124 bsmYwsjb: '', 123 bsmYwsjb: "",
125 ruleFormList: { 124 ruleFormList: {
126 bizMsgID: '', 125 bizMsgID: "",
127 asid: '', 126 asid: "",
128 areaCode: '', 127 areaCode: "",
129 preestateNum: '', 128 preestateNum: "",
130 recType: '', 129 recType: "",
131 rightType: '', 130 rightType: "",
132 regType: '', 131 regType: "",
133 certCount: '', 132 certCount: "",
134 createDate: '', 133 createDate: "",
135 recFlowID: '', 134 recFlowID: "",
136 regOrgID: '', 135 regOrgID: "",
137 prllfCount: '', 136 prllfCount: "",
138 parcelID: '', 137 parcelID: "",
139 estateNum: '', 138 estateNum: "",
140 preCertID: '', 139 preCertID: "",
141 digitalSign: '' 140 digitalSign: "",
142 }, 141 },
143 images: require('./images/success.gif'), 142 images: require("./images/success.gif"),
144 saveloding: false, 143 saveloding: false,
145 dialogVisible: false, 144 dialogVisible: false,
146 activeName: undefined, 145 activeName: undefined,
147 editItem: '', 146 editItem: "",
148 title: '', 147 title: "",
149 headerList: [], 148 headerList: [],
150 dataTable: '' 149 dataTable: "",
151 } 150 };
152 }, 151 },
153 methods: { 152 methods: {
154 isShow (item) { 153 isShow(item) {
155 this.dataReport = item; 154 this.dataReport = item;
156 this.dialogVisible = true 155 this.dialogVisible = true;
157 //获取表头列表 156 //获取表头列表
158 getDetail({ bizmsgid: this.dataReport.bizmsgid }).then(res => { 157 getDetail({ bsmReport: this.dataReport.bsmReport }).then((res) => {
159 if (res.code == 200) { 158 if (res.code == 200) {
160 this.headerList = res.result 159 this.headerList = res.result;
161 } 160 }
162 }) 161 });
163 }, 162 },
164 changeList (val) { 163 changeList(val) {
165 let _index = val.index 164 let _index = val.index;
166 if (_index > this.index) { 165 if (_index > this.index) {
167
168 } 166 }
169 this.index = _index 167 this.index = _index;
170 this.bsmYwsjb = this.headerList[val.index].bsmYwsjb 168 this.bsmYwsjb = this.headerList[val.index].bsmYwsjb;
171 this.editItem = this.loadView(this.activeName) 169 this.editItem = this.loadView(this.activeName);
172 this.diaData.list.forEach((item) => { 170 this.diaData.list.forEach((item) => {
173 if (item.soleurl == this.activeName) { 171 if (item.soleurl == this.activeName) {
174 this.dataTable = item.dataTable 172 this.dataTable = item.dataTable;
175 } 173 }
176 }); 174 });
177 }, 175 },
178 loadView (view) { 176 loadView(view) {
179 return r => require.ensure([], () => r(require(`@/components/business/${view}`))) 177 return (r) =>
178 require.ensure([], () => r(require(`@/components/business/${view}`)));
180 }, 179 },
181 closeDialog () { 180 closeDialog() {
182 this.dialogVisible = false 181 this.dialogVisible = false;
183 }, 182 },
184 submitForm () { 183 submitForm() {
185 let _this = this 184 let _this = this;
186 this.$store.dispatch('business/setRules', this.$store.state.business.subRules) 185 this.$store.dispatch(
186 "business/setRules",
187 this.$store.state.business.subRules
188 );
187 this.$nextTick(() => { 189 this.$nextTick(() => {
188 this.$refs['editItem'] && this.$refs['editItem'].verificationForm().then(res => { 190 this.$refs["editItem"] &&
191 this.$refs["editItem"].verificationForm().then((res) => {
189 if (!res) { 192 if (!res) {
190 _this.$message({ 193 _this.$message({
191 message: '请检查表单必填项是否完整', 194 message: "请检查表单必填项是否完整",
192 type: 'warning' 195 type: "warning",
193 }) 196 });
194 return false 197 return false;
195 } else { 198 } else {
196 _this.saveloding = true 199 _this.saveloding = true;
197 _this.$refs['editItem'].handleUpdateForm().then(res => { 200 _this.$refs["editItem"]
201 .handleUpdateForm()
202 .then((res) => {
198 if (res == 200) { 203 if (res == 200) {
199 _this.$alert('<p><img class="success-images" src="' + this.images + '"/>编辑成功!</p>', '提示', { 204 _this.$alert(
205 '<p><img class="success-images" src="' +
206 this.images +
207 '"/>编辑成功!</p>',
208 "提示",
209 {
200 showConfirmButton: false, 210 showConfirmButton: false,
201 dangerouslyUseHTMLString: true 211 dangerouslyUseHTMLString: true,
202 }) 212 }
213 );
203 setTimeout(() => { 214 setTimeout(() => {
204 MessageBox.close(false) 215 MessageBox.close(false);
205 }, 1500) 216 }, 1500);
206 } 217 }
207 }).catch(function (error) {
208 _this.$alert(error, '提示', {
209 confirmButtonText: '确定',
210 type: 'error'
211 }) 218 })
219 .catch(function (error) {
220 _this.$alert(error, "提示", {
221 confirmButtonText: "确定",
222 type: "error",
212 }); 223 });
213 _this.saveloding = false 224 });
214 } 225 _this.saveloding = false;
215 })
216 })
217 }
218 } 226 }
219 } 227 });
228 });
229 },
230 },
231 };
220 </script> 232 </script>
221 <style scoped lang="scss"> 233 <style scoped lang="scss">
222 @import "~@/styles/mixin.scss"; 234 @import "~@/styles/mixin.scss";
......
...@@ -109,7 +109,7 @@ export default { ...@@ -109,7 +109,7 @@ export default {
109 visualMap: { 109 visualMap: {
110 min: 0, 110 min: 0,
111 max: _this.max, 111 max: _this.max,
112 bottom: '0%', 112 bottom: '5%',
113 right: 30, 113 right: 30,
114 splitNumber: 6, 114 splitNumber: 6,
115 seriesIndex: [0], 115 seriesIndex: [0],
......
...@@ -246,3 +246,41 @@ table td { ...@@ -246,3 +246,41 @@ table td {
246 top: 2px; 246 top: 2px;
247 } 247 }
248 } 248 }
249
250
251 // element 下拉框样式
252 .el-menu--popup,
253 .el-select-dropdown {
254 background-color: #031A46 !important;
255 padding: 10px;
256 border: none;
257 }
258
259 .el-popper[x-placement^="bottom"] .popper__arrow::after {
260 border-bottom-color: #074487 !important;
261 }
262
263 .el-popper[x-placement^="bottom"] .popper__arrow {
264 border-bottom-color: #074487 !important;
265 }
266
267
268
269 .el-menu--horizontal .el-menu .el-menu-item,
270 .el-select-dropdown__item,
271 .el-menu--horizontal .el-menu .el-submenu__title {
272 background: #074487 !important;
273 margin: 5px 0;
274 border: 1px solid #074487;
275 color: #02D9FD !important;
276 }
277
278 .el-menu--horizontal .el-menu-item:not(.is-disabled):hover,
279 .el-select-dropdown__item.hover,
280 .el-select-dropdown__item:hover,
281 .el-menu--horizontal .el-menu-item:not(.is-disabled):focus {
282 background: #074487;
283 border: 1px solid #02D9FD;
284 color: #FFFFFF !important;
285 font-weight: 700;
286 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -9,8 +9,8 @@ ...@@ -9,8 +9,8 @@
9 9
10 } 10 }
11 11
12 .cell { 12 .el-table__row .cell {
13 color: #02D9FD !important; 13 color: #ACEFFA !important;
14 } 14 }
15 15
16 .el-table__row { 16 .el-table__row {
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
27 //transparent:默认。背景颜色为透明。 27 //transparent:默认。背景颜色为透明。
28 // background-color: inherit !important; 28 // background-color: inherit !important;
29 background-color: transparent; 29 background-color: transparent;
30 color: #02D9FD;
30 } 31 }
31 32
32 & tr { 33 & tr {
......
...@@ -27,7 +27,7 @@ export default { ...@@ -27,7 +27,7 @@ export default {
27 27
28 <style lang="scss" scoped> 28 <style lang="scss" scoped>
29 .centercard { 29 .centercard {
30 width: 48%; 30 width: 44%;
31 height: calc(100vh - 114px); 31 height: calc(100vh - 114px);
32 box-sizing: border-box; 32 box-sizing: border-box;
33 padding: 0 10px; 33 padding: 0 10px;
...@@ -39,7 +39,7 @@ export default { ...@@ -39,7 +39,7 @@ export default {
39 background: url("~@/image/mapcenter.png") no-repeat; 39 background: url("~@/image/mapcenter.png") no-repeat;
40 background-size: 100% 100%; 40 background-size: 100% 100%;
41 position: relative; 41 position: relative;
42 height: 510px; 42 height: 485px;
43 43
44 .title { 44 .title {
45 position: absolute; 45 position: absolute;
......
...@@ -76,7 +76,7 @@ export default { ...@@ -76,7 +76,7 @@ export default {
76 76
77 <style lang="scss" scoped> 77 <style lang="scss" scoped>
78 .leftcard { 78 .leftcard {
79 width: 30%; 79 width: 32%;
80 height: calc(100% -94px); 80 height: calc(100% -94px);
81 display: flex; 81 display: flex;
82 flex-direction: column; 82 flex-direction: column;
......
...@@ -51,7 +51,7 @@ export default { ...@@ -51,7 +51,7 @@ export default {
51 } 51 }
52 52
53 .rightcard { 53 .rightcard {
54 width: 30%; 54 width: 32%;
55 display: flex; 55 display: flex;
56 height: calc(100% -94px); 56 height: calc(100% -94px);
57 flex-direction: column; 57 flex-direction: column;
......