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
ec6ac939
authored
2023-07-20 16:03:53 +0800
by
xiaomiao
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev' of
http://yun.pashanhoo.com:9090/bdc/bdcdj-web
into dev
2 parents
1051597b
79fe173a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
72 changed files
with
1639 additions
and
223 deletions
.editorconfig
babel.config.js
package.json
postcss.config.js
src/components/CheckBox/checkbox.vue
src/components/DialogBox/dialogBox.vue
src/components/ywPopup/index.js
src/components/ywPopup/index.vue
src/directive/theme.js
src/layout/components/Navbar.vue
src/layout/components/Sidebar/FixiOSBug.js
src/layout/components/Sidebar/Link.vue
src/layout/components/Sidebar/SidebarItem.vue
src/layout/components/TagsView/ScrollPane.vue
src/layout/components/TagsView/index.vue
src/layout/mixin/ResizeHandler.js
src/store/modules/dict.js
src/utils/LodopFuncs.js
src/utils/asyncRouter.js
src/utils/dictionary.js
src/utils/filter.js
src/utils/get-page-title.js
src/utils/map/IdentifyUtils.js
src/utils/map/draw.js
src/utils/map/featureUpdate.js
src/utils/map/findTask.js
src/utils/map/measure.js
src/utils/map/queryUtils.js
src/utils/map/shpUtils.js
src/utils/mixin/table.js
src/utils/operation.js
src/utils/popup.js
src/utils/requestLoading.js
src/utils/util.js
src/views/components/comMsg.vue
src/views/components/imagePreview.vue
src/views/djbworkflow/components/addJtcy.vue
src/views/djbworkflow/components/batchDel.vue
src/views/djbworkflow/components/dialog/addQlr.vue
src/views/djbworkflow/components/dialog/addYwr.vue
src/views/djbworkflow/components/dialog/clxxDetailDialog.vue
src/views/djbworkflow/components/leftmenu/djbFrameData.js
src/views/djbworkflow/components/leftmenu/ordinaryMenu.vue
src/views/djbworkflow/components/qlrCommonTable.vue
src/views/djbworkflow/components/stop.vue
src/views/djbworkflow/components/th.vue
src/views/djbworkflow/components/ywrCommonTable.vue
src/views/djbworkflow/components/zc.vue
src/views/djbworkflow/djbBook/components/blxxtabs/cfdj.vue
src/views/djbworkflow/djbBook/components/blxxtabs/dyaq.vue
src/views/djbworkflow/djbBook/components/blxxtabs/dyiq.vue
src/views/djbworkflow/djbBook/components/blxxtabs/fdcq.vue
src/views/djbworkflow/djbBook/components/blxxtabs/jsydsyq.vue
src/views/djbworkflow/djbBook/components/blxxtabs/tdsyq.vue
src/views/djbworkflow/djbBook/components/blxxtabs/ygdj.vue
src/views/djbworkflow/djbBook/components/blxxtabs/yydj.vue
src/views/djbworkflow/djbBook/spyj.vue
src/views/djbworkflow/mixin/index.js
src/views/djbworkflow/workFrame.vue
src/views/djbworkflow/workFrameView.vue
src/views/error-page/404.vue
src/views/home/components/addProject.vue
src/views/home/index.vue
src/views/jkfw/ptjk/components/addDialog.vue
src/views/jkfw/ptjk/components/retrieveDialog.vue
src/views/jkfw/ptjk/ptjk.vue
src/views/login/index.vue
src/views/lpb/index.vue
src/views/lpb/lpbContent/ch.vue
src/views/lpb/lpbContent/index.vue
src/views/lpb/lpbContent/zdys.vue
src/views/registerBook/cfdj.vue
.editorconfig
View file @
ec6ac93
#
# @Description: 项目的编码规范
# @Autor: renchao
# @LastEditTime: 2023-07-20 15:13:34
#
# https://editorconfig.org
root = true
...
...
babel.config.js
View file @
ec6ac93
/*
* @Description: 定义Babel在转换JavaScript代码
* @Autor: renchao
* @LastEditTime: 2023-07-20 15:12:44
*/
module
.
exports
=
{
presets
:
[
// https://github.com/vuejs/vue-cli/tree/master/packages/@vue/babel-preset-app
...
...
package.json
View file @
ec6ac93
...
...
@@ -83,4 +83,4 @@
"type"
:
"git"
,
"url"
:
"git+https://github.com/PanJiaChen/vue-element-admin.git"
}
}
}
\ No newline at end of file
...
...
postcss.config.js
View file @
ec6ac93
/*
* @Description: CSS处理和移动端适配方案
* @Autor: renchao
* @LastEditTime: 2023-07-20 14:40:12
*/
module
.
exports
=
{
plugins
:
{
autoprefixer
:
{}
...
...
src/components/CheckBox/checkbox.vue
View file @
ec6ac93
This diff is collapsed.
Click to expand it.
src/components/DialogBox/dialogBox.vue
View file @
ec6ac93
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-20 13:33:07
-->
<
template
>
<el-dialog
:visible
.
sync=
"dialogVisible"
v-if=
"dialogVisible"
:width=
"width"
:fullscreen=
"fullscreen"
top=
"0"
:append-to-body=
"appendToBody"
:lock-scroll=
"true"
:close-on-click-modal=
"false"
@
close=
"closeDialog"
:key=
"key"
...
...
@@ -23,117 +28,117 @@
</el-dialog>
</
template
>
<
script
>
export
default
{
props
:
{
value
:
{
type
:
Boolean
,
default
:
false
},
isMain
:
{
type
:
Boolean
,
default
:
false
},
appendToBody
:
{
type
:
Boolean
,
default
:
true
},
isButton
:
{
type
:
Boolean
,
default
:
true
,
},
width
:
{
type
:
String
,
default
:
'70%'
,
},
title
:
{
type
:
String
,
default
:
''
,
},
isFullscreen
:
{
type
:
Boolean
,
default
:
true
,
},
isSave
:
{
type
:
Boolean
,
default
:
true
,
},
saveButton
:
{
type
:
String
,
default
:
'提交'
,
},
isReset
:
{
type
:
Boolean
,
default
:
true
,
},
saveloding
:
{
type
:
Boolean
,
default
:
false
,
export
default
{
props
:
{
value
:
{
type
:
Boolean
,
default
:
false
},
isMain
:
{
type
:
Boolean
,
default
:
false
},
appendToBody
:
{
type
:
Boolean
,
default
:
true
},
isButton
:
{
type
:
Boolean
,
default
:
true
,
},
width
:
{
type
:
String
,
default
:
'70%'
,
},
title
:
{
type
:
String
,
default
:
''
,
},
isFullscreen
:
{
type
:
Boolean
,
default
:
true
,
},
isSave
:
{
type
:
Boolean
,
default
:
true
,
},
saveButton
:
{
type
:
String
,
default
:
'提交'
,
},
isReset
:
{
type
:
Boolean
,
default
:
true
,
},
saveloding
:
{
type
:
Boolean
,
default
:
false
,
},
btnDisabled
:
{
type
:
Boolean
,
default
:
false
},
height
:
{
type
:
String
,
default
:
''
}
},
btnDisabled
:
{
type
:
Boolean
,
default
:
false
data
()
{
return
{
key
:
0
,
dialogVisible
:
false
,
fullscreen
:
false
,
scrollerHeight
:
''
}
},
height
:
{
type
:
String
,
default
:
''
}
},
data
()
{
return
{
key
:
0
,
dialogVisible
:
false
,
fullscreen
:
false
,
scrollerHeight
:
''
}
},
watch
:
{
value
(
val
)
{
this
.
$nextTick
(()
=>
{
this
.
dialogVisible
=
val
})
this
.
height
&&
(
this
.
scrollerHeight
=
this
.
height
+
'px'
)
}
},
methods
:
{
/**
* @description: handleFullscreen
* @author: renchao
*/
handleFullscreen
()
{
this
.
fullscreen
=
!
this
.
fullscreen
if
(
!
this
.
fullscreen
)
{
this
.
scrollerHeight
=
''
}
else
{
this
.
scrollerHeight
=
(
window
.
innerHeight
-
120
)
+
'px'
watch
:
{
value
(
val
)
{
this
.
$nextTick
(()
=>
{
this
.
dialogVisible
=
val
})
this
.
height
&&
(
this
.
scrollerHeight
=
this
.
height
+
'px'
)
}
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm
()
{
if
(
this
.
isButton
)
{
this
.
$emit
(
'submitForm'
);
methods
:
{
/**
* @description: handleFullscreen
* @author: renchao
*/
handleFullscreen
()
{
this
.
fullscreen
=
!
this
.
fullscreen
if
(
!
this
.
fullscreen
)
{
this
.
scrollerHeight
=
''
}
else
{
this
.
scrollerHeight
=
(
window
.
innerHeight
-
120
)
+
'px'
}
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm
()
{
if
(
this
.
isButton
)
{
this
.
$emit
(
'submitForm'
);
}
},
/**
* @description: closeDialog
* @author: renchao
*/
closeDialog
()
{
this
.
key
++
this
.
$emit
(
'input'
,
false
)
this
.
$emit
(
'closeDialog'
)
}
},
/**
* @description: closeDialog
* @author: renchao
*/
closeDialog
()
{
this
.
key
++
this
.
$emit
(
'input'
,
false
)
this
.
$emit
(
'closeDialog'
)
}
},
}
}
</
script
>
<
style
rel=
"stylesheet/scss"
lang=
"scss"
>
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/dialogBox.scss"
;
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/dialogBox.scss"
;
</
style
>
<
style
rel=
"stylesheet/scss"
scoped
lang=
"scss"
>
/
deep
/
.is-fullscreen
{
position
:
absolute
;
top
:
50%
!important
;
left
:
50%
!important
;
transform
:
translate
(
-50%
,
-50%
)
!important
;
}
/
deep
/
.is-fullscreen
{
position
:
absolute
;
top
:
50%
!important
;
left
:
50%
!important
;
transform
:
translate
(
-50%
,
-50%
)
!important
;
}
</
style
>
...
...
src/components/ywPopup/index.js
View file @
ec6ac93
/*
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-06-14 15:05:38
*/
...
...
@@ -8,6 +8,10 @@ import Popup from './index.vue'
const
PopupBox
=
Vue
.
extend
(
Popup
)
let
popuping
=
undefined
/**
* @description: close
* @author: renchao
*/
PopupBox
.
prototype
.
close
=
function
()
{
// 如果Popup 有引用,则去掉引用
if
(
popuping
)
{
...
...
@@ -24,6 +28,14 @@ PopupBox.prototype.close = function () {
},
300
)
}
/**
* @description: Popup1
* @param {*} title
* @param {*} editItem
* @param {*} data
* @param {*} formData
* @author: renchao
*/
const
Popup1
=
(
title
,
editItem
,
data
,
formData
)
=>
{
// 如果组件已渲染,则返回即可
if
(
popuping
)
{
...
...
src/components/ywPopup/index.vue
View file @
ec6ac93
...
...
@@ -73,9 +73,17 @@
},
300
)
},
methods
:
{
/**
* @description: onCancel
* @author: renchao
*/
onCancel
()
{
Popup1
().
close
()
},
/**
* @description: onConfirm
* @author: renchao
*/
onConfirm
()
{
let
res
=
new
Promise
((
resolve
,
reject
)
=>
{
this
.
confirm
()
...
...
@@ -85,6 +93,11 @@
this
.
isShow
=
false
}
},
/**
* @description: loadViewFn
* @param {*} view
* @author: renchao
*/
loadViewFn
(
view
)
{
return
(
r
)
=>
require
.
ensure
([],
()
=>
...
...
@@ -184,4 +197,3 @@
opacity
:
0
;
}
</
style
>
\ No newline at end of file
...
...
src/directive/theme.js
View file @
ec6ac93
export
const
theme
=
{
/**
* @description: bind
* @param {*} el
* @param {*} binding
* @param {*} vnode
* @author: renchao
*/
bind
:
function
(
el
,
binding
,
vnode
)
{
setEleStyleColorAttribute
(
el
,
binding
);
},
/**
* @description: update
* @param {*} el
* @param {*} binding
* @param {*} vnode
* @author: renchao
*/
update
:
function
(
el
,
binding
,
vnode
)
{
setEleStyleColorAttribute
(
el
,
binding
);
},
/**
* @description: componentUpdated
* @param {*} el
* @param {*} binding
* @param {*} vnode
* @author: renchao
*/
componentUpdated
:
function
(
el
,
binding
,
vnode
)
{
setEleStyleColorAttribute
(
el
,
binding
);
}
...
...
@@ -16,4 +37,4 @@ function setEleStyleColorAttribute (el, binding) {
if
(
background
)
el
.
style
[
'background-color'
]
=
value
;
if
(
font
)
el
.
style
.
color
=
value
;
if
(
border
)
el
.
style
[
'border-color'
]
=
value
;
}
\ No newline at end of file
}
...
...
src/layout/components/Navbar.vue
View file @
ec6ac93
...
...
@@ -57,6 +57,10 @@
window
.
removeEventListener
(
'message'
)
},
methods
:
{
/**
* @description: queryNoticeList
* @author: renchao
*/
queryNoticeList
()
{
getHomeNoticeList
().
then
(
res
=>
{
if
(
res
.
result
)
{
...
...
@@ -64,6 +68,10 @@
}
})
},
/**
* @description: logout
* @author: renchao
*/
logout
()
{
axios
.
post
(
window
.
_config
.
services
.
management
+
"/management/logout"
).
then
(()
=>
{
setToken
(
undefined
)
...
...
@@ -73,12 +81,22 @@
})
},
/**
* @description: themeChange
* @param {*} val
* @author: renchao
*/
themeChange
(
val
)
{
this
.
$store
.
dispatch
(
'app/updateTheme'
,
val
)
},
searchMessageCenter
()
{
this
.
$router
.
push
({
name
:
'messagecenter'
})
},
/**
* @description: handleCommand
* @param {*} command
* @author: renchao
*/
handleCommand
(
command
)
{
if
(
command
==
'a'
)
{
//个人中心
...
...
src/layout/components/Sidebar/FixiOSBug.js
View file @
ec6ac93
...
...
@@ -10,6 +10,10 @@ export default {
this
.
fixBugIniOS
()
},
methods
:
{
/**
* @description: fixBugIniOS
* @author: renchao
*/
fixBugIniOS
()
{
const
$subMenu
=
this
.
$refs
.
subMenu
if
(
$subMenu
)
{
...
...
src/layout/components/Sidebar/Link.vue
View file @
ec6ac93
...
...
@@ -26,6 +26,11 @@ export default {
}
},
methods
:
{
/**
* @description: linkProps
* @param {*} to
* @author: renchao
*/
linkProps
(
to
)
{
if
(
this
.
isExternal
)
{
return
{
...
...
src/layout/components/Sidebar/SidebarItem.vue
View file @
ec6ac93
...
...
@@ -53,6 +53,12 @@ export default {
return
{}
},
methods
:
{
/**
* @description: hasOneShowingChild
* @param {*} children
* @param {*} parent
* @author: renchao
*/
hasOneShowingChild
(
children
=
[],
parent
)
{
const
showingChildren
=
children
.
filter
(
item
=>
{
if
(
item
.
hidden
)
{
...
...
@@ -75,6 +81,11 @@ export default {
}
return
false
},
/**
* @description: resolvePath
* @param {*} routePath
* @author: renchao
*/
resolvePath
(
routePath
)
{
if
(
isExternal
(
routePath
))
{
return
routePath
...
...
@@ -86,4 +97,4 @@ export default {
}
}
}
</
script
>
\ No newline at end of file
</
script
>
...
...
src/layout/components/TagsView/ScrollPane.vue
View file @
ec6ac93
...
...
@@ -26,14 +26,28 @@ export default {
this
.
scrollWrapper
.
removeEventListener
(
'scroll'
,
this
.
emitScroll
)
},
methods
:
{
/**
* @description: handleScroll
* @param {*} e
* @author: renchao
*/
handleScroll
(
e
)
{
const
eventDelta
=
e
.
wheelDelta
||
-
e
.
deltaY
*
40
const
$scrollWrapper
=
this
.
scrollWrapper
$scrollWrapper
.
scrollLeft
=
$scrollWrapper
.
scrollLeft
+
eventDelta
/
4
},
/**
* @description: emitScroll
* @author: renchao
*/
emitScroll
()
{
this
.
$emit
(
'scroll'
)
},
/**
* @description: moveToTarget
* @param {*} currentTag
* @author: renchao
*/
moveToTarget
(
currentTag
)
{
const
$container
=
this
.
$refs
.
scrollContainer
.
$el
const
$containerWidth
=
$container
.
offsetWidth
...
...
src/layout/components/TagsView/index.vue
View file @
ec6ac93
...
...
@@ -59,12 +59,28 @@
this
.
addTags
()
},
methods
:
{
/**
* @description: isActive
* @param {*} route
* @author: renchao
*/
isActive
(
route
)
{
return
route
.
path
===
this
.
$route
.
path
},
/**
* @description: isAffix
* @param {*} tag
* @author: renchao
*/
isAffix
(
tag
)
{
return
tag
.
meta
&&
tag
.
meta
.
affix
},
/**
* @description: filterAffixTags
* @param {*} routes
* @param {*} basePath
* @author: renchao
*/
filterAffixTags
(
routes
,
basePath
=
'/'
)
{
let
tags
=
[]
routes
.
forEach
(
route
=>
{
...
...
@@ -86,6 +102,10 @@
})
return
tags
},
/**
* @description: initTags
* @author: renchao
*/
initTags
()
{
const
affixTags
=
this
.
affixTags
=
this
.
filterAffixTags
(
this
.
routes
)
for
(
const
tag
of
affixTags
)
{
...
...
@@ -95,6 +115,10 @@
}
}
},
/**
* @description: addTags
* @author: renchao
*/
addTags
()
{
const
{
name
}
=
this
.
$route
if
(
name
)
{
...
...
@@ -102,6 +126,10 @@
}
return
false
},
/**
* @description: moveToCurrentTag
* @author: renchao
*/
moveToCurrentTag
()
{
const
tags
=
this
.
$refs
.
tag
this
.
$nextTick
(()
=>
{
...
...
@@ -117,6 +145,11 @@
}
})
},
/**
* @description: refreshSelectedTag
* @param {*} view
* @author: renchao
*/
refreshSelectedTag
(
view
)
{
this
.
$store
.
dispatch
(
'tagsView/delCachedView'
,
view
).
then
(()
=>
{
const
{
fullPath
}
=
view
...
...
@@ -127,6 +160,11 @@
})
})
},
/**
* @description: closeSelectedTag
* @param {*} view
* @author: renchao
*/
closeSelectedTag
(
view
)
{
this
.
$store
.
dispatch
(
'tagsView/delView'
,
view
).
then
(({
visitedViews
})
=>
{
if
(
this
.
isActive
(
view
))
{
...
...
@@ -134,12 +172,21 @@
}
})
},
/**
* @description: closeOthersTags
* @author: renchao
*/
closeOthersTags
()
{
this
.
$router
.
push
(
this
.
selectedTag
)
this
.
$store
.
dispatch
(
'tagsView/delOthersViews'
,
this
.
selectedTag
).
then
(()
=>
{
this
.
moveToCurrentTag
()
})
},
/**
* @description: closeAllTags
* @param {*} view
* @author: renchao
*/
closeAllTags
(
view
)
{
this
.
$store
.
dispatch
(
'tagsView/delAllViews'
).
then
(({
visitedViews
})
=>
{
if
(
this
.
affixTags
.
some
(
tag
=>
tag
.
path
===
view
.
path
))
{
...
...
@@ -148,6 +195,12 @@
this
.
toLastView
(
visitedViews
,
view
)
})
},
/**
* @description: toLastView
* @param {*} visitedViews
* @param {*} view
* @author: renchao
*/
toLastView
(
visitedViews
,
view
)
{
const
latestView
=
visitedViews
.
slice
(
-
1
)[
0
]
if
(
latestView
)
{
...
...
@@ -163,6 +216,12 @@
}
}
},
/**
* @description: openMenu
* @param {*} tag
* @param {*} e
* @author: renchao
*/
openMenu
(
tag
,
e
)
{
// const menuMinWidth = 105
// const offsetLeft = this.$el.getBoundingClientRect().left // container margin left
...
...
@@ -179,9 +238,17 @@
this
.
visible
=
true
this
.
selectedTag
=
tag
},
/**
* @description: closeMenu
* @author: renchao
*/
closeMenu
()
{
this
.
visible
=
false
},
/**
* @description: handleScroll
* @author: renchao
*/
handleScroll
()
{
this
.
closeMenu
()
}
...
...
src/layout/mixin/ResizeHandler.js
View file @
ec6ac93
...
...
@@ -27,10 +27,18 @@ export default {
methods
:
{
// use $_ for mixins properties
// https://vuejs.org/v2/style-guide/index.html#Private-property-names-essential
/**
* @description: $_isMobile
* @author: renchao
*/
$_isMobile
()
{
const
rect
=
body
.
getBoundingClientRect
()
return
rect
.
width
-
1
<
WIDTH
},
/**
* @description: $_resizeHandler
* @author: renchao
*/
$_resizeHandler
()
{
if
(
!
document
.
hidden
)
{
const
isMobile
=
this
.
$_isMobile
()
...
...
src/store/modules/dict.js
View file @
ec6ac93
...
...
@@ -20,6 +20,10 @@ const mutations = {
}
const
actions
=
{
/**
* @description: generateDic
* @author: renchao
*/
generateDic
({
commit
})
{
return
new
Promise
(
async
(
resolve
)
=>
{
let
{
result
:
res
}
=
await
getAllDict
()
...
...
@@ -27,6 +31,10 @@ const actions = {
resolve
(
true
)
})
},
/**
* @description: resetdict
* @author: renchao
*/
resetdict
({
commit
})
{
commit
(
'RESET_DICT'
)
}
...
...
src/utils/LodopFuncs.js
View file @
ec6ac93
...
...
@@ -3,6 +3,10 @@ import { MessageBox } from 'element-ui';
var
CreatedOKLodopObject
,
CLodopIsLocal
,
CLodopJsState
;
//==判断是否需要CLodop(那些不支持插件的浏览器):==
/**
* @description: 判断是否需要CLodop
* @author: renchao
*/
function
needCLodop
()
{
try
{
var
ua
=
navigator
.
userAgent
;
...
...
@@ -45,6 +49,10 @@ function needCLodop () {
}
//==加载引用CLodop的主JS,用双端口8000和18000(以防其中一个被占):==
/**
* @description: 加载引用CLodop的主JS,用双端口8000和18000
* @author: renchao
*/
function
loadCLodop
()
{
if
(
CLodopJsState
==
"loading"
||
CLodopJsState
==
"complete"
)
return
;
CLodopJsState
=
"loading"
;
...
...
@@ -63,7 +71,12 @@ function loadCLodop () {
if
(
needCLodop
())
{
loadCLodop
();
}
//加载
//==获取LODOP对象主过程,判断是否安装、需否升级:==
/**
* @description: 获取LODOP对象主过程,判断是否安装、需否升级
* @param {*} oOBJECT
* @param {*} oEMBED
* @author: renchao
*/
export
function
getLodop
(
oOBJECT
,
oEMBED
)
{
var
strHtmInstall
=
"<br><font color='#FF00FF'>打印控件未安装!点击这里<a href='install_lodop32.zip' target='_self'>执行安装</a>,安装后请刷新页面或重新进入。</font>"
;
var
strHtmUpdate
=
"<br><font color='#FF00FF'>打印控件需要升级!点击这里<a href='install_lodop32.zip' target='_self'>执行升级</a>,升级后请重新进入。</font>"
;
...
...
@@ -95,7 +108,7 @@ export function getLodop (oOBJECT, oEMBED) {
}).
then
(()
=>
{
window
.
open
(
'http://192.168.2.38:9000/bdcdj/20221212/b8702920-987d-4685-aff4-ade7a3a2b868/CLodop_Setup_for_Win32NT.zip'
)
}).
catch
(()
=>
{
});
//document.body.innerHTML = strCLodopInstall_1 + (CLodopIsLocal ? strCLodopInstall_2 : "") + strCLodopInstall_3 + document.body.innerHTML;
return
;
...
...
@@ -108,7 +121,7 @@ export function getLodop (oOBJECT, oEMBED) {
}).
then
(()
=>
{
window
.
open
(
'http://192.168.2.38:9000/bdcdj/20221212/cc00035b-4240-439a-b6a3-302cab44cb1e/install_lodop32.zip'
)
}).
catch
(()
=>
{
});
//document.body.innerHTML = strCLodopUpdate + document.body.innerHTML;
}
...
...
@@ -147,7 +160,7 @@ export function getLodop (oOBJECT, oEMBED) {
}).
then
(()
=>
{
window
.
open
(
'http://192.168.2.38:9000/bdcdj/20221212/b8702920-987d-4685-aff4-ade7a3a2b868/CLodop_Setup_for_Win32NT.zip'
)
}).
catch
(()
=>
{
});
// if (ua.indexOf('Chrome') >= 0)
// document.body.innerHTML = strHtmChrome + document.body.innerHTML;
...
...
@@ -166,7 +179,7 @@ export function getLodop (oOBJECT, oEMBED) {
}).
then
(()
=>
{
window
.
open
(
'http://192.168.2.38:9000/bdcdj/20221212/cc00035b-4240-439a-b6a3-302cab44cb1e/install_lodop32.zip'
)
}).
catch
(()
=>
{
});
//document.body.innerHTML = (is64IE ? strHtm64_Update : strHtmUpdate) + document.body.innerHTML;
}
...
...
src/utils/asyncRouter.js
View file @
ec6ac93
...
...
@@ -6,7 +6,7 @@
import
Layout
from
'@/layout'
/**
* @description:
* @description:
* @param {*} routers
* @author: renchao
*/
...
...
@@ -30,6 +30,11 @@ export default function filterAsyncRouter (routers) {
})
return
routers
}
/**
* @description: loadView
* @param {*} view
* @author: renchao
*/
function
loadView
(
view
)
{
return
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
`@/views
${
view
}
.vue`
)))
}
\ No newline at end of file
}
...
...
src/utils/dictionary.js
View file @
ec6ac93
/*
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-03 08:59:06
*/
import
store
from
'@/store'
/**
* @description: getSjlx
* @param {*} level
* @author: renchao
*/
export
function
getSjlx
(
level
)
{
const
resultMap
=
{
1
:
'系统数据'
,
...
...
@@ -13,6 +19,12 @@ export function getSjlx (level) {
return
resultMap
[
level
]
||
resultMap
.
default
;
}
/**
* @description: getDictLeabel
* @param {*} level
* @param {*} code
* @author: renchao
*/
export
function
getDictLeabel
(
level
,
code
)
{
const
resultMap
=
store
.
getters
.
dictData
[
code
]
const
desiredObject
=
resultMap
.
find
(
obj
=>
obj
.
dcode
===
level
);
...
...
@@ -23,4 +35,4 @@ export function getDictLeabel (level, code) {
}
else
{
return
''
}
}
\ No newline at end of file
}
...
...
src/utils/filter.js
View file @
ec6ac93
/*
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-17 13:31:39
*/
import
store
from
'@/store'
// table 内部过滤器 由于过滤器只能在模板中使用 所以 就有了 jsx内部方法过滤器
export
default
class
filter
{
/**
* @description: selected
* @param {*} row
* @author: renchao
*/
selected
(
row
)
{
// if (row.sfbl == 0) { // 正在办理不能申请
// return false
// return false
// } else {
// return true //可选择
// }
return
true
}
// 业务来源
/**
* @description: 业务来源
* @param {*} val
* @author: renchao
*/
busSource
(
val
)
{
let
status
=
{
1
:
'办事大厅'
,
2
:
'微信小程序'
}
return
status
[
val
]
}
//申请分类(1:正常申请,2:一并申请,3:补录申请)
/**
* @description: 申请分类
* @param {*} val
* @author: renchao
*/
sqfls
(
val
)
{
let
status
=
{
1
:
'正常申请'
,
2
:
'一并申请'
,
3
:
'补录申请'
}
return
status
[
val
]
}
// 字典
/**
* @description: 字典
* @param {*} val
* @param {*} code
* @author: renchao
*/
dicStatus
(
val
,
code
)
{
let
data
=
store
.
getters
.
dictData
[
code
],
name
=
'暂无'
...
...
@@ -38,12 +59,27 @@ export default class filter {
return
name
}
}
/**
* @description: filterHtml
* @param {*} content
* @author: renchao
*/
filterHtml
(
content
)
{
return
content
.
replace
(
/<
[^
>
]
+>/g
,
''
);
}
/**
* @description: getDictData
* @param {*} val
* @author: renchao
*/
getDictData
(
val
)
{
return
store
.
getters
.
dictData
[
val
]
}
/**
* @description: yWstatus
* @param {*} row
* @author: renchao
*/
yWstatus
(
row
)
{
let
text
=
""
;
let
keys
=
0
;
...
...
@@ -74,4 +110,4 @@ export default class filter {
return
text
;
}
}
\ No newline at end of file
}
...
...
src/utils/get-page-title.js
View file @
ec6ac93
...
...
@@ -6,6 +6,11 @@
import
Vue
from
'vue'
const
title
=
Vue
.
prototype
.
BASE_API
.
TITLE
/**
* @description: getPageTitle
* @param {*} pageTitle
* @author: renchao
*/
export
default
function
getPageTitle
(
pageTitle
)
{
if
(
pageTitle
)
{
return
`
${
pageTitle
}
-
${
title
}
`
...
...
src/utils/map/IdentifyUtils.js
View file @
ec6ac93
...
...
@@ -2,7 +2,18 @@ import {loadModules} from 'esri-loader'
export
default
{
methods
:
{
/**
* @description: identify
* @param {*} url
* @param {*} layerIds
* @param {*} geometry
* @param {*} callBackFunction
* @param {*} returnGeometry
* @param {*} layerOption
* @param {*} tolerance
* @param {*} mapExtent
* @author: renchao
*/
identify
(
url
,
layerIds
,
geometry
,
callBackFunction
,
returnGeometry
,
layerOption
,
tolerance
,
mapExtent
){
var
self
=
this
;
loadModules
([
...
...
@@ -19,7 +30,7 @@ export default {
identifyParameters
.
geometry
=
geometry
;
if
(
layerIds
){
identifyParameters
.
layerIds
=
layerIds
;
}
}
identifyParameters
.
layerOption
=
layerOption
?
layerOption
:
"all"
;
identifyParameters
.
tolerance
=
tolerance
?
tolerance
:
3
;
identifyParameters
.
mapExtent
=
mapExtent
?
mapExtent
:
geometry
.
extent
;
...
...
@@ -34,7 +45,7 @@ export default {
}).
catch
(
err
=>
{
throw
(
err
);
});
}
}
}
\ No newline at end of file
}
...
...
src/utils/map/draw.js
View file @
ec6ac93
import
{
maps
}
from
'@/libs/map/mapUtils'
import
{
maps
}
from
'@/libs/map/mapUtils'
import
{
loadModules
}
from
'esri-loader'
export
default
{
...
...
@@ -10,6 +10,14 @@ export default {
}
},
methods
:
{
/**
* @description: initDraw
* @param {*} type
* @param {*} viewId
* @param {*} creationMode
* @param {*} callBackFunction
* @author: renchao
*/
initDraw
(
type
,
viewId
,
creationMode
,
callBackFunction
){
var
self
=
this
;
loadModules
([
...
...
@@ -46,17 +54,21 @@ export default {
if
(
callBackFunction
&&
typeof
callBackFunction
==
'function'
){
callBackFunction
(
event
.
graphic
.
geometry
);
}
}
})
}).
catch
(
err
=>
{
throw
(
err
);
});
},
/**
* @description: destroyeDraw
* @author: renchao
*/
destroyeDraw
()
{
if
(
this
.
drawAction
){
this
.
drawAction
.
cancel
();
}
}
}
}
\ No newline at end of file
}
...
...
src/utils/map/featureUpdate.js
View file @
ec6ac93
...
...
@@ -5,6 +5,13 @@ import {loadModules} from "esri-loader"
export
default
{
methods
:{
/**
* @description: addGraphic
* @param {*} url
* @param {*} graphic
* @param {*} callBackFunction
* @author: renchao
*/
addGraphic
(
url
,
graphic
,
callBackFunction
){
loadModules
([
"esri/layers/FeatureLayer"
,
...
...
@@ -57,6 +64,13 @@ export default {
throw
(
err
);
})
},
/**
* @description: updateGraphic
* @param {*} url
* @param {*} graphic
* @param {*} callBackFunction
* @author: renchao
*/
updateGraphic
(
url
,
graphic
,
callBackFunction
){
loadModules
([
"esri/layers/FeatureLayer"
,
...
...
@@ -107,6 +121,13 @@ export default {
throw
(
err
);
})
},
/**
* @description: delGraphic
* @param {*} url
* @param {*} graphic
* @param {*} callBackFunction
* @author: renchao
*/
delGraphic
(
url
,
graphic
,
callBackFunction
){
loadModules
([
"esri/layers/FeatureLayer"
,
...
...
@@ -160,4 +181,4 @@ export default {
})
}
}
}
\ No newline at end of file
}
...
...
src/utils/map/findTask.js
View file @
ec6ac93
...
...
@@ -3,6 +3,16 @@ import {loadModules} from 'esri-loader'
export
default
{
methods
:{
/**
* @description: findByPro
* @param {*} url
* @param {*} layerIds
* @param {*} searchFields
* @param {*} searchText
* @param {*} returnGeometry
* @param {*} callBackFunction
* @author: renchao
*/
findByPro
(
url
,
layerIds
,
searchFields
,
searchText
,
returnGeometry
,
callBackFunction
){
loadModules
([
"esri/tasks/FindTask"
,
...
...
@@ -32,4 +42,4 @@ export default {
}
}
}
\ No newline at end of file
}
...
...
src/utils/map/measure.js
View file @
ec6ac93
...
...
@@ -9,6 +9,12 @@
}
},
methods
:
{
/**
* @description: measure
* @param {*} viewId
* @param {*} type
* @author: renchao
*/
measure
(
viewId
,
type
){
var
view
=
maps
[
viewId
];
var
self
=
this
;
...
...
@@ -35,8 +41,8 @@
view
:
view
});
}
// skip the initial 'new measurement' button
self
.
areaActive
.
viewModel
.
start
();
break
;
...
...
@@ -59,4 +65,4 @@
}
}
}
\ No newline at end of file
}
...
...
src/utils/map/queryUtils.js
View file @
ec6ac93
...
...
@@ -4,6 +4,17 @@ import {loadModules} from 'esri-loader'
export
default
{
methods
:
{
/**
* @description: queryByWhere
* @param {*} url
* @param {*} queryWhere
* @param {*} geometry
* @param {*} returnGeometry
* @param {*} outFields
* @param {*} outSpatialReference
* @param {*} callBackFunction
* @author: renchao
*/
queryByWhere
(
url
,
queryWhere
,
geometry
,
returnGeometry
,
outFields
,
outSpatialReference
,
callBackFunction
){
var
self
=
this
;
loadModules
([
...
...
@@ -55,6 +66,11 @@ export default{
throw
(
err
);
})
},
/**
* @description: parseObj2Arr
* @param {*} object
* @author: renchao
*/
parseObj2Arr
(
object
){
var
arr
=
[];
for
(
var
key
in
object
){
...
...
@@ -64,6 +80,6 @@ export default{
arr
.
push
(
obj
);
}
return
arr
;
}
}
},
}
...
...
src/utils/map/shpUtils.js
View file @
ec6ac93
...
...
@@ -4,8 +4,14 @@ export default{
methods
:
{
/**
* @description: readShpByFile
* @param {*} file
* @param {*} callBackFunction
* @author: renchao
*/
readShpByFile
(
file
,
callBackFunction
){
var
reader
=
new
FileReader
();
var
reader
=
new
FileReader
();
reader
.
readAsBinaryString
(
file
);
reader
.
ο
nl
ο
ad
=
function
(){
var
fileData
=
this
.
result
;
//fileData就是读取到的文件的二进制数据
...
...
@@ -20,6 +26,12 @@ export default{
.
catch
(
error
=>
console
.
error
(
error
.
stack
));
}
},
/**
* @description: readShpByFile
* @param {*} url
* @param {*} callBackFunction
* @author: renchao
*/
readShpByUrl
(
url
,
callBackFunction
){
open
(
url
).
then
(
source
=>
source
.
read
()
.
then
(
function
log
(
result
)
{
...
...
@@ -32,8 +44,14 @@ export default{
.
catch
(
error
=>
console
.
error
(
error
.
stack
));
}
},
/**
* @description: readShpByZip
* @param {*} zipUrl
* @param {*} callBackFunction
* @author: renchao
*/
readShpByZip
(
zipUrl
,
callBackFunction
){
}
}
\ No newline at end of file
}
...
...
src/utils/mixin/table.js
View file @
ec6ac93
...
...
@@ -21,12 +21,21 @@ export default {
this
.
handleSearch
()
},
methods
:
{
/**
* @description: handkeyCode
* @param {*} e
* @author: renchao
*/
handkeyCode
(
e
)
{
if
(
e
.
keyCode
===
13
){
console
.
log
(
"安"
);
this
.
handleSearch
()
}
},
/**
* @description: handleSearch
* @author: renchao
*/
handleSearch
(){
this
.
pageData
.
currentPage
=
1
if
(
this
.
fetchData
)
{
...
...
@@ -36,22 +45,41 @@ export default {
this
.
queryClick
()
}
},
/**
* @description: handleSizeChange
* @param {*} val
* @author: renchao
*/
handleSizeChange
(
val
)
{
this
.
pageData
.
currentPage
=
1
this
.
pageData
.
pageSize
=
val
this
.
queryClick
()
},
/**
* @description: handleCurrentChange
* @param {*} val
* @author: renchao
*/
handleCurrentChange
(
val
)
{
this
.
pageData
.
currentPage
=
val
if
(
this
.
queryClick
)
{
this
.
queryClick
()
}
},
/**
* @description: handleDel
* @author: renchao
*/
handleDel
()
{
let
deleteAfterPage
=
Math
.
ceil
((
this
.
tableData
.
total
-
1
)
/
this
.
pageData
.
pageSize
)
let
currentPage
=
this
.
pageData
.
currentPage
>
deleteAfterPage
?
deleteAfterPage
:
this
.
pageData
.
currentPage
this
.
pageData
.
currentPage
=
currentPage
<
1
?
1
:
currentPage
},
/**
* @description: resetForm
* @param {*} isYwbl
* @author: renchao
*/
resetForm
(
isYwbl
){
if
(
isYwbl
)
{
this
.
queryForm
=
defaultParameters
.
defaultParameters
();
...
...
src/utils/operation.js
View file @
ec6ac93
...
...
@@ -2,6 +2,13 @@ import Vue from 'vue'
import
axios
from
'axios'
import
request
from
'@/utils/request'
;
import
{
Message
}
from
"element-ui"
;
/**
* @description: removeTreeListItem
* @param {*} treeList
* @param {*} dictId
* @param {*} idName
* @author: renchao
*/
export
function
removeTreeListItem
(
treeList
,
dictId
,
idName
=
'bsmDict'
)
{
if
(
!
treeList
||
!
treeList
.
length
)
{
return
...
...
@@ -15,6 +22,12 @@ export function removeTreeListItem (treeList, dictId, idName = 'bsmDict') {
}
}
// 创造id
/**
* @description: 创造id
* @param {*} len
* @param {*} radix
* @author: renchao
*/
export
function
getUuid
(
len
,
radix
)
{
var
chars
=
"0123456789abcdefghijklmnopqrstuvwxyz"
.
split
(
""
...
...
@@ -37,6 +50,11 @@ export function getUuid (len, radix) {
}
return
uuid
.
join
(
""
);
}
/**
* @description: judgeSort
* @param {*} arr
* @author: renchao
*/
export
function
judgeSort
(
arr
)
{
if
(
arr
.
length
)
{
for
(
let
i
in
arr
)
{
...
...
@@ -50,6 +68,13 @@ export function judgeSort (arr) {
return
arr
}
// 上下移动
/**
* @description: 上下移动
* @param {*} bsmDict
* @param {*} operate
* @param {*} data
* @author: renchao
*/
export
function
realMove
(
bsmDict
,
operate
,
data
)
{
function
changeSort
(
arr
,
bsmDict
)
{
if
(
arr
.
length
)
{
...
...
@@ -75,6 +100,12 @@ export function realMove (bsmDict, operate, data) {
data
=
judgeSort
(
changeSort
(
data
,
bsmDict
));
}
// 获取所有父节点
/**
* @description: 获取所有父节点
* @param {*} treeData
* @param {*} bsmDict
* @author: renchao
*/
export
function
findParents
(
treeData
,
bsmDict
)
{
if
(
treeData
.
length
==
0
)
return
for
(
let
i
=
0
;
i
<
treeData
.
length
;
i
++
)
{
...
...
@@ -91,6 +122,12 @@ export function findParents (treeData, bsmDict) {
}
}
// 上移下移
/**
* @description: 上移下移
* @param {*} index
* @param {*} data
* @author: renchao
*/
export
function
upward
(
index
,
data
)
{
if
(
index
>
0
)
{
let
upData
=
data
[
index
-
1
];
...
...
@@ -102,6 +139,12 @@ export function upward (index, data) {
});
}
}
/**
* @description: down
* @param {*} index
* @param {*} data
* @author: renchao
*/
export
function
down
(
index
,
data
)
{
if
((
index
+
1
)
==
data
.
length
)
{
Message
({
...
...
@@ -139,4 +182,4 @@ export function getAltimeterInfo () {
"quality"
:
"3"
}
return
axios
.
post
(
"http://127.0.0.1:38088/video=grabimage"
,
JSON
.
stringify
(
data
))
}
\ No newline at end of file
}
...
...
src/utils/popup.js
View file @
ec6ac93
...
...
@@ -5,6 +5,19 @@
*/
import
ywPopup
from
'@/components/ywPopup/index'
import
Popup1
from
'@/components/Popup1/index'
/**
* @description: popupDialog
* @param {*} title
* @param {*} url
* @param {*} params
* @param {*} width
* @param {*} isMain
* @param {*} height
* @param {*} btnShow
* @param {*} callback
* @param {*} cancel
* @author: renchao
*/
export
function
popupDialog
(
title
,
url
,
params
,
width
=
'75%'
,
isMain
,
height
,
btnShow
=
false
,
callback
,
cancel
)
{
// Popup.install
Popup1
(
title
,
url
,
{
...
...
@@ -23,6 +36,19 @@ export function popupDialog (title, url, params, width = '75%', isMain, height,
})
}
/**
* @description: ywPopupDialog
* @param {*} title
* @param {*} url
* @param {*} params
* @param {*} width
* @param {*} isMain
* @param {*} height
* @param {*} btnShow
* @param {*} callback
* @param {*} cancel
* @author: renchao
*/
export
function
ywPopupDialog
(
title
,
url
,
params
,
width
=
'75%'
,
isMain
,
height
,
btnShow
=
true
,
callback
,
cancel
)
{
// Popup.install
ywPopup
(
title
,
url
,
{
...
...
@@ -41,9 +67,18 @@ export function ywPopupDialog (title, url, params, width = '75%', isMain, height
})
}
/**
* @description: popupCacel
* @author: renchao
*/
export
function
popupCacel
()
{
Popup1
().
close
()
}
/**
* @description: ywPopupCacel
* @author: renchao
*/
export
function
ywPopupCacel
()
{
ywPopupDialog
().
close
()
}
\ No newline at end of file
}
...
...
src/utils/requestLoading.js
View file @
ec6ac93
...
...
@@ -5,10 +5,15 @@
*/
import
Loading
from
'@/components/Loading/index.js'
;
// 定义 loading
// 定义 loading
let
loading
// loading开始 方法
/**
* @description: loading开始 方法
* @param {*} loadingText
* @author: renchao
*/
function
startLoading
(
loadingText
=
'正在加载中...'
)
{
loading
=
Loading
.
service
({
text
:
loadingText
,
...
...
@@ -18,6 +23,10 @@ function startLoading (loadingText = '正在加载中...') {
})
}
// loading结束 方法
/**
* @description: loading结束 方法
* @author: renchao
*/
function
endLoading
()
{
loading
.
close
()
}
...
...
@@ -34,10 +43,13 @@ export function startLoadingAddCount (LoadingText, target) {
}
loadingCount
++
}
/**
* @description: endLoadingSubCount
* @author: renchao
*/
export
function
endLoadingSubCount
()
{
loadingCount
--
if
(
loadingCount
===
0
)
{
endLoading
()
}
}
\ No newline at end of file
}
...
...
src/utils/util.js
View file @
ec6ac93
import
cookies
from
'./util.cookies'
/**
* @description: getUrlParam
* @param {*} paraName
* @author: renchao
*/
export
function
getUrlParam
(
paraName
)
{
let
url
=
document
.
location
.
toString
();
let
arrObj
=
url
.
split
(
'?'
);
...
...
@@ -21,7 +26,11 @@ export function getUrlParam (paraName) {
return
''
;
}
}
/**
* @description: setToken
* @param {*} token
* @author: renchao
*/
export
function
setToken
(
token
)
{
if
(
token
===
undefined
)
{
if
(
process
.
env
.
NODE_ENV
===
'development'
)
{
...
...
@@ -37,7 +46,10 @@ export function setToken (token) {
}
}
}
/**
* @description: getToken
* @author: renchao
*/
export
function
getToken
()
{
if
(
process
.
env
.
NODE_ENV
===
'development'
)
{
return
sessionStorage
.
getItem
(
'token'
)
...
...
@@ -46,7 +58,11 @@ export function getToken () {
}
// 获取当前时间
/**
* @description: 获取当前时间
* @param {*} type
* @author: renchao
*/
export
function
getNewDate
(
type
=
1
)
{
const
now
=
new
Date
();
const
year
=
now
.
getFullYear
();
...
...
@@ -60,4 +76,4 @@ export function getNewDate (type = 1) {
}
else
{
return
`
${
year
}
年
${
month
}
月
${
day
}
日
${
hours
}
时
${
minutes
}
分
${
seconds
}
秒`
}
}
\ No newline at end of file
}
...
...
src/views/components/comMsg.vue
View file @
ec6ac93
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-20 13:40:32
-->
<
template
>
<div
class=
"model"
>
<div
class=
"mask"
>
123
</div>
...
...
@@ -18,71 +23,71 @@
<
style
scoped
lang=
'scss'
>
//
css
部分
.mask
{
position
:
fixed
;
//这里用固定定位,后面设置动画时才不受影响
top
:
0
;
height
:
100%
;
width
:
100%
;
background-color
:
rgba
(
167
,
165
,
165
,
0.486
);
opacity
:
0.5
;
z-index
:
9
;
}
.model-dialog
{
position
:
absolute
;
//让弹框居中显示
top
:
50%
;
left
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
background-color
:
#fff
;
border-radius
:
12px
;
width
:
600px
;
height
:
300px
;
border
:
1px
solid
#f5f5f5
;
overflow
:
hidden
;
z-index
:
10
;
//这里注意层级要比mask大,覆盖它
}
.model-header
{
position
:
relative
;
height
:
50px
;
padding-left
:
10px
;
padding-top
:
10px
;
font-size
:
20px
;
line-height
:
50px
;
background-color
:
#f5f5f5
;
border-bottom
:
1px
solid
rgb
(
177
,
176
,
176
);
}
.model-body
{
height
:
150px
;
line-height
:
150px
;
font-size
:
28px
;
text-align
:
center
;
background-color
:
#fff
;
}
.model-footer
{
background-color
:
#f5f5f5
;
height
:
100px
;
text-align
:
center
;
line-height
:
100px
;
}
.btn
{
width
:
180px
;
height
:
40px
;
border-radius
:
8px
;
background-color
:
rgb
(
180
,
103
,
103
);
color
:
#fff
;
font-size
:
18px
;
border
:
none
;
}
.icon-close
{
position
:
absolute
;
//如果不加绝对布局,图表显示不出来
background-color
:
pink
;
right
:
15px
;
top
:
16px
;
width
:
30px
;
height
:
30px
;
z-index
:
10
;
//
background
:
url("../assets/icon-close.png")
no-repeat
;
background-size
:
contain
;
}
//
css
部分
.mask
{
position
:
fixed
;
//这里用固定定位,后面设置动画时才不受影响
top
:
0
;
height
:
100%
;
width
:
100%
;
background-color
:
rgba
(
167
,
165
,
165
,
0.486
);
opacity
:
0.5
;
z-index
:
9
;
}
.model-dialog
{
position
:
absolute
;
//让弹框居中显示
top
:
50%
;
left
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
background-color
:
#fff
;
border-radius
:
12px
;
width
:
600px
;
height
:
300px
;
border
:
1px
solid
#f5f5f5
;
overflow
:
hidden
;
z-index
:
10
;
//这里注意层级要比mask大,覆盖它
}
.model-header
{
position
:
relative
;
height
:
50px
;
padding-left
:
10px
;
padding-top
:
10px
;
font-size
:
20px
;
line-height
:
50px
;
background-color
:
#f5f5f5
;
border-bottom
:
1px
solid
rgb
(
177
,
176
,
176
);
}
.model-body
{
height
:
150px
;
line-height
:
150px
;
font-size
:
28px
;
text-align
:
center
;
background-color
:
#fff
;
}
.model-footer
{
background-color
:
#f5f5f5
;
height
:
100px
;
text-align
:
center
;
line-height
:
100px
;
}
.btn
{
width
:
180px
;
height
:
40px
;
border-radius
:
8px
;
background-color
:
rgb
(
180
,
103
,
103
);
color
:
#fff
;
font-size
:
18px
;
border
:
none
;
}
.icon-close
{
position
:
absolute
;
//如果不加绝对布局,图表显示不出来
background-color
:
pink
;
right
:
15px
;
top
:
16px
;
width
:
30px
;
height
:
30px
;
z-index
:
10
;
//
background
:
url("../assets/icon-close.png")
no-repeat
;
background-size
:
contain
;
}
</
style
>
\ No newline at end of file
...
...
src/views/components/imagePreview.vue
View file @
ec6ac93
...
...
@@ -177,6 +177,10 @@
})
})
},
/**
* @description: prev
* @author: renchao
*/
prev
()
{
let
len
=
this
.
previewImg
.
imgList
.
length
if
(
this
.
isFirst
||
len
==
0
)
{
...
...
@@ -185,6 +189,10 @@
this
.
$parent
.
previewImg
.
index
=
(
this
.
$parent
.
previewImg
.
index
-
1
+
len
)
%
len
}
},
/**
* @description: next
* @author: renchao
*/
next
()
{
let
len
=
this
.
previewImg
.
imgList
.
length
if
(
this
.
isLast
||
len
==
0
)
{
...
...
@@ -193,16 +201,34 @@
this
.
$parent
.
previewImg
.
index
=
(
this
.
$parent
.
previewImg
.
index
+
1
)
%
len
}
},
/**
* @description: showCurrent
* @param {*} index
* @author: renchao
*/
showCurrent
(
index
)
{
this
.
previewImg
.
index
=
index
},
/**
* @description: closeViewer
* @author: renchao
*/
closeViewer
()
{
this
.
showViewer
=
false
},
/**
* @description: clickImage
* @author: renchao
*/
clickImage
()
{
this
.
showViewer
=
true
},
// 上传
/**
* @description: 上传
* @param {*} file
* @author: renchao
*/
beforeUpload
(
file
)
{
const
isJPEG
=
file
.
type
===
'image/jpeg'
const
isPNG
=
file
.
type
===
'image/png'
...
...
@@ -220,6 +246,12 @@
this
.
imgHidden
=
(
isJPG
||
isJPEG
||
isPNG
||
isGIF
)
&&
isLt5M
return
this
.
imgHidden
},
/**
* @description: handleChange
* @param {*} file
* @param {*} files
* @author: renchao
*/
async
handleChange
(
file
,
files
)
{
// 清空 fileList 数组
let
length
=
files
.
length
;
...
...
@@ -244,6 +276,10 @@
})
},
0
)
},
/**
* @description: handleDelete
* @author: renchao
*/
handleDelete
()
{
let
that
=
this
this
.
$confirm
(
'此操作将永久删除, 是否继续?'
,
'提示'
,
{
...
...
src/views/djbworkflow/components/addJtcy.vue
View file @
ec6ac93
...
...
@@ -178,10 +178,18 @@
}
},
methods
:
{
/**
* @description: closeDialog
* @author: renchao
*/
closeDialog
()
{
this
.
$emit
(
"input"
,
false
);
this
.
$refs
[
'ruleForm'
].
resetFields
();
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm
()
{
this
.
$emit
(
"input"
,
false
);
this
.
$emit
(
"updateDetail"
,
_
.
cloneDeep
(
this
.
ruleForm
));
...
...
src/views/djbworkflow/components/batchDel.vue
View file @
ec6ac93
...
...
@@ -53,6 +53,10 @@
},
methods
:
{
// 批量删除确定按钮
/**
* @description: 批量删除确定按钮
* @author: renchao
*/
submitdelclick
()
{
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSldyList"
,
this
.
selectBdcdy
);
...
...
@@ -68,6 +72,11 @@
})
},
// 批量删除勾选事件
/**
* @description: 批量删除勾选事件
* @param {*} e
* @author: renchao
*/
handleSelectionChange
(
e
)
{
this
.
selectBdcdy
=
[];
e
.
forEach
((
item
,
index
)
=>
{
...
...
src/views/djbworkflow/components/dialog/addQlr.vue
View file @
ec6ac93
...
...
@@ -274,10 +274,18 @@ export default {
},
methods
:
{
/**
* @description: closeDialog
* @author: renchao
*/
closeDialog
()
{
this
.
$emit
(
"input"
,
false
);
this
.
$refs
[
"ruleForm"
].
resetFields
();
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm
()
{
this
.
$refs
.
ruleForm
.
validate
((
valid
)
=>
{
if
(
valid
)
{
...
...
src/views/djbworkflow/components/dialog/addYwr.vue
View file @
ec6ac93
...
...
@@ -197,10 +197,18 @@
},
},
methods
:
{
/**
* @description: closeDialog
* @author: renchao
*/
closeDialog
()
{
this
.
$emit
(
"input"
,
false
);
this
.
$refs
[
"ruleForm"
].
resetFields
();
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm
()
{
this
.
$refs
.
ruleForm
.
validate
((
valid
)
=>
{
if
(
valid
)
{
...
...
src/views/djbworkflow/components/dialog/clxxDetailDialog.vue
View file @
ec6ac93
...
...
@@ -152,6 +152,10 @@
},
methods
:
{
// 材料目录明细初始化
/**
* @description: 材料目录明细初始化
* @author: renchao
*/
clmlInitList
()
{
return
new
Promise
(
resolve
=>
{
this
.
unitData
=
this
.
$parent
.
unitData
;
...
...
@@ -173,6 +177,12 @@
})
},
// 上移
/**
* @description: 上移
* @param {*} index
* @param {*} row
* @author: renchao
*/
moveUpward
(
index
,
row
)
{
let
obj
=
{
xh
:
row
.
xh
,
...
...
@@ -180,6 +190,11 @@
moveDirection
:
"UP"
,
};
// 接口待调
/**
* @description: 接口待调
* @param {*} obj
* @author: renchao
*/
moveClml
(
obj
).
then
(
async
(
res
)
=>
{
if
(
res
.
code
==
200
)
{
let
res
=
await
this
.
clmlInitList
()
...
...
@@ -196,6 +211,12 @@
})
},
// 下移
/**
* @description: 下移
* @param {*} index
* @param {*} row
* @author: renchao
*/
moveDown
(
index
,
row
)
{
let
obj
=
{
xh
:
row
.
xh
,
...
...
@@ -203,6 +224,11 @@
moveDirection
:
"DOWN"
,
}
// 接口待调
/**
* @description: 接口待调
* @param {*} obj
* @author: renchao
*/
moveClml
(
obj
).
then
(
async
(
res
)
=>
{
if
(
res
.
code
==
200
)
{
let
res
=
await
this
.
clmlInitList
()
...
...
@@ -218,6 +244,12 @@
})
},
// 材料目录删除
/**
* @description: 材料目录删除
* @param {*} index
* @param {*} row
* @author: renchao
*/
handleDelete
(
index
,
row
)
{
let
that
=
this
this
.
$confirm
(
'此操作将永久删除该 是否继续?'
,
'提示'
,
{
...
...
@@ -245,6 +277,12 @@
})
},
// 字典
/**
* @description: 字典
* @param {*} val
* @param {*} code
* @author: renchao
*/
dicStatus
(
val
,
code
)
{
let
data
=
store
.
getters
.
dictData
[
code
],
name
=
"暂无"
;
...
...
src/views/djbworkflow/components/leftmenu/djbFrameData.js
View file @
ec6ac93
...
...
@@ -67,6 +67,13 @@ export function loadTreeData(qlxxData) {
}
//获取权利类型、不动产单元类型对应的树形节点信息
/**
* @description: 获取权利类型、不动产单元类型对应的树形节点信息
* @param {*} qllx
* @param {*} qlxx
* @param {*} bdcdylx
* @author: renchao
*/
export
function
getNode
(
qllx
,
qlxx
,
bdcdylx
)
{
let
node
;
for
(
var
i
=
0
;
i
<
qlxxPage
.
length
;
i
++
)
{
...
...
src/views/djbworkflow/components/leftmenu/ordinaryMenu.vue
View file @
ec6ac93
...
...
@@ -112,6 +112,10 @@
},
methods
:
{
//读取申请单元信息
/**
* @description: 读取申请单元信息
* @author: renchao
*/
loadBdcdylist
()
{
var
formdata
=
new
FormData
();
if
(
this
.
bsmSlsq
)
{
...
...
@@ -128,6 +132,11 @@
},
// 获取右侧菜单
/**
* @description: 获取右侧菜单
* @param {*} row
* @author: renchao
*/
getleftMenubl
(
row
)
{
leftMenubl
(
this
.
bsmSlsq
).
then
((
res
)
=>
{
...
...
@@ -152,20 +161,41 @@
}
});
},
/**
* @description: handleNodeClick
* @param {*} data
* @param {*} node
* @param {*} elem
* @author: renchao
*/
handleNodeClick
(
data
,
node
,
elem
)
{
this
.
$parent
.
loadComponent
(
this
.
currentSelectProps
,
data
);
this
.
$parent
.
tabset
();
},
//申请单元点击事件
/**
* @description: 申请单元点击事件
* @param {*} index
* @author: renchao
*/
unitClick
(
index
)
{
this
.
currentSelectProps
=
this
.
supplementarylist
[
index
];
this
.
$emit
(
"getCurrentSelectProps"
,
this
.
currentSelectProps
);
},
//登记簿点击事件
/**
* @description: 登记簿点击事件
* @author: renchao
*/
djbClick
()
{
this
.
loadBdcdylist
();
},
// 删除补录记录
/**
* @description: 删除补录记录
* @param {*} row
* @author: renchao
*/
handleDel
(
row
)
{
this
.
$confirm
(
"此操作将永久删除该条补录记录, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
...
...
@@ -195,6 +225,10 @@
});
},
//补录信息点击事件默认展示第一条补录记录
/**
* @description: 补录信息点击事件默认展示第一条补录记录
* @author: renchao
*/
blxxClick
()
{
if
(
this
.
supplementarylist
.
length
)
{
this
.
unitClick
(
0
);
...
...
src/views/djbworkflow/components/qlrCommonTable.vue
View file @
ec6ac93
...
...
@@ -217,6 +217,11 @@ export default {
},
},
methods
:
{
/**
* @handleupdateDetail: 删除
* @param {*} value
* @author: renchao
*/
handleupdateDetail
(
value
)
{
if
(
this
.
isaddupdate
)
{
if
(
!
_
.
isEqual
(
value
,
this
.
tableData
))
{
...
...
@@ -232,6 +237,10 @@ export default {
this
.
key
++
;
},
// 新增
/**
* @description: 新增
* @author: renchao
*/
addClick
()
{
if
(
this
.
gyfs
==
"0"
&&
this
.
tableDataList
.
length
>
0
)
{
this
.
$message
.
warning
(
"当前共有方式为单独所有,无法添加多个权利人"
);
...
...
@@ -242,6 +251,12 @@ export default {
},
// 删除
/**
* @description: 删除
* @param {*} index
* @param {*} row
* @author: renchao
*/
deleClick
(
index
,
row
)
{
this
.
$confirm
(
"确定要删除吗, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
...
...
@@ -255,19 +270,39 @@ export default {
},
// 身份证读取
/**
* @description: 身份证读取
* @author: renchao
*/
readClick
()
{},
// 身份证读取按钮禁用
/**
* @description: 身份证读取按钮禁用
* @author: renchao
*/
onreadClick
()
{
this
.
$message
.
error
(
"此阶段不可编辑"
);
},
// 修改
/**
* @description: 修改
* @param {*} index
* @param {*} row
* @author: renchao
*/
editClick
(
index
,
row
)
{
this
.
dataIndex
=
index
;
this
.
dialog
=
true
;
this
.
details
=
row
;
this
.
isaddupdate
=
false
;
},
/**
* @description: queryViewClick
* @param {*} index
* @param {*} row
* @author: renchao
*/
queryViewClick
(
index
,
row
)
{
this
.
dialog
=
true
;
this
.
details
=
row
;
...
...
src/views/djbworkflow/components/stop.vue
View file @
ec6ac93
...
...
@@ -35,6 +35,10 @@
};
},
methods
:
{
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit
()
{
stopTask
({
bsmSlsq
:
this
.
formData
.
bsmSlsq
,
...
...
src/views/djbworkflow/components/th.vue
View file @
ec6ac93
...
...
@@ -68,6 +68,10 @@
this
.
getBackNode
();
},
methods
:
{
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit
()
{
this
.
selectItem
.
outstepopinion
=
this
.
outstepopinion
;
sendBackTask
({
...
...
@@ -87,11 +91,20 @@
},
1000
);
});
},
/**
* @description: changeSelectItem
* @param {*} item
* @author: renchao
*/
changeSelectItem
(
item
)
{
this
.
selectItem
=
item
;
this
.
selectActivity
=
item
.
activityId
;
},
//获取可回退环节信息
/**
* @description: 获取可回退环节信息
* @author: renchao
*/
getBackNode
()
{
getTaskBackNode
(
this
.
formData
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
...
...
@@ -104,6 +117,10 @@
});
},
/**
* @description: cancelBack
* @author: renchao
*/
cancelBack
()
{
popupCacel
();
}
...
...
src/views/djbworkflow/components/ywrCommonTable.vue
View file @
ec6ac93
...
...
@@ -217,6 +217,11 @@ export default {
},
},
methods
:
{
/**
* @description: handleupdateDetail
* @param {*} value
* @author: renchao
*/
handleupdateDetail
(
value
)
{
if
(
this
.
isaddupdate
)
{
if
(
!
_
.
isEqual
(
value
,
this
.
tableData
))
{
...
...
@@ -232,6 +237,10 @@ export default {
this
.
key
++
;
},
// 新增
/**
* @description: 新增
* @author: renchao
*/
addClick
()
{
if
(
this
.
gyfs
==
"0"
&&
this
.
tableDataList
.
length
>
0
)
{
this
.
$message
.
warning
(
"当前共有方式为单独所有,无法添加多个权利人"
);
...
...
@@ -242,6 +251,12 @@ export default {
},
// 删除
/**
* @description: 删除
* @param {*} index
* @param {*} row
* @author: renchao
*/
deleClick
(
index
,
row
)
{
this
.
$confirm
(
"确定要删除吗, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
...
...
@@ -255,15 +270,31 @@ export default {
},
// 身份证读取
/**
* @description: 身份证读取
* @author: renchao
*/
readClick
()
{},
// 修改
/**
* @description: 修改
* @param {*} index
* @param {*} row
* @author: renchao
*/
editClick
(
index
,
row
)
{
this
.
dataIndex
=
index
;
this
.
dialog
=
true
;
this
.
details
=
row
;
this
.
isaddupdate
=
false
;
},
/**
* @description: queryViewClick
* @param {*} index
* @param {*} row
* @author: renchao
*/
queryViewClick
(
index
,
row
)
{
this
.
dialog
=
true
;
this
.
details
=
row
;
...
...
src/views/djbworkflow/components/zc.vue
View file @
ec6ac93
...
...
@@ -39,6 +39,10 @@
}
},
methods
:
{
/**
* @description: tablelistFn
* @author: renchao
*/
tablelistFn
()
{
getNextLinkInfo
(
this
.
queryForm
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
...
...
@@ -49,6 +53,10 @@
}
})
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm
()
{
completeTask
(
this
.
queryForm
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
...
...
@@ -62,6 +70,10 @@
}
})
},
/**
* @description: closeDialog
* @author: renchao
*/
closeDialog
()
{
this
.
$emit
(
"input"
,
false
);
},
...
...
src/views/djbworkflow/djbBook/components/blxxtabs/cfdj.vue
View file @
ec6ac93
...
...
@@ -461,13 +461,28 @@ export default {
this
.
ableOperation
=
this
.
$parent
.
ableOperation
},
methods
:
{
/**
* @description: ztQlxxchange
* @param {*} val
* @author: renchao
*/
ztQlxxchange
(
val
)
{
this
.
ruleForm
.
ztQlxx
=
val
;
},
/**
* @description: ssQlxxchange
* @param {*} val
* @author: renchao
*/
ssQlxxchange
(
val
)
{
this
.
ruleForm
.
ssQlxx
=
val
;
this
.
ruleForm
.
qlxx
.
ssywh
=
val
.
ssywh
;
},
/**
* @description: djlxchange
* @param {*} val
* @author: renchao
*/
djlxchange
(
val
)
{
if
(
val
==
null
||
val
==
100
)
{
this
.
ssqlxxshow
=
false
;
...
...
@@ -475,6 +490,10 @@ export default {
this
.
ssqlxxshow
=
true
;
}
},
/**
* @description: loadData
* @author: renchao
*/
loadData
()
{
this
.
$startLoading
();
this
.
propsParam
.
isEdit
=
this
.
$parent
.
isEdit
;
...
...
@@ -521,6 +540,10 @@ export default {
// this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val));
// this.key++;
// },
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit
()
{
this
.
$refs
.
ruleForm
.
validate
((
valid
)
=>
{
console
.
log
(
"valid"
,
valid
);
...
...
src/views/djbworkflow/djbBook/components/blxxtabs/dyaq.vue
View file @
ec6ac93
...
...
@@ -639,9 +639,19 @@ export default {
this
.
ableOperation
=
this
.
$parent
.
ableOperation
;
},
methods
:
{
/**
* @description: ztQlxxchange
* @param {*} val
* @author: renchao
*/
ztQlxxchange
(
val
)
{
this
.
ruleForm
.
ztQlxx
=
val
;
},
/**
* @description: ssQlxxchange
* @param {*} val
* @author: renchao
*/
ssQlxxchange
(
val
)
{
this
.
ruleForm
.
ssQlxx
=
val
;
this
.
ruleForm
.
qlxx
.
ssywh
=
val
.
ssywh
;
...
...
@@ -653,6 +663,10 @@ export default {
this
.
ssqlxxshow
=
true
;
}
},
/**
* @description: loadData
* @author: renchao
*/
loadData
()
{
this
.
$startLoading
();
this
.
propsParam
.
isEdit
=
this
.
$parent
.
isEdit
;
...
...
@@ -684,21 +698,40 @@ export default {
});
},
// 更新土地用途信息
/**
* @description: 更新土地用途信息
* @param {*} val
* @author: renchao
*/
upDateTdytxxList
(
val
)
{
this
.
ruleForm
.
tdytqxList
&&
(
this
.
ruleForm
.
tdytqxList
=
_
.
cloneDeep
(
val
));
this
.
key
++
;
},
// 更新权利人信息
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateQlrxxList
(
val
)
{
this
.
ruleForm
.
qlrData
&&
(
this
.
ruleForm
.
qlrData
=
_
.
cloneDeep
(
val
));
this
.
czrOptions
=
this
.
ruleForm
.
qlrData
;
this
.
key
++
;
},
// 更新义务人信息
/**
* @description: 更新义务人信息
* @param {*} val
* @author: renchao
*/
upDateYwrxxList
(
val
)
{
this
.
ruleForm
.
ywrData
&&
(
this
.
ruleForm
.
ywrData
=
_
.
cloneDeep
(
val
));
this
.
key
++
;
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit
()
{
this
.
$refs
.
ruleForm
.
validate
((
valid
)
=>
{
if
(
valid
)
{
...
...
src/views/djbworkflow/djbBook/components/blxxtabs/dyiq.vue
View file @
ec6ac93
...
...
@@ -398,10 +398,20 @@ export default {
this
.
ableOperation
=
this
.
$parent
.
ableOperation
},
methods
:
{
/**
* @description: ssQlxxchange
* @param {*} val
* @author: renchao
*/
ssQlxxchange
(
val
)
{
this
.
ruleForm
.
ssQlxx
=
val
;
this
.
ruleForm
.
qlxx
.
ssywh
=
val
.
ssywh
;
},
/**
* @description: djlxchange
* @param {*} val
* @author: renchao
*/
djlxchange
(
val
)
{
console
.
log
(
"val"
,
val
);
if
(
val
==
null
||
val
==
100
)
{
...
...
@@ -410,6 +420,10 @@ export default {
this
.
ssqlxxshow
=
true
;
}
},
/**
* @description: loadData
* @author: renchao
*/
loadData
()
{
this
.
$startLoading
();
this
.
propsParam
.
isEdit
=
this
.
$parent
.
isEdit
;
...
...
@@ -435,21 +449,40 @@ export default {
});
},
// 更新土地用途信息
/**
* @description: 更新土地用途信息
* @param {*} val
* @author: renchao
*/
upDateTdytxxList
(
val
)
{
this
.
ruleForm
.
tdytqxList
&&
(
this
.
ruleForm
.
tdytqxList
=
_
.
cloneDeep
(
val
));
this
.
key
++
;
},
// 更新权利人信息
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateQlrxxList
(
val
)
{
this
.
ruleForm
.
qlrData
&&
(
this
.
ruleForm
.
qlrData
=
_
.
cloneDeep
(
val
));
this
.
czrOptions
=
this
.
ruleForm
.
qlrData
;
this
.
key
++
;
},
// 更新义务人信息
/**
* @description: 更新义务人信息
* @param {*} val
* @author: renchao
*/
upDateYwrxxList
(
val
)
{
this
.
ruleForm
.
ywrData
&&
(
this
.
ruleForm
.
ywrData
=
_
.
cloneDeep
(
val
));
this
.
key
++
;
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit
()
{
this
.
$refs
.
ruleForm
.
validate
((
valid
)
=>
{
if
(
valid
)
{
...
...
src/views/djbworkflow/djbBook/components/blxxtabs/fdcq.vue
View file @
ec6ac93
...
...
@@ -458,10 +458,20 @@
this
.
ableOperation
=
this
.
$parent
.
ableOperation
;
},
methods
:
{
/**
* @description: ssQlxxchange
* @param {*} val
* @author: renchao
*/
ssQlxxchange
(
val
)
{
this
.
ruleForm
.
ssQlxx
=
val
;
this
.
ruleForm
.
qlxx
.
ssywh
=
val
.
ssywh
;
},
/**
* @description: djlxchange
* @param {*} val
* @author: renchao
*/
djlxchange
(
val
)
{
console
.
log
(
"val"
,
val
);
if
(
val
==
null
||
val
==
100
)
{
...
...
@@ -471,6 +481,10 @@
}
},
/**
* @description: loadData
* @author: renchao
*/
loadData
()
{
this
.
$startLoading
();
this
.
propsParam
.
isEdit
=
this
.
$parent
.
isEdit
;
...
...
@@ -502,21 +516,40 @@
});
},
// 更新土地用途信息
/**
* @description: 更新土地用途信息
* @param {*} val
* @author: renchao
*/
upDateTdytxxList
(
val
)
{
this
.
ruleForm
.
tdytqxList
&&
(
this
.
ruleForm
.
tdytqxList
=
_
.
cloneDeep
(
val
));
this
.
key
++
;
},
// 更新权利人信息
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateQlrxxList
(
val
)
{
this
.
ruleForm
.
qlrData
&&
(
this
.
ruleForm
.
qlrData
=
_
.
cloneDeep
(
val
));
this
.
czrOptions
=
this
.
ruleForm
.
qlrData
;
this
.
key
++
;
},
// 更新义务人信息
/**
* @description: 更新义务人信息
* @param {*} val
* @author: renchao
*/
upDateYwrxxList
(
val
)
{
this
.
ruleForm
.
ywrData
&&
(
this
.
ruleForm
.
ywrData
=
_
.
cloneDeep
(
val
));
this
.
key
++
;
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit
()
{
this
.
$refs
.
ruleForm
.
validate
((
valid
)
=>
{
if
(
valid
)
{
...
...
src/views/djbworkflow/djbBook/components/blxxtabs/jsydsyq.vue
View file @
ec6ac93
...
...
@@ -360,10 +360,20 @@ export default {
this
.
ableOperation
=
this
.
$parent
.
ableOperation
},
methods
:
{
/**
* @description: ssQlxxchange
* @param {*} val
* @author: renchao
*/
ssQlxxchange
(
val
)
{
this
.
ruleForm
.
ssQlxx
=
val
;
this
.
ruleForm
.
qlxx
.
ssywh
=
val
.
ssywh
;
},
/**
* @description: djlxchange
* @param {*} val
* @author: renchao
*/
djlxchange
(
val
)
{
console
.
log
(
"val"
,
val
);
if
(
val
==
null
||
val
==
100
)
{
...
...
@@ -373,9 +383,18 @@ export default {
}
},
// 字典
/**
* @description: 字典
* @param {*} val
* @author: renchao
*/
getDictData
(
val
)
{
return
store
.
getters
.
dictData
[
val
];
},
/**
* @description: loadData
* @author: renchao
*/
loadData
()
{
this
.
$startLoading
();
this
.
propsParam
.
isEdit
=
this
.
$parent
.
isEdit
;
...
...
@@ -402,21 +421,40 @@ export default {
});
},
// 更新土地用途信息
/**
* @description: 更新土地用途信息
* @param {*} val
* @author: renchao
*/
upDateTdytxxList
(
val
)
{
this
.
ruleForm
.
tdytqxList
&&
(
this
.
ruleForm
.
tdytqxList
=
_
.
cloneDeep
(
val
));
this
.
key
++
;
},
// 更新权利人信息
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateQlrxxList
(
val
)
{
this
.
ruleForm
.
qlrData
&&
(
this
.
ruleForm
.
qlrData
=
_
.
cloneDeep
(
val
));
this
.
czrOptions
=
this
.
ruleForm
.
qlrData
;
this
.
key
++
;
},
// 更新义务人信息
/**
* @description: 更新义务人信息
* @param {*} val
* @author: renchao
*/
upDateYwrxxList
(
val
)
{
this
.
ruleForm
.
ywrData
&&
(
this
.
ruleForm
.
ywrData
=
_
.
cloneDeep
(
val
));
this
.
key
++
;
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit
()
{
this
.
$refs
.
ruleForm
.
validate
((
valid
)
=>
{
if
(
valid
)
{
...
...
src/views/djbworkflow/djbBook/components/blxxtabs/tdsyq.vue
View file @
ec6ac93
...
...
@@ -415,10 +415,20 @@ export default {
this
.
ableOperation
=
this
.
$parent
.
ableOperation
},
methods
:
{
/**
* @description: ssQlxxchange
* @param {*} val
* @author: renchao
*/
ssQlxxchange
(
val
)
{
this
.
ruleForm
.
ssQlxx
=
val
;
this
.
ruleForm
.
qlxx
.
ssywh
=
val
.
ssywh
;
},
/**
* @description: djlxchange
* @param {*} val
* @author: renchao
*/
djlxchange
(
val
)
{
console
.
log
(
"val"
,
val
);
if
(
val
==
null
||
val
==
100
)
{
...
...
@@ -429,9 +439,18 @@ export default {
},
// 字典
/**
* @description: 字典
* @param {*} val
* @author: renchao
*/
getDictData
(
val
)
{
return
store
.
getters
.
dictData
[
val
];
},
/**
* @description: loadData
* @author: renchao
*/
loadData
()
{
this
.
$startLoading
();
this
.
propsParam
.
isEdit
=
this
.
$parent
.
isEdit
;
...
...
@@ -462,11 +481,21 @@ export default {
});
},
// 更新土地用途信息
/**
* @description: 更新土地用途信息
* @param {*} val
* @author: renchao
*/
upDateTdytxxList
(
val
)
{
this
.
ruleForm
.
tdytqxList
&&
(
this
.
ruleForm
.
tdytqxList
=
_
.
cloneDeep
(
val
));
this
.
key
++
;
},
// 更新权利人信息
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateQlrxxList
(
val
)
{
this
.
ruleForm
.
qlrData
&&
(
this
.
ruleForm
.
qlrData
=
_
.
cloneDeep
(
val
));
this
.
czrOptions
=
this
.
ruleForm
.
qlrData
;
...
...
@@ -477,6 +506,10 @@ export default {
// this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val));
// this.key++;
// },
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit
()
{
this
.
$refs
.
ruleForm
.
validate
((
valid
)
=>
{
if
(
valid
)
{
...
...
src/views/djbworkflow/djbBook/components/blxxtabs/ygdj.vue
View file @
ec6ac93
...
...
@@ -438,10 +438,20 @@ export default {
this
.
ableOperation
=
this
.
$parent
.
ableOperation
},
methods
:
{
/**
* @description: ssQlxxchange
* @param {*} val
* @author: renchao
*/
ssQlxxchange
(
val
)
{
this
.
ruleForm
.
ssQlxx
=
val
;
this
.
ruleForm
.
qlxx
.
ssywh
=
val
.
ssywh
;
},
/**
* @description: djlxchange
* @param {*} val
* @author: renchao
*/
djlxchange
(
val
)
{
console
.
log
(
"val"
,
val
);
if
(
val
==
null
||
val
==
100
)
{
...
...
@@ -450,6 +460,10 @@ export default {
this
.
ssqlxxshow
=
true
;
}
},
/**
* @description: loadData
* @author: renchao
*/
loadData
()
{
this
.
$startLoading
();
this
.
propsParam
.
isEdit
=
this
.
$parent
.
isEdit
...
...
@@ -475,21 +489,40 @@ export default {
});
},
// 更新土地用途信息
/**
* @description: 更新土地用途信息
* @param {*} val
* @author: renchao
*/
upDateTdytxxList
(
val
)
{
this
.
ruleForm
.
tdytqxList
&&
(
this
.
ruleForm
.
tdytqxList
=
_
.
cloneDeep
(
val
));
this
.
key
++
;
},
// 更新权利人信息
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateQlrxxList
(
val
)
{
this
.
ruleForm
.
qlrData
&&
(
this
.
ruleForm
.
qlrData
=
_
.
cloneDeep
(
val
));
this
.
czrOptions
=
this
.
ruleForm
.
qlrData
;
this
.
key
++
;
},
// 更新义务人信息
/**
* @description: 更新义务人信息
* @param {*} val
* @author: renchao
*/
upDateYwrxxList
(
val
)
{
this
.
ruleForm
.
ywrData
&&
(
this
.
ruleForm
.
ywrData
=
_
.
cloneDeep
(
val
));
this
.
key
++
;
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit
()
{
this
.
$refs
.
ruleForm
.
validate
((
valid
)
=>
{
if
(
valid
)
{
...
...
src/views/djbworkflow/djbBook/components/blxxtabs/yydj.vue
View file @
ec6ac93
...
...
@@ -319,6 +319,10 @@ export default {
this
.
ableOperation
=
this
.
$parent
.
ableOperation
},
methods
:
{
/**
* @description: loadData
* @author: renchao
*/
loadData
()
{
this
.
$startLoading
();
this
.
propsParam
.
isEdit
=
this
.
$parent
.
isEdit
...
...
@@ -331,21 +335,40 @@ export default {
});
},
// 更新土地用途信息
/**
* @description: 更新土地用途信息
* @param {*} val
* @author: renchao
*/
upDateTdytxxList
(
val
)
{
this
.
ruleForm
.
tdytqxList
&&
(
this
.
ruleForm
.
tdytqxList
=
_
.
cloneDeep
(
val
));
this
.
key
++
;
},
// 更新权利人信息
/**
* @description: 更新权利人信息
* @param {*} val
* @author: renchao
*/
upDateQlrxxList
(
val
)
{
this
.
ruleForm
.
qlrData
&&
(
this
.
ruleForm
.
qlrData
=
_
.
cloneDeep
(
val
));
this
.
czrOptions
=
this
.
ruleForm
.
qlrData
;
this
.
key
++
;
},
// 更新义务人信息
/**
* @description: 更新义务人信息
* @param {*} val
* @author: renchao
*/
upDateYwrxxList
(
val
)
{
this
.
ruleForm
.
ywrData
&&
(
this
.
ruleForm
.
ywrData
=
_
.
cloneDeep
(
val
));
this
.
key
++
;
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit
()
{
this
.
$refs
.
ruleForm
.
validate
((
valid
)
=>
{
if
(
valid
)
{
...
...
src/views/djbworkflow/djbBook/spyj.vue
View file @
ec6ac93
...
...
@@ -109,6 +109,9 @@ export default {
this
.
getShList
();
},
methods
:
{
/**
* @description: getShList
* @a
getShList() {
this.$startLoading();
var formdata = {
...
...
@@ -125,7 +128,16 @@ export default {
}
});
},
/**
* @description: judgment
* @param {*} obj
* @author: renchao
*/
judgment
(
obj
)
{},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit
()
{
if
(
this
.
tableData
[
2
].
shyj
==
null
||
...
...
@@ -188,6 +200,11 @@ export default {
}
},
//打开常用意见列表弹窗
/**
* @description: 打开常用意见列表弹窗
* @param {*} index
* @author: renchao
*/
commonOpinion
(
index
)
{
this
.
currentindex
=
index
;
this
.
$popupDialog
(
...
...
@@ -198,6 +215,11 @@ export default {
true
);
},
/**
* @description: add
* @param {*} val
* @author: renchao
*/
add
(
val
)
{
if
(
val
!=
""
)
{
this
.
$set
(
this
.
tableData
[
this
.
currentindex
],
"shyj"
,
val
);
...
...
src/views/djbworkflow/mixin/index.js
View file @
ec6ac93
...
...
@@ -43,6 +43,10 @@ export default {
},
methods
:
{
//加载流程初始参数
/**
* @description: 加载流程初始参数
* @author: renchao
*/
flowInitParam
()
{
var
formdata
=
new
FormData
();
...
...
@@ -70,6 +74,11 @@ export default {
},
//流程环节操作按钮
/**
* @description: 流程环节操作按钮
* @param {*} item
* @author: renchao
*/
operation
(
item
)
{
//按钮 B0:选择不动产单元 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书 B7:证书领取 B8:楼盘表 B9:登簿
//操作按钮 登簿:record 转件:transfer 退回:back 退出:signout
...
...
@@ -276,6 +285,10 @@ export default {
break
;
}
},
/**
* @description: del
* @author: renchao
*/
del
()
{
let
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSlsq"
,
this
.
bsmSlsq
);
...
...
@@ -306,6 +319,11 @@ export default {
});
},
//发送下一个环节
/**
* @description: 发送下一个环节
* @param {*} obj
* @author: renchao
*/
sendToNext
(
obj
)
{
const
h
=
this
.
$createElement
;
this
.
$msgbox
({
...
...
@@ -355,6 +373,10 @@ export default {
});
});
},
/**
* @description: sendToEnd
* @author: renchao
*/
sendToEnd
()
{
let
that
=
this
const
h
=
this
.
$createElement
;
...
...
@@ -401,6 +423,10 @@ export default {
})
},
//批量操作
/**
* @description: 批量操作
* @author: renchao
*/
handleBatchDel
()
{
this
.
$popupDialog
(
"批量删除"
,
"workflow/components/batchDel"
,
{
width
:
"50%"
,
...
...
@@ -410,6 +436,11 @@ export default {
})
},
/**
* @description: handleChange
* @param {*} file
* @author: renchao
*/
handleChange
(
file
)
{
var
formdata
=
new
FormData
();
formdata
.
append
(
"file"
,
file
.
raw
);
...
...
@@ -424,6 +455,11 @@ export default {
})
},
// 上传
/**
* @description: 上传
* @param {*} file
* @author: renchao
*/
beforeUpload
(
file
)
{
return
true
;
}
...
...
src/views/djbworkflow/workFrame.vue
View file @
ec6ac93
...
...
@@ -129,6 +129,11 @@
},
methods
:
{
/**
* @description: stepForm
* @param {*} qllx
* @author: renchao
*/
stepForm
(
qllx
)
{
this
.
oneSelectProps
.
qllx
=
qllx
;
if
(
this
.
$refs
.
Menu
.
supplementarylist
.
length
)
{
...
...
@@ -162,6 +167,11 @@
},
// 获取右侧选项卡
/**
* @description: 获取右侧选项卡
* @param {*} val
* @author: renchao
*/
getCurrentSelectProps
(
val
)
{
this
.
bsmRepair
=
val
.
bsmRepair
if
(
val
.
bdcdyid
)
{
...
...
@@ -179,6 +189,10 @@
}
},
// 获取渲染登记簿列表
/**
* @description: 获取渲染登记簿列表
* @author: renchao
*/
getdjblist
()
{
getBdcqljqtsx
({
bdcdyid
:
this
.
currentSelectProps
.
bdcdyid
,
...
...
@@ -208,10 +222,20 @@
});
},
//右侧表单选项卡事件
/**
* @description: 右侧表单选项卡事件
* @param {*} activeName
* @author: renchao
*/
beforeLeave
(
activeName
)
{
if
(
activeName
&&
activeName
!=
0
)
this
.
getFromRouter
(
activeName
);
},
//切换选项卡内容组件
/**
* @description: 切换选项卡内容组件
* @param {*} tabname
* @author: renchao
*/
getFromRouter
(
tabname
)
{
this
.
componentTag
=
getForm
(
tabname
);
},
...
...
@@ -223,6 +247,12 @@
// this.tabName = this.tabList[0].value
// },
// 增加补录记录
/**
* @description: 增加补录记录
* @param {*} row
* @param {*} del
* @author: renchao
*/
addRepairRecord
(
row
,
del
)
{
let
from
=
{
bsmQlxx
:
""
,
...
...
src/views/djbworkflow/workFrameView.vue
View file @
ec6ac93
...
...
@@ -125,6 +125,11 @@
},
methods
:
{
/**
* @description: stepForm
* @param {*} qllx
* @author: renchao
*/
stepForm
(
qllx
)
{
this
.
oneSelectProps
.
qllx
=
qllx
;
if
(
this
.
$refs
.
Menu
.
supplementarylist
.
length
)
{
...
...
@@ -141,6 +146,11 @@
}
},
// 获取右侧选项卡
/**
* @description: 获取右侧选项卡
* @param {*} val
* @author: renchao
*/
getCurrentSelectProps
(
val
)
{
this
.
bsmRepair
=
val
.
bsmRepair
if
(
val
.
bdcdyid
)
{
...
...
@@ -158,6 +168,10 @@
}
},
// 获取渲染登记簿列表
/**
* @description: 获取渲染登记簿列表
* @author: renchao
*/
getdjblist
()
{
getBdcqljqtsx
({
bdcdyid
:
this
.
currentSelectProps
.
bdcdyid
,
...
...
@@ -187,13 +201,27 @@
});
},
//右侧表单选项卡事件
/**
* @description: 右侧表单选项卡事件
* @param {*} activeName
* @author: renchao
*/
beforeLeave
(
activeName
)
{
if
(
activeName
&&
activeName
!=
0
)
this
.
getFromRouter
(
activeName
);
},
//切换选项卡内容组件
/**
* @description: 切换选项卡内容组件
* @param {*} tabname
* @author: renchao
*/
getFromRouter
(
tabname
)
{
this
.
componentTag
=
getForm
(
tabname
);
},
/**
* @description: closefp
* @author: renchao
*/
closefp
()
{
this
.
splitScreen
=
this
.
splitScreen
?
false
:
true
;
this
.
$store
.
dispatch
(
"app/set1tScreen"
,
this
.
splitScreen
);
...
...
@@ -201,6 +229,12 @@
this
.
clxxForm
=
getForm
(
this
.
tabList
[
1
].
value
);
},
// 增加补录记录
/**
* @description: 增加补录记录
* @param {*} row
* @param {*} del
* @author: renchao
*/
addRepairRecord
(
row
,
del
)
{
let
from
=
{
bsmQlxx
:
""
,
...
...
src/views/error-page/404.vue
View file @
ec6ac93
...
...
@@ -14,6 +14,10 @@ export default {
}
},
methods
:
{
/**
* @description: nextTo
* @author: renchao
*/
nextTo
()
{
this
.
$router
.
push
({
path
:
this
.
redirect
||
'/'
,
...
...
src/views/home/components/addProject.vue
View file @
ec6ac93
...
...
@@ -49,6 +49,10 @@ export default {
this
.
dealCheckedItem
();
},
methods
:
{
/**
* @description: submitForm
* @author: renchao
*/
submitForm
()
{
var
checkedNodes
=
this
.
$refs
.
tree
.
getCheckedNodes
();
if
(
checkedNodes
.
length
>
6
)
{
...
...
@@ -65,6 +69,10 @@ export default {
}
})
},
/**
* @description: queryClick
* @author: renchao
*/
queryClick
()
{
let
that
=
this
getMenuInfo
().
then
(
res
=>
{
...
...
@@ -79,13 +87,28 @@ export default {
}
this
.
defaultCheckeds
=
lookForAllId
()
},
/**
* @description: dealCheckedItem
* @author: renchao
*/
dealCheckedItem
()
{
},
//关闭窗口
/**
* @description: 关闭窗口
* @author: renchao
*/
closeDialog
()
{
this
.
$emit
(
"input"
,
false
);
},
//节点选择状态发生改变时
/**
* @description: 节点选择状态发生改变时
* @param {*} data
* @param {*} checked
* @param {*} node
* @author: renchao
*/
handleClick
(
data
,
checked
,
node
)
{
var
checkedNodes
=
this
.
$refs
.
tree
.
getCheckedNodes
();
if
(
checkedNodes
.
length
>
6
)
{
...
...
@@ -105,4 +128,4 @@ export default {
display
:
flex
;
flex-wrap
:
wrap
;
}
</
style
>
\ No newline at end of file
</
style
>
...
...
src/views/home/index.vue
View file @
ec6ac93
...
...
@@ -193,15 +193,29 @@
this
.
queryProjectList
();
//获取常办项目列表
},
methods
:
{
/**
* @description: handleProject
* @param {*} item
* @author: renchao
*/
handleProject
(
item
)
{
let
url
=
item
.
uri
.
split
(
'/'
).
slice
(
0
,
3
).
join
(
'/'
)
this
.
$router
.
push
(
url
)
},
/**
* @description: handleView
* @param {*} pdfUrl
* @author: renchao
*/
handleView
(
pdfUrl
)
{
const
href
=
pdfUrl
window
.
open
(
href
,
'_blank'
);
},
//获取待办事项列表
/**
* @description: 获取待办事项列表
* @author: renchao
*/
queryTodoList
()
{
getHomeTodoList
().
then
(
res
=>
{
if
(
res
.
result
)
{
...
...
@@ -210,6 +224,10 @@
})
},
//获取已办事项列表
/**
* @description: 获取已办事项列表
* @author: renchao
*/
queryDoneList
()
{
getHomeDoneList
().
then
(
res
=>
{
if
(
res
.
result
)
{
...
...
@@ -218,6 +236,10 @@
})
},
//获取通知列表
/**
* @description: 获取通知列表
* @author: renchao
*/
queryNoticeList
()
{
getHomeNoticeList
().
then
(
res
=>
{
if
(
res
.
result
)
{
...
...
@@ -230,6 +252,10 @@
})
},
//获取常办项目列表
/**
* @description: 获取常办项目列表
* @author: renchao
*/
queryProjectList
()
{
getHomeFrequentProjects
().
then
(
res
=>
{
if
(
res
.
result
&&
res
.
result
.
length
>
0
)
{
...
...
@@ -239,6 +265,10 @@
}
})
},
/**
* @description: _timedate
* @author: renchao
*/
_timedate
(
d
)
{
var
td
=
new
Date
();
td
=
new
Date
(
td
.
getFullYear
(),
td
.
getMonth
(),
td
.
getDate
());
...
...
@@ -253,6 +283,10 @@
return
d
}
},
/**
* @description: buildChart
* @author: renchao
*/
buildChart
()
{
let
height
=
document
.
getElementById
(
"mountNodeCon"
).
offsetHeight
-
20
var
chart
=
new
G2
.
Chart
({
...
...
@@ -283,6 +317,10 @@
chart
.
line
().
position
(
'year*value'
).
size
(
2
).
shape
(
'smooth'
);
chart
.
render
();
},
/**
* @description: loginTimeChart
* @author: renchao
*/
loginTimeChart
()
{
var
data
=
[{
item
:
'用户1'
,
...
...
@@ -334,13 +372,25 @@
chart
.
render
();
},
//跳转到更多通知列表页面
/**
* @description: 跳转到更多通知列表页面
* @author: renchao
*/
jumpToMoreNotice
()
{
console
.
log
(
this
.
$route
);
},
//配置常办项目
/**
* @description: 配置常办项目
* @author: renchao
*/
setFrequencyProject
()
{
this
.
projectDialog
=
true
;
},
/**
* @description: handleNotice
* @author: renchao
*/
handleNotice
(
item
)
{
setReadStatus
({
bsmNotice
:
item
.
bsmNotice
}).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
...
...
src/views/jkfw/ptjk/components/addDialog.vue
View file @
ec6ac93
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-19 09:50:23
-->
...
...
@@ -113,6 +113,10 @@
},
methods
:
{
//表单提交
/**
* @description: 表单提交
* @author: renchao
*/
submitForm
()
{
let
that
=
this
;
that
.
$refs
.
ruleForm
.
validate
(
valid
=>
{
...
...
@@ -129,6 +133,10 @@
});
},
//新增接口
/**
* @description: 新增接口
* @author: renchao
*/
addInterface
()
{
addSysInterface
(
this
.
ruleForm
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
...
...
@@ -141,6 +149,10 @@
})
},
//编辑接口
/**
* @description: 编辑接口
* @author: renchao
*/
editInterface
()
{
editSysInterface
(
this
.
ruleForm
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
...
...
@@ -153,10 +165,19 @@
})
},
//获取详情
/**
* @description: 获取详情
* @param {*} item
* @author: renchao
*/
getDetailInfo
(
item
)
{
this
.
ruleForm
=
item
},
//关闭弹窗
/**
* @description: 关闭弹窗
* @author: renchao
*/
closeDialog
()
{
this
.
$emit
(
"input"
,
false
);
this
.
ruleForm
=
{
...
...
src/views/jkfw/ptjk/components/retrieveDialog.vue
View file @
ec6ac93
...
...
@@ -72,6 +72,10 @@ export default {
},
methods
:
{
//表单提交
/**
* @description: 表单提交
* @author: renchao
*/
submitForm
()
{
console
.
log
(
this
.
interfaceParams
);
console
.
log
(
this
.
hasJsonFlag
);
...
...
@@ -89,10 +93,19 @@ export default {
})
},
//获取详情
/**
* @description: 获取详情
* @param {*} item
* @author: renchao
*/
getDetailInfo
(
item
){
this
.
ruleForm
=
item
},
//关闭弹窗
/**
* @description: 关闭弹窗
* @author: renchao
*/
closeDialog
()
{
this
.
$emit
(
"input"
,
false
);
this
.
interfaceParams
=
{}
...
...
@@ -100,6 +113,11 @@ export default {
this
.
hasJsonFlag
=
true
},
//获取接口类型
/**
* @description: 获取接口类型
* @param {*} code
* @author: renchao
*/
getInterfaceType
(
code
){
let
name
=
''
for
(
let
item
of
this
.
interfaceTypes
)
{
...
...
@@ -110,13 +128,28 @@ export default {
}
return
name
;
},
/**
* @description: onJsonChange
* @param {*} value
* @author: renchao
*/
onJsonChange
(
value
){
this
.
onJsonSave
();
},
/**
* @description: onJsonSave
* @param {*} value
* @author: renchao
*/
onJsonSave
(
value
)
{
this
.
interfaceParams
=
value
this
.
hasJsonFlag
=
true
},
/**
* @description: onError
* @param {*} value
* @author: renchao
*/
onError
(
value
)
{
this
.
hasJsonFlag
=
false
},
...
...
src/views/jkfw/ptjk/ptjk.vue
View file @
ec6ac93
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-19 09:50:36
-->
...
...
@@ -78,6 +78,10 @@
};
},
methods
:
{
/**
* @description: queryClick
* @author: renchao
*/
queryClick
()
{
this
.
$startLoading
()
getSysInterfaceList
({
...
this
.
ruleForm
,
...
this
.
pageData
},
{
'target'
:
'#ptjkLoading'
}).
then
(
res
=>
{
...
...
@@ -90,17 +94,31 @@
})
},
//打开新增
/**
* @description: 打开新增
* @author: renchao
*/
openDialog
()
{
this
.
editFlag
=
false
;
this
.
addDialog
=
true
;
},
//打开编辑
/**
* @description: 打开编辑
* @param {*} item
* @author: renchao
*/
editInterface
(
item
)
{
this
.
editFlag
=
true
;
this
.
addDialog
=
true
;
this
.
$refs
.
addDialog
.
getDetailInfo
(
item
);
},
//打开调试窗口
/**
* @description: 打开调试窗口
* @param {*} item
* @author: renchao
*/
tuneInterface
(
item
)
{
this
.
retrieveDialog
=
true
;
this
.
$refs
.
retrieveDialog
.
getDetailInfo
(
item
);
...
...
src/views/login/index.vue
View file @
ec6ac93
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-19 09:50:45
-->
...
...
@@ -133,6 +133,10 @@
},
methods
:
{
// 更新验证码
/**
* @description: 更新验证码
* @author: renchao
*/
reloadCaptcha
()
{
axios
.
get
(
window
.
_config
.
services
.
management
+
"/management/captcha?format=json"
).
then
(
res
=>
{
if
(
res
.
data
.
status
===
1
)
{
...
...
@@ -142,6 +146,10 @@
})
},
// 初始化
/**
* @description: 初始化
* @author: renchao
*/
initPage
()
{
let
userInfo
=
localStorage
.
getItem
(
"userInfo"
)
&&
...
...
@@ -151,6 +159,10 @@
this
.
userInfo
.
password
=
userInfo
.
password
;
}
},
/**
* @description: goHome
* @author: renchao
*/
goHome
()
{
if
(
this
.
userInfo
.
username
&&
this
.
userInfo
.
password
)
{
axios
...
...
@@ -175,14 +187,28 @@
return
}
},
/**
* @description: selectEyes
* @author: renchao
*/
selectEyes
()
{
this
.
selectEye
=
!
this
.
selectEye
;
},
//获取焦点
/**
* @description: 获取焦点
* @param {*} type
* @author: renchao
*/
reduceBorder
(
type
)
{
this
.
change
[
type
]
=
true
},
/**
* @description: addBorder
* @param {*} type
* @author: renchao
*/
addBorder
(
type
)
{
//失去焦点
switch
(
type
)
{
...
...
src/views/lpb/index.vue
View file @
ec6ac93
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-19 09:50:51
-->
...
...
@@ -297,18 +297,36 @@
}
},*/
//获取高度计算lpb内容区高度
/**
* @description: 获取高度计算lpb内容区高度
* @author: renchao
*/
getHeight
()
{
this
.
lpbContentHight
=
window
.
innerHeight
-
190
;
},
//图例的展开收起
/**
* @description: 图例的展开收起
* @author: renchao
*/
legendToggle
()
{
this
.
legendToggleFlag
=
!
this
.
legendToggleFlag
;
},
//切换房屋状态
/**
* @description: 切换房屋状态
* @param {*} bsms
* @param {*} color
* @author: renchao
*/
handleChoosedH
(
bsms
,
color
)
{
this
.
$refs
.
lpbContent
.
changeChoosed
(
bsms
,
color
);
},
//获取各项单元状态统计数据
/**
* @description: 获取各项单元状态统计数据
* @author: renchao
*/
getDyztBsmList
()
{
getLpbTj
(
this
.
formData
.
bsm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
...
...
@@ -362,6 +380,10 @@
});
},
// 获取房屋用途和房屋性质及缺失项统计数据
/**
* @description: 获取房屋用途和房屋性质及缺失项统计数据
* @author: renchao
*/
getLpbFwytAndQlxz
()
{
getLpbFwytAndQlxz
(
this
.
formData
.
bsm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
...
...
src/views/lpb/lpbContent/ch.vue
View file @
ec6ac93
...
...
@@ -4,9 +4,9 @@
* @LastEditors: yangwei
* @LastEditTime: 2023-06-16 16:14:51
* @FilePath: \bdcdj-web\src\views\lpb\lpbContent\ch.vue
* @Description:
*
* Copyright (c) 2023 by ${git_name_email}, All Rights Reserved.
* @Description:
*
* Copyright (c) 2023 by ${git_name_email}, All Rights Reserved.
-->
<
template
>
<div
class=
"ch-wrap"
>
...
...
@@ -113,6 +113,12 @@ export default {
mounted
()
{},
methods
:
{
// 层选中事件
/**
* @description: 层选中事件
* @param {*} e
* @param {*} item
* @author: renchao
*/
handleClickC
(
e
,
item
)
{
//判断点击的层是否选中
// if (e.target.className.indexOf("tdSelect") == -1) {
...
...
@@ -127,17 +133,42 @@ export default {
// this.$parent.getCbsm(this.cbsmList);
},
//户单击事件
/**
* @description: 户单击事件
* @param {*} e
* @param {*} bsm
* @param {*} hs
* @author: renchao
*/
handleClickH
(
e
,
bsm
,
hs
)
{
},
// 户单元状态点击事件
/**
* @description: 户单元状态点击事件
* @param {*} e
* @param {*} bsm
* @param {*} hs
* @author: renchao
*/
hDyztClick
(
e
,
bsm
,
hs
)
{
// this.handleClickH(e.target.parentNode, bsm, hs);
},
//户双击事件
/**
* @description: 户双击事件
* @param {*} bsm
* @author: renchao
*/
dbclick
(
bsm
)
{
// clearTimeout(this.time);
},
//幢单元全选/反选
/**
* @description: 幢单元全选/反选
* @param {*} val
* @param {*} flag
* @author: renchao
*/
zdySelectAll
(
val
,
flag
)
{
// 手动点击全部取消选中
!
flag
&&
this
.
clearChangeChoosedObj
()
...
...
src/views/lpb/lpbContent/index.vue
View file @
ec6ac93
...
...
@@ -88,18 +88,40 @@ export default {
},
methods
:
{
// 改变户选中状态
/**
* @description: 改变户选中状态
* @param {*} bsms
* @param {*} color
* @author: renchao
*/
changeChoosed
(
bsms
,
color
){
this
.
changeChoosedObj
.
bsms
=
bsms
;
this
.
changeChoosedObj
.
color
=
color
;
},
/**
* @description: clearChangeChoosedObj
* @author: renchao
*/
clearChangeChoosedObj
(){
this
.
changeChoosedObj
.
bsms
=
[];
},
//全选户
/**
* @description: 全选户
* @param {*} val
* @author: renchao
*/
zdySelectAll
(
val
)
{
this
.
selectAllObj
.
selectAll
=
val
;
},
//获取楼盘表数据
/**
* @description: 获取楼盘表数据
* @param {*} zrzbsm
* @param {*} scyclx
* @param {*} actual
* @author: renchao
*/
getLpb
(
zrzbsm
,
scyclx
,
actual
)
{
getLpb
(
zrzbsm
,
scyclx
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
...
...
@@ -119,19 +141,39 @@ export default {
});
},
//户右键点击事件
/**
* @description: 户右键点击事件
* @param {*} e
* @param {*} item
* @param {*} type
* @author: renchao
*/
openMenu
(
e
,
item
,
type
)
{
this
.
lpbChLeft
=
e
.
pageX
-
96
;
this
.
lpbChTop
=
e
.
pageY
-
23
;
// this.lpbChVisible = true;
},
//关闭户右键菜单
/**
* @description: 关闭户右键菜单
* @author: renchao
*/
closeMenu
()
{
this
.
lpbChVisible
=
false
;
},
//右键菜单点击
/**
* @description: 右键菜单点击
* @author: renchao
*/
menuClick
()
{
this
.
closeMenu
();
},
/**
* @description: compare
* @param {*} property
* @author: renchao
*/
compare
(
property
)
{
return
function
(
a
,
b
)
{
var
value1
=
a
[
property
];
...
...
src/views/lpb/lpbContent/zdys.vue
View file @
ec6ac93
...
...
@@ -4,9 +4,9 @@
* @LastEditors: yangwei
* @LastEditTime: 2023-06-08 13:58:58
* @FilePath: \bdcdj-web\src\views\lpb\lpbContent\zdys.vue
* @Description:
*
* Copyright (c) 2023 by ${git_name_email}, All Rights Reserved.
* @Description:
*
* Copyright (c) 2023 by ${git_name_email}, All Rights Reserved.
-->
<
template
>
<div
class=
"zdys-wrap"
>
...
...
@@ -45,6 +45,12 @@ export default {
methods
:
{
//幢单元全选
/**
* @description: 幢单元全选
* @param {*} val
* @param {*} r
* @author: renchao
*/
zdySelectAll
(
val
,
r
)
{
this
.
$refs
[
r
][
0
].
zdySelectAll
(
val
)
},
...
...
src/views/registerBook/cfdj.vue
View file @
ec6ac93
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-19 09:52:13
-->
...
...
@@ -86,6 +86,10 @@
this
.
loadData
();
},
methods
:
{
/**
* @description: loadData
* @author: renchao
*/
loadData
()
{
if
(
this
.
$parent
.
addRepairRecord
)
{
this
.
columns
.
unshift
({
prop
:
"cz"
,
label
:
"操作"
});
...
...
@@ -116,6 +120,10 @@
}
});
},
/**
* @description: checkChange
* @author: renchao
*/
checkChange
()
{
if
(
this
.
checkList
.
length
===
0
)
{
this
.
tableData
=
[];
...
...
@@ -124,6 +132,10 @@
this
.
loadData
();
}
},
/**
* @description: getQsztName
* @author: renchao
*/
getQsztName
(
code
)
{
let
name
=
""
;
for
(
let
item
of
this
.
qsztList
)
{
...
...
@@ -135,6 +147,12 @@
return
name
;
},
// 新增一条补录信息
/**
* @description: 新增一条补录信息
* @param {*} row
* @param {*} del
* @author: renchao
*/
editDialog
(
row
,
del
)
{
this
.
$confirm
(
"此操作将新增一条补录信息, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
...
...
Please
register
or
sign in
to post a comment