Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
contractmanage
Project
Project
Details
Activity
Releases
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
张伯涛
contractmanage
Commits
1ecb821d
Commit
1ecb821d
authored
Apr 20, 2022
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
3bed139e
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
41 additions
and
71 deletions
+41
-71
api.js
src/views/contactsUnit/api.js
+7
-0
contactsUnitDetails.vue
src/views/contactsUnit/contactsUnitDetails.vue
+13
-0
index.vue
src/views/contactsUnit/index.vue
+8
-5
index.vue
src/views/financial/index.vue
+7
-10
index.vue
src/views/materialsInfo/index.vue
+6
-56
No files found.
src/views/contactsUnit/api.js
View file @
1ecb821d
...
...
@@ -16,3 +16,10 @@ export function getDictType(data) {
params
:
data
})
}
// 查看详情接口
export
function
getContactsDetail
(
id
)
{
return
request
({
url
:
'/sysUnit/getUnit/'
+
id
,
method
:
'get'
})
}
src/views/contactsUnit/contactsUnitDetails.vue
0 → 100644
View file @
1ecb821d
<
template
>
</
template
>
<
script
>
export
default
{
name
:
"contactsUnitDetails"
}
</
script
>
<
style
scoped
>
</
style
>
src/views/contactsUnit/index.vue
View file @
1ecb821d
...
...
@@ -16,9 +16,9 @@
/>
</el-select>
</el-form-item>
<!--
<el-form-item
label=
"组织机构代码"
>
-->
<!--
<el-input
v-model=
"personnelForm.ZOIBC"
clearable
placeholder=
"请输入组织机构代码"
/>
-->
<!--
</el-form-item>
-->
<!--
<el-form-item
label=
"组织机构代码"
>
-->
<!--
<el-input
v-model=
"personnelForm.ZOIBC"
clearable
placeholder=
"请输入组织机构代码"
/>
-->
<!--
</el-form-item>
-->
<el-form-item>
<el-button
type=
"primary"
size=
"small"
@
click=
"queryPersonnel"
>
查询
</el-button>
</el-form-item>
...
...
@@ -123,7 +123,7 @@
</template>
<
script
>
import
{
getUnit
,
getDictType
}
from
'@/views/contactsUnit/api'
import
{
getUnit
,
getDictType
,
getContactsDetail
}
from
'@/views/contactsUnit/api'
export
default
{
name
:
'ContactsUnit'
,
data
()
{
...
...
@@ -173,7 +173,10 @@ export default {
},
/** 查看按钮 */
checkDetails
(
row
)
{
this
.
form
=
row
const
id
=
row
.
ZBP
getContactsDetail
(
id
).
then
(
res
=>
{
this
.
form
=
res
.
data
})
this
.
unitOpen
=
true
},
/** */
...
...
src/views/financial/index.vue
View file @
1ecb821d
...
...
@@ -20,10 +20,12 @@
<div
class=
"title"
>
金融机构列表
</div>
<el-table
:data=
"personData"
border
>
<el-table-column
label=
"序号"
type=
"index"
width=
"55"
/>
<el-table-column
label=
"机构ID"
prop=
"empcode"
show-overflow-tooltip
/>
<el-table-column
label=
"机构名称"
prop=
"name"
show-overflow-tooltip
/>
<el-table-column
label=
"机构所在地"
prop=
"certno"
show-overflow-tooltip
/>
<el-table-column
label=
"机构状态"
prop=
"type"
show-overflow-tooltip
>
<el-table-column
label=
"金融机构名称"
prop=
"ZFINAME"
show-overflow-tooltip
/>
<el-table-column
label=
"金融机构主数据编码"
prop=
"ZFINC"
show-overflow-tooltip
/>
<el-table-column
label=
"总行编号"
prop=
"ZBANK"
show-overflow-tooltip
/>
<el-table-column
label=
"总行名称"
prop=
"ZBANKNAME"
show-overflow-tooltip
/>
<el-table-column
label=
"国家/地区"
prop=
"ZZCOUNTRY"
show-overflow-tooltip
/>
<el-table-column
label=
"机构状态"
prop=
"ZDATSTATE"
show-overflow-tooltip
>
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
type
===
'0'
?
'正常'
:
'失效'
}}
</span>
</
template
>
...
...
@@ -90,12 +92,7 @@ export default {
name
:
''
,
// 姓名
certno
:
''
// 证件编号
},
personData
:
[
{
empcode
:
'01'
,
type
:
'0'
,
name
:
'机构一'
,
certno
:
'北京'
,
sex
:
'男'
,
phone
:
'111111'
,
email
:
'1@163.com'
,
postions
:
'900001'
,
jobname
:
'员工'
},
{
empcode
:
'02'
,
type
:
'0'
,
name
:
'机构二'
,
certno
:
'天津'
,
sex
:
'女'
,
phone
:
'222222'
,
email
:
'2@163.com'
,
postions
:
'900002'
,
jobname
:
'员工'
},
{
empcode
:
'03'
,
type
:
'0'
,
name
:
'机构三'
,
certno
:
'上海'
,
sex
:
'男'
,
phone
:
'333333'
,
email
:
'3@163.com'
,
postions
:
'900003'
,
jobname
:
'员工'
},
{
empcode
:
'04'
,
type
:
'0'
,
name
:
'机构四'
,
certno
:
'广州'
,
sex
:
'女'
,
phone
:
'444444'
,
email
:
'4@163.com'
,
postions
:
'900004'
,
jobname
:
'员工'
}
],
personData
:
[],
total
:
4
,
page
:
1
,
rows
:
10
,
...
...
src/views/materialsInfo/index.vue
View file @
1ecb821d
...
...
@@ -18,7 +18,6 @@
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
size=
"small"
@
click=
"queryPersonnel"
>
查询
</el-button>
<el-button
type=
"success"
size=
"small"
@
click=
"addContactsUnit"
>
新增
</el-button>
</el-form-item>
</el-form>
</div>
...
...
@@ -26,21 +25,14 @@
<div
class=
"title"
>
物资信息列表
</div>
<el-table
:data=
"personData"
border
>
<el-table-column
label=
"序号"
type=
"index"
width=
"55"
/>
<el-table-column
label=
"物资编号"
prop=
"ZBRNO"
show-overflow-tooltip
/>
<el-table-column
label=
"物资持有人"
prop=
"ZBPNAME_ZH"
show-overflow-tooltip
/>
<el-table-column
label=
"身份证号码"
prop=
"ZIDNO"
show-overflow-tooltip
/>
<el-table-column
label=
"物资总价值"
prop=
"ZBPTYPE"
show-overflow-tooltip
/>
<el-table-column
label=
"物资更新时间"
prop=
"ZOIBC"
show-overflow-tooltip
/>
<el-table-column
label=
"物资类型"
prop=
"type"
show-overflow-tooltip
>
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
type
===
'0'
?
'原料'
:
'机电设备'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"物资设备主数据编码"
prop=
"ZMATERIAL"
show-overflow-tooltip
/>
<el-table-column
label=
"品名编码"
prop=
"ZCLASS"
show-overflow-tooltip
/>
<el-table-column
label=
"物资设备全称"
prop=
"ZMNAME"
show-overflow-tooltip
/>
<el-table-column
label=
"物资设备主数据状态"
prop=
"ZMSTATE"
show-overflow-tooltip
/>
<el-table-column
label=
"是否常用编码"
prop=
"ZOFTENCODE"
show-overflow-tooltip
/>
<el-table-column
width=
"180px"
label=
"操作"
>
<template
slot-scope=
"
{ row }">
<el-link
:underline=
"false"
type=
"primary"
@
click
.
stop=
"updateForm(row)"
>
修改
</el-link>
<el-link
:underline=
"false"
type=
"primary"
style=
"margin-left: 10px "
@
click
.
stop=
"checkDetails(row)"
>
查看
</el-link>
<el-link
:underline=
"false"
type=
"danger"
style=
"margin-left: 10px "
@
click
.
stop=
"del(row)"
>
删除
</el-link>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -70,12 +62,7 @@ export default {
ZBPTYPE
:
''
,
// 往来单位类别
ZOIBC
:
''
// 组织机构代码
},
personData
:
[
{
ZBPNAME_ZH
:
'张三'
,
type
:
'0'
,
phone
:
'1234567434'
,
ZBPTYPE
:
'10000'
,
ZOIBC
:
'2011-03-02'
,
ZBRNO
:
'1011'
,
ZTRNO
:
'北京'
,
ZIDNO
:
'130956198708162467'
,
ZBPNATURE
:
'0'
,
ZSSNO
:
'130956198708162467'
,
ZBPNAME_EN
:
'HowOld'
,
ZBPNAME_LOC
:
'0'
,
ZUSCC
:
'123321'
,
ZOSRNO
:
'2012-11-23'
,
ZZCOUNTRY
:
'1'
,
ZETPSPROPERTY
:
'0'
,
ZCOMPYREL
:
'测试单位'
},
{
ZBPNAME_ZH
:
'李四'
,
type
:
'0'
,
phone
:
'1234567434'
,
ZBPTYPE
:
'10000'
,
ZOIBC
:
'2011-03-02'
,
ZBRNO
:
'1012'
,
ZTRNO
:
'天津'
,
ZIDNO
:
'130956198708162467'
,
ZBPNATURE
:
'1'
,
ZSSNO
:
'130956198708162467'
,
ZBPNAME_EN
:
'HowOld'
,
ZBPNAME_LOC
:
'0'
,
ZUSCC
:
'123321'
,
ZOSRNO
:
'2012-11-23'
,
ZZCOUNTRY
:
'1'
,
ZETPSPROPERTY
:
'0'
,
ZCOMPYREL
:
'测试单位'
},
{
ZBPNAME_ZH
:
'王五'
,
type
:
'0'
,
phone
:
'1234567434'
,
ZBPTYPE
:
'10000'
,
ZOIBC
:
'2011-03-02'
,
ZBRNO
:
'1013'
,
ZTRNO
:
'上海'
,
ZIDNO
:
'130956198708162467'
,
ZBPNATURE
:
'1'
,
ZSSNO
:
'130956198708162467'
,
ZBPNAME_EN
:
'HowOld'
,
ZBPNAME_LOC
:
'0'
,
ZUSCC
:
'123321'
,
ZOSRNO
:
'2012-11-23'
,
ZZCOUNTRY
:
'1'
,
ZETPSPROPERTY
:
'0'
,
ZCOMPYREL
:
'测试单位'
},
{
ZBPNAME_ZH
:
'赵六'
,
type
:
'0'
,
phone
:
'1234567434'
,
ZBPTYPE
:
'10000'
,
ZOIBC
:
'2011-03-02'
,
ZBRNO
:
'1014'
,
ZTRNO
:
'广州'
,
ZIDNO
:
'130956198708162467'
,
ZBPNATURE
:
'1'
,
ZSSNO
:
'130956198708162467'
,
ZBPNAME_EN
:
'HowOld'
,
ZBPNAME_LOC
:
'0'
,
ZUSCC
:
'123321'
,
ZOSRNO
:
'2012-11-23'
,
ZZCOUNTRY
:
'1'
,
ZETPSPROPERTY
:
'0'
,
ZCOMPYREL
:
'测试单位'
}
],
personData
:
[],
total
:
4
,
page
:
1
,
rows
:
10
...
...
@@ -84,25 +71,6 @@ export default {
methods
:
{
/** 查询按钮 */
queryPersonnel
()
{},
/** 新增按钮 */
addContactsUnit
()
{
this
.
$router
.
push
({
path
:
'/materialsInfo/add'
,
query
:
{
type
:
'add'
}
})
},
/** 修改按钮 */
updateForm
(
row
)
{
this
.
$router
.
push
({
path
:
'/materialsInfo/add'
,
query
:
{
type
:
'update'
,
data
:
row
}
})
},
/** 查看按钮 */
checkDetails
(
row
)
{
this
.
$router
.
push
({
...
...
@@ -113,24 +81,6 @@ export default {
}
})
},
/** 删除按钮 */
del
()
{
this
.
$confirm
(
'此操作将永久删除该该数据, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
this
.
$message
({
type
:
'success'
,
message
:
'删除成功!'
})
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消删除'
})
})
}
}
}
</
script
>
...
...
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