Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-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
d7630003
authored
2022-11-18 15:29:24 +0800
by
jiaozeping@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://yun.pashanhoo.com:9090/bdc/bdcdj-web
2 parents
318c545b
8f912d0f
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
60 additions
and
72 deletions
package.json
src/components/MessageBox/src/main.js
src/components/MessageBox/src/main.vue
src/layout/components/Navbar.vue
src/main.js
src/styles/index.scss
src/styles/sidebar.scss
src/views/home/index.vue
src/views/registerBook/nydsyq.vue
src/views/system/flfg/components/addDialog.vue
src/views/system/xttz/components/addDialog.vue
src/views/system/xttz/components/viewDialog.vue
src/views/system/xttz/xttz.vue
src/views/system/xttz/xttzdata.js
src/views/ywbl/ywsq/javascript/nydsyq100.js
src/views/ywbl/ywsq/slectBdcdata.js
package.json
View file @
d763000
src/components/MessageBox/src/main.js
View file @
d763000
...
...
@@ -53,17 +53,6 @@ const defaultCallback = action => {
callback
(
action
);
}
}
if
(
currentMsg
.
resolve
)
{
if
(
action
===
'confirm'
)
{
if
(
instance
.
showInput
)
{
currentMsg
.
resolve
({
value
:
instance
.
inputValue
,
action
});
}
else
{
currentMsg
.
resolve
(
action
);
}
}
else
if
(
currentMsg
.
reject
&&
(
action
===
'cancel'
||
action
===
'close'
))
{
currentMsg
.
reject
(
action
);
}
}
}
};
...
...
@@ -120,7 +109,7 @@ const showNextMsg = () => {
}
};
const
MessageBox
=
function
(
options
,
callback
)
{
const
MessageBox
=
function
(
options
,
callback
)
{
if
(
Vue
.
prototype
.
$isServer
)
return
;
if
(
typeof
options
===
'string'
||
isVNode
(
options
))
{
options
=
{
...
...
@@ -158,7 +147,7 @@ MessageBox.setDefaults = defaults => {
MessageBox
.
defaults
=
defaults
;
};
MessageBox
.
alert
=
(
message
,
titl
e
,
options
)
=>
{
MessageBox
.
alert
=
(
title
,
messag
e
,
options
)
=>
{
if
(
typeof
title
===
'object'
)
{
options
=
title
;
title
=
''
;
...
...
src/components/MessageBox/src/main.vue
View file @
d763000
<
template
>
<transition
name=
"msgbox-fade"
>
<div
class=
"el-message-box__wrapper"
tabindex=
"-1"
v-show=
"visible"
@
click
.
self=
"handleWrapperClick"
role=
"dialog"
<div
class=
"el-message-box__wrapper"
tabindex=
"-1"
v-show=
"visible"
@
click
.
self=
"handleWrapperClick"
role=
"dialog"
aria-modal=
"true"
:aria-label=
"title || 'dialog'"
>
<div
class=
"el-message-box"
:class=
"[customClass, center && 'el-message-box--center']"
>
<div
class=
"el-message-box__content"
>
<slot>
<p>
{{
message
}}
</p>
</slot>
<div
class=
"el-message-box__container"
>
<div
v-if=
"title !== ''"
class=
"message-title"
>
标题:
{{
title
}}
</div>
<div
v-if=
"message !== ''"
class=
"richText"
v-html=
"message"
></div>
</div>
</div>
<div
class=
"el-message-box__btns"
>
<el-button
:loading=
"cancelButtonLoading"
:class=
"[cancelButtonClasses]"
:round=
"roundButton"
size=
"small"
...
...
@@ -23,6 +23,8 @@
<
script
type=
"text/babel"
>
import
Popup
from
'element-ui/src/utils/popup'
;
import
Locale
from
'element-ui/src/mixins/locale'
;
import
ElInput
from
'element-ui/packages/input'
;
import
ElButton
from
'element-ui/packages/button'
;
import
{
addClass
,
removeClass
}
from
'element-ui/src/utils/dom'
;
import
{
t
}
from
'element-ui/src/locale'
;
import
Dialog
from
'element-ui/src/utils/aria-dialog'
;
...
...
@@ -37,6 +39,7 @@ let typeMap = {
export
default
{
mixins
:
[
Popup
,
Locale
],
props
:
{
modal
:
{
default
:
true
...
...
@@ -66,6 +69,12 @@ export default {
type
:
Boolean
}
},
components
:
{
ElInput
,
ElButton
},
computed
:
{
icon
()
{
const
{
type
,
iconClass
}
=
this
;
...
...
@@ -187,11 +196,6 @@ export default {
visible
(
val
)
{
if
(
val
)
{
this
.
uid
++
;
if
(
this
.
$type
===
'alert'
||
this
.
$type
===
'confirm'
)
{
this
.
$nextTick
(()
=>
{
this
.
$refs
.
confirm
.
$el
.
focus
();
});
}
this
.
focusAfterClosed
=
document
.
activeElement
;
messageBox
=
new
Dialog
(
this
.
$el
,
this
.
focusAfterClosed
,
this
.
getFirstFocus
());
}
...
...
@@ -263,15 +267,15 @@ export default {
}
};
</
script
>
<
style
scoped
lang=
"scss"
>
.el-message-box__wrapper
{
background
:
none
;
<
style
scoped
>
/
deep
/
.message-title
{
font-size
:
18px
;
font-weight
:
700
;
margin-bottom
:
5px
;
}
.el-message-box
{
border
:
none
;
}
.el-message-box__content
{
min-height
:
150px
;
padding-top
:
30px
;
/
deep
/
.el-message-box__content
img
{
width
:
100%
;
height
:
100%
;
}
</
style
>
\ No newline at end of file
...
...
src/layout/components/Navbar.vue
View file @
d763000
...
...
@@ -9,12 +9,10 @@
</div>
<div
class=
"right-menu"
>
<svg-icon
class=
"function"
icon-class=
'function'
/>
<el-dropdown
class=
"avatar-container right-menu-item hover-effect"
@
command=
"handleCommand"
>
<div
class=
"avatar-wrapper"
>
<div
class=
"avatar-wrapper right-menu-item hover-effect"
>
<img
:src=
"avatar + '?imageView2/1/w/80/h/80'"
class=
"user-avatar"
/>
<span
style=
"margin-left: 10px;"
>
{{
name
}}
</span>
</div>
</el-dropdown>
<svg-icon
class=
"shutdown"
icon-class=
'shutdown'
/>
</div>
...
...
@@ -220,7 +218,6 @@ export default {
}
}
.avatar-container
{
.avatar-wrapper
{
position
:
relative
;
display
:
flex
;
...
...
@@ -243,6 +240,5 @@ export default {
}
}
}
}
}
</
style
>
...
...
src/main.js
View file @
d763000
src/styles/index.scss
View file @
d763000
...
...
@@ -325,8 +325,7 @@ aside {
}
.allow
,
.prohibit
.suspend
{
.prohibit
.suspend
{
position
:
relative
;
margin
:
0
auto
;
text-align
:
left
;
...
...
@@ -380,6 +379,7 @@ aside {
height
:
5px
;
border-radius
:
50%
;
}
//错误日志样式 后期超优化
.item-cwnr
{
white-space
:
pre-wrap
;
...
...
@@ -390,3 +390,7 @@ aside {
-webkit-line-clamp
:
3
;
-webkit-box-orient
:
vertical
;
}
.item-cwnr
img
{
height
:
30px
;
}
\ No newline at end of file
...
...
src/styles/sidebar.scss
View file @
d763000
...
...
@@ -14,7 +14,7 @@
top
:
$headerHeight
;
bottom
:
0
;
left
:
0
;
z-index
:
1001
;
z-index
:
80
;
background-color
:
$subMenuBg
;
// overflow: hidden;
...
...
src/views/home/index.vue
View file @
d763000
...
...
@@ -19,16 +19,14 @@
<h5
class=
"title"
>
系统通知
</h5>
<i
class=
"el-icon-s-unfold pointer"
></i>
</div>
<vue-seamless-scroll
:data=
"noticeList"
:class-option=
"classOption"
>
<ul>
<li
v-for=
"(item, index) in noticeList"
:key=
"index"
@
click=
"handleNotice
"
class=
"flexst pointer"
>
<li
v-for=
"(item, index) in noticeList"
:key=
"index"
@
click=
"handleNotice(item)
"
class=
"flexst pointer"
>
<p
class=
"list-title"
>
{{
item
.
noticeTitle
}}
</p>
<p
class=
"marginZL15"
>
{{
item
.
createtime
.
substring
(
0
,
10
)
}}
</p>
<p
v-if=
"item.userBrowse == '1'"
style=
"color:red"
>
未读
</p>
<p
v-else
>
已读
</p>
</li>
</ul>
</vue-seamless-scroll>
</el-card>
</el-col>
</el-row>
...
...
@@ -150,25 +148,17 @@ export default {
year
:
'1996'
,
value
:
31056
}],
// 系统通知
noticeData
:
{
},
noticeList
:
[],
todoList
:
[],
doneList
:
[],
policyList
:
[]
policyList
:
[],
}
},
// 计算属性 类似于data概念
computed
:
{
classOption
()
{
return
{
step
:
0.5
,
// 数值越大速度滚动越快
limitMoveNum
:
2
,
// 开始无缝滚动的数据量 this.dataList.length
hoverStop
:
true
,
// 是否开启鼠标悬停stop
direction
:
1
,
// 0向下 1向上 2向左 3向右
openWatch
:
true
,
// 开启数据实时监控刷新dom
singleHeight
:
0
,
// 单步运动停止的高度(默认值0是无缝不停止的滚动) direction => 0/1
};
},
},
mounted
()
{
this
.
buildChart
();
this
.
queryTodoList
();
...
...
@@ -184,7 +174,7 @@ export default {
queryTodoList
()
{
getHomeTodoList
().
then
(
res
=>
{
if
(
res
.
result
)
{
this
.
todoList
=
res
.
result
.
slice
(
0
,
5
)
this
.
todoList
=
res
.
result
}
})
},
...
...
@@ -204,7 +194,7 @@ export default {
this
.
noticeList
.
forEach
(
item
=>
{
item
.
createtime
=
this
.
_timedate
(
item
.
createtime
)
})
this
.
policyList
=
res
.
result
.
policyList
.
slice
(
0
,
5
)
this
.
policyList
=
res
.
result
.
policyList
}
})
},
...
...
@@ -252,9 +242,8 @@ export default {
chart
.
line
().
position
(
'year*value'
).
size
(
2
).
shape
(
'smooth'
);
chart
.
render
();
},
handleNotice
()
{
this
.
$alertMes
(
'9999999999'
)
//setReadStatus({'bsmNotice':bsmNotice})
handleNotice
(
item
)
{
this
.
$alertMes
(
item
.
noticeTitle
,
item
.
noticeContent
)
}
}
}
...
...
src/views/registerBook/nydsyq.vue
View file @
d763000
...
...
@@ -81,6 +81,12 @@ export default {
};
},
created
()
{
var
qllx
=
this
.
$route
.
query
.
sqywbm
.
substr
(
0
,
3
)
if
(
qllx
==
'A09'
){
this
.
title
=
'土地经营权登记信息'
}
else
{
this
.
title
=
'农用地使用权登记信息'
}
this
.
loadData
();
},
methods
:
{
...
...
src/views/system/flfg/components/addDialog.vue
View file @
d763000
...
...
@@ -25,7 +25,6 @@
</
template
>
<
script
>
import
'@/styles/package/theme/index.scss'
import
{
addSysNotice
}
from
"@/api/notice.js"
import
{
upload
}
from
"@/api/system.js"
export
default
{
...
...
src/views/system/xttz/components/addDialog.vue
View file @
d763000
This diff is collapsed.
Click to expand it.
src/views/system/xttz/components/viewDialog.vue
View file @
d763000
...
...
@@ -9,14 +9,9 @@
<el-row
:gutter=
"8"
>
<el-col
:span=
"24"
class=
"margin-top-middle"
>
通知内容:
<!--
<span
v-html=
"formData.item.noticeContent"
></span>
-->
<quill-editor
class=
"ql-editor"
v-model=
"formData.item.noticeContent"
ref=
"myQuillEditor"
:options=
"editorOption"
>
<quill-editor
class=
"ql-editor"
v-model=
"formData.item.noticeContent"
ref=
"myQuillEditor"
:options=
"editorOption"
>
</quill-editor>
<!--
<el-input
type=
"textarea"
:rows=
"20"
v-model=
"formData.item.noticeContent"
></el-input>
-->
</el-col>
</el-row>
<el-row
:gutter=
"8"
>
...
...
@@ -63,6 +58,7 @@ export default {
.margin-top-middle
{
margin-top
:
10px
}
/
deep
/
.ql-editor
{
padding
:
0px
;
}
...
...
src/views/system/xttz/xttz.vue
View file @
d763000
...
...
@@ -53,6 +53,7 @@ export default {
return
{
isDialog
:
false
,
viewDialog
:
false
,
ruleForm
:
{
noticeTitle
:
''
,
noticeStatus
:
''
...
...
src/views/system/xttz/xttzdata.js
View file @
d763000
...
...
@@ -28,7 +28,7 @@ class data extends filter {
{
label
:
"通知内容"
,
render
:
(
h
,
scope
)
=>
{
return
<
div
class
=
"item-cwnr"
>
{
scope
.
row
.
noticeContent
}
<
/div
>
return
<
div
class
=
"item-cwnr"
domPropsInnerHTML
=
{
scope
.
row
.
noticeContent
}
>
<
/div
>
}
},
{
...
...
src/views/ywbl/ywsq/javascript/nydsyq100.js
View file @
d763000
...
...
@@ -65,7 +65,7 @@ class data extends filter {
},
{
prop
:
"mj"
,
label
:
"
农用地
面积(㎡)"
,
label
:
"面积(㎡)"
,
},
{
prop
:
"qlsdfsmc"
,
...
...
src/views/ywbl/ywsq/slectBdcdata.js
View file @
d763000
...
...
@@ -15,11 +15,15 @@ export function queueDjywmc (djywbm) {
vm
=
"fwsyq"
;
break
;
case
"A23100"
:
//农用地使用权(首次登记)
case
"A09100"
:
//土地经营权(首次登记)
vm
=
"nydsyq100"
;
break
;
case
"A23200"
:
case
"A23300"
:
case
"A23400"
:
case
"A09200"
:
case
"A09300"
:
case
"A09400"
:
vm
=
"nydsyq200"
;
break
;
case
"A05200"
:
...
...
Please
register
or
sign in
to post a comment