Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
emport-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘泽志
emport-web
Commits
4062c2ef
Commit
4062c2ef
authored
Feb 21, 2023
by
刘泽志
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
3:21
parent
57006b63
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
8 deletions
+28
-8
ExcelData.js
src/api/emport/ExcelData.js
+14
-0
index.vue
src/views/emport/emport/index.vue
+14
-8
No files found.
src/api/emport/ExcelData.js
View file @
4062c2ef
...
@@ -55,3 +55,17 @@ export async function blobValidate(data) {
...
@@ -55,3 +55,17 @@ export async function blobValidate(data) {
return
true
;
return
true
;
}
}
}
}
/**
* 获取机构数据
* @param orgName
* @param year
* @returns {*}
*/
export
function
queryArea
(
orgName
,
year
)
{
return
request
({
url
:
`
${
prefix
}
/queryArea`
,
method
:
'get'
,
params
:{
orgName
,
year
}
})
}
src/views/emport/emport/index.vue
View file @
4062c2ef
...
@@ -413,13 +413,13 @@
...
@@ -413,13 +413,13 @@
border
height=
"500px"
max-height=
"500px"
stripe
border
height=
"500px"
max-height=
"500px"
stripe
>
>
<el-table-column
align=
"center"
type=
"index"
width=
"50"
/>
<el-table-column
align=
"center"
type=
"index"
width=
"50"
/>
<el-table-column
align=
"center"
label=
"标识"
prop=
"
value
"
show-overflow-tooltip
/>
<el-table-column
align=
"center"
label=
"标识"
prop=
"
ROWCODE
"
show-overflow-tooltip
/>
<el-table-column
align=
"center"
label=
"机构类型"
prop=
"
orgType
"
show-overflow-tooltip
/>
<el-table-column
align=
"center"
label=
"机构类型"
prop=
"
ORG_TYPE
"
show-overflow-tooltip
/>
<el-table-column
align=
"center"
label=
"机构名称"
prop=
"
label
"
show-overflow-tooltip
/>
<el-table-column
align=
"center"
label=
"机构名称"
prop=
"
ORG_NAME
"
show-overflow-tooltip
/>
<el-table-column
align=
"center"
label=
"机构地址"
prop=
"
address
"
show-overflow-tooltip
/>
<el-table-column
align=
"center"
label=
"机构地址"
prop=
"
MAILING_ADDRESS
"
show-overflow-tooltip
/>
<el-table-column
align=
"center"
label=
"行政区划代码"
prop=
"
unifiedCode
"
show-overflow-tooltip
/>
<el-table-column
align=
"center"
label=
"行政区划代码"
prop=
"
AREA_NUMBER_CODE
"
show-overflow-tooltip
/>
<el-table-column
align=
"center"
label=
"所属市"
prop=
"city
"
show-overflow-tooltip
/>
<el-table-column
v-if=
"false"
align=
"center"
label=
"所属市"
prop=
"CITY
"
show-overflow-tooltip
/>
<el-table-column
align=
"center"
label=
"所属区"
prop=
"region
"
show-overflow-tooltip
/>
<el-table-column
align=
"center"
label=
"所属区"
prop=
"AREA
"
show-overflow-tooltip
/>
<el-table-column
align=
"center"
label=
"操作"
width=
"120"
>
<el-table-column
align=
"center"
label=
"操作"
width=
"120"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
circle
icon=
"el-icon-edit"
plain
<el-button
circle
icon=
"el-icon-edit"
plain
...
@@ -1367,8 +1367,14 @@ export default {
...
@@ -1367,8 +1367,14 @@ export default {
},
},
// 打开机构字典列表
// 打开机构字典列表
openOrgDictDialog
()
{
openOrgDictDialog
()
{
this
.
initOrgList
()
//
this.initOrgList()
this
.
orgDictDialog
.
show
=
true
this
.
orgDictDialog
.
show
=
true
this
.
orgDictDialog
.
loading
=
true
ExcelData
.
queryArea
(
this
.
queryForm
.
orgName
,
this
.
queryForm
.
year
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
this
.
orgDictDialog
.
orgList
=
res
.
data
}
}).
finally
(
_
=>
this
.
orgDictDialog
.
loading
=
false
)
},
},
openAddOrgListDialog
()
{
openAddOrgListDialog
()
{
this
.
orgListDialog
.
title
=
'新增机构'
this
.
orgListDialog
.
title
=
'新增机构'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment