Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
cbf0620c
authored
2023-04-24 08:46:06 +0800
by
xiaomiao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加注释
1 parent
3a92924c
Hide whitespace changes
Inline
Side-by-side
Showing
42 changed files
with
2485 additions
and
2373 deletions
src/api/personnelManage.js
src/components/Business/djfDjSh.vue
src/styles/jgPublic.scss
src/styles/sbPublic.scss
src/utils/mixin/table.js
src/views/bdcsj/cfdj/index.vue
src/views/bdcsj/dyaq/index.vue
src/views/bdcsj/dyiq/index.vue
src/views/bdcsj/fdcqdz/index.vue
src/views/bdcsj/fdcqqfsyq/index.vue
src/views/bdcsj/fdcqyz/index.vue
src/views/bdcsj/gzwsyq/index.vue
src/views/bdcsj/hysyq/index.vue
src/views/bdcsj/jsydzjdsyq/index.vue
src/views/bdcsj/lq/index.vue
src/views/bdcsj/nydsyq/index.vue
src/views/bdcsj/tdsyq/index.vue
src/views/bdcsj/ygdj/index.vue
src/views/bdcsj/yydj/index.vue
src/views/bdcsj/zxdj/index.vue
src/views/jsbwcx/index.vue
src/views/statistics/dataReceiveQuality/index.vue
src/views/statistics/nullTermRatio/index.vue
src/views/statistics/registerBookQuality/index.vue
src/views/sthj/components/editDialog.vue
src/views/sthj/dbrzcx/index.vue
src/views/sthj/sbbwcx/index.vue
src/views/sthj/ywjr/edit-dialog.vue
src/views/sthj/ywjr/index.vue
src/views/system/components/addTask.vue
src/views/system/components/editValidRule.vue
src/views/system/dictionaries/components/editDialog.vue
src/views/system/dictionaries/dictionaries.vue
src/views/system/menus/edit-dialog.vue
src/views/system/menus/index.vue
src/views/system/roles/edit-dialog.vue
src/views/system/roles/index.vue
src/views/system/roles/roleslistdiglog.vue
src/views/system/timedTask/index.vue
src/views/system/users/edit-dialog.vue
src/views/system/users/index.vue
src/views/system/validationRule/index.vue
src/api/personnelManage.js
View file @
cbf0620
...
...
@@ -2,7 +2,7 @@
* @Author: xiaomiao 1158771342@qq.com
* @Date: 2023-03-09 15:24:53
* @LastEditors: xiaomiao 1158771342@qq.com
* @LastEditTime: 2023-0
3-21 14:59:20
* @LastEditTime: 2023-0
4-19 13:49:03
* @FilePath: \上报\bdcjg-web\src\api\personnelManage.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
...
...
@@ -28,7 +28,6 @@ export const getUserLists = (queryParam) => {
conditions
:
[],
queryRelation
:
'AND'
,
}
console
.
log
(
"queryParam"
,
queryParam
);
for
(
let
key
in
queryParam
)
{
if
(
queryParam
[
key
])
{
conditionGroup
.
conditions
.
push
({
...
...
src/components/Business/djfDjSh.vue
View file @
cbf0620
...
...
@@ -139,122 +139,122 @@
</div>
</
template
>
<
script
>
import
djfDjSh
from
"@/api/djfDjSh"
;
import
ruleMixin
from
"@/mixins/ruleMixin.js"
;
// 审核信息
export
default
{
mixins
:
[
ruleMixin
],
props
:
{
bsmSjsb
:
{
type
:
String
,
default
:
""
,
},
bsmYwsjb
:
{
type
:
String
,
default
:
""
,
},
},
data
()
{
return
{
form
:
{
auditInfo
:
[
{
YSDM
:
""
,
YWH
:
""
,
JDMC
:
""
,
SHYJ
:
""
,
SHRYXM
:
""
,
SHKSSJ
:
""
,
traceStart
:
{},
SHJSSJ
:
""
,
traceEnd
:
{},
SXH
:
""
,
CZJG
:
""
,
QXDM
:
""
,
BZ
:
""
,
},
],
import
djfDjSh
from
"@/api/djfDjSh"
;
import
ruleMixin
from
"@/mixins/ruleMixin.js"
;
// 审核信息
export
default
{
mixins
:
[
ruleMixin
],
props
:
{
bsmSjsb
:
{
type
:
String
,
default
:
""
,
},
bsmYwsjb
:
{
type
:
String
,
default
:
""
,
},
};
},
methods
:
{
changeTraceEnd
(
item
)
{
if
(
item
.
SHJSSJ
!==
null
)
{
//当前值为空 也会进行判断 所以条件最好不要非空验证
item
.
traceStart
=
{
disabledDate
:
(
time
)
=>
{
return
time
.
getTime
()
>
new
Date
(
item
.
SHJSSJ
).
getTime
();
//大于结束时间的不选
},
};
}
else
{
item
.
traceStart
=
{};
}
},
//跟踪API结束时间限制开始时间
changeTraceStart
(
item
)
{
if
(
item
.
SHKSSJ
!==
null
)
{
//当前值为空 也会进行判断 所以条件最好不要非空验证
item
.
traceEnd
=
{
disabledDate
:
(
time
)
=>
{
return
time
.
getTime
()
<
new
Date
(
item
.
SHKSSJ
).
getTime
();
//小于开始时间的不选
},
};
}
else
{
item
.
traceEnd
=
{};
}
},
async
featchData
()
{
try
{
let
{
result
:
res
}
=
await
djfDjSh
.
getDjfDjShById
(
this
.
bsmSjsb
);
this
.
form
.
auditInfo
=
res
;
//this.featchRule()
}
catch
(
error
)
{
this
.
$refs
.
msg
.
messageShow
();
}
data
()
{
return
{
form
:
{
auditInfo
:
[
{
YSDM
:
""
,
YWH
:
""
,
JDMC
:
""
,
SHYJ
:
""
,
SHRYXM
:
""
,
SHKSSJ
:
""
,
traceStart
:
{},
SHJSSJ
:
""
,
traceEnd
:
{},
SXH
:
""
,
CZJG
:
""
,
QXDM
:
""
,
BZ
:
""
,
},
],
},
};
},
handleUpdateForm
()
{
return
new
Promise
(
async
(
resolve
)
=>
{
methods
:
{
changeTraceEnd
(
item
)
{
if
(
item
.
SHJSSJ
!==
null
)
{
//当前值为空 也会进行判断 所以条件最好不要非空验证
item
.
traceStart
=
{
disabledDate
:
(
time
)
=>
{
return
time
.
getTime
()
>
new
Date
(
item
.
SHJSSJ
).
getTime
();
//大于结束时间的不选
},
};
}
else
{
item
.
traceStart
=
{};
}
},
//跟踪API结束时间限制开始时间
changeTraceStart
(
item
)
{
if
(
item
.
SHKSSJ
!==
null
)
{
//当前值为空 也会进行判断 所以条件最好不要非空验证
item
.
traceEnd
=
{
disabledDate
:
(
time
)
=>
{
return
time
.
getTime
()
<
new
Date
(
item
.
SHKSSJ
).
getTime
();
//小于开始时间的不选
},
};
}
else
{
item
.
traceEnd
=
{};
}
},
async
featchData
()
{
try
{
let
res
=
await
djfDjSh
.
updateDjfDjSh
(
this
.
form
.
auditInfo
);
// this.$refs['formList'].resetFields()
;
resolve
(
res
.
code
);
let
{
result
:
res
}
=
await
djfDjSh
.
getDjfDjShById
(
this
.
bsmSjsb
);
this
.
form
.
auditInfo
=
res
;
//this.featchRule()
}
catch
(
error
)
{
this
.
$refs
.
msg
.
messageShow
();
}
});
},
handleUpdateForm
()
{
return
new
Promise
(
async
(
resolve
)
=>
{
try
{
let
res
=
await
djfDjSh
.
updateDjfDjSh
(
this
.
form
.
auditInfo
);
// this.$refs['formList'].resetFields();
resolve
(
res
.
code
);
}
catch
(
error
)
{
this
.
$refs
.
msg
.
messageShow
();
}
});
},
},
},
};
};
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"./css/itemForm.scss"
;
.auditInfo-item
{
display
:
flex
;
height
:
100%
;
margin-bottom
:
15px
;
margin-right
:
5px
;
@import
"./css/itemForm.scss"
;
&-name
{
.auditInfo-item
{
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
width
:
20px
;
padding
:
10px
20px
;
line-height
:
28px
;
border
:
1px
solid
#ccc
;
margin-right
:
15px
;
border-radius
:
3px
;
}
height
:
100%
;
margin-bottom
:
15px
;
margin-right
:
5px
;
&
-list
{
width
:
100%
;
flex
:
1
;
display
:
flex
;
justify-content
:
center
;
flex-direction
:
column
;
&-name
{
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
width
:
20px
;
padding
:
10px
20px
;
line-height
:
28px
;
border
:
1px
solid
#ccc
;
margin-right
:
15px
;
border-radius
:
3px
;
}
&
-list
{
width
:
100%
;
flex
:
1
;
display
:
flex
;
justify-content
:
center
;
flex-direction
:
column
;
}
}
}
</
style
>
...
...
src/styles/jgPublic.scss
View file @
cbf0620
...
...
@@ -1183,6 +1183,16 @@
padding
:
15px
;
}
//定时任务弹框
.scheduledtaskdialog
{
.el-dialog__headerbtn
{
width
:
42px
;
height
:
20px
;
right
:
26px
;
top
:
23px
;
}
}
// 修改密码界面样式
.informationpassword
{
margin
:
36px
200px
;
...
...
@@ -1430,5 +1440,18 @@
.el-form-item__label
{
color
:
#0288B0
!
important
;
line-height
:
20px
;
margin-top
:
20px
;
}
}
\ No newline at end of file
}
// 预告登记弹框样式
.auditInfo
{
.el-textarea.is-disabled
.el-textarea__inner
{
background
:
none
;
color
:
#C0C4CC
;
border
:
1px
solid
#224C7C
!
important
;
padding
:
0
;
margin
:
0
;
text-indent
:
7px
;
}
}
...
...
src/styles/sbPublic.scss
View file @
cbf0620
...
...
@@ -993,4 +993,26 @@
height
:
44px
;
}
}
}
\ No newline at end of file
}
//定时任务弹框
.scheduledtaskdialog
{
.el-dialog__header
{
width
:
100%
;
display
:
flex
;
justify-content
:
center
;
font-size
:
24px
;
@include
background
(
"navbg"
);
.dialog_title
{
color
:
white
;
margin-bottom
:
10px
;
}
}
.el-dialog__headerbtn
.el-dialog__close
{
font-size
:
20px
;
color
:
#4162D8
}
}
...
...
src/utils/mixin/table.js
View file @
cbf0620
...
...
@@ -2,6 +2,7 @@ import { mapGetters } from 'vuex'
export
default
{
data
()
{
return
{
// 分页
pageData
:
{
currentPage
:
1
,
pageSize
:
10
...
...
src/views/bdcsj/cfdj/index.vue
View file @
cbf0620
...
...
@@ -6,6 +6,41 @@
<el-form-item
v-if=
"BASE_API.THEME == 'jg'"
>
<Breadcrumb
/>
</el-form-item>
<!--
<el-row>
<el-col
:span=
"5"
>
<el-form-item
label=
"行政区"
>
<el-select
v-model=
"$store.state.user.userInfo.grade === 'county' ? form.XZQDM = $store.state.user.userInfo.areaCode : form.XZQDM"
class=
"width100"
clearable
placeholder=
"行政区"
:disabled=
"$store.state.user.userInfo.grade === 'county'"
>
<el-option
v-for=
"item in dicData['A20']"
:key=
"item.DCODE"
:label=
"item.DNAME"
:value=
"item.DCODE"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-form-item
label=
"权属状态"
>
<el-select
v-model=
"form.QSZT"
class=
"width100"
clearable
placeholder=
"权属状态"
>
<el-option
v-for=
"item in dicData['A22']"
:key=
"item.DCODE"
:label=
"item.DNAME"
:value=
"item.DCODE"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-form-item
label=
"权利人"
>
<el-input
v-model=
"form.QLR"
clearable
placeholder=
"权利人"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-form-item
label=
"不动产单元号"
label-width=
"103px"
>
<el-input
v-model=
"form.BDCDYH"
clearable
placeholder=
"不动产单元号"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
label=
"查封机关"
>
<el-input
v-model=
"form.CFJG"
clearable
placeholder=
"查封机关"
></el-input>
</el-form-item>
</el-col>
</el-row>
-->
<el-row>
<el-col
:span=
"5"
>
<el-form-item
label=
"行政区"
>
...
...
@@ -80,81 +115,82 @@
</div>
</
template
>
<
script
>
// 查封登记
import
data
from
"./data"
import
qlfQlCfdj
from
'@/api/qlfQlCfdj'
import
tableMixin
from
'@/mixins/tableMixin.js'
export
default
{
name
:
"Cfdj"
,
mixins
:
[
tableMixin
],
data
()
{
return
{
form
:
{
XZQDM
:
''
,
QSZT
:
''
,
ZL
:
''
,
BDCQZH
:
''
,
QLR
:
''
,
BDCDYH
:
''
,
JFJG
:
''
,
JFWH
:
''
,
CFJG
:
''
,
CFWH
:
''
,
ZJH
:
''
,
currentPage
:
1
},
tableData
:
{
columns
:
[{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
,
index
:
this
.
indexMethod
,
}].
concat
(
data
.
columns
()).
concat
([
{
label
:
"操作"
,
width
:
80
,
fixed
:
"right"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
class
=
'btnColor'
onClick
=
{()
=>
{
this
.
handleEdit
(
scope
.
row
)
}}
>
详情
<
/el-button
>
<
/div
>
)
// 查封登记
import
data
from
"./data"
import
qlfQlCfdj
from
'@/api/qlfQlCfdj'
import
tableMixin
from
'@/mixins/tableMixin.js'
export
default
{
name
:
"Cfdj"
,
mixins
:
[
tableMixin
],
data
()
{
return
{
form
:
{
XZQDM
:
''
,
QSZT
:
''
,
ZL
:
''
,
BDCQZH
:
''
,
QLR
:
''
,
BDCDYH
:
''
,
JFJG
:
''
,
JFWH
:
''
,
CFJG
:
''
,
CFWH
:
''
,
ZJH
:
''
,
currentPage
:
1
},
// 表格数据
tableData
:
{
columns
:
[{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
,
index
:
this
.
indexMethod
,
}].
concat
(
data
.
columns
()).
concat
([
{
label
:
"操作"
,
width
:
80
,
fixed
:
"right"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
class
=
'btnColor'
onClick
=
{()
=>
{
this
.
handleEdit
(
scope
.
row
)
}}
>
详情
<
/el-button
>
<
/div
>
)
}
}
]),
data
:
[]
},
// 分页
pageData
:
{
total
:
0
,
pageSize
:
15
,
current
:
1
,
},
diaData
:
null
,
}
},
methods
:
{
async
featchData
()
{
try
{
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
qlfQlCfdj
.
getQlfQlCfdjList
(
this
.
form
)
this
.
tableData
.
data
=
list
this
.
pageData
=
{
pageSize
,
current
,
total
}
]),
data
:
[]
},
pageData
:
{
total
:
0
,
pageSize
:
15
,
current
:
1
,
},
diaData
:
null
,
bsmSjsb
:
''
}
},
methods
:
{
async
featchData
()
{
try
{
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
qlfQlCfdj
.
getQlfQlCfdjList
(
this
.
form
)
this
.
tableData
.
data
=
list
this
.
pageData
=
{
pageSize
,
current
,
total
}
catch
(
error
)
{
this
.
$refs
.
msg
.
messageShow
()
}
}
catch
(
error
)
{
this
.
$refs
.
msg
.
messageShow
()
}
}
}
}
</
script
>
...
...
src/views/bdcsj/dyaq/index.vue
View file @
cbf0620
...
...
@@ -85,80 +85,82 @@
</
template
>
<
script
>
// 抵押权登记
import
data
from
"./data"
import
qlfQlDyaq
from
'@/api/qlfQlDyaq'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
treeSelect
from
'@/components/TreeSelect.vue'
export
default
{
name
:
"dyaq"
,
mixins
:
[
tableMixin
],
components
:
{
treeSelect
,
},
data
()
{
return
{
form
:
{
XZQDM
:
''
,
QSZT
:
''
,
ZL
:
''
,
BDCQZH
:
''
,
dyr
:
''
,
BDCDYH
:
''
,
dybdclx
:
''
,
DJLX
:
''
,
ZJH
:
''
,
currentPage
:
1
},
tableData
:
{
columns
:
[{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
,
index
:
this
.
indexMethod
,
}].
concat
(
data
.
columns
()).
concat
([
{
label
:
"操作"
,
width
:
80
,
fixed
:
"right"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
class
=
'btnColor'
onClick
=
{()
=>
{
this
.
handleEdit
(
scope
.
row
)
}}
>
详情
<
/el-button
>
<
/div
>
)
// 抵押权登记
import
data
from
"./data"
import
qlfQlDyaq
from
'@/api/qlfQlDyaq'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
treeSelect
from
'@/components/TreeSelect.vue'
export
default
{
name
:
"dyaq"
,
mixins
:
[
tableMixin
],
components
:
{
treeSelect
,
},
data
()
{
return
{
form
:
{
XZQDM
:
''
,
QSZT
:
''
,
ZL
:
''
,
BDCQZH
:
''
,
dyr
:
''
,
BDCDYH
:
''
,
dybdclx
:
''
,
DJLX
:
''
,
ZJH
:
''
,
currentPage
:
1
},
// 表格数据
tableData
:
{
columns
:
[{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
,
index
:
this
.
indexMethod
,
}].
concat
(
data
.
columns
()).
concat
([
{
label
:
"操作"
,
width
:
80
,
fixed
:
"right"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
class
=
'btnColor'
onClick
=
{()
=>
{
this
.
handleEdit
(
scope
.
row
)
}}
>
详情
<
/el-button
>
<
/div
>
)
}
}
}
]),
data
:
[]
},
pageData
:
{
total
:
0
,
pageSize
:
15
,
current
:
1
,
]),
data
:
[]
},
// 分页
pageData
:
{
total
:
0
,
pageSize
:
15
,
current
:
1
,
}
}
}
},
methods
:
{
async
featchData
()
{
try
{
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
qlfQlDyaq
.
getQlfQlDyaqList
(
this
.
form
)
this
.
tableData
.
data
=
list
;
this
.
pageData
=
{
pageSize
,
current
,
total
},
methods
:
{
async
featchData
()
{
try
{
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
qlfQlDyaq
.
getQlfQlDyaqList
(
this
.
form
)
this
.
tableData
.
data
=
list
;
this
.
pageData
=
{
pageSize
,
current
,
total
}
}
catch
(
error
)
{
}
}
catch
(
error
)
{
}
}
}
}
</
script
>
...
...
src/views/bdcsj/dyiq/index.vue
View file @
cbf0620
...
...
@@ -88,83 +88,85 @@
</
template
>
<
script
>
// 地役权登记
import
data
from
"./data"
import
qlfQlDyiq
from
'@/api/qlfQlDyiq'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
treeSelect
from
'@/components/TreeSelect.vue'
export
default
{
name
:
"dyiq"
,
mixins
:
[
tableMixin
],
components
:
{
treeSelect
},
data
()
{
return
{
form
:
{
XZQDM
:
''
,
QSZT
:
''
,
ZL
:
''
,
BDCQZH
:
''
,
QLR
:
''
,
BDCDYH
:
''
,
// 供役地不动产单元号
GYDBDCDYH
:
''
,
// 需役地不动产单元号
XYDBDCDYH
:
''
,
ZJH
:
''
,
currentPage
:
1
},
tableData
:
{
columns
:
[{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
,
index
:
this
.
indexMethod
,
}].
concat
(
data
.
columns
()).
concat
([
{
label
:
"操作"
,
width
:
80
,
fixed
:
"right"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
class
=
'btnColor'
onClick
=
{()
=>
{
this
.
handleEdit
(
scope
.
row
)
}}
>
详情
<
/el-button
>
<
/div
>
)
// 地役权登记
import
data
from
"./data"
import
qlfQlDyiq
from
'@/api/qlfQlDyiq'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
treeSelect
from
'@/components/TreeSelect.vue'
export
default
{
name
:
"dyiq"
,
mixins
:
[
tableMixin
],
components
:
{
treeSelect
},
data
()
{
return
{
form
:
{
XZQDM
:
''
,
QSZT
:
''
,
ZL
:
''
,
BDCQZH
:
''
,
QLR
:
''
,
BDCDYH
:
''
,
// 供役地不动产单元号
GYDBDCDYH
:
''
,
// 需役地不动产单元号
XYDBDCDYH
:
''
,
ZJH
:
''
,
currentPage
:
1
},
// 表格数据
tableData
:
{
columns
:
[{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
,
index
:
this
.
indexMethod
,
}].
concat
(
data
.
columns
()).
concat
([
{
label
:
"操作"
,
width
:
80
,
fixed
:
"right"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
class
=
'btnColor'
onClick
=
{()
=>
{
this
.
handleEdit
(
scope
.
row
)
}}
>
详情
<
/el-button
>
<
/div
>
)
}
}
}
]),
data
:
[]
},
pageData
:
{
total
:
0
,
pageSize
:
15
,
current
:
1
,
]),
data
:
[]
},
// 分页
pageData
:
{
total
:
0
,
pageSize
:
15
,
current
:
1
,
}
}
}
},
methods
:
{
async
featchData
()
{
try
{
this
.
form
=
Object
.
assign
(
this
.
form
,
this
.
formData
)
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
qlfQlDyiq
.
getQlfQlDyiqList
(
this
.
form
)
this
.
tableData
.
data
=
list
this
.
pageData
=
{
pageSize
,
current
,
total
},
methods
:
{
async
featchData
()
{
try
{
this
.
form
=
Object
.
assign
(
this
.
form
,
this
.
formData
)
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
qlfQlDyiq
.
getQlfQlDyiqList
(
this
.
form
)
this
.
tableData
.
data
=
list
this
.
pageData
=
{
pageSize
,
current
,
total
}
}
catch
(
error
)
{
}
}
catch
(
error
)
{
}
}
}
}
</
script
>
...
...
src/views/bdcsj/fdcqdz/index.vue
View file @
cbf0620
...
...
@@ -80,103 +80,105 @@
</
template
>
<
script
>
// 房地产权(项目内多幢房屋)
import
data
from
"./data"
import
qltFwFdcqDz
from
'@/api/qltFwFdcqDz'
import
sjsbFunctionOper
from
'@/api/sjsbFunctionOper'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
treeSelect
from
'@/components/TreeSelect.vue'
export
default
{
name
:
"fdcqdz"
,
mixins
:
[
tableMixin
],
components
:
{
treeSelect
},
data
()
{
return
{
form
:
{
XZQDM
:
''
,
QSZT
:
''
,
ZL
:
''
,
QLR
:
''
,
DJLX
:
''
,
BDCQZH
:
''
,
BDCDYH
:
''
,
ZJH
:
''
,
currentPage
:
1
},
tableData
:
{
columns
:
[{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
,
index
:
this
.
indexMethod
,
}].
concat
(
data
.
columns
()).
concat
([
{
label
:
"操作"
,
width
:
80
,
fixed
:
"right"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
class
=
'btnColor'
onClick
=
{()
=>
{
this
.
handleEdit
(
scope
.
row
);
}}
>
详情
<
/el-button
>
<
/div
>
);
// 房地产权(项目内多幢房屋)
import
data
from
"./data"
import
qltFwFdcqDz
from
'@/api/qltFwFdcqDz'
import
sjsbFunctionOper
from
'@/api/sjsbFunctionOper'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
treeSelect
from
'@/components/TreeSelect.vue'
export
default
{
name
:
"fdcqdz"
,
mixins
:
[
tableMixin
],
components
:
{
treeSelect
},
data
()
{
return
{
form
:
{
XZQDM
:
''
,
QSZT
:
''
,
ZL
:
''
,
QLR
:
''
,
DJLX
:
''
,
BDCQZH
:
''
,
BDCDYH
:
''
,
ZJH
:
''
,
currentPage
:
1
},
// 表格数据
tableData
:
{
columns
:
[{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
,
index
:
this
.
indexMethod
,
}].
concat
(
data
.
columns
()).
concat
([
{
label
:
"操作"
,
width
:
80
,
fixed
:
"right"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
class
=
'btnColor'
onClick
=
{()
=>
{
this
.
handleEdit
(
scope
.
row
);
}}
>
详情
<
/el-button
>
<
/div
>
);
},
},
},
]),
data
:
[]
]),
data
:
[]
},
// 分页
pageData
:
{
total
:
0
,
pageSize
:
15
,
current
:
1
,
},
diaData
:
null
,
bsmSjsb
:
''
}
},
methods
:
{
// 是否显示下拉框
isShowSelectOptions
(
e
)
{
if
(
!
e
)
this
.
$refs
.
selectmanyQL
.
blur
()
if
(
!
e
)
this
.
$refs
.
selectmanyDJ
.
blur
()
},
pageData
:
{
total
:
0
,
pageSize
:
15
,
current
:
1
,
async
featchData
()
{
try
{
this
.
form
=
Object
.
assign
(
this
.
form
,
this
.
formData
)
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
qltFwFdcqDz
.
getQltFwFdcqDzList
(
this
.
form
)
this
.
tableData
.
data
=
list
this
.
pageData
=
{
pageSize
,
current
,
total
}
}
catch
(
error
)
{
this
.
message
=
error
// this.$refs.msg.messageShow()
}
},
diaData
:
null
,
bsmSjsb
:
''
}
},
methods
:
{
// 是否显示下拉框
isShowSelectOptions
(
e
)
{
if
(
!
e
)
this
.
$refs
.
selectmanyQL
.
blur
()
if
(
!
e
)
this
.
$refs
.
selectmanyDJ
.
blur
()
},
async
featchData
()
{
try
{
this
.
form
=
Object
.
assign
(
this
.
form
,
this
.
formData
)
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
qltFwFdcqDz
.
getQltFwFdcqDzList
(
this
.
form
)
this
.
tableData
.
data
=
list
this
.
pageData
=
{
pageSize
,
current
,
total
async
handlDatadetails
(
index
,
row
)
{
let
{
result
:
res
,
message
}
=
await
sjsbFunctionOper
.
getQltFwFdcqYzByCondition
(
row
.
BSM_SJSB
)
if
(
res
!=
null
)
{
this
.
diaData
=
res
this
.
bsmSjsb
=
row
.
BSM_SJSB
this
.
$store
.
dispatch
(
'qltFwFdcqDz/setEdit'
);
this
.
$refs
.
editLog
.
isShow
()
}
else
{
this
.
$message
(
message
);
}
}
catch
(
error
)
{
this
.
message
=
error
// this.$refs.msg.messageShow()
}
},
async
handlDatadetails
(
index
,
row
)
{
let
{
result
:
res
,
message
}
=
await
sjsbFunctionOper
.
getQltFwFdcqYzByCondition
(
row
.
BSM_SJSB
)
if
(
res
!=
null
)
{
this
.
diaData
=
res
this
.
bsmSjsb
=
row
.
BSM_SJSB
this
.
$store
.
dispatch
(
'qltFwFdcqDz/setEdit'
);
this
.
$refs
.
editLog
.
isShow
()
}
else
{
this
.
$message
(
message
);
}
}
}
}
</
script
>
...
...
src/views/bdcsj/fdcqqfsyq/index.vue
View file @
cbf0620
...
...
@@ -48,97 +48,99 @@
</
template
>
<
script
>
// 建筑物区分所有权业主共有部分
import
data
from
"./data"
import
qlfFwFdcqQfsyq
from
'@/api/qlfFwFdcqQfsyq'
import
sjsbFunctionOper
from
'@/api/sjsbFunctionOper'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
treeSelect
from
'@/components/TreeSelect.vue'
export
default
{
name
:
"fdcqqfsyq"
,
mixins
:
[
tableMixin
],
components
:
{
treeSelect
},
data
()
{
return
{
form
:
{
YWH
:
''
,
QLLX
:
''
,
BDCDYH
:
''
,
ZJH
:
''
,
currentPage
:
1
},
tableData
:
{
columns
:
[{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
,
index
:
this
.
indexMethod
,
}].
concat
(
data
.
columns
()).
concat
([
{
label
:
"操作"
,
width
:
80
,
fixed
:
"right"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
class
=
'btnColor'
onClick
=
{()
=>
{
this
.
handleEdit
(
scope
.
row
);
}}
>
详情
<
/el-button
>
<
/div
>
);
// 建筑物区分所有权业主共有部分
import
data
from
"./data"
import
qlfFwFdcqQfsyq
from
'@/api/qlfFwFdcqQfsyq'
import
sjsbFunctionOper
from
'@/api/sjsbFunctionOper'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
treeSelect
from
'@/components/TreeSelect.vue'
export
default
{
name
:
"fdcqqfsyq"
,
mixins
:
[
tableMixin
],
components
:
{
treeSelect
},
data
()
{
return
{
form
:
{
YWH
:
''
,
QLLX
:
''
,
BDCDYH
:
''
,
ZJH
:
''
,
currentPage
:
1
},
// 表格数据
tableData
:
{
columns
:
[{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
,
index
:
this
.
indexMethod
,
}].
concat
(
data
.
columns
()).
concat
([
{
label
:
"操作"
,
width
:
80
,
fixed
:
"right"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
class
=
'btnColor'
onClick
=
{()
=>
{
this
.
handleEdit
(
scope
.
row
);
}}
>
详情
<
/el-button
>
<
/div
>
);
},
},
},
]),
data
:
[]
]),
data
:
[]
},
// 分页
pageData
:
{
total
:
0
,
pageSize
:
15
,
current
:
1
,
},
diaData
:
null
,
bsmSjsb
:
''
}
},
methods
:
{
// 是否显示下拉框
isShowSelectOptions
(
e
)
{
if
(
!
e
)
this
.
$refs
.
selectshareQL
.
blur
()
},
pageData
:
{
total
:
0
,
pageSize
:
15
,
current
:
1
,
async
featchData
()
{
try
{
this
.
form
=
Object
.
assign
(
this
.
form
,
this
.
formData
)
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
qlfFwFdcqQfsyq
.
getQlfFwFdcqQfsyqList
(
this
.
form
)
this
.
tableData
.
data
=
list
this
.
pageData
=
{
pageSize
,
current
,
total
}
}
catch
(
error
)
{
this
.
message
=
error
}
},
diaData
:
null
,
bsmSjsb
:
''
}
},
methods
:
{
// 是否显示下拉框
isShowSelectOptions
(
e
)
{
if
(
!
e
)
this
.
$refs
.
selectshareQL
.
blur
()
},
async
featchData
()
{
try
{
this
.
form
=
Object
.
assign
(
this
.
form
,
this
.
formData
)
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
qlfFwFdcqQfsyq
.
getQlfFwFdcqQfsyqList
(
this
.
form
)
this
.
tableData
.
data
=
list
this
.
pageData
=
{
pageSize
,
current
,
total
async
handlDatadetails
(
index
,
row
)
{
let
{
result
:
res
,
message
}
=
await
sjsbFunctionOper
.
getQltFwFdcqYzByCondition
(
row
.
BSM_SJSB
)
if
(
res
!=
null
)
{
this
.
diaData
=
res
this
.
bsmSjsb
=
row
.
BSM_SJSB
this
.
$store
.
dispatch
(
'business/setEdit'
);
this
.
$refs
.
editLog
.
isShow
()
}
else
{
this
.
$message
(
message
)
}
}
catch
(
error
)
{
this
.
message
=
error
}
},
async
handlDatadetails
(
index
,
row
)
{
let
{
result
:
res
,
message
}
=
await
sjsbFunctionOper
.
getQltFwFdcqYzByCondition
(
row
.
BSM_SJSB
)
if
(
res
!=
null
)
{
this
.
diaData
=
res
this
.
bsmSjsb
=
row
.
BSM_SJSB
this
.
$store
.
dispatch
(
'business/setEdit'
);
this
.
$refs
.
editLog
.
isShow
()
}
else
{
this
.
$message
(
message
)
}
},
},
}
}
}
</
script
>
...
...
src/views/bdcsj/fdcqyz/index.vue
View file @
cbf0620
...
...
@@ -80,135 +80,137 @@
</
template
>
<
script
>
// 房地产权(独幢、层、套、间、房屋)
import
data
from
"./data"
import
qltFwFdcqYz
from
'@/api/qltFwFdcqYz'
import
sjsbFunctionOper
from
'@/api/sjsbFunctionOper'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
treeSelect
from
'@/components/TreeSelect.vue'
export
default
{
name
:
"fdcqyz"
,
mixins
:
[
tableMixin
],
components
:
{
treeSelect
},
data
()
{
return
{
form
:
{
XZQDM
:
''
,
QSZT
:
''
,
ZL
:
''
,
QLR
:
''
,
DJLX
:
''
,
BDCQZH
:
''
,
BDCDYH
:
''
,
ZJH
:
''
,
currentPage
:
1
},
tableData
:
{
columns
:
[{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
,
index
:
this
.
indexMethod
,
}].
concat
(
data
.
columns
()).
concat
([
{
label
:
"操作"
,
width
:
80
,
fixed
:
"right"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
class
=
'btnColor'
onClick
=
{()
=>
{
this
.
handleEdit
(
scope
.
row
);
}}
>
详情
<
/el-button
>
<
/div
>
);
// 房地产权(独幢、层、套、间、房屋)
import
data
from
"./data"
import
qltFwFdcqYz
from
'@/api/qltFwFdcqYz'
import
sjsbFunctionOper
from
'@/api/sjsbFunctionOper'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
treeSelect
from
'@/components/TreeSelect.vue'
export
default
{
name
:
"fdcqyz"
,
mixins
:
[
tableMixin
],
components
:
{
treeSelect
},
data
()
{
return
{
form
:
{
XZQDM
:
''
,
QSZT
:
''
,
ZL
:
''
,
QLR
:
''
,
DJLX
:
''
,
BDCQZH
:
''
,
BDCDYH
:
''
,
ZJH
:
''
,
currentPage
:
1
},
// 表格数据
tableData
:
{
columns
:
[{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
,
index
:
this
.
indexMethod
,
}].
concat
(
data
.
columns
()).
concat
([
{
label
:
"操作"
,
width
:
80
,
fixed
:
"right"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
class
=
'btnColor'
onClick
=
{()
=>
{
this
.
handleEdit
(
scope
.
row
);
}}
>
详情
<
/el-button
>
<
/div
>
);
},
},
},
]),
data
:
[],
},
pageData
:
{
total
:
0
,
pageSize
:
15
,
current
:
1
,
},
diaData
:
null
,
bsmSjsb
:
''
,
QLLXOptions
:
[
{
label
:
'国有建设用地使用权/房屋所有权'
,
value
:
'4'
},
{
label
:
'宅基地使用权/房屋所有权'
,
value
:
'6'
]),
data
:
[],
},
{
label
:
'集体建设用地使用权/构筑物所有权'
,
value
:
'8'
}
],
DJLXOptions
:
[
{
label
:
'首次登记'
,
value
:
'100'
},
{
label
:
'转移登记'
,
value
:
'200'
// 分页
pageData
:
{
total
:
0
,
pageSize
:
15
,
current
:
1
,
},
{
label
:
'变更登记'
,
value
:
'300'
},
{
label
:
'更正登记'
,
value
:
'500'
}
],
}
},
methods
:
{
// 是否显示下拉框
isShowSelectOptions
(
e
)
{
if
(
!
e
)
this
.
$refs
.
selectsingleQL
.
blur
()
if
(
!
e
)
this
.
$refs
.
selectsingleDJ
.
blur
()
},
async
featchData
()
{
try
{
this
.
form
=
Object
.
assign
(
this
.
form
,
this
.
formData
)
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
qltFwFdcqYz
.
getQltFwFdcqYzList
(
this
.
form
)
this
.
tableData
.
data
=
list
this
.
pageData
=
{
pageSize
,
current
,
total
}
}
catch
(
error
)
{
this
.
message
=
error
// this.$refs.msg.messageShow()
diaData
:
null
,
bsmSjsb
:
''
,
QLLXOptions
:
[
{
label
:
'国有建设用地使用权/房屋所有权'
,
value
:
'4'
},
{
label
:
'宅基地使用权/房屋所有权'
,
value
:
'6'
},
{
label
:
'集体建设用地使用权/构筑物所有权'
,
value
:
'8'
}
],
DJLXOptions
:
[
{
label
:
'首次登记'
,
value
:
'100'
},
{
label
:
'转移登记'
,
value
:
'200'
},
{
label
:
'变更登记'
,
value
:
'300'
},
{
label
:
'更正登记'
,
value
:
'500'
}
],
}
},
async
handlDatadetails
(
index
,
row
)
{
let
{
result
:
res
,
message
}
=
await
sjsbFunctionOper
.
getQltFwFdcqYzByCondition
(
row
.
BSM_SJSB
)
if
(
res
!=
null
)
{
this
.
diaData
=
res
this
.
bsmSjsb
=
row
.
BSM_SJSB
this
.
$store
.
dispatch
(
'business/setEdit'
);
this
.
$refs
.
editLog
.
isShow
()
}
else
{
this
.
$message
(
message
)
methods
:
{
// 是否显示下拉框
isShowSelectOptions
(
e
)
{
if
(
!
e
)
this
.
$refs
.
selectsingleQL
.
blur
()
if
(
!
e
)
this
.
$refs
.
selectsingleDJ
.
blur
()
},
async
featchData
()
{
try
{
this
.
form
=
Object
.
assign
(
this
.
form
,
this
.
formData
)
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
qltFwFdcqYz
.
getQltFwFdcqYzList
(
this
.
form
)
this
.
tableData
.
data
=
list
this
.
pageData
=
{
pageSize
,
current
,
total
}
}
catch
(
error
)
{
this
.
message
=
error
// this.$refs.msg.messageShow()
}
},
async
handlDatadetails
(
index
,
row
)
{
let
{
result
:
res
,
message
}
=
await
sjsbFunctionOper
.
getQltFwFdcqYzByCondition
(
row
.
BSM_SJSB
)
if
(
res
!=
null
)
{
this
.
diaData
=
res
this
.
bsmSjsb
=
row
.
BSM_SJSB
this
.
$store
.
dispatch
(
'business/setEdit'
);
this
.
$refs
.
editLog
.
isShow
()
}
else
{
this
.
$message
(
message
)
}
}
}
}
}
</
script
>
...
...
src/views/bdcsj/gzwsyq/index.vue
View file @
cbf0620
...
...
@@ -75,88 +75,90 @@
</
template
>
<
script
>
// 构(建)筑物所有权
import
data
from
"./data"
import
qltQlGjzwsyq
from
'@/api/qltQlGjzwsyq'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
treeSelect
from
'@/components/TreeSelect.vue'
export
default
{
name
:
"gzwsyq"
,
mixins
:
[
tableMixin
],
components
:
{
treeSelect
},
data
()
{
return
{
form
:
{
XZQDM
:
''
,
QSZT
:
''
,
ZL
:
''
,
BDCQZH
:
''
,
QLR
:
''
,
DJLX
:
''
,
JZWMC
:
''
,
ZJH
:
''
,
currentPage
:
1
},
tableData
:
{
columns
:
[{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
,
index
:
this
.
indexMethod
,
}].
concat
(
data
.
columns
()).
concat
([
{
label
:
"操作"
,
width
:
80
,
fixed
:
"right"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
class
=
'btnColor'
onClick
=
{()
=>
{
this
.
handleEdit
(
scope
.
row
);
}}
>
详情
<
/el-button
>
<
/div
>
);
// 构(建)筑物所有权
import
data
from
"./data"
import
qltQlGjzwsyq
from
'@/api/qltQlGjzwsyq'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
treeSelect
from
'@/components/TreeSelect.vue'
export
default
{
name
:
"gzwsyq"
,
mixins
:
[
tableMixin
],
components
:
{
treeSelect
},
data
()
{
return
{
form
:
{
XZQDM
:
''
,
QSZT
:
''
,
ZL
:
''
,
BDCQZH
:
''
,
QLR
:
''
,
DJLX
:
''
,
JZWMC
:
''
,
ZJH
:
''
,
currentPage
:
1
},
// 表格数据
tableData
:
{
columns
:
[{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
,
index
:
this
.
indexMethod
,
}].
concat
(
data
.
columns
()).
concat
([
{
label
:
"操作"
,
width
:
80
,
fixed
:
"right"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
class
=
'btnColor'
onClick
=
{()
=>
{
this
.
handleEdit
(
scope
.
row
);
}}
>
详情
<
/el-button
>
<
/div
>
);
},
},
},
]),
data
:
[{
ceateTime
:
1
}]
},
pageData
:
{
total
:
0
,
pageSize
:
15
,
current
:
1
,
]),
data
:
[{
ceateTime
:
1
}]
},
// 分页
pageData
:
{
total
:
0
,
pageSize
:
15
,
current
:
1
,
}
}
}
},
methods
:
{
// 是否显示下拉框
isShowSelectOptions
(
e
)
{
if
(
!
e
)
this
.
$refs
.
selectownershipQL
.
blur
()
if
(
!
e
)
this
.
$refs
.
selectownershipDJ
.
blur
()
},
async
featchData
()
{
try
{
this
.
form
=
Object
.
assign
(
this
.
form
,
this
.
formData
)
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
qltQlGjzwsyq
.
getQltQlGjzwsyqList
(
this
.
form
)
this
.
tableData
.
data
=
list
this
.
pageData
=
{
pageSize
,
current
,
total
methods
:
{
// 是否显示下拉框
isShowSelectOptions
(
e
)
{
if
(
!
e
)
this
.
$refs
.
selectownershipQL
.
blur
()
if
(
!
e
)
this
.
$refs
.
selectownershipDJ
.
blur
()
},
async
featchData
()
{
try
{
this
.
form
=
Object
.
assign
(
this
.
form
,
this
.
formData
)
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
qltQlGjzwsyq
.
getQltQlGjzwsyqList
(
this
.
form
)
this
.
tableData
.
data
=
list
this
.
pageData
=
{
pageSize
,
current
,
total
}
}
catch
(
error
)
{
}
}
catch
(
error
)
{
}
}
}
}
</
script
>
...
...
src/views/bdcsj/hysyq/index.vue
View file @
cbf0620
...
...
@@ -80,94 +80,96 @@
</
template
>
<
script
>
// 海域(含无居民海岛)使用权
import
data
from
"./data"
import
qlfQlHysyq
from
'@/api/qlfQlHysyq'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
treeSelect
from
'@/components/TreeSelect.vue'
export
default
{
name
:
"hysyq"
,
mixins
:
[
tableMixin
],
components
:
{
treeSelect
},
data
()
{
return
{
form
:
{
XZQDM
:
''
,
QSZT
:
''
,
ZL
:
''
,
BDCQZH
:
''
,
QLR
:
''
,
DJLX
:
''
,
HDMC
:
''
,
ZJH
:
''
,
currentPage
:
1
},
tableData
:
{
columns
:
[{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
,
index
:
this
.
indexMethod
,
}].
concat
(
data
.
columns
()).
concat
([
{
label
:
"操作"
,
width
:
80
,
fixed
:
"right"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
class
=
'btnColor'
onClick
=
{()
=>
{
this
.
handleEdit
(
scope
.
row
);
}}
>
详情
<
/el-button
>
<
/div
>
);
// 海域(含无居民海岛)使用权
import
data
from
"./data"
import
qlfQlHysyq
from
'@/api/qlfQlHysyq'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
treeSelect
from
'@/components/TreeSelect.vue'
export
default
{
name
:
"hysyq"
,
mixins
:
[
tableMixin
],
components
:
{
treeSelect
},
data
()
{
return
{
form
:
{
XZQDM
:
''
,
QSZT
:
''
,
ZL
:
''
,
BDCQZH
:
''
,
QLR
:
''
,
DJLX
:
''
,
HDMC
:
''
,
ZJH
:
''
,
currentPage
:
1
},
// 表格数据
tableData
:
{
columns
:
[{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
,
index
:
this
.
indexMethod
,
}].
concat
(
data
.
columns
()).
concat
([
{
label
:
"操作"
,
width
:
80
,
fixed
:
"right"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
class
=
'btnColor'
onClick
=
{()
=>
{
this
.
handleEdit
(
scope
.
row
);
}}
>
详情
<
/el-button
>
<
/div
>
);
},
},
},
]),
data
:
[]
},
pageData
:
{
total
:
0
,
pageSize
:
15
,
current
:
1
,
},
diaData
:
null
,
bsmSjsb
:
''
}
},
methods
:
{
// 是否显示下拉框
isShowSelectOptions
(
e
)
{
if
(
!
e
)
this
.
$refs
.
selectseaAreaQL
.
blur
()
if
(
!
e
)
this
.
$refs
.
selectseaAreaDJ
.
blur
()
]),
data
:
[]
},
// 分页
pageData
:
{
total
:
0
,
pageSize
:
15
,
current
:
1
,
},
diaData
:
null
,
bsmSjsb
:
''
}
},
async
featchData
()
{
try
{
this
.
form
=
Object
.
assign
(
this
.
form
,
this
.
formData
)
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
qlfQlHysyq
.
getQlfQlHysyqByConditon
(
this
.
form
)
this
.
tableData
.
data
=
list
this
.
pageData
=
{
pageSize
,
current
,
total
methods
:
{
// 是否显示下拉框
isShowSelectOptions
(
e
)
{
if
(
!
e
)
this
.
$refs
.
selectseaAreaQL
.
blur
()
if
(
!
e
)
this
.
$refs
.
selectseaAreaDJ
.
blur
()
},
async
featchData
()
{
try
{
this
.
form
=
Object
.
assign
(
this
.
form
,
this
.
formData
)
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
qlfQlHysyq
.
getQlfQlHysyqByConditon
(
this
.
form
)
this
.
tableData
.
data
=
list
this
.
pageData
=
{
pageSize
,
current
,
total
}
}
catch
(
error
)
{
this
.
message
=
error
this
.
$refs
.
msg
.
messageShow
()
}
}
catch
(
error
)
{
this
.
message
=
error
this
.
$refs
.
msg
.
messageShow
()
}
}
}
}
}
</
script
>
...
...
src/views/bdcsj/jsydzjdsyq/index.vue
View file @
cbf0620
...
...
@@ -73,105 +73,107 @@
</
template
>
<
script
>
// 建设用地、宅基地使用权
import
data
from
"./data"
import
qlfQlJsydsyq
from
'@/api/qlfQlJsydsyq'
import
sjsbFunctionOper
from
'@/api/sjsbFunctionOper'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
treeSelect
from
'@/components/TreeSelect.vue'
export
default
{
name
:
"jsydzjdsyq"
,
mixins
:
[
tableMixin
],
components
:
{
treeSelect
},
data
()
{
return
{
form
:
{
XZQDM
:
''
,
QSZT
:
''
,
ZL
:
''
,
QLR
:
''
,
DJLX
:
''
,
BDCQZH
:
''
,
ZJH
:
''
,
currentPage
:
1
},
tableData
:
{
columns
:
[{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
,
index
:
this
.
indexMethod
,
}].
concat
(
data
.
columns
()).
concat
([
{
label
:
"操作"
,
width
:
80
,
fixed
:
"right"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
class
=
'btnColor'
onClick
=
{()
=>
{
this
.
handleEdit
(
scope
.
row
);
}}
>
详情
<
/el-button
>
<
/div
>
);
// 建设用地、宅基地使用权
import
data
from
"./data"
import
qlfQlJsydsyq
from
'@/api/qlfQlJsydsyq'
import
sjsbFunctionOper
from
'@/api/sjsbFunctionOper'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
treeSelect
from
'@/components/TreeSelect.vue'
export
default
{
name
:
"jsydzjdsyq"
,
mixins
:
[
tableMixin
],
components
:
{
treeSelect
},
data
()
{
return
{
form
:
{
XZQDM
:
''
,
QSZT
:
''
,
ZL
:
''
,
QLR
:
''
,
DJLX
:
''
,
BDCQZH
:
''
,
ZJH
:
''
,
currentPage
:
1
},
// 表格数据
tableData
:
{
columns
:
[{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
,
index
:
this
.
indexMethod
,
}].
concat
(
data
.
columns
()).
concat
([
{
label
:
"操作"
,
width
:
80
,
fixed
:
"right"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
class
=
'btnColor'
onClick
=
{()
=>
{
this
.
handleEdit
(
scope
.
row
);
}}
>
详情
<
/el-button
>
<
/div
>
);
},
},
},
]),
data
:
[],
]),
data
:
[],
},
// 分页
pageData
:
{
total
:
0
,
pageSize
:
15
,
current
:
1
,
},
diaData
:
null
,
bsmSjsb
:
''
}
},
methods
:
{
// 是否显示下拉框
isShowSelectOptions
(
e
)
{
if
(
!
e
)
this
.
$refs
.
selectbuildQL
.
blur
()
if
(
!
e
)
this
.
$refs
.
selectbuildDJ
.
blur
()
},
pageData
:
{
total
:
0
,
pageSize
:
15
,
current
:
1
,
async
featchData
()
{
try
{
this
.
form
=
Object
.
assign
(
this
.
form
,
this
.
formData
)
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
qlfQlJsydsyq
.
getQlfQlJsydsyqList
(
this
.
form
)
this
.
tableData
.
data
=
list
this
.
pageData
=
{
pageSize
,
current
,
total
}
}
catch
(
error
)
{
this
.
message
=
error
// this.$refs.msg.messageShow()
}
},
diaData
:
null
,
bsmSjsb
:
''
}
},
methods
:
{
// 是否显示下拉框
isShowSelectOptions
(
e
)
{
if
(
!
e
)
this
.
$refs
.
selectbuildQL
.
blur
()
if
(
!
e
)
this
.
$refs
.
selectbuildDJ
.
blur
()
},
async
featchData
()
{
try
{
this
.
form
=
Object
.
assign
(
this
.
form
,
this
.
formData
)
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
qlfQlJsydsyq
.
getQlfQlJsydsyqList
(
this
.
form
)
this
.
tableData
.
data
=
list
this
.
pageData
=
{
pageSize
,
current
,
total
async
handlDatadetails
(
index
,
row
)
{
let
{
result
:
res
,
message
}
=
await
sjsbFunctionOper
.
getQltFwFdcqYzByCondition
(
row
.
BSM_SJSB
)
if
(
res
!=
null
)
{
this
.
diaData
=
res
this
.
bsmSjsb
=
row
.
BSM_SJSB
this
.
$store
.
dispatch
(
'qlfQlJsydsyq/setEdit'
);
this
.
$refs
.
editLog
.
isShow
()
}
else
{
this
.
$message
(
message
)
}
}
catch
(
error
)
{
this
.
message
=
error
// this.$refs.msg.messageShow()
}
},
async
handlDatadetails
(
index
,
row
)
{
let
{
result
:
res
,
message
}
=
await
sjsbFunctionOper
.
getQltFwFdcqYzByCondition
(
row
.
BSM_SJSB
)
if
(
res
!=
null
)
{
this
.
diaData
=
res
this
.
bsmSjsb
=
row
.
BSM_SJSB
this
.
$store
.
dispatch
(
'qlfQlJsydsyq/setEdit'
);
this
.
$refs
.
editLog
.
isShow
()
}
else
{
this
.
$message
(
message
)
}
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"./index.scss"
;
@import
"./index.scss"
;
</
style
>
...
...
src/views/bdcsj/lq/index.vue
View file @
cbf0620
...
...
@@ -70,84 +70,86 @@
</
template
>
<
script
>
// 林权
import
data
from
"./data"
import
qltQlLq
from
'@/api/qltQlLq'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
treeSelect
from
'@/components/TreeSelect.vue'
export
default
{
name
:
"lq"
,
mixins
:
[
tableMixin
],
components
:
{
treeSelect
},
data
()
{
return
{
form
:
{
XZQDM
:
''
,
QSZT
:
''
,
ZL
:
''
,
BDCDYH
:
''
,
QLR
:
''
,
DJLX
:
''
,
ZJH
:
''
,
currentPage
:
1
},
tableData
:
{
columns
:
[{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
,
index
:
this
.
indexMethod
,
}].
concat
(
data
.
columns
()).
concat
([
{
label
:
"操作"
,
width
:
80
,
fixed
:
"right"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
class
=
'btnColor'
onClick
=
{()
=>
{
this
.
handleEdit
(
scope
.
row
);
}}
>
详情
<
/el-button
>
<
/div
>
);
// 林权
import
data
from
"./data"
import
qltQlLq
from
'@/api/qltQlLq'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
treeSelect
from
'@/components/TreeSelect.vue'
export
default
{
name
:
"lq"
,
mixins
:
[
tableMixin
],
components
:
{
treeSelect
},
data
()
{
return
{
form
:
{
XZQDM
:
''
,
QSZT
:
''
,
ZL
:
''
,
BDCDYH
:
''
,
QLR
:
''
,
DJLX
:
''
,
ZJH
:
''
,
currentPage
:
1
},
// 表格数据
tableData
:
{
columns
:
[{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
,
index
:
this
.
indexMethod
,
}].
concat
(
data
.
columns
()).
concat
([
{
label
:
"操作"
,
width
:
80
,
fixed
:
"right"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
class
=
'btnColor'
onClick
=
{()
=>
{
this
.
handleEdit
(
scope
.
row
);
}}
>
详情
<
/el-button
>
<
/div
>
);
},
},
},
]),
data
:
[]
},
pageData
:
{
total
:
0
,
pageSize
:
15
,
current
:
1
,
},
diaData
:
null
,
bsmSjsb
:
''
}
},
methods
:
{
async
featchData
()
{
try
{
this
.
form
=
Object
.
assign
(
this
.
form
,
this
.
formData
)
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
qltQlLq
.
getQltQlLqList
(
this
.
form
)
this
.
tableData
.
data
=
list
this
.
pageData
=
{
pageSize
,
current
,
total
]),
data
:
[]
},
// 分页
pageData
:
{
total
:
0
,
pageSize
:
15
,
current
:
1
,
},
diaData
:
null
,
bsmSjsb
:
''
}
},
methods
:
{
async
featchData
()
{
try
{
this
.
form
=
Object
.
assign
(
this
.
form
,
this
.
formData
)
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
qltQlLq
.
getQltQlLqList
(
this
.
form
)
this
.
tableData
.
data
=
list
this
.
pageData
=
{
pageSize
,
current
,
total
}
}
catch
(
error
)
{
}
}
catch
(
error
)
{
}
}
}
}
</
script
>
...
...
src/views/bdcsj/nydsyq/index.vue
View file @
cbf0620
...
...
@@ -75,85 +75,87 @@
</
template
>
<
script
>
// 农用地使用权(非林地)
import
data
from
"./data"
import
qlfQlNydsyq
from
'@/api/qlfQlNydsyq'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
treeSelect
from
'@/components/TreeSelect.vue'
export
default
{
name
:
"nydsyq"
,
mixins
:
[
tableMixin
],
components
:
{
treeSelect
},
data
()
{
return
{
form
:
{
XZQDM
:
''
,
QSZT
:
''
,
ZL
:
''
,
BDCQZH
:
''
,
QLR
:
''
,
QLLX
:
''
,
xxx
:
''
,
ZJH
:
''
,
currentPage
:
1
},
tableData
:
{
columns
:
[{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
,
index
:
this
.
indexMethod
,
}].
concat
(
data
.
columns
()).
concat
([
{
label
:
"操作"
,
width
:
80
,
fixed
:
"right"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
class
=
'btnColor'
onClick
=
{()
=>
{
this
.
handleEdit
(
scope
.
row
);
}}
>
详情
<
/el-button
>
<
/div
>
);
// 农用地使用权(非林地)
import
data
from
"./data"
import
qlfQlNydsyq
from
'@/api/qlfQlNydsyq'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
treeSelect
from
'@/components/TreeSelect.vue'
export
default
{
name
:
"nydsyq"
,
mixins
:
[
tableMixin
],
components
:
{
treeSelect
},
data
()
{
return
{
form
:
{
XZQDM
:
''
,
QSZT
:
''
,
ZL
:
''
,
BDCQZH
:
''
,
QLR
:
''
,
QLLX
:
''
,
xxx
:
''
,
ZJH
:
''
,
currentPage
:
1
},
// 表格数据
tableData
:
{
columns
:
[{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
,
index
:
this
.
indexMethod
,
}].
concat
(
data
.
columns
()).
concat
([
{
label
:
"操作"
,
width
:
80
,
fixed
:
"right"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
class
=
'btnColor'
onClick
=
{()
=>
{
this
.
handleEdit
(
scope
.
row
);
}}
>
详情
<
/el-button
>
<
/div
>
);
},
},
},
]),
data
:
[]
},
pageData
:
{
total
:
0
,
pageSize
:
15
,
current
:
1
,
},
diaData
:
null
,
bsmSjsb
:
''
}
},
methods
:
{
async
featchData
()
{
try
{
this
.
form
=
Object
.
assign
(
this
.
form
,
this
.
formData
)
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
qlfQlNydsyq
.
getQlfQlNydsyqByConditon
(
this
.
form
)
this
.
tableData
.
data
=
list
this
.
pageData
=
{
pageSize
,
current
,
total
]),
data
:
[]
},
// 分页
pageData
:
{
total
:
0
,
pageSize
:
15
,
current
:
1
,
},
diaData
:
null
,
bsmSjsb
:
''
}
},
methods
:
{
async
featchData
()
{
try
{
this
.
form
=
Object
.
assign
(
this
.
form
,
this
.
formData
)
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
qlfQlNydsyq
.
getQlfQlNydsyqByConditon
(
this
.
form
)
this
.
tableData
.
data
=
list
this
.
pageData
=
{
pageSize
,
current
,
total
}
}
catch
(
error
)
{
}
}
catch
(
error
)
{
}
}
}
}
</
script
>
...
...
src/views/bdcsj/tdsyq/index.vue
View file @
cbf0620
...
...
@@ -72,85 +72,87 @@
</
template
>
<
script
>
// 土地所有权
import
data
from
"./data"
import
qlfQlTdsyq
from
'@/api/qlfQlTdsyq'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
treeSelect
from
'@/components/TreeSelect.vue'
export
default
{
components
:
{
treeSelect
},
name
:
"tdsyq"
,
mixins
:
[
tableMixin
],
data
()
{
return
{
form
:
{
XZQDM
:
''
,
QSZT
:
''
,
ZL
:
''
,
QLR
:
''
,
DJLX
:
''
,
BDCQZH
:
''
,
ZJH
:
''
,
currentPage
:
1
},
tableData
:
{
columns
:
[{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
,
index
:
this
.
indexMethod
,
}].
concat
(
data
.
columns
()).
concat
([
{
label
:
"操作"
,
width
:
80
,
fixed
:
"right"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
class
=
'btnColor'
onClick
=
{()
=>
{
this
.
handleEdit
(
scope
.
row
);
}}
>
详情
<
/el-button
>
<
/div
>
);
// 土地所有权
import
data
from
"./data"
import
qlfQlTdsyq
from
'@/api/qlfQlTdsyq'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
treeSelect
from
'@/components/TreeSelect.vue'
export
default
{
components
:
{
treeSelect
},
name
:
"tdsyq"
,
mixins
:
[
tableMixin
],
data
()
{
return
{
form
:
{
XZQDM
:
''
,
QSZT
:
''
,
ZL
:
''
,
QLR
:
''
,
DJLX
:
''
,
BDCQZH
:
''
,
ZJH
:
''
,
currentPage
:
1
},
// 表格数据
tableData
:
{
columns
:
[{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
,
index
:
this
.
indexMethod
,
}].
concat
(
data
.
columns
()).
concat
([
{
label
:
"操作"
,
width
:
80
,
fixed
:
"right"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
class
=
'btnColor'
onClick
=
{()
=>
{
this
.
handleEdit
(
scope
.
row
);
}}
>
详情
<
/el-button
>
<
/div
>
);
},
},
},
]),
data
:
[]
},
pageData
:
{
total
:
0
,
pageSize
:
15
,
current
:
1
,
},
diaData
:
null
,
}
},
methods
:
{
async
featchData
()
{
try
{
this
.
form
=
Object
.
assign
(
this
.
form
,
this
.
formData
)
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
qlfQlTdsyq
.
getQlfQlTdsyqList
(
this
.
form
)
this
.
tableData
.
data
=
list
this
.
pageData
=
{
pageSize
,
current
,
total
]),
data
:
[]
},
// 分页
pageData
:
{
total
:
0
,
pageSize
:
15
,
current
:
1
,
},
diaData
:
null
,
}
},
methods
:
{
async
featchData
()
{
try
{
this
.
form
=
Object
.
assign
(
this
.
form
,
this
.
formData
)
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
qlfQlTdsyq
.
getQlfQlTdsyqList
(
this
.
form
)
this
.
tableData
.
data
=
list
this
.
pageData
=
{
pageSize
,
current
,
total
}
}
catch
(
error
)
{
this
.
message
=
error
// this.$refs.msg.messageShow()
}
}
catch
(
error
)
{
this
.
message
=
error
// this.$refs.msg.messageShow()
}
}
}
}
</
script
>
...
...
src/views/bdcsj/ygdj/index.vue
View file @
cbf0620
...
...
@@ -74,88 +74,90 @@
</
template
>
<
script
>
// 预告登记
import
data
from
"./data"
import
qlfQlYgdj
from
'@/api/qlfQlYgdj'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
treeSelect
from
'@/components/TreeSelect.vue'
export
default
{
name
:
"ygdj"
,
mixins
:
[
tableMixin
],
components
:
{
treeSelect
,
},
data
()
{
return
{
form
:
{
XZQDM
:
''
,
QSZT
:
''
,
BDCQZH
:
''
,
YWH
:
''
,
// 预告登记
import
data
from
"./data"
import
qlfQlYgdj
from
'@/api/qlfQlYgdj'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
treeSelect
from
'@/components/TreeSelect.vue'
export
default
{
name
:
"ygdj"
,
mixins
:
[
tableMixin
],
components
:
{
treeSelect
,
},
data
()
{
return
{
form
:
{
XZQDM
:
''
,
QSZT
:
''
,
BDCQZH
:
''
,
YWH
:
''
,
YGDJZL
:
''
,
DJLX
:
''
,
BDCDYH
:
''
,
ZJH
:
''
,
currentPage
:
1
},
tableData
:
{
columns
:
[{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
,
index
:
this
.
indexMethod
,
}].
concat
(
data
.
columns
()).
concat
([
{
label
:
"操作"
,
width
:
80
,
fixed
:
"right"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
class
=
'btnColor'
onClick
=
{()
=>
{
this
.
handleEdit
(
scope
.
row
)
}}
>
详情
<
/el-button
>
<
/div
>
)
YGDJZL
:
''
,
DJLX
:
''
,
BDCDYH
:
''
,
ZJH
:
''
,
currentPage
:
1
},
// 表格数据
tableData
:
{
columns
:
[{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
,
index
:
this
.
indexMethod
,
}].
concat
(
data
.
columns
()).
concat
([
{
label
:
"操作"
,
width
:
80
,
fixed
:
"right"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
class
=
'btnColor'
onClick
=
{()
=>
{
this
.
handleEdit
(
scope
.
row
)
}}
>
详情
<
/el-button
>
<
/div
>
)
}
}
}
]),
data
:
[]
},
pageData
:
{
total
:
0
,
pageSize
:
15
,
current
:
1
,
},
diaData
:
null
,
bsmSjsb
:
''
}
},
methods
:
{
// 是否显示下拉框
isShowSelectOptions
(
e
)
{
if
(
!
e
)
this
.
$refs
.
selectnoticeRegQL
.
blur
()
if
(
!
e
)
this
.
$refs
.
selectnoticeRegDJ
.
blur
()
]),
data
:
[]
},
// 分页
pageData
:
{
total
:
0
,
pageSize
:
15
,
current
:
1
,
},
diaData
:
null
,
bsmSjsb
:
''
}
},
async
featchData
()
{
try
{
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
qlfQlYgdj
.
getQlfQlYgdjList
(
this
.
form
)
this
.
tableData
.
data
=
list
this
.
pageData
=
{
pageSize
,
current
,
total
methods
:
{
// 是否显示下拉框
isShowSelectOptions
(
e
)
{
if
(
!
e
)
this
.
$refs
.
selectnoticeRegQL
.
blur
()
if
(
!
e
)
this
.
$refs
.
selectnoticeRegDJ
.
blur
()
},
async
featchData
()
{
try
{
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
qlfQlYgdj
.
getQlfQlYgdjList
(
this
.
form
)
this
.
tableData
.
data
=
list
this
.
pageData
=
{
pageSize
,
current
,
total
}
}
catch
(
error
)
{
this
.
$refs
.
msg
.
messageShow
()
}
}
catch
(
error
)
{
this
.
$refs
.
msg
.
messageShow
()
}
}
}
}
</
script
>
...
...
src/views/bdcsj/yydj/index.vue
View file @
cbf0620
...
...
@@ -72,90 +72,92 @@
</
template
>
<
script
>
// 异议登记
import
data
from
"./data"
import
qlfQlYydj
from
'@/api/qlfQlYydj'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
treeSelect
from
'@/components/TreeSelect.vue'
export
default
{
name
:
"yydj"
,
mixins
:
[
tableMixin
],
components
:
{
treeSelect
},
data
()
{
return
{
form
:
{
XZQDM
:
''
,
QSZT
:
''
,
ZL
:
''
,
BDCQZH
:
''
,
QLR
:
''
,
BDCDYH
:
''
,
ZJH
:
''
,
currentPage
:
1
},
tableData
:
{
columns
:
[{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
,
index
:
this
.
indexMethod
,
}].
concat
(
data
.
columns
()).
concat
([
{
label
:
"操作"
,
width
:
80
,
fixed
:
"right"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
class
=
'btnColor'
onClick
=
{()
=>
{
this
.
handleEdit
(
scope
.
row
)
}}
>
详情
<
/el-button
>
<
/div
>
)
// 异议登记
import
data
from
"./data"
import
qlfQlYydj
from
'@/api/qlfQlYydj'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
treeSelect
from
'@/components/TreeSelect.vue'
export
default
{
name
:
"yydj"
,
mixins
:
[
tableMixin
],
components
:
{
treeSelect
},
data
()
{
return
{
form
:
{
XZQDM
:
''
,
QSZT
:
''
,
ZL
:
''
,
BDCQZH
:
''
,
QLR
:
''
,
BDCDYH
:
''
,
ZJH
:
''
,
currentPage
:
1
},
// 表格数据
tableData
:
{
columns
:
[{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
,
index
:
this
.
indexMethod
,
}].
concat
(
data
.
columns
()).
concat
([
{
label
:
"操作"
,
width
:
80
,
fixed
:
"right"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
class
=
'btnColor'
onClick
=
{()
=>
{
this
.
handleEdit
(
scope
.
row
)
}}
>
详情
<
/el-button
>
<
/div
>
)
}
}
}
]),
data
:
[]
},
pageData
:
{
total
:
0
,
pageSize
:
15
,
current
:
1
,
},
diaData
:
null
,
bsmSjsb
:
''
}
},
methods
:
{
// 是否显示下拉框
isShowSelectOptions
(
e
)
{
if
(
!
e
)
this
.
$refs
.
selectobjectionRegQL
.
blur
()
if
(
!
e
)
this
.
$refs
.
selectobjectionRegDJ
.
blur
()
]),
data
:
[]
},
// 分页
pageData
:
{
total
:
0
,
pageSize
:
15
,
current
:
1
,
},
diaData
:
null
,
bsmSjsb
:
''
}
},
async
featchData
()
{
try
{
this
.
form
=
Object
.
assign
(
this
.
form
,
this
.
formData
)
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
qlfQlYydj
.
getQlfQlYydjList
(
this
.
form
)
this
.
tableData
.
data
=
list
this
.
pageData
=
{
pageSize
,
current
,
total
methods
:
{
// 是否显示下拉框
isShowSelectOptions
(
e
)
{
if
(
!
e
)
this
.
$refs
.
selectobjectionRegQL
.
blur
()
if
(
!
e
)
this
.
$refs
.
selectobjectionRegDJ
.
blur
()
},
async
featchData
()
{
try
{
this
.
form
=
Object
.
assign
(
this
.
form
,
this
.
formData
)
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
qlfQlYydj
.
getQlfQlYydjList
(
this
.
form
)
this
.
tableData
.
data
=
list
this
.
pageData
=
{
pageSize
,
current
,
total
}
}
catch
(
error
)
{
this
.
message
=
error
this
.
$refs
.
msg
.
messageShow
()
}
}
catch
(
error
)
{
this
.
message
=
error
this
.
$refs
.
msg
.
messageShow
()
},
handledetails
(
index
,
row
)
{
}
},
handledetails
(
index
,
row
)
{
}
}
}
</
script
>
...
...
src/views/bdcsj/zxdj/index.vue
View file @
cbf0620
...
...
@@ -63,79 +63,81 @@
</
template
>
<
script
>
// 注销登记
import
data
from
"./data"
import
qlfQlZxdj
from
'@/api/qlfQlZxdj'
import
tableMixin
from
'@/mixins/tableMixin.js'
export
default
{
name
:
"cancellationReg"
,
mixins
:
[
tableMixin
],
data
()
{
return
{
form
:
{
XZQDM
:
''
,
QSZT
:
''
,
ZL
:
''
,
BDCQZH
:
''
,
QLR
:
''
,
QLLX
:
''
,
BDCDYH
:
''
,
ZJH
:
''
,
currentPage
:
1
},
tableData
:
{
columns
:
[{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
,
index
:
this
.
indexMethod
,
}].
concat
(
data
.
columns
()).
concat
([
{
label
:
"操作"
,
width
:
80
,
fixed
:
"right"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
class
=
'btnColor'
onClick
=
{()
=>
{
this
.
handleEdit
(
scope
.
row
);
}}
>
详情
<
/el-button
>
<
/div
>
);
// 注销登记
import
data
from
"./data"
import
qlfQlZxdj
from
'@/api/qlfQlZxdj'
import
tableMixin
from
'@/mixins/tableMixin.js'
export
default
{
name
:
"cancellationReg"
,
mixins
:
[
tableMixin
],
data
()
{
return
{
form
:
{
XZQDM
:
''
,
QSZT
:
''
,
ZL
:
''
,
BDCQZH
:
''
,
QLR
:
''
,
QLLX
:
''
,
BDCDYH
:
''
,
ZJH
:
''
,
currentPage
:
1
},
// 表格数据
tableData
:
{
columns
:
[{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
,
index
:
this
.
indexMethod
,
}].
concat
(
data
.
columns
()).
concat
([
{
label
:
"操作"
,
width
:
80
,
fixed
:
"right"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
class
=
'btnColor'
onClick
=
{()
=>
{
this
.
handleEdit
(
scope
.
row
);
}}
>
详情
<
/el-button
>
<
/div
>
);
},
},
},
]),
data
:
[]
},
pageData
:
{
total
:
0
,
pageSize
:
15
,
current
:
1
,
]),
data
:
[]
},
// 分页
pageData
:
{
total
:
0
,
pageSize
:
15
,
current
:
1
,
}
}
}
},
methods
:
{
async
featchData
()
{
try
{
this
.
form
=
Object
.
assign
(
this
.
form
,
this
.
formData
)
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
qlfQlZxdj
.
getQlfQlZxdjList
(
this
.
form
)
this
.
tableData
.
data
=
list
this
.
pageData
=
{
pageSize
,
current
,
total
},
methods
:
{
async
featchData
()
{
try
{
this
.
form
=
Object
.
assign
(
this
.
form
,
this
.
formData
)
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
qlfQlZxdj
.
getQlfQlZxdjList
(
this
.
form
)
this
.
tableData
.
data
=
list
this
.
pageData
=
{
pageSize
,
current
,
total
}
}
catch
(
error
)
{
}
}
catch
(
error
)
{
}
}
}
}
</
script
>
...
...
src/views/jsbwcx/index.vue
View file @
cbf0620
...
...
@@ -101,201 +101,201 @@
</
template
>
<
script
>
import
Vue
from
'vue'
// 接收报文查询
// 引入表格头部数据
import
data
from
"./data"
;
// 引入table混入方法
import
tableMixin
from
"@/mixins/tableMixin.js"
;
import
{
getReceiveDataReportPage
}
from
"@/api/dataReport.js"
;
// 引入详情弹框
import
dataDetails
from
"@/components/EditDialog"
;
//引入日期处理方法
import
{
timeFormat
}
from
"@/utils/operation"
;
export
default
{
name
:
"jsbwcx"
,
mixins
:
[
tableMixin
],
// 注册组件
components
:
{
dataDetails
,
},
data
()
{
return
{
import
Vue
from
'vue'
// 接收报文查询
// 引入表格头部数据
import
data
from
"./data"
;
// 引入table混入方法
import
tableMixin
from
"@/mixins/tableMixin.js"
;
import
{
getReceiveDataReportPage
}
from
"@/api/dataReport.js"
;
// 引入详情弹框
import
dataDetails
from
"@/components/EditDialog"
;
//引入日期处理方法
import
{
timeFormat
}
from
"@/utils/operation"
;
export
default
{
name
:
"jsbwcx"
,
mixins
:
[
tableMixin
],
// 注册组件
components
:
{
dataDetails
,
},
data
()
{
return
{
pickerOptionsStart
:
{
disabledDate
:
(
time
)
=>
{
let
endDateVal
=
this
.
form
.
receiveEndTime
;
if
(
endDateVal
)
{
return
(
time
.
getTime
()
>=
new
Date
(
endDateVal
).
getTime
()
);
}
pickerOptionsStart
:
{
disabledDate
:
(
time
)
=>
{
let
endDateVal
=
this
.
form
.
receiveEndTime
;
if
(
endDateVal
)
{
return
(
time
.
getTime
()
>=
new
Date
(
endDateVal
).
getTime
()
);
}
},
},
},
pickerOptionsEnd
:
{
disabledDate
:
(
time
)
=>
{
let
beginDateVal
=
this
.
form
.
receiveStartTime
;
if
(
beginDateVal
)
{
return
(
time
.
getTime
()
<
new
Date
(
beginDateVal
).
getTime
()
);
}
pickerOptionsEnd
:
{
disabledDate
:
(
time
)
=>
{
let
beginDateVal
=
this
.
form
.
receiveStartTime
;
if
(
beginDateVal
)
{
return
(
time
.
getTime
()
<
new
Date
(
beginDateVal
).
getTime
()
);
}
}
,
},
},
// 表格数据
form
:
{
qxdm
:
""
,
// 行政区
receiveStartTime
:
""
,
// 开始日期
receiveEndTime
:
""
,
// 结束日期
bdcdyh
:
""
,
// 不动产单元号
ywh
:
""
,
// 业务号
qllx
:
""
,
// 权利类型
djlx
:
""
,
// 登记类型
jcjg
:
""
,
// 检查结果
rkjg
:
""
,
//入库结果
currentPage
:
1
},
// 校验规则
rules
:
{
pcode
:
[{
required
:
true
,
message
:
"请选择行政区"
,
trigger
:
"change"
}],
startTime
:
[
{
required
:
true
,
message
:
"请选择开始日期"
,
trigger
:
"change"
},
],
endTime
:
[
{
required
:
true
,
message
:
"请选择结束日期"
,
trigger
:
"change"
},
],
bdcdyh
:
[
{
required
:
true
,
message
:
"不动产单元号"
,
trigger
:
"change"
},
],
ywmc
:
[{
required
:
true
,
message
:
"业务名称"
,
trigger
:
"change"
}],
jcjg
:
[{
required
:
true
,
message
:
"检查结果"
,
trigger
:
"change"
}],
rkjg
:
[{
required
:
true
,
message
:
"入库结果"
,
trigger
:
"change"
}],
},
// 表格数据
tableData
:
{
// 表格头部
columns
:
[
{
label
:
"序号"
,
type
:
"index"
,
width
:
"50"
,
index
:
this
.
indexMethod
,
}
]
.
concat
(
data
.
columns
())
.
concat
([
// 表格数据
form
:
{
qxdm
:
""
,
// 行政区
receiveStartTime
:
""
,
// 开始日期
receiveEndTime
:
""
,
// 结束日期
bdcdyh
:
""
,
// 不动产单元号
ywh
:
""
,
// 业务号
qllx
:
""
,
// 权利类型
djlx
:
""
,
// 登记类型
jcjg
:
""
,
// 检查结果
rkjg
:
""
,
//入库结果
currentPage
:
1
},
// 校验规则
rules
:
{
pcode
:
[{
required
:
true
,
message
:
"请选择行政区"
,
trigger
:
"change"
}],
startTime
:
[
{
required
:
true
,
message
:
"请选择开始日期"
,
trigger
:
"change"
},
],
endTime
:
[
{
required
:
true
,
message
:
"请选择结束日期"
,
trigger
:
"change"
},
],
bdcdyh
:
[
{
required
:
true
,
message
:
"不动产单元号"
,
trigger
:
"change"
},
],
ywmc
:
[{
required
:
true
,
message
:
"业务名称"
,
trigger
:
"change"
}],
jcjg
:
[{
required
:
true
,
message
:
"检查结果"
,
trigger
:
"change"
}],
rkjg
:
[{
required
:
true
,
message
:
"入库结果"
,
trigger
:
"change"
}],
},
// 表格数据
tableData
:
{
// 表格头部
columns
:
[
{
label
:
"操作"
,
width
:
"90"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
{
scope
.
row
.
receiveState
==
2
?
<
el
-
button
type
=
"text"
class
=
'successColor'
onClick
=
{()
=>
{
this
.
handleDetails
(
scope
.
row
);
}}
>
修改
<
/el-button>
:
<
el
-
button
type
=
"text"
class
=
'btnColor'
onClick
=
{()
=>
{
this
.
handleDetails
(
scope
.
row
);
}}
>
详情
<
/el-button
>
}
<
/div
>
)
label
:
"序号"
,
type
:
"index"
,
width
:
"50"
,
index
:
this
.
indexMethod
,
}
]
.
concat
(
data
.
columns
())
.
concat
([
{
label
:
"操作"
,
width
:
"90"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
{
scope
.
row
.
receiveState
==
2
?
<
el
-
button
type
=
"text"
class
=
'successColor'
onClick
=
{()
=>
{
this
.
handleDetails
(
scope
.
row
);
}}
>
修改
<
/el-button>
:
<
el
-
button
type
=
"text"
class
=
'btnColor'
onClick
=
{()
=>
{
this
.
handleDetails
(
scope
.
row
);
}}
>
详情
<
/el-button
>
}
<
/div
>
)
}
}
]),
// 表格列表数据
total
:
0
,
data
:
[],
},
// 分页
pageData
:
{
total
:
0
,
pageSize
:
10
,
current
:
1
},
title
:
""
,
};
},
methods
:
{
//截止日期变化
endTimeChange
(
val
)
{
this
.
form
.
receiveEndTime
=
timeFormat
(
new
Date
(
val
),
true
)
},
// 初始化数据
queryClick
()
{
getReceiveDataReportPage
({
...
this
.
form
,
...
this
.
formData
}).
then
(
(
res
)
=>
{
if
(
res
.
code
===
200
)
{
let
{
total
,
records
,
current
}
=
res
.
result
;
this
.
tableData
.
total
=
total
;
this
.
tableData
.
data
=
records
?
records
:
[];
this
.
pageData
.
current
=
current
}
]),
// 表格列表数据
total
:
0
,
data
:
[],
}
)
},
//
分页
pageData
:
{
t
otal
:
0
,
pageSize
:
10
,
current
:
1
//
重置
resetForm
()
{
t
his
.
$refs
.
ruleForm
.
resetFields
();
this
.
form
.
currentPage
=
1
this
.
queryClick
();
},
title
:
""
,
};
},
methods
:
{
//截止日期变化
endTimeChange
(
val
)
{
this
.
form
.
receiveEndTime
=
timeFormat
(
new
Date
(
val
),
true
)
},
// 初始化数据
queryClick
()
{
getReceiveDataReportPage
({
...
this
.
form
,
...
this
.
formData
}).
then
(
(
res
)
=>
{
if
(
res
.
code
===
200
)
{
let
{
total
,
records
,
current
}
=
res
.
result
;
this
.
tableData
.
total
=
total
;
this
.
tableData
.
data
=
records
?
records
:
[];
this
.
pageData
.
current
=
current
}
}
)
},
// 重置
resetForm
()
{
this
.
$refs
.
ruleForm
.
resetFields
();
this
.
form
.
currentPage
=
1
this
.
queryClick
();
},
featchData
()
{
this
.
queryClick
();
},
// 结果
handleResult
(
row
)
{
this
.
$popupDialog
(
'响应结果'
,
'views/jsbwcx/components/result'
,
row
)
},
// 详情
handleDetails
(
row
)
{
if
(
row
.
rectypeName
)
{
this
.
title
=
row
.
rectypeName
}
else
{
let
Title
=
''
this
.
dicData
[
'A21'
].
map
(
item
=>
{
if
(
item
.
DCODE
==
row
.
DJLX
||
item
.
DCODE
==
row
.
djlx
)
{
Title
=
item
.
DNAME
return
}
})
featchData
()
{
this
.
queryClick
();
},
// 结果
handleResult
(
row
)
{
this
.
$popupDialog
(
'响应结果'
,
'views/jsbwcx/components/result'
,
row
)
},
// 详情
handleDetails
(
row
)
{
if
(
row
.
rectypeName
)
{
this
.
title
=
row
.
rectypeName
}
else
{
let
Title
=
''
this
.
dicData
[
'A21'
].
map
(
item
=>
{
if
(
item
.
DCODE
==
row
.
DJLX
||
item
.
DCODE
==
row
.
djlx
)
{
Title
=
item
.
DNAME
return
}
})
this
.
dicData
[
'A8'
].
map
(
item
=>
{
if
(
item
.
DCODE
==
row
.
QLLX
||
item
.
DCODE
==
row
.
qllx
)
{
Title
+=
'-'
+
item
.
DNAME
return
}
})
this
.
title
=
Title
}
this
.
$refs
.
editLog
.
isShow
(
row
);
if
(
row
.
receiveState
==
2
)
{
this
.
$store
.
dispatch
(
'business/setReportLogEdit'
)
}
else
{
this
.
$store
.
dispatch
(
'business/setEdit'
)
}
},
this
.
dicData
[
'A8'
].
map
(
item
=>
{
if
(
item
.
DCODE
==
row
.
QLLX
||
item
.
DCODE
==
row
.
qllx
)
{
Title
+=
'-'
+
item
.
DNAME
return
}
})
this
.
title
=
Title
}
this
.
$refs
.
editLog
.
isShow
(
row
);
if
(
row
.
receiveState
==
2
)
{
this
.
$store
.
dispatch
(
'business/setReportLogEdit'
)
}
else
{
this
.
$store
.
dispatch
(
'business/setEdit'
)
}
},
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
.lastdom
:nth-child
(
3
)
{
margin-bottom
:
0px
;
}
.lastdom
:nth-child
(
3
)
{
margin-bottom
:
0px
;
}
</
style
>
...
...
src/views/statistics/dataReceiveQuality/index.vue
View file @
cbf0620
...
...
@@ -101,7 +101,7 @@
]
},
// 表格数据
tableData
:
{
tableData
:
{
// 表格头部
columns
:
[
{
...
...
src/views/statistics/nullTermRatio/index.vue
View file @
cbf0620
...
...
@@ -99,7 +99,7 @@ export default {
]
},
// 表格数据
tableData
:
{
tableData
:
{
// 表格头部
columns
:
[
{
...
...
src/views/statistics/registerBookQuality/index.vue
View file @
cbf0620
...
...
@@ -110,8 +110,8 @@ export default {
{
required
:
true
,
message
:
"请选择结束日期"
,
trigger
:
"change"
},
]
},
// 表格数据
tableData
:
{
// 表格数据
tableData
:
{
// 表格头部
columns
:
[
{
...
...
src/views/sthj/components/editDialog.vue
View file @
cbf0620
<
template
>
<!-- 修改登簿日志弹窗 -->
<el-dialog
:close-on-click-modal=
"false"
top=
"0"
@
close=
"closeDialog"
custom-class=
"dialogBox entryJournal commonDialog editDialogBox mainCenter"
:visible
.
sync=
"dialogVisible"
width=
"90%"
>
<div
slot=
"title"
class=
"dialog_title"
ref=
"dialogTitle"
>
...
...
@@ -283,9 +284,11 @@ export default {
}
},
methods
:
{
// 关闭弹框事件
closeDialog
()
{
this
.
dialogVisible
=
false
;
},
// 展示弹框
isShow
(
item
)
{
this
.
title
=
'登薄日志('
+
item
.
ACCESSDATE
+
')'
this
.
titleName
=
'sjmx'
...
...
src/views/sthj/dbrzcx/index.vue
View file @
cbf0620
...
...
@@ -52,110 +52,110 @@
</div>
</
template
>
<
script
>
// 登簿日志查询
// 引入列表数据
import
{
datas
,
sendThis
}
from
"./data"
// 引入表格混入方法
import
tableMixin
from
"@/mixins/tableMixin.js"
;
import
{
getRecordLogPage
}
from
"@/api/recordLog.js"
;
import
{
mapGetters
}
from
'vuex'
//引入日期处理方法
import
{
timeFormat
}
from
"@/utils/operation"
;
// 引入弹框组件
import
editDialog
from
'../components/editDialog.vue'
export
default
{
components
:
{
editDialog
},
name
:
"dbrzcx"
,
mixins
:
[
tableMixin
],
computed
:
{
...
mapGetters
([
'dicData'
])
},
data
()
{
return
{
// 开始结束日期限制
pickerOptionsStart
:
{
disabledDate
:
(
time
)
=>
{
if
(
this
.
form
.
endTime
)
{
return
time
.
getTime
()
>=
new
Date
(
this
.
form
.
endTime
).
getTime
()
// 登簿日志查询
// 引入列表数据
import
{
datas
,
sendThis
}
from
"./data"
// 引入表格混入方法
import
tableMixin
from
"@/mixins/tableMixin.js"
;
import
{
getRecordLogPage
}
from
"@/api/recordLog.js"
;
import
{
mapGetters
}
from
'vuex'
//引入日期处理方法
import
{
timeFormat
}
from
"@/utils/operation"
;
// 引入弹框组件
import
editDialog
from
'../components/editDialog.vue'
export
default
{
components
:
{
editDialog
},
name
:
"dbrzcx"
,
mixins
:
[
tableMixin
],
computed
:
{
...
mapGetters
([
'dicData'
])
},
data
()
{
return
{
// 开始结束日期限制
pickerOptionsStart
:
{
disabledDate
:
(
time
)
=>
{
if
(
this
.
form
.
endTime
)
{
return
time
.
getTime
()
>=
new
Date
(
this
.
form
.
endTime
).
getTime
()
}
}
}
},
// 结束日期限制
pickerOptionsEnd
:
{
disabledDate
:
(
time
)
=>
{
if
(
this
.
form
.
startTime
)
{
return
time
.
getTime
()
<
new
Date
(
this
.
form
.
startTime
).
getTime
()
}
,
// 结束日期限制
pickerOptionsEnd
:
{
disabledDate
:
(
time
)
=>
{
if
(
this
.
form
.
startTime
)
{
return
time
.
getTime
()
<
new
Date
(
this
.
form
.
startTime
).
getTime
()
}
}
},
// 表单
form
:
{
areacode
:
''
,
startTime
:
''
,
endTime
:
''
,
currentPage
:
1
},
// 分页
pageData
:
{
total
:
0
,
pageSize
:
10
,
current
:
1
},
// 表格数据
tableData
:
{
// 表头
columns
:
[
{
label
:
"序号"
,
type
:
"index"
,
width
:
"50"
,
index
:
this
.
indexMethod
,
}
]
.
concat
(
datas
.
columns
()),
// 列表
data
:
[],
total
:
0
,
}
}
},
mounted
()
{
sendThis
(
this
);
},
methods
:
{
//截止日期变化
endTimeChange
(
val
)
{
this
.
form
.
endTime
=
timeFormat
(
new
Date
(
val
),
true
)
},
// 表单
form
:
{
areacode
:
''
,
startTime
:
''
,
endTime
:
''
,
currentPage
:
1
featchData
()
{
getRecordLogPage
({
...
this
.
form
}).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
let
{
records
,
total
,
current
}
=
res
.
result
this
.
tableData
.
data
=
records
?
records
:
[]
this
.
tableData
.
total
=
total
?
total
:
0
this
.
pageData
.
current
=
current
}
})
},
//
分页
pageData
:
{
t
otal
:
0
,
pageSize
:
10
,
current
:
1
//
重置
resetForm
()
{
t
his
.
$refs
.
ruleForm
.
resetFields
();
this
.
form
.
currentPage
=
1
this
.
featchData
();
},
// table数据
tableData
:
{
// 表头
columns
:
[
{
label
:
"序号"
,
type
:
"index"
,
width
:
"50"
,
index
:
this
.
indexMethod
,
}
]
.
concat
(
datas
.
columns
()),
// 列表
data
:
[],
total
:
0
,
// 编辑
handleEdit
(
row
)
{
this
.
$refs
.
editLog
.
isShow
(
row
);
this
.
$store
.
dispatch
(
'business/setReportLogEdit'
)
}
}
},
mounted
()
{
sendThis
(
this
);
},
methods
:
{
//截止日期变化
endTimeChange
(
val
)
{
this
.
form
.
endTime
=
timeFormat
(
new
Date
(
val
),
true
)
},
featchData
()
{
getRecordLogPage
({
...
this
.
form
}).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
let
{
records
,
total
,
current
}
=
res
.
result
this
.
tableData
.
data
=
records
?
records
:
[]
this
.
tableData
.
total
=
total
?
total
:
0
this
.
pageData
.
current
=
current
}
})
},
// 重置
resetForm
()
{
this
.
$refs
.
ruleForm
.
resetFields
();
this
.
form
.
currentPage
=
1
this
.
featchData
();
},
// 编辑
handleEdit
(
row
)
{
this
.
$refs
.
editLog
.
isShow
(
row
);
this
.
$store
.
dispatch
(
'business/setReportLogEdit'
)
destroyed
()
{
this
.
$store
.
dispatch
(
'business/setEdit'
)
}
},
destroyed
()
{
this
.
$store
.
dispatch
(
'business/setEdit'
)
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"./index.scss"
;
@import
"./index.scss"
;
</
style
>
...
...
src/views/sthj/sbbwcx/index.vue
View file @
cbf0620
...
...
@@ -85,160 +85,160 @@
</div>
</
template
>
<
script
>
// 上报报文查询
// 引入表头数据
import
{
datas
,
sendThis
}
from
"./data"
;
// 引入表格混入方法
import
tableMixin
from
"@/mixins/tableMixin.js"
;
// 引入详情弹框
import
dataDetails
from
"@/components/EditDialog"
;
import
{
getDataReportPage
}
from
"@/api/dataReport.js"
;
//引入日期处理方法
import
{
timeFormat
}
from
"@/utils/operation"
;
export
default
{
name
:
"sbbwcx"
,
mixins
:
[
tableMixin
],
// 注册组件
components
:
{
dataDetails
,
},
data
()
{
return
{
isShow
:
false
,
// 开始结束日期限制
pickerOptionsStart
:
{
disabledDate
:
(
time
)
=>
{
if
(
this
.
form
.
exchangeEndTime
)
{
return
time
.
getTime
()
>=
new
Date
(
this
.
form
.
exchangeEndTime
).
getTime
();
}
// 上报报文查询
// 引入表头数据
import
{
datas
,
sendThis
}
from
"./data"
;
// 引入表格混入方法
import
tableMixin
from
"@/mixins/tableMixin.js"
;
// 引入详情弹框
import
dataDetails
from
"@/components/EditDialog"
;
import
{
getDataReportPage
}
from
"@/api/dataReport.js"
;
//引入日期处理方法
import
{
timeFormat
}
from
"@/utils/operation"
;
export
default
{
name
:
"sbbwcx"
,
mixins
:
[
tableMixin
],
// 注册组件
components
:
{
dataDetails
,
},
data
()
{
return
{
isShow
:
false
,
// 开始结束日期限制
pickerOptionsStart
:
{
disabledDate
:
(
time
)
=>
{
if
(
this
.
form
.
exchangeEndTime
)
{
return
time
.
getTime
()
>=
new
Date
(
this
.
form
.
exchangeEndTime
).
getTime
();
}
},
},
},
// 结束日期限制
pickerOptionsEnd
:
{
disabledDate
:
(
time
)
=>
{
if
(
this
.
form
.
exchangeStartTime
)
{
return
time
.
getTime
()
<
new
Date
(
this
.
form
.
exchangeStartTime
).
getTime
();
}
// 结束日期限制
pickerOptionsEnd
:
{
disabledDate
:
(
time
)
=>
{
if
(
this
.
form
.
exchangeStartTime
)
{
return
time
.
getTime
()
<
new
Date
(
this
.
form
.
exchangeStartTime
).
getTime
();
}
}
,
},
},
// 头部搜索
form
:
{
qxdm
:
""
,
// 行政区
exchangeStartTime
:
""
,
// 开始日期
exchangeEndTime
:
""
,
// 结束日期
hjjg
:
""
,
//汇交状态
bdcdyh
:
""
,
// 不动产单元号
ywh
:
""
,
// 业务号
qllx
:
""
,
// 权利类型
djlx
:
""
,
// 登记类型
jcjg
:
""
,
// 检查结果
rkjg
:
""
,
//入库结果
currentPage
:
1
},
// 分页
pageData
:
{
total
:
0
,
pageSize
:
10
,
current
:
1
},
// table数据
tableData
:
{
// 表头数据
columns
:
[
{
label
:
"序号"
,
type
:
"index"
,
width
:
"50"
,
index
:
this
.
indexMethod
,
}
]
.
concat
(
datas
.
columns
().
concat
([
// 头部搜索
form
:
{
qxdm
:
""
,
// 行政区
exchangeStartTime
:
""
,
// 开始日期
exchangeEndTime
:
""
,
// 结束日期
hjjg
:
""
,
//汇交状态
bdcdyh
:
""
,
// 不动产单元号
ywh
:
""
,
// 业务号
qllx
:
""
,
// 权利类型
djlx
:
""
,
// 登记类型
jcjg
:
""
,
// 检查结果
rkjg
:
""
,
//入库结果
currentPage
:
1
},
// 分页
pageData
:
{
total
:
0
,
pageSize
:
10
,
current
:
1
},
// 表格数据
tableData
:
{
// 表头数据
columns
:
[
{
label
:
"操作"
,
width
:
"80"
,
fixed
:
"right"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
{
scope
.
row
.
exchangeState
==
2
?
<
el
-
button
type
=
"text"
class
=
'successColor'
onClick
=
{()
=>
{
this
.
handleDetail
(
scope
.
row
);
}}
>
修改
<
/el-button>
:
<
el
-
button
class
=
'btnColor'
type
=
"text"
onClick
=
{()
=>
{
this
.
handleDetail
(
scope
.
row
);
}}
>
详情
<
/el-button
>
}
<
/div
>
);
},
label
:
"序号"
,
type
:
"index"
,
width
:
"50"
,
index
:
this
.
indexMethod
,
}
])),
total
:
0
,
data
:
[],
},
title
:
""
,
};
},
mounted
()
{
sendThis
(
this
);
},
methods
:
{
//截止日期变化
endTimeChange
(
val
)
{
this
.
form
.
exchangeEndTime
=
timeFormat
(
new
Date
(
val
),
true
)
},
// 初始化数据
featchData
()
{
getDataReportPage
({
...
this
.
form
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
let
{
total
,
records
,
current
}
=
res
.
result
;
this
.
tableData
.
total
=
total
;
this
.
tableData
.
data
=
records
?
records
:
[];
this
.
pageData
.
current
=
current
}
});
]
.
concat
(
datas
.
columns
().
concat
([
{
label
:
"操作"
,
width
:
"80"
,
fixed
:
"right"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
{
scope
.
row
.
exchangeState
==
2
?
<
el
-
button
type
=
"text"
class
=
'successColor'
onClick
=
{()
=>
{
this
.
handleDetail
(
scope
.
row
);
}}
>
修改
<
/el-button>
:
<
el
-
button
class
=
'btnColor'
type
=
"text"
onClick
=
{()
=>
{
this
.
handleDetail
(
scope
.
row
);
}}
>
详情
<
/el-button
>
}
<
/div
>
);
},
}
])),
total
:
0
,
data
:
[],
},
title
:
""
,
};
},
// 上报
handleEscalation
()
{
},
// 详情
handleDetail
(
row
)
{
this
.
title
=
row
.
rectypeName
;
this
.
$refs
.
editLog
.
isShow
(
row
);
if
(
row
.
exchangeState
==
2
)
{
this
.
$store
.
dispatch
(
'business/setReportLogEdit'
)
}
else
{
this
.
$store
.
dispatch
(
'business/setEdit'
)
}
mounted
()
{
sendThis
(
this
);
},
// 重置
resetForm
()
{
this
.
$refs
.
ruleForm
.
resetFields
();
this
.
form
.
exchangeEndTime
=
""
this
.
form
.
currentPage
=
1
this
.
featchData
();
methods
:
{
//截止日期变化
endTimeChange
(
val
)
{
this
.
form
.
exchangeEndTime
=
timeFormat
(
new
Date
(
val
),
true
)
},
// 初始化数据
featchData
()
{
getDataReportPage
({
...
this
.
form
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
let
{
total
,
records
,
current
}
=
res
.
result
;
this
.
tableData
.
total
=
total
;
this
.
tableData
.
data
=
records
?
records
:
[];
this
.
pageData
.
current
=
current
}
});
},
// 上报
handleEscalation
()
{
},
// 详情
handleDetail
(
row
)
{
this
.
title
=
row
.
rectypeName
;
this
.
$refs
.
editLog
.
isShow
(
row
);
if
(
row
.
exchangeState
==
2
)
{
this
.
$store
.
dispatch
(
'business/setReportLogEdit'
)
}
else
{
this
.
$store
.
dispatch
(
'business/setEdit'
)
}
},
// 重置
resetForm
()
{
this
.
$refs
.
ruleForm
.
resetFields
();
this
.
form
.
exchangeEndTime
=
""
this
.
form
.
currentPage
=
1
this
.
featchData
();
},
},
},
destroyed
()
{
this
.
$store
.
dispatch
(
'business/setEdit'
)
destroyed
()
{
this
.
$store
.
dispatch
(
'business/setEdit'
)
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
//
引入页面公共样式
@import
"./index.scss"
;
//
引入页面公共样式
@import
"./index.scss"
;
</
style
>
...
...
src/views/sthj/ywjr/edit-dialog.vue
View file @
cbf0620
...
...
@@ -146,12 +146,14 @@
}
})
},
// 重置
resetForm
()
{
this
.
dialogForm
=
{
roleName
:
''
,
}
this
.
$refs
.
form
.
resetFields
()
},
// 关闭
close
()
{
this
.
resetForm
()
this
.
$emit
(
'input'
,
false
)
...
...
src/views/sthj/ywjr/index.vue
View file @
cbf0620
...
...
@@ -2,7 +2,7 @@
<div
class=
"from-clues"
>
<div
class=
"from-clues-header"
>
<el-form
ref=
"ruleForm"
:model=
"form"
label-width=
"100px"
>
<!-- 判断进入监管还是上报系统 -->
<!-- 判断进入监管还是上报系统 -->
<el-form-item
v-if=
"BASE_API.THEME=='jg'"
>
<Breadcrumb
/>
</el-form-item>
...
...
@@ -98,6 +98,7 @@
endTime
:
''
,
currentPage
:
1
},
// 表格数据
tableData
:
{
columns
:
[
{
...
...
src/views/system/components/addTask.vue
View file @
cbf0620
<
template
>
<!-- 编辑 -->
<dialogBox
ref=
"addTask"
width=
"5
0%"
:isMain=
"true"
@
submitForm=
"handleSubmit"
@
closeDialog=
"handleClose"
<dialogBox
ref=
"addTask"
class=
"scheduledtaskdialog"
width=
"4
0%"
:isMain=
"true"
@
submitForm=
"handleSubmit"
@
closeDialog=
"handleClose"
v-model=
"myValue"
customClass=
"editValidRule"
title=
"新增定时任务"
>
<div
class=
"dialogCon"
style=
""
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"100px"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-row>
<el-col>
<el-form-item
label=
"任务名"
prop=
"jobName"
>
<el-input
v-model=
"ruleForm.jobName"
placeholder=
"任务名"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-col>
<el-form-item
label=
"类名"
prop=
"beanName"
>
<el-input
v-model=
"ruleForm.beanName"
placeholder=
"类名"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-col>
<el-form-item
label=
"cron表达式"
prop=
"cronExpression"
>
<el-input
v-model=
"ruleForm.cronExpression"
placeholder=
"cron表达式"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-col>
<el-form-item
label=
"方法名"
prop=
"methodName"
>
<el-input
v-model=
"ruleForm.methodName"
placeholder=
"方法名"
></el-input>
</el-form-item>
...
...
@@ -31,7 +29,7 @@
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"任务描述"
prop=
"remark"
>
<el-input
v-model=
"ruleForm.remark"
type=
"textarea"
:rows=
"
2
"
placeholder=
"任务描述"
></el-input>
<el-input
v-model=
"ruleForm.remark"
type=
"textarea"
:rows=
"
4
"
placeholder=
"任务描述"
></el-input>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -42,110 +40,112 @@
</
template
>
<
script
>
import
sjsbTask
from
'@/api/sjsbTask.js'
export
default
{
props
:
{
value
:
{
type
:
Boolean
,
default
:
false
},
taskData
:
{
type
:
Object
,
default
:
null
}
},
data
()
{
return
{
myValue
:
this
.
value
,
ruleForm
:
{
jobName
:
''
,
cronExpression
:
''
,
beanName
:
''
,
methodName
:
''
,
methodParams
:
''
,
remark
:
''
},
rules
:
{
jobName
:
[
{
required
:
true
,
message
:
'任务名'
,
trigger
:
'blur'
}
],
cronExpression
:
[
{
required
:
true
,
message
:
'cron表达式'
,
trigger
:
'blur'
}
],
beanName
:
[
{
required
:
true
,
message
:
'任务类名'
,
trigger
:
'blur'
}
],
methodName
:
[
{
required
:
true
,
message
:
'任务方法名'
,
trigger
:
'blur'
}
]
},
message
:
''
}
},
methods
:
{
handleSubmit
()
{
let
_this
=
this
this
.
$refs
[
'ruleForm'
].
validate
(
async
(
valid
)
=>
{
if
(
valid
)
{
if
(
!
_this
.
taskData
)
{
try
{
let
res
=
await
sjsbTask
.
sjsbTaskSave
(
_this
.
ruleForm
)
if
(
res
.
code
==
200
)
{
_this
.
loading
=
false
_this
.
$message
({
message
:
res
.
message
,
type
:
'success'
})
_this
.
handleClose
()
_this
.
$parent
.
featchData
()
}
}
catch
(
error
)
{
_this
.
message
=
error
_this
.
$refs
.
msg
.
messageShow
()
}
}
else
{
try
{
let
res
=
await
sjsbTask
.
updateCron
(
_this
.
ruleForm
)
if
(
res
.
code
==
200
)
{
_this
.
$message
({
message
:
res
.
message
,
type
:
'success'
})
_this
.
handleClose
()
_this
.
$parent
.
featchData
()
}
}
catch
(
error
)
{
_this
.
message
=
error
_this
.
$refs
.
msg
.
messageShow
()
}
}
}
else
{
this
.
$message
(
'请检查表单完整性'
)
return
false
;
}
})
},
handleClose
()
{
this
.
$emit
(
"input"
,
false
);
}
},
watch
:
{
value
(
val
)
{
this
.
myValue
=
val
import
sjsbTask
from
'@/api/sjsbTask.js'
export
default
{
props
:
{
value
:
{
type
:
Boolean
,
default
:
false
},
taskData
:
{
type
:
Object
,
default
:
null
}
},
taskData
(
val
)
{
if
(
val
!=
null
)
{
this
.
ruleForm
=
val
}
else
{
this
.
ruleForm
=
{
data
()
{
return
{
myValue
:
this
.
value
,
ruleForm
:
{
jobName
:
''
,
cronExpression
:
''
,
beanName
:
''
,
methodName
:
''
,
methodParams
:
''
,
remark
:
''
},
rules
:
{
jobName
:
[
{
required
:
true
,
message
:
'任务名'
,
trigger
:
'blur'
}
],
cronExpression
:
[
{
required
:
true
,
message
:
'cron表达式'
,
trigger
:
'blur'
}
],
beanName
:
[
{
required
:
true
,
message
:
'任务类名'
,
trigger
:
'blur'
}
],
methodName
:
[
{
required
:
true
,
message
:
'任务方法名'
,
trigger
:
'blur'
}
]
},
message
:
''
}
},
methods
:
{
handleSubmit
()
{
let
_this
=
this
this
.
$refs
[
'ruleForm'
].
validate
(
async
(
valid
)
=>
{
if
(
valid
)
{
if
(
!
_this
.
taskData
)
{
try
{
let
res
=
await
sjsbTask
.
sjsbTaskSave
(
_this
.
ruleForm
)
if
(
res
.
code
==
200
)
{
_this
.
loading
=
false
_this
.
$message
({
message
:
res
.
message
,
type
:
'success'
})
_this
.
handleClose
()
_this
.
$parent
.
featchData
()
}
}
catch
(
error
)
{
_this
.
message
=
error
_this
.
$refs
.
msg
.
messageShow
()
}
}
else
{
try
{
let
res
=
await
sjsbTask
.
updateCron
(
_this
.
ruleForm
)
if
(
res
.
code
==
200
)
{
_this
.
$message
({
message
:
res
.
message
,
type
:
'success'
})
_this
.
handleClose
()
_this
.
$parent
.
featchData
()
}
}
catch
(
error
)
{
_this
.
message
=
error
_this
.
$refs
.
msg
.
messageShow
()
}
}
}
else
{
this
.
$message
(
'请检查表单完整性'
)
return
false
;
}
})
},
handleClose
()
{
this
.
$emit
(
"input"
,
false
);
}
},
watch
:
{
value
(
val
)
{
this
.
myValue
=
val
},
taskData
(
val
)
{
if
(
val
!=
null
)
{
this
.
ruleForm
=
val
}
else
{
this
.
ruleForm
=
{
jobName
:
''
,
cronExpression
:
''
,
beanName
:
''
,
methodName
:
''
,
methodParams
:
''
,
remark
:
''
}
}
}
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
</
style
>
...
...
src/views/system/components/editValidRule.vue
View file @
cbf0620
...
...
@@ -30,179 +30,180 @@
</
template
>
<
script
>
import
ruleConfig
from
'@/api/ruleConfig'
export
default
{
props
:
{
ruleData
:
Object
,
},
data
()
{
return
{
message
:
''
,
ruleForm
:
{
DATATABLE
:
''
,
CHINESETABLE
:
''
,
SOLEURL
:
''
},
tableData
:
{
column
:
[
{
width
:
'60'
,
renderHeader
:
(
h
,
scope
)
=>
{
return
<
i
class
=
"el-icon-plus"
onClick
=
{()
=>
{
this
.
handleAdd
()
}}
style
=
"cursor:pointer;color:#409EFF"
>
增加
<
/i
>
import
ruleConfig
from
'@/api/ruleConfig'
export
default
{
props
:
{
ruleData
:
Object
,
},
data
()
{
return
{
message
:
''
,
ruleForm
:
{
DATATABLE
:
''
,
CHINESETABLE
:
''
,
SOLEURL
:
''
},
// 表格数据
tableData
:
{
column
:
[
{
width
:
'60'
,
renderHeader
:
(
h
,
scope
)
=>
{
return
<
i
class
=
"el-icon-plus"
onClick
=
{()
=>
{
this
.
handleAdd
()
}}
style
=
"cursor:pointer;color:#409EFF"
>
增加
<
/i
>
},
render
:
(
h
,
scope
)
=>
{
return
(
<
i
class
=
"el-icon-minus"
onClick
=
{()
=>
{
this
.
handleMinus
(
scope
.
$index
,
scope
.
row
)
}}
style
=
"cursor:pointer"
><
/i
>
)
}
},
{
prop
:
'FIELD'
,
label
:
'字段名'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
el
-
input
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onInput
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
><
/el-input
>
)
}
},
{
prop
:
'CHINESENAME'
,
label
:
'中文名称'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
el
-
input
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onInput
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
><
/el-input
>
)
}
},
render
:
(
h
,
scope
)
=>
{
return
(
<
i
class
=
"el-icon-minus"
onClick
=
{()
=>
{
this
.
handleMinus
(
scope
.
$index
,
scope
.
row
)
}}
style
=
"cursor:pointer"
><
/i
>
)
// 是否必填
{
prop
:
'REQUIRED'
,
label
:
'是否必填'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
el
-
checkbox
v
-
model
=
{
scope
.
row
[
scope
.
column
.
property
]}
true
-
label
=
{
'1'
}
false
-
label
=
{
'0'
}
>
必填
<
/el-checkbox
>
)
}
},
// 校验表达式
{
prop
:
'EXPRESSION'
,
label
:
'校验表达式'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
el
-
select
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
clearable
onChange
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
>
{
this
.
tagOptions
.
map
(
option
=>
{
return
(
<
el
-
option
label
=
{
option
.
label
}
value
=
{
option
.
value
}
><
/el-option
>
)
})
}
<
/el-select
>
)
}
},
{
prop
:
'MESSAGE'
,
label
:
'提示信息'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
el
-
input
placeholder
=
"提示信息"
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onInput
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
><
/el-input
>
)
}
}
],
data
:
[]
},
tagOptions
:
[
{
label
:
'手机号'
,
value
:
'^[1][3,4,5,6,7,8,9][0-9]{9}$'
},
{
prop
:
'FIELD'
,
label
:
'字段名'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
el
-
input
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onInput
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
><
/el-input
>
)
}
label
:
'身份证'
,
value
:
'^[1-9]\\d{7}((0\\d)|(1[0-2]))(([0|1|2]\\d)|3[0-1])\\d{3}$|^[1-9]\\d{5}[1-9]\\d{3}((0\\d)|(1[0-2]))(([0|1|2]\\d)|3[0-1])\\d{3}([0-9]|X)$'
},
{
prop
:
'CHINESENAME'
,
label
:
'中文名称'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
el
-
input
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onInput
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
><
/el-input
>
)
}
label
:
'军官证'
,
value
:
'^[\\u4E00-\\u9FA5](字第)([0-9a-zA-Z]{4,8})(号?)$'
},
// 是否必填
{
prop
:
'REQUIRED'
,
label
:
'是否必填'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
el
-
checkbox
v
-
model
=
{
scope
.
row
[
scope
.
column
.
property
]}
true
-
label
=
{
'1'
}
false
-
label
=
{
'0'
}
>
必填
<
/el-checkbox
>
)
}
label
:
'护照'
,
value
:
'^([a-zA-z]|[0-9]){5,17}$'
},
// 校验表达式
{
prop
:
'EXPRESSION'
,
label
:
'校验表达式'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
el
-
select
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
clearable
onChange
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
>
{
this
.
tagOptions
.
map
(
option
=>
{
return
(
<
el
-
option
label
=
{
option
.
label
}
value
=
{
option
.
value
}
><
/el-option
>
)
})
}
<
/el-select
>
)
}
label
:
'港澳身份证'
,
value
:
'^([A-Z]\\d{6,10}(\\(\\w{1}\\))?)$'
},
{
prop
:
'MESSAGE'
,
label
:
'提示信息'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
el
-
input
placeholder
=
"提示信息"
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onInput
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
><
/el-input
>
)
}
label
:
'台湾身份证'
,
value
:
'^\\d{8}|^[a-zA-Z0-9]{10}|^\\d{18}$'
},
{
label
:
'营业执照'
,
value
:
'(^(?:(?![IOZSV])[\\dA-Z]){2}\\d{6}(?:(?![IOZSV])[\\dA-Z]){10}$)|(^\\d{15}$)'
},
{
label
:
'户口簿'
,
value
:
'^\\d{9}$'
}
],
data
:
[]
},
tagOptions
:
[
{
label
:
'手机号'
,
value
:
'^[1][3,4,5,6,7,8,9][0-9]{9}$'
},
{
label
:
'身份证'
,
value
:
'^[1-9]\\d{7}((0\\d)|(1[0-2]))(([0|1|2]\\d)|3[0-1])\\d{3}$|^[1-9]\\d{5}[1-9]\\d{3}((0\\d)|(1[0-2]))(([0|1|2]\\d)|3[0-1])\\d{3}([0-9]|X)$'
},
{
label
:
'军官证'
,
value
:
'^[\\u4E00-\\u9FA5](字第)([0-9a-zA-Z]{4,8})(号?)$'
},
{
label
:
'护照'
,
value
:
'^([a-zA-z]|[0-9]){5,17}$'
},
{
label
:
'港澳身份证'
,
value
:
'^([A-Z]\\d{6,10}(\\(\\w{1}\\))?)$'
},
{
label
:
'台湾身份证'
,
value
:
'^\\d{8}|^[a-zA-Z0-9]{10}|^\\d{18}$'
},
{
label
:
'营业执照'
,
value
:
'(^(?:(?![IOZSV])[\\dA-Z]){2}\\d{6}(?:(?![IOZSV])[\\dA-Z]){10}$)|(^\\d{15}$)'
},
{
label
:
'户口簿'
,
value
:
'^\\d{9}$'
rules
:
{
DCODE
:
[
{
required
:
true
,
message
:
'字典类型编码'
,
trigger
:
'blur'
}
],
}
],
rules
:
{
DCODE
:
[
{
required
:
true
,
message
:
'字典类型编码'
,
trigger
:
'blur'
}
],
}
}
},
methods
:
{
isShow
()
{
setTimeout
(()
=>
{
this
.
ruleForm
=
this
.
ruleData
this
.
tableData
.
data
=
this
.
ruleData
.
sysywsjbfieldlist
},
0
)
this
.
$refs
.
validRule
.
isShow
()
},
handleEdit
(
scope
)
{
this
.
$set
(
scope
.
row
,
'_edit'
,
true
)
},
handleAdd
()
{
this
.
tableData
.
data
.
push
({
field
:
''
,
chinesename
:
''
,
required
:
'1'
,
expression
:
null
,
message
:
''
})
},
handleMinus
(
index
,
row
)
{
this
.
tableData
.
data
.
splice
(
index
,
1
);
},
async
handleSubmit
()
{
this
.
ruleForm
.
sysYwsjbFieldList
=
this
.
tableData
.
data
try
{
let
res
=
await
ruleConfig
.
editSysYwsjbWithSysYwsjbField
(
this
.
ruleForm
)
if
(
res
.
code
==
200
)
{
this
.
$message
({
message
:
res
.
message
,
type
:
'success'
})
this
.
handleClose
()
this
.
$parent
.
featchData
()
methods
:
{
isShow
()
{
setTimeout
(()
=>
{
this
.
ruleForm
=
this
.
ruleData
this
.
tableData
.
data
=
this
.
ruleData
.
sysywsjbfieldlist
},
0
)
this
.
$refs
.
validRule
.
isShow
()
},
handleEdit
(
scope
)
{
this
.
$set
(
scope
.
row
,
'_edit'
,
true
)
},
handleAdd
()
{
this
.
tableData
.
data
.
push
({
field
:
''
,
chinesename
:
''
,
required
:
'1'
,
expression
:
null
,
message
:
''
})
},
handleMinus
(
index
,
row
)
{
this
.
tableData
.
data
.
splice
(
index
,
1
);
},
async
handleSubmit
()
{
this
.
ruleForm
.
sysYwsjbFieldList
=
this
.
tableData
.
data
try
{
let
res
=
await
ruleConfig
.
editSysYwsjbWithSysYwsjbField
(
this
.
ruleForm
)
if
(
res
.
code
==
200
)
{
this
.
$message
({
message
:
res
.
message
,
type
:
'success'
})
this
.
handleClose
()
this
.
$parent
.
featchData
()
}
}
catch
(
error
)
{
this
.
message
=
error
this
.
$refs
.
msg
.
messageShow
()
}
}
catch
(
error
)
{
this
.
message
=
error
this
.
$refs
.
msg
.
messageShow
()
}
},
handleClose
()
{
this
.
$refs
[
'ruleForm'
].
resetFields
();
this
.
$refs
.
validRule
.
isHide
()
},
handleClose
()
{
this
.
$refs
[
'ruleForm'
].
resetFields
();
this
.
$refs
.
validRule
.
isHide
()
}
}
}
}
</
script
>
<
style
rel=
"stylesheet/less"
lang=
"less"
scoped
></
style
>
...
...
src/views/system/dictionaries/components/editDialog.vue
View file @
cbf0620
...
...
@@ -287,7 +287,6 @@
});
},
handleMinus
(
index
,
row
)
{
console
.
log
(
this
.
tableData
,
row
.
dictid
,
'dictid'
);
removeTreeListItem
(
this
.
tableData
,
row
.
dictid
,
'dictid'
);
this
.
tableData
=
judgeSort
(
this
.
tableData
)
this
.
key
++
;
...
...
src/views/system/dictionaries/dictionaries.vue
View file @
cbf0620
...
...
@@ -62,6 +62,7 @@
dcode
:
''
,
dname
:
''
},
// 表格数据
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
().
concat
([
...
...
src/views/system/menus/edit-dialog.vue
View file @
cbf0620
<
template
>
<!-- 菜单添加编辑弹框 -->
<dialogBox
class=
"PersonnelDialog"
:isMain=
"true"
width=
"40%"
:title=
"title"
@
closeDialog=
"close"
@
submitForm=
"submitForm"
v-model=
"myValue"
>
<div
class=
"dialogCon"
>
...
...
@@ -209,6 +210,7 @@
}
})
},
// 重置
resetForm
()
{
this
.
$refs
.
form
.
resetFields
()
this
.
form
=
{
...
...
@@ -216,6 +218,7 @@
code
:
''
}
},
// 关闭
close
()
{
this
.
resetForm
()
this
.
$emit
(
'input'
,
false
)
...
...
src/views/system/menus/index.vue
View file @
cbf0620
<
template
>
<!-- 菜单管理 -->
<div
class=
"from-clues"
>
<div
class=
"from-clues-header"
>
<el-form
ref=
"ruleForm"
:model=
"form"
label-width=
"100px"
>
...
...
@@ -29,16 +30,13 @@
</div>
</
template
>
<
script
>
// 定时任务
import
data
from
"./data"
;
import
{
deleteAction
,
getAction
,
api
,
httpAction
}
from
"@/api/manageApi"
;
import
EditDialog
from
"./edit-dialog.vue"
;
import
{
mapGetters
}
from
"vuex"
;
import
{
getMenuInfo
}
from
"@/api/user"
;
import
{
updateOrder
}
from
"@/api/orders"
import
{
judgeSort
}
from
"@/utils/operation"
;
import
{
judgeSort
}
from
"@/utils/operation"
;
export
default
{
name
:
"menus"
,
components
:
{
...
...
@@ -47,24 +45,14 @@
data
()
{
return
{
isDialog
:
false
,
tablelistData
:
[],
tablelistData
:
[],
//菜单数据
listData
:
[],
resourceCategoryId
:
""
,
taskData
:
null
,
form
:
{
menuName
:
""
,
},
title
:
""
,
queryParam
:
{},
selectType
:
"0"
,
queryName
:
""
,
organizationId
:
""
,
// 组织机构ID
departmentId
:
""
,
// 部门ID
departmentList
:
[],
// 部门列表
levelList
:
[],
// 职务级别
sexList
:
[],
selectionList
:
[],
title
:
""
,
//标题
// 表格数据
tableData
:
{
columns
:
[]
.
concat
(
data
.
columns
())
...
...
@@ -172,6 +160,7 @@
this
.
getTableList
()
}
},
// 数据处理方法
childrenFn
(
arr
,
key
)
{
const
that
=
this
;
let
searchTree
=
[];
...
...
src/views/system/roles/edit-dialog.vue
View file @
cbf0620
...
...
@@ -28,6 +28,7 @@
clearable
:rows=
"10"
type=
"textarea"
maxlength=
"30"
placeholder=
"备注"
/>
</el-form-item>
</el-col>
...
...
@@ -60,7 +61,6 @@
return
{
myValue
:
this
.
value
,
title
:
''
,
showAddEditDialog
:
false
,
menuType
:
''
,
roleId
:
''
,
sort
:
0
,
...
...
@@ -110,7 +110,7 @@
this
.
dialogForm
=
{
roleName
:
''
,
}
// this.showAddEditDialog = val
this
.
$emit
(
'ok'
)
}
else
{
this
.
$message
.
error
({
...
...
@@ -130,7 +130,6 @@
this
.
close
()
this
.
$emit
(
'ok'
)
// this.showAddEditDialog = val
this
.
$emit
(
'ok'
,
this
.
menuType
)
}
else
{
this
.
$message
.
error
({
...
...
@@ -146,12 +145,14 @@
}
})
},
// 重置
resetForm
()
{
this
.
dialogForm
=
{
roleName
:
''
,
}
this
.
$refs
.
form
.
resetFields
()
},
// 关闭
close
()
{
this
.
resetForm
()
this
.
$emit
(
'input'
,
false
)
...
...
src/views/system/roles/index.vue
View file @
cbf0620
...
...
@@ -103,6 +103,7 @@
],
selectionList
:
[],
// 表格数据
tableData
:
{
columns
:
[
{
...
...
src/views/system/roles/roleslistdiglog.vue
View file @
cbf0620
...
...
@@ -53,6 +53,7 @@
return
{
title
:
"人员配置"
,
visible
:
false
,
// 菜单表格数据
menutableData
:
{
column
:
[
{
...
...
@@ -83,6 +84,7 @@
},
]),
},
// 人员表格数据
usertableData
:
{
column
:
[
{
...
...
src/views/system/timedTask/index.vue
View file @
cbf0620
...
...
@@ -29,229 +29,231 @@
</div>
</
template
>
<
script
>
// 定时任务
import
data
from
"./data"
import
sjsbTask
from
'@/api/sjsbTask.js'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
addTask
from
'../components/addTask.vue'
export
default
{
name
:
"timedTask"
,
mixins
:
[
tableMixin
],
components
:
{
addTask
},
data
()
{
return
{
taskData
:
null
,
isDialog
:
false
,
form
:
{
jobName
:
''
,
currentPage
:
1
},
selectionList
:
[],
tableData
:
{
columns
:
[{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
,
index
:
this
.
indexMethod
,
}].
concat
(
data
.
columns
()).
concat
([
{
label
:
"操作"
,
width
:
230
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
size
=
"mini"
v
-
show
=
{
scope
.
row
.
jobStatus
===
0
}
class
=
'btnColor'
onClick
=
{()
=>
{
this
.
handleActive
(
scope
.
row
)
}}
>
激活
<
/el-button
>
<
el
-
button
type
=
"text"
size
=
"mini"
v
-
show
=
{
scope
.
row
.
jobStatus
===
-
1
}
class
=
'btnColor'
onClick
=
{()
=>
{
this
.
recover
(
scope
.
row
)
}}
>
恢复
<
/el-button
>
<
el
-
button
type
=
"text"
size
=
"mini"
class
=
'successColor'
onClick
=
{()
=>
{
this
.
handleEdit
(
scope
.
row
)
}}
>
编辑
<
/el-button
>
<
el
-
button
type
=
"text"
size
=
"mini"
class
=
'successColor'
v
-
show
=
{
scope
.
row
.
jobStatus
!==
-
1
}
onClick
=
{()
=>
{
this
.
handleDel
(
scope
.
row
)
}}
>
删除
<
/el-button
>
<
/div
>
);
// 定时任务
import
data
from
"./data"
import
sjsbTask
from
'@/api/sjsbTask.js'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
addTask
from
'../components/addTask.vue'
export
default
{
name
:
"timedTask"
,
mixins
:
[
tableMixin
],
components
:
{
addTask
},
data
()
{
return
{
taskData
:
null
,
isDialog
:
false
,
form
:
{
jobName
:
''
,
currentPage
:
1
},
selectionList
:
[],
// 表格数据
tableData
:
{
columns
:
[{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
,
index
:
this
.
indexMethod
,
}].
concat
(
data
.
columns
()).
concat
([
{
label
:
"操作"
,
width
:
230
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
size
=
"mini"
v
-
show
=
{
scope
.
row
.
jobStatus
===
0
}
class
=
'btnColor'
onClick
=
{()
=>
{
this
.
handleActive
(
scope
.
row
)
}}
>
激活
<
/el-button
>
<
el
-
button
type
=
"text"
size
=
"mini"
v
-
show
=
{
scope
.
row
.
jobStatus
===
-
1
}
class
=
'btnColor'
onClick
=
{()
=>
{
this
.
recover
(
scope
.
row
)
}}
>
恢复
<
/el-button
>
<
el
-
button
type
=
"text"
size
=
"mini"
class
=
'successColor'
onClick
=
{()
=>
{
this
.
handleEdit
(
scope
.
row
)
}}
>
编辑
<
/el-button
>
<
el
-
button
type
=
"text"
size
=
"mini"
class
=
'successColor'
v
-
show
=
{
scope
.
row
.
jobStatus
!==
-
1
}
onClick
=
{()
=>
{
this
.
handleDel
(
scope
.
row
)
}}
>
删除
<
/el-button
>
<
/div
>
);
},
},
}
,
])
,
data
:
[],
total
:
0
},
pageData
:
{
])
,
data
:
[]
,
total
:
0
},
// 分页
pageData
:
{
pageSize
:
15
,
current
:
1
,
}
}
},
methods
:
{
handleAdd
()
{
this
.
taskData
=
null
this
.
isDialog
=
true
},
resetSe
()
{
this
.
form
.
jobName
=
''
this
.
featchData
()
},
async
featchData
()
{
try
{
this
.
form
=
Object
.
assign
(
this
.
form
,
this
.
formData
)
let
{
result
}
=
await
sjsbTask
.
getTaskListByName
(
this
.
form
)
this
.
tableData
.
data
=
result
.
list
this
.
tableData
.
total
=
result
.
total
}
catch
(
error
)
{
this
.
message
=
error
pageSize
:
15
,
current
:
1
,
}
}
},
recover
(
row
)
{
this
.
$confirm
(
'此操将进行恢复操作, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
})
.
then
(()
=>
{
sjsbTask
.
recover
(
row
.
jobId
)
.
then
((
res
)
=>
{
if
((
res
.
code
=
200
))
{
this
.
$message
({
type
:
'success'
,
message
:
res
.
message
,
methods
:
{
handleAdd
()
{
this
.
taskData
=
null
this
.
isDialog
=
true
},
resetSe
()
{
this
.
form
.
jobName
=
''
this
.
featchData
()
},
async
featchData
()
{
try
{
this
.
form
=
Object
.
assign
(
this
.
form
,
this
.
formData
)
let
{
result
}
=
await
sjsbTask
.
getTaskListByName
(
this
.
form
)
this
.
tableData
.
data
=
result
.
list
this
.
tableData
.
total
=
result
.
total
}
catch
(
error
)
{
this
.
message
=
error
}
},
recover
(
row
)
{
this
.
$confirm
(
'此操将进行恢复操作, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
})
.
then
(()
=>
{
sjsbTask
.
recover
(
row
.
jobId
)
.
then
((
res
)
=>
{
if
((
res
.
code
=
200
))
{
this
.
$message
({
type
:
'success'
,
message
:
res
.
message
,
})
this
.
featchData
()
}
})
.
catch
((
error
)
=>
{
this
.
$alert
(
error
,
'提示'
,
{
confirmButtonText
:
'确定'
,
type
:
'error'
})
this
.
featchData
()
}
})
.
catch
((
error
)
=>
{
this
.
$alert
(
error
,
'提示'
,
{
confirmButtonText
:
'确定'
,
type
:
'error'
})
})
.
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消'
,
})
})
.
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消'
,
})
})
},
},
handleActive
(
row
)
{
this
.
$confirm
(
'此操将进行激活操作, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
})
.
then
(()
=>
{
sjsbTask
.
active
(
row
.
jobId
)
.
then
((
res
)
=>
{
if
((
res
.
code
=
200
))
{
this
.
$message
({
type
:
'success'
,
message
:
res
.
message
,
handleActive
(
row
)
{
this
.
$confirm
(
'此操将进行激活操作, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
})
.
then
(()
=>
{
sjsbTask
.
active
(
row
.
jobId
)
.
then
((
res
)
=>
{
if
((
res
.
code
=
200
))
{
this
.
$message
({
type
:
'success'
,
message
:
res
.
message
,
})
this
.
featchData
()
}
})
.
catch
((
error
)
=>
{
this
.
$alert
(
error
,
'提示'
,
{
confirmButtonText
:
'确定'
,
type
:
'error'
})
this
.
featchData
()
}
})
.
catch
((
error
)
=>
{
this
.
$alert
(
error
,
'提示'
,
{
confirmButtonText
:
'确定'
,
type
:
'error'
})
})
.
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消'
,
})
})
.
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消'
,
})
},
// 暂停
handleSuspend
(
row
)
{
this
.
$confirm
(
'此操将进行暂停操作, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
})
},
// 暂停
handleSuspend
(
row
)
{
this
.
$confirm
(
'此操将进行暂停操作, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消
'
,
type
:
'warning'
,
})
.
then
(()
=>
{
sjsbTask
.
pauseJob
(
row
.
id
)
.
then
((
res
)
=>
{
if
((
res
.
code
=
200
))
{
this
.
$
message
(
{
type
:
'success
'
,
message
:
res
.
message
,
.
then
(()
=>
{
sjsbTask
.
pauseJob
(
row
.
id
)
.
then
((
res
)
=>
{
if
((
res
.
code
=
200
))
{
this
.
$message
({
type
:
'success
'
,
message
:
res
.
message
,
})
this
.
featchData
()
}
})
.
catch
((
error
)
=>
{
this
.
$
alert
(
error
,
'提示'
,
{
confirmButtonText
:
'确定
'
,
type
:
'error'
})
this
.
featchData
()
}
})
.
catch
((
error
)
=>
{
this
.
$alert
(
error
,
'提示'
,
{
confirmButtonText
:
'确定'
,
type
:
'error'
})
})
.
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消'
,
})
})
.
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消'
,
})
},
handleEdit
(
row
)
{
this
.
taskData
=
row
this
.
isDialog
=
true
},
handleDel
(
row
)
{
this
.
$confirm
(
'此操将进行删除操作, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
})
},
handleEdit
(
row
)
{
this
.
taskData
=
row
this
.
isDialog
=
true
},
handleDel
(
row
)
{
this
.
$confirm
(
'此操将进行删除操作, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
})
.
then
(()
=>
{
sjsbTask
.
sjsbTaskRemove
(
row
.
jobId
)
.
then
((
res
)
=>
{
if
((
res
.
code
=
200
))
{
this
.
$message
({
type
:
'success'
,
message
:
res
.
message
,
.
then
(()
=>
{
sjsbTask
.
sjsbTaskRemove
(
row
.
jobId
)
.
then
((
res
)
=>
{
if
((
res
.
code
=
200
))
{
this
.
$message
({
type
:
'success'
,
message
:
res
.
message
,
})
this
.
featchData
()
}
})
.
catch
((
error
)
=>
{
this
.
$alert
(
error
,
'提示'
,
{
confirmButtonText
:
'确定'
,
type
:
'error'
})
this
.
featchData
()
}
})
.
catch
((
error
)
=>
{
this
.
$alert
(
error
,
'提示'
,
{
confirmButtonText
:
'确定'
,
type
:
'error'
})
})
.
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消'
,
})
})
.
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消'
,
})
})
}
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
//
@import
"~@/styles/mixin.scss"
;
//
@import
"~@/styles/mixin.scss"
;
</
style
>
...
...
src/views/system/users/edit-dialog.vue
View file @
cbf0620
...
...
@@ -179,12 +179,14 @@
}
})
},
// 重置
resetForm
()
{
this
.
form
=
{
sex
:
'0'
}
this
.
$refs
.
form
.
resetFields
()
},
// 关闭
close
()
{
this
.
resetForm
()
this
.
$emit
(
'input'
,
false
)
...
...
src/views/system/users/index.vue
View file @
cbf0620
<
template
>
<!-- 人员管理 -->
<div
class=
"from-clues"
>
<div
class=
"from-clues-header"
>
<el-form
ref=
"ruleForm"
:model=
"form"
label-width=
"100px"
>
...
...
@@ -65,21 +66,13 @@ export default {
data
()
{
return
{
isDialog
:
false
,
taskData
:
null
,
keyList
:
[],
form
:
{
loginName
:
""
,
name
:
""
,
code
:
""
,
},
queryParam
:
{},
selectType
:
"0"
,
queryName
:
""
,
organizationId
:
""
,
// 组织机构ID
departmentId
:
""
,
// 部门ID
departmentList
:
[],
// 部门列表
levelList
:
[],
// 职务级别
sexList
:
[],
typeOptions
:
[
{
value
:
"0"
,
...
...
@@ -100,7 +93,8 @@ export default {
],
selectionList
:
[],
tableData
:
{
// 表格数据
tableData
:
{
columns
:
[
{
label
:
"序号"
,
...
...
@@ -375,7 +369,6 @@ export default {
// 修改人员信息
handleEdit
(
row
)
{
console
.
log
(
"rowwwww"
,
row
);
this
.
isDialog
=
true
this
.
$refs
.
dialogForm
.
edit
(
row
);
this
.
$refs
.
dialogForm
.
title
=
"修改"
;
...
...
@@ -390,6 +383,7 @@ export default {
type
:
'warning'
})
.
then
(()
=>
{
删除传
deleteAction
(
`
${
api
.
users
}
/
${
id
}
`
).
then
((
res
)
=>
{
if
(
res
.
status
===
1
)
{
this
.
$message
.
success
({
message
:
res
.
message
,
showClose
:
true
})
...
...
src/views/system/validationRule/index.vue
View file @
cbf0620
<
template
>
<!-- 字典管理 -->
<div
class=
"dictionary-config from-clues"
>
<div
class=
"from-clues-header"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"90px"
>
...
...
@@ -42,162 +43,163 @@
</
template
>
<
script
>
// 字典
import
data
from
"./data"
;
import
tableMixin
from
"@/mixins/tableMixin.js"
;
import
ruleConfig
from
"@/api/ruleConfig"
;
import
editValidRule
from
"../components/editValidRule.vue"
;
export
default
{
name
:
"dictionary-config"
,
mixins
:
[
tableMixin
],
components
:
{
editValidRule
,
},
data
()
{
return
{
message
:
""
,
form
:
{
DATATABLE
:
""
,
CHINESETABLE
:
""
,
SOLEURL
:
""
,
currentPage
:
1
,
},
preContent
:
""
,
tableData
:
{
columns
:
[
{
label
:
"序号"
,
type
:
"index"
,
width
:
"50"
,
index
:
this
.
indexMethod
,
},
]
.
concat
(
data
.
columns
())
.
concat
([
// 字典
import
data
from
"./data"
;
import
tableMixin
from
"@/mixins/tableMixin.js"
;
import
ruleConfig
from
"@/api/ruleConfig"
;
import
editValidRule
from
"../components/editValidRule.vue"
;
export
default
{
name
:
"dictionary-config"
,
mixins
:
[
tableMixin
],
components
:
{
editValidRule
,
},
data
()
{
return
{
message
:
""
,
form
:
{
DATATABLE
:
""
,
CHINESETABLE
:
""
,
SOLEURL
:
""
,
currentPage
:
1
,
},
// 表格数据
tableData
:
{
columns
:
[
{
label
:
"操作"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
size
=
"mini"
icon
=
"el-icon-edit"
onClick
=
{()
=>
{
this
.
handleEdit
(
scope
.
$index
,
scope
.
row
);
}}
>
编辑
<
/el-button
>
label
:
"序号"
,
type
:
"index"
,
width
:
"50"
,
index
:
this
.
indexMethod
,
},
]
.
concat
(
data
.
columns
())
.
concat
([
{
label
:
"操作"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
size
=
"mini"
icon
=
"el-icon-edit"
onClick
=
{()
=>
{
this
.
handleEdit
(
scope
.
$index
,
scope
.
row
);
}}
>
编辑
<
/el-button
>
<
el
-
button
type
=
"text"
size
=
"mini"
icon
=
"el-icon-delete"
style
=
"color:#F56C6C"
onClick
=
{()
=>
{
this
.
handleDel
(
scope
.
$index
,
scope
.
row
);
}}
>
删除
<
/el-button
>
<
/div
>
);
<
el
-
button
type
=
"text"
size
=
"mini"
icon
=
"el-icon-delete"
style
=
"color:#F56C6C"
onClick
=
{()
=>
{
this
.
handleDel
(
scope
.
$index
,
scope
.
row
);
}}
>
删除
<
/el-button
>
<
/div
>
);
},
},
},
]),
data
:
[],
]),
data
:
[],
},
// 分页
pageData
:
{
total
:
0
,
pageSize
:
15
,
current
:
1
,
},
ruleData
:
null
,
};
},
methods
:
{
async
featchData
()
{
try
{
this
.
form
=
Object
.
assign
(
this
.
form
,
this
.
formData
);
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
},
}
=
await
ruleConfig
.
getSysYwsjbList
(
this
.
form
);
this
.
tableData
.
data
=
list
;
this
.
pageData
=
{
pageSize
,
current
,
total
,
};
}
catch
(
error
)
{
this
.
message
=
error
;
this
.
$refs
.
msg
.
messageShow
();
}
},
pageData
:
{
t
otal
:
0
,
pageSize
:
15
,
current
:
1
,
handleSearch
()
{
t
his
.
form
.
currentPage
=
1
this
.
tableData
.
data
=
[]
this
.
featchData
()
},
ruleData
:
null
,
};
},
methods
:
{
async
featchData
()
{
try
{
this
.
form
=
Object
.
assign
(
this
.
form
,
this
.
formData
);
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
},
}
=
await
ruleConfig
.
getSysYwsjbList
(
this
.
form
);
this
.
tableData
.
data
=
list
;
this
.
pageData
=
{
pageSize
,
current
,
total
,
};
}
catch
(
error
)
{
this
.
message
=
error
;
this
.
$refs
.
msg
.
messageShow
();
}
},
handleSearch
()
{
this
.
form
.
currentPage
=
1
this
.
tableData
.
data
=
[]
this
.
featchData
()
},
async
handleEdit
(
index
,
row
)
{
try
{
let
{
result
:
res
}
=
await
ruleConfig
.
eidtConfigRule
(
row
.
BSM_YWSJB
);
this
.
ruleData
=
res
;
this
.
$refs
.
validRule
.
isShow
();
}
catch
(
error
)
{
this
.
$alert
(
error
,
"提示"
,
{
async
handleEdit
(
index
,
row
)
{
try
{
let
{
result
:
res
}
=
await
ruleConfig
.
eidtConfigRule
(
row
.
BSM_YWSJB
);
this
.
ruleData
=
res
;
this
.
$refs
.
validRule
.
isShow
();
}
catch
(
error
)
{
this
.
$alert
(
error
,
"提示"
,
{
confirmButtonText
:
"确定"
,
type
:
"error"
,
});
}
},
handleDel
(
index
,
row
)
{
let
_this
=
this
;
this
.
$confirm
(
"此操作将进行删除校验规则, 是否继续?"
,
"提示"
,
{
cancelButtonText
:
"取消"
,
confirmButtonText
:
"确定"
,
type
:
"error"
,
});
}
},
handleDel
(
index
,
row
)
{
let
_this
=
this
;
this
.
$confirm
(
"此操作将进行删除校验规则, 是否继续?"
,
"提示"
,
{
cancelButtonText
:
"取消"
,
confirmButtonText
:
"确定"
,
type
:
"warning"
,
})
.
then
(
async
()
=>
{
try
{
let
res
=
await
ruleConfig
.
deleteSysYwsjbWithSysYwsjbFieldByBsmYwsjb
(
row
.
BSM_YWSJB
);
if
(
res
.
code
==
200
)
{
_this
.
$message
({
type
:
"success"
,
message
:
"删除成功!"
,
type
:
"warning"
,
})
.
then
(
async
()
=>
{
try
{
let
res
=
await
ruleConfig
.
deleteSysYwsjbWithSysYwsjbFieldByBsmYwsjb
(
row
.
BSM_YWSJB
);
if
(
res
.
code
==
200
)
{
_this
.
$message
({
type
:
"success"
,
message
:
"删除成功!"
,
});
_this
.
featchData
();
}
}
catch
(
error
)
{
_this
.
$alert
(
error
,
"提示"
,
{
confirmButtonText
:
"确定"
,
type
:
"error"
,
});
_this
.
featchData
();
}
}
catch
(
error
)
{
_this
.
$alert
(
error
,
"提示"
,
{
confirmButtonText
:
"确定"
,
type
:
"error"
,
})
.
catch
(()
=>
{
this
.
$message
({
type
:
"info"
,
message
:
"已取消删除"
,
});
}
})
.
catch
(()
=>
{
this
.
$message
({
type
:
"info"
,
message
:
"已取消删除"
,
});
},
handleUpdateDic
()
{
this
.
$store
.
dispatch
(
"dictionaries/generateDic"
).
then
((
res
)
=>
{
if
(
res
)
{
this
.
$message
({
message
:
"刷新成功!"
,
type
:
"success"
,
});
}
});
},
},
handleUpdateDic
()
{
this
.
$store
.
dispatch
(
"dictionaries/generateDic"
).
then
((
res
)
=>
{
if
(
res
)
{
this
.
$message
({
message
:
"刷新成功!"
,
type
:
"success"
,
});
}
});
},
},
};
};
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"./index.scss"
;
@import
"./index.scss"
;
</
style
>
...
...
Please
register
or
sign in
to post a comment