Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-web
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
f0bf18c2
authored
2023-02-23 10:14:40 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:提交修改
1 parent
e9c701ca
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
48 additions
and
56 deletions
.gitignore
src/api/config.js
src/components/EditDialog/index.vue
src/components/JsonEditor.vue
src/views/jsbwcx/data/index.js
src/views/statistics/dataReceiveQuality/index.vue
.gitignore
View file @
f0bf18c
...
...
@@ -21,6 +21,4 @@ yarn-error.log*
*.njsproj
*.sln
*.sw?
/src/api/config.js
package-lock.json
...
...
src/api/config.js
0 → 100644
View file @
f0bf18c
export
default
{
// SERVERAPI: '/service-bdcsjsb-th', //浩浩
// SERVERAPI: '/service-bdcsjsb-zz',
SERVERAPI
:
'/bdcsjsb'
,
//赵千
MANAGEMENTAPI
:
'http://192.168.2.236/management'
// SERVERAPI: '/bdcsjsb-service'
// SERVERAPI: '/bdcsjsb-jiao0'
}
// 汉中
// export default {
// // SERVERAPI: '/service-bdcsjsb-th', //线上
// SERVERAPI: '/bdcsjsb', //赵千
// MANAGEMENTAPI: 'http://172.16.56.32:8877/management'
// }
src/components/EditDialog/index.vue
View file @
f0bf18c
<
template
>
<!-- 编辑 -->
<el-dialog
:close-on-click-modal=
"false"
top=
"0"
@
close=
"closeDialog"
custom-class=
"dialogBox editDialogBox mainCenter"
:visible
.
sync=
"dialogVisible"
width=
"85%"
>
<el-dialog
:close-on-click-modal=
"false"
top=
"0"
@
close=
"closeDialog"
custom-class=
"dialogBox editDialogBox mainCenter"
:visible
.
sync=
"dialogVisible"
width=
"85%"
>
<div
slot=
"title"
class=
"dialog_title"
ref=
"dialogTitle"
>
{{
title
||
'标题'
}}
</div>
...
...
@@ -96,6 +95,10 @@
<component
:is=
"editItem"
ref=
"editItem"
:class=
"
{ 'editForm': $store.state.business.Edit }"
:bsmYwsjb="bsmYwsjb" :bsmSjsb="dataReport.bsmReport || dataReport.bsmSjsb" />
</div>
<div
class=
"d-center"
>
<btn
nativeType=
"cz"
@
click=
"dialogVisible = false"
>
取 消
</btn>
<btn
nativeType=
"cx"
@
click=
"submitForm"
>
确 定
</btn>
</div>
</div>
<div
v-if=
"titleName == 'xyjg'"
>
<Xyjg
:form-data=
'dataReport'
></Xyjg>
...
...
@@ -160,7 +163,6 @@ export default {
digitalSign
:
""
,
},
images
:
require
(
"./images/success.gif"
),
saveloding
:
false
,
dialogVisible
:
false
,
activeName
:
undefined
,
editItem
:
""
,
...
...
@@ -234,51 +236,25 @@ export default {
this
.
headerList
=
[];
},
submitForm
()
{
let
_this
=
this
;
this
.
$store
.
dispatch
(
"business/setRules"
,
this
.
$store
.
state
.
business
.
subRules
);
this
.
$nextTick
(()
=>
{
this
.
$refs
[
"editItem"
]
&&
this
.
$refs
[
"editItem"
].
verificationForm
().
then
((
res
)
=>
{
if
(
!
res
)
{
_this
.
$message
({
message
:
"请检查表单必填项是否完整"
,
type
:
"warning"
,
});
return
false
;
}
else
{
_this
.
saveloding
=
true
;
_this
.
$refs
[
"editItem"
]
.
handleUpdateForm
()
.
then
((
res
)
=>
{
if
(
res
==
200
)
{
_this
.
$alert
(
'<p><img class="success-images" src="'
+
this
.
images
+
'"/>编辑成功!</p>'
,
"提示"
,
{
showConfirmButton
:
false
,
dangerouslyUseHTMLString
:
true
,
}
);
setTimeout
(()
=>
{
MessageBox
.
close
(
false
);
},
1500
);
}
})
.
catch
(
function
(
error
)
{
_this
.
$alert
(
error
,
"提示"
,
{
confirmButtonText
:
"确定"
,
type
:
"error"
,
});
});
_this
.
saveloding
=
false
;
}
});
});
// this.$store.dispatch(
// "business/setRules",
// this.$store.state.business.subRules
// );
this
.
$refs
[
"editItem"
].
handleUpdateForm
()
.
then
((
res
)
=>
{
if
(
res
==
200
)
{
this
.
$message
({
message
:
'修改成功'
,
type
:
'success'
})
}
})
.
catch
(
function
(
error
)
{
this
.
$alert
(
error
,
"提示"
,
{
confirmButtonText
:
"确定"
,
type
:
"error"
})
})
}
}
}
...
...
@@ -315,6 +291,8 @@ export default {
}
.sjmx
{
padding-bottom
:
25px
;
/deep/.el-tabs__item
{
height
:
50px
;
padding-top
:
6px
;
...
...
@@ -390,7 +368,7 @@ export default {
}
.edit-content
{
height
:
4
5
0px
;
height
:
4
2
0px
;
overflow-y
:
auto
;
overflow-x
:
hidden
;
padding-right
:
1px
;
...
...
src/components/JsonEditor.vue
View file @
f0bf18c
<
template
>
<el-input
type=
"textarea"
:rows=
"6"
disabled
placeholder=
"配置参数"
v-model=
"resultInfo"
>
</el-input>
<div>
<el-input
type=
"textarea"
:rows=
"6"
disabled
placeholder=
"配置参数"
v-model=
"resultInfo"
>
</el-input>
</div>
</
template
>
<
script
>
// 引入json编译器
...
...
src/views/jsbwcx/data/index.js
View file @
f0bf18c
...
...
@@ -46,7 +46,7 @@ class data extends filter {
{
prop
:
"bizMsgid"
,
label
:
"业务报文ID"
,
width
:
9
0
,
width
:
9
8
,
},
{
prop
:
"createdate"
,
...
...
src/views/statistics/dataReceiveQuality/index.vue
View file @
f0bf18c
...
...
@@ -25,7 +25,7 @@
<el-form-item>
<btn
nativeType=
"cz"
@
click=
"handleResetForm"
>
重置
</btn>
<btn
nativeType=
"cx"
@
click=
"handleSearch"
>
查询
</btn>
<btn
nativeType=
"cx"
@
click=
"handlesetExport2Excel(2121)"
>
导出
</btn>
<btn
nativeType=
"cx"
@
click=
"handlesetExport2Excel(2121)"
>
导出
1
</btn>
</el-form-item>
</el-col>
</el-row>
...
...
Please
register
or
sign in
to post a comment