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
9dd5c4b0
authored
2023-03-15 16:46:37 +0800
by
xiaomiao
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
--no commit message
2 parents
1a0b2b79
f55854f3
Show whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
103 additions
and
76 deletions
package.json
public/index.html
src/api/config.js
src/components/Echart/Map/Chart.vue
src/image/loginBoxBg.png
src/image/loginLogo.png
src/permission.js
src/router/index.js
src/settings.js
src/utils/get-page-title.js
src/views/home/dataView/centercard.vue
src/views/home/dataView/leftcard.vue
src/views/home/dataView/rightcard.vue
src/views/jsbwcx/data/index.js
src/views/loginjg/index.vue
src/views/system/components/editValidRule.vue
src/views/system/menus/edit-dialog.vue
src/views/system/menus/index.vue
vue.config.js
package.json
View file @
9dd5c4b
...
...
@@ -38,6 +38,7 @@
"babel-plugin-dynamic-import-node"
:
"2.3.3"
,
"chalk"
:
"2.4.2"
,
"connect"
:
"3.6.6"
,
"copy-webpack-plugin"
:
"^6.0.0"
,
"element-ui"
:
"^2.15.13"
,
"html-webpack-plugin"
:
"3.2.0"
,
"runjs"
:
"4.3.2"
,
...
...
public/index.html
View file @
9dd5c4b
<!--
* @Description: 引入配置文件
* @Autor: renchao
* @LastEditTime: 2023-03-15 16:15:45
-->
<!DOCTYPE html>
<html>
<head>
<head>
<meta
charset=
"utf-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
>
<meta
name=
"renderer"
content=
"webkit"
>
<meta
name=
"referrer"
content=
"no-referrer"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
>
<link
rel=
"icon"
href=
"<%= BASE_URL %>favicon.ico"
>
<title>
<
%= webpackConfig.name %>
</title>
</head>
<body>
<title>
<
%= webpackConfig.name %>
</title>
</head>
<body>
<div
id=
"app"
></div>
<!-- built files will be auto injected --
>
</body>
</body
>
</html>
<script>
window
.
baseUrl
=
location
.
origin
||
location
.
protocol
+
'//'
+
location
.
host
document
.
write
(
"<s"
+
"cript type='text/javascript' src='./config.js?"
+
Math
.
random
().
toString
(
36
).
substr
(
2
)
+
"'></scr"
+
"ipt>"
);
window
.
baseUrl
=
location
.
origin
||
location
.
protocol
+
'//'
+
location
.
host
// window.authorization = 'bearer AT-14-h4UlUGjPvgmrIgnDO-3QgMP0m4YJGQTR';
// window.authorization = 'bearer AT-223-c-Q86EHx75m7ig3EDf-SwMWl4U0AKn0b';
window
.
timeout
=
5000
window
.
authorization
=
"bearer AT-4-MxSrO29Coe7VTazx8uuixtqqgO-hvCB6"
window
.
timeout
=
5000
window
.
authorization
=
"bearer AT-4-MxSrO29Coe7VTazx8uuixtqqgO-hvCB6"
</script>
\ No newline at end of file
...
...
src/api/config.js
View file @
9dd5c4b
...
...
@@ -4,12 +4,9 @@
* @LastEditTime: 2023-03-01 15:35:44
*/
export
default
{
// SERVERAPI: '/service-bdcsjsb-th', //浩浩
// SERVERAPI: '/service-bdcsjsb-zz',
TITLE
:
'汉中市数据上报系统'
,
SERVERAPI
:
'/bdcsjsb'
,
//赵千
MANAGEMENTAPI
:
'http://192.168.2.236/management'
// SERVERAPI: '/bdcsjsb-service'
// SERVERAPI: '/bdcsjsb-jiao0'
}
// 汉中
// export default {
...
...
src/components/Echart/Map/Chart.vue
View file @
9dd5c4b
<
template
>
<!-- 地图 -->
<Echart
id=
"centreLeft2Chart"
class=
"centreLeft2Chart"
:key=
"key"
ref=
"centreLeft2ChartRef"
width=
"100%"
height=
"100%"
<Echart
id=
"centreLeft2Chart"
class=
"centreLeft2Chart"
:key=
"key"
ref=
"centreLeft2ChartRef"
width=
"100%"
height=
"100%"
:options=
"options"
></Echart>
</
template
>
<
script
>
import
Echart
from
"@/common/echart"
;
import
{
mapGetters
}
from
"vuex"
;
export
default
{
import
Echart
from
"@/common/echart"
;
import
{
mapGetters
}
from
"vuex"
;
export
default
{
data
()
{
return
{
options
:
{},
...
...
@@ -34,7 +28,6 @@
},
},
mounted
()
{
window
.
addEventListener
(
"resize"
,
()
=>
{
this
.
key
++
;
});
...
...
@@ -79,7 +72,7 @@
visualMap: {
min: 0,
max: _this.max,
bottom: "13
%",
bottom: "12
%",
left: 50,
splitNumber: 6,
seriesIndex: [0],
...
...
@@ -255,6 +248,6 @@
});
},
},
};
};
</
script
>
<
style
></
style
>
...
...
src/image/loginBoxBg.png
View file @
9dd5c4b
1.74 MB
|
W:
|
H:
1.67 MB
|
W:
|
H:
2-up
Swipe
Onion skin
src/image/loginLogo.png
View file @
9dd5c4b
256 KB
|
W:
|
H:
258 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/permission.js
View file @
9dd5c4b
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-03-1
0 16:43:16
* @LastEditTime: 2023-03-1
5 11:17:28
*/
import
router
from
"./router"
;
import
store
from
"./store"
;
...
...
src/router/index.js
View file @
9dd5c4b
...
...
@@ -222,7 +222,7 @@ export const asyncRoutes = [
path
:
'validationRule'
,
component
:
()
=>
import
(
'@/views/system/validationRule/index'
),
name
:
'validationRule'
,
meta
:
{
title
:
'上报
效
验规则配置'
}
meta
:
{
title
:
'上报
校
验规则配置'
}
},
{
path
:
'timedTask'
,
...
...
src/settings.js
View file @
9dd5c4b
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-03-15 11:08:56
*/
module
.
exports
=
{
title
:
''
,
title
:
'
数据上报系统
'
,
/**
* @type {boolean} true | false
* @description Whether show the settings right-panel
...
...
src/utils/get-page-title.js
View file @
9dd5c4b
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-03-15 14:37:05
*/
// 获取浏览器便签标题
import
defaultSettings
from
'@/settings'
import
config
from
'@/api/config'
const
title
=
defaultSettings
.
title
||
'厦门市房屋数据服务平台'
const
title
=
config
.
TITLE
export
default
function
getPageTitle
(
pageTitle
)
{
export
default
function
getPageTitle
(
pageTitle
)
{
if
(
pageTitle
)
{
return
`
${
pageTitle
}
-
${
title
}
`
}
...
...
src/views/home/dataView/centercard.vue
View file @
9dd5c4b
...
...
@@ -11,9 +11,9 @@
</
template
>
<
script
>
import
maps
from
"@/components/Echart/Map"
;
import
brokenline
from
"@/components/Echart/Brokenline"
;
export
default
{
import
maps
from
"@/components/Echart/Map"
;
import
brokenline
from
"@/components/Echart/Brokenline"
;
export
default
{
data
()
{
return
{};
},
...
...
@@ -21,12 +21,12 @@
mounted
()
{
},
beforeDestroy
()
{
},
methods
:
{},
};
};
</
script
>
<
style
lang=
"scss"
scoped
>
.centercard
{
width
:
44
%
;
.centercard
{
width
:
40
%
;
height
:
calc
(
100vh
-
114px
);
box-sizing
:
border-box
;
padding
:
0
0.0521rem
;
...
...
@@ -75,10 +75,11 @@
text-align
:
center
;
margin-bottom
:
0.0521rem
;
}
.brokenline
{
margin
:
auto
;
width
:
100%
;
}
}
}
}
</
style
>
...
...
src/views/home/dataView/leftcard.vue
View file @
9dd5c4b
...
...
@@ -55,9 +55,9 @@
<
script
>
import
columnar
from
"@/components/Echart/Columnar"
;
import
work
from
"@/api/work"
;
export
default
{
import
columnar
from
"@/components/Echart/Columnar"
;
import
work
from
"@/api/work"
;
export
default
{
data
()
{
return
{
// 日均接入量
...
...
@@ -113,12 +113,12 @@
});
},
},
};
};
</
script
>
<
style
lang=
"scss"
scoped
>
.leftcard
{
width
:
32
%
;
.leftcard
{
width
:
30
%
;
display
:
flex
;
height
:
calc
(
100vh
-
114px
);
flex-direction
:
column
;
...
...
@@ -131,6 +131,7 @@
text-align
:
center
;
width
:
100%
;
}
.carda
{
height
:
22%
;
background
:
url("~@/image/sthj.png")
no-repeat
;
...
...
@@ -169,20 +170,21 @@
.qxjr
{
background
:
url("~@/image/jrl3.png")
;
background-size
:
100%
100%
;
width
:
29px
;
height
:
46px
;
}
.sthj
{
background
:
url("~@/image/jh.png")
;
background-size
:
100%
100%
;
width
:
29px
;
height
:
46px
;
}
p
{
margin
:
0
0.0156rem
0.0521rem
0.0156rem
;
font-weight
:
700
;
width
:
0.195rem
;
height
:
0.2475rem
;
font-size
:
0.2863rem
;
font-size
:
0.2867rem
;
font-size
:
30px
;
}
}
...
...
@@ -201,6 +203,7 @@
position
:
relative
;
flex
:
1
;
height
:
100%
;
li
{
font-size
:
0.1042rem
;
}
...
...
@@ -209,16 +212,14 @@
.cardcontent-left
::before
{
position
:
absolute
;
right
:
0
;
top
:
0.3042
rem
;
top
:
0.24
rem
;
content
:
""
;
width
:
0.0052rem
;
height
:
0.4688rem
;
background
:
linear-gradient
(
180deg
,
background
:
linear-gradient
(
180deg
,
#091b4c
0%
,
#47b5e0
56%
,
#091b4c
100%
);
#091b4c
100%
);
}
.cardcontent-right
{
...
...
@@ -244,11 +245,11 @@
}
span
:nth-child
(
2
)
{
font-size
:
0.1142rem
;
font-size
:
20px
;
font-weight
:
900
;
}
}
}
}
}
}
</
style
>
...
...
src/views/home/dataView/rightcard.vue
View file @
9dd5c4b
...
...
@@ -40,9 +40,13 @@
mounted
()
{
this
.
getdjywltotal
();
window
.
addEventListener
(
"resize"
,
()
=>
{
this
.
cdata
.
seriesData
=
[];
this
.
getdjywltotal
();
window
.
addEventListener
(
"resize"
,
()
=>
{
this
.
getdjywltotal
();
});
// scroll(tableref.value.$refs.bodyWrapper);//设置滚动
})
},
methods
:
{
// 获取登记业务量玫瑰图数据
...
...
@@ -77,7 +81,7 @@
}
.rightcard
{
width
:
3
2
%
;
width
:
3
0
%
;
display
:
flex
;
height
:
calc
(
100vh
-
114px
);
flex-direction
:
column
;
...
...
@@ -120,20 +124,24 @@
height
:
33%
;
background
:
url("~@/image/xjgyfwxx.png")
no-repeat
;
background-size
:
100%
100%
;
/deep/.dv-scroll-board
{
.header
{
height
:
0.1875rem
;
align-items
:
center
;
}
}
.board
{
width
:
90%
;
margin
:
0
auto
;
height
:
1.1031rem
;
margin-top
:
0.0521rem
;
/deep/.header
{
font-size
:
0.0738rem
;
}
/
deep
/
.rows
{
.ceil
{
font-size
:
0.0738rem
;
...
...
src/views/jsbwcx/data/index.js
View file @
9dd5c4b
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-03-15 14:08:59
*/
import
filter
from
'@/utils/filter.js'
class
data
extends
filter
{
constructor
()
{
...
...
@@ -12,9 +17,9 @@ class data extends filter {
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
span
class
=
'adopt'
v
-
show
=
{
scope
.
row
.
receiveState
==
0
}
>
未
效
验
<
/span
>
<
span
class
=
'adopt'
v
-
show
=
{
scope
.
row
.
receiveState
==
1
}
>
效
验成功
<
/span
>
<
span
class
=
'warehousing'
v
-
show
=
{
scope
.
row
.
receiveState
==
2
}
>
效
验失败
<
/span
>
<
span
class
=
'adopt'
v
-
show
=
{
scope
.
row
.
receiveState
==
0
}
>
未
校
验
<
/span
>
<
span
class
=
'adopt'
v
-
show
=
{
scope
.
row
.
receiveState
==
1
}
>
校
验成功
<
/span
>
<
span
class
=
'warehousing'
v
-
show
=
{
scope
.
row
.
receiveState
==
2
}
>
校
验失败
<
/span
>
<
/div
>
)
}
...
...
@@ -46,7 +51,7 @@ class data extends filter {
{
prop
:
"bizMsgid"
,
label
:
"业务报文ID"
,
width
:
98
,
minWidth
:
100
,
},
{
prop
:
"createdate"
,
...
...
@@ -56,12 +61,12 @@ class data extends filter {
{
prop
:
"recflowid"
,
label
:
"业务流水号"
,
w
idth
:
100
,
minW
idth
:
100
,
},
{
prop
:
"estatenum"
,
label
:
"不动产单元号"
,
width
:
24
0
,
minWidth
:
16
0
,
},
{
prop
:
"rectype"
,
...
...
src/views/loginjg/index.vue
View file @
9dd5c4b
...
...
@@ -156,8 +156,8 @@
.login-logo
{
background
:
url(../../image/loginLogo.png)
no-repeat
;
background-size
:
100%
100%
;
width
:
28%
;
height
:
5
2%
;
width
:
580px
;
height
:
5
40px
;
position
:
absolute
;
top
:
25%
;
left
:
19%
;
...
...
@@ -171,7 +171,7 @@
min-width
:
360px
;
min-height
:
380px
;
top
:
30%
;
right
:
20
%
;
right
:
18
%
;
position
:
absolute
;
background-size
:
100%
100%
;
box-sizing
:
border-box
;
...
...
src/views/system/components/editValidRule.vue
View file @
9dd5c4b
<
template
>
<!-- 编辑 -->
<dialogBox
ref=
"validRule"
width=
"60%"
@
submitForm=
"handleSubmit"
:closed=
"true"
@
closeDialog=
"handleClose"
customClass=
"editValidRule"
multiple
title=
"上报
效
验规则设置"
>
customClass=
"editValidRule"
multiple
title=
"上报
校
验规则设置"
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"120px"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
...
...
@@ -84,10 +84,10 @@ export default {
)
}
},
//
效
验表达式
//
校
验表达式
{
prop
:
'EXPRESSION'
,
label
:
'
效
验表达式'
,
label
:
'
校
验表达式'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
el
-
select
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
clearable
...
...
@@ -204,7 +204,5 @@ export default {
}
}
</
script
>
<
style
rel=
"stylesheet/less"
lang=
"less"
scoped
>
</
style
>
<
style
rel=
"stylesheet/less"
lang=
"less"
scoped
></
style
>
...
...
src/views/system/menus/edit-dialog.vue
View file @
9dd5c4b
<
template
>
<dialogBox
class=
"modifydialog"
:isMain=
"true"
width=
"40%"
:title=
"title"
@
closeDialog=
"close"
@
submitForm=
"submitForm"
v-model=
"myValue"
>
<div
class=
"
modifydialog-c
on"
>
<div
class=
"
dialogC
on"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
>
<el-row
:gutter=
"24"
>
<el-col
:span=
"12"
>
...
...
src/views/system/menus/index.vue
View file @
9dd5c4b
...
...
@@ -13,10 +13,9 @@
</el-form>
</div>
<div
class=
"from-clues-content"
>
<lb-table
:pagination=
"false"
:column=
"tableData.
columns"
:calcHeight=
"200"
:data=
"tablelistData"
row-key=
"id"
default-expand-all
:tree-props=
"
{ children: 'children', hasChildren: 'hasChildren' }">
<lb-table
:pagination=
"false"
:column=
"tableData.columns"
:calcHeight=
"200"
:data=
"tablelistData"
row-key=
"id"
default-expand-all
:tree-props=
"
{ children: 'children', hasChildren: 'hasChildren' }">
</lb-table>
</div>
<edit-dialog
ref=
"dialogForm"
v-model=
"isDialog"
:product-id=
"productId"
:resource-category-id=
"resourceCategoryId"
...
...
vue.config.js
View file @
9dd5c4b
...
...
@@ -8,6 +8,8 @@ function resolve (dir) {
const
name
=
defaultSettings
.
title
const
port
=
process
.
env
.
port
||
process
.
env
.
npm_config_port
||
8888
// dev port
const
CopyWebpackPlugin
=
require
(
'copy-webpack-plugin'
)
// All configuration item explanations can be find in https://cli.vuejs.org/config/
module
.
exports
=
{
/**
...
...
@@ -68,6 +70,7 @@ module.exports = {
'@'
:
resolve
(
'src'
)
}
},
plugins
:
[
new
CopyWebpackPlugin
({
patterns
:
[{
from
:
'src/api/config.js'
,
to
:
'config.js'
}]
})],
devtool
:
'#eval-source-map'
//测试
},
// chainWebpack通过链式编程的形式,来修改默认的webpack配置
...
...
Please
register
or
sign in
to post a comment