Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bims
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
孙海亮
bims
Commits
c400445b
Commit
c400445b
authored
Mar 02, 2022
by
yanglilong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
dded8e7b
Changes
9
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
428 additions
and
101 deletions
+428
-101
bi.js
src/api/apis_moudles/bi.js
+1
-5
pre-auth.js
src/api/apis_moudles/pre-auth.js
+13
-1
bi.js
src/api/funcs_modules/bi.js
+3
-30
pre-auth.js
src/api/funcs_modules/pre-auth.js
+64
-3
utilsdictOptions.js
src/utils/utilsdictOptions.js
+4
-4
add.vue
src/views/pre-auth/add.vue
+169
-41
authorizeVoList.vue
src/views/pre-auth/components/authorizeVoList.vue
+125
-5
feeDetail.vue
src/views/pre-auth/components/feeDetail.vue
+1
-0
index.vue
src/views/pre-auth/index.vue
+48
-12
No files found.
src/api/apis_moudles/bi.js
View file @
c400445b
// 报表api
// 报表api
export
default
{
export
default
{
createAuthorize
:
"
/backstage/auth/createAuthorize
"
,
//创建预授权
authorizeList
:
"
/backstage/auth/authorizeList
"
,
//预授权列表
authorizeDetail
:
"
/backstage/auth/authorizeDetail
"
,
//预授权详情
authorizeUpdate
:
"
/backstage/auth/authorizeUpdate
"
,
//预授权修改
authorizeDelete
:
"
/backstage/auth/authorizeDelete
"
,
//预授权删除
};
};
src/api/apis_moudles/pre-auth.js
View file @
c400445b
// 预授权api
// 预授权api
export
default
{};
export
default
{
patientListNoPage
:
"
/backstage/auth/patientListNoPage
"
,
//患者列表无分页
patientPayorList
:
"
/backstage/auth/patientPayorList
"
,
//根据患者查询保司列表
patientPolicyList
:
"
/backstage/auth/patientPolicyList
"
,
//根据患者查询保单列表
createAuthorize
:
"
/backstage/auth/createAuthorize
"
,
//创建预授权
authorizeList
:
"
/backstage/auth/authorizeList
"
,
//预授权列表
authorizeDetail
:
"
/backstage/auth/authorizeDetail
"
,
//预授权详情
authorizeUpdate
:
"
/backstage/auth/authorizeUpdate
"
,
//预授权修改
authorizeDelete
:
"
/backstage/auth/authorizeDelete
"
,
//预授权删除
authorizeUseList
:
"
/backstage/auth/authorizeUseList
"
,
//预授权使用列表
authorizeUseAdd
:
"
/backstage/auth/authorizeUseAdd
"
,
//新增预授权使用
};
src/api/funcs_modules/bi.js
View file @
c400445b
// 报表函数库
// 报表函数库
import
apis
from
"
../apis_moudles/index
"
;
//
import apis from "../apis_moudles/index";
import
req
from
"
../request
"
;
//
import req from "../request";
//创建预授权
const
AUTHORIZECREATE
=
function
(
data
)
{
return
req
.
post
(
apis
.
createAuthorize
,
data
);
};
//预授权列表
const
AUTHORIZELIST
=
function
(
data
)
{
return
req
.
post
(
apis
.
authorizeList
,
data
);
};
//预授权详情
const
AUTHORIZEDETAIL
=
function
(
data
)
{
return
req
.
post
(
apis
.
authorizeDetail
,
data
);
};
//预授权修改
const
AUTHORIZEUPDATE
=
function
(
data
)
{
return
req
.
post
(
apis
.
authorizeUpdate
,
data
);
};
//预授权删除
const
AUTHORIZEDELETE
=
function
(
data
)
{
return
req
.
post
(
apis
.
authorizeDelete
,
data
);
};
// 对象数组
// 对象数组
export
default
{
export
default
{
AUTHORIZECREATE
,
AUTHORIZELIST
,
AUTHORIZEDETAIL
,
AUTHORIZEUPDATE
,
AUTHORIZEDELETE
,
};
};
src/api/funcs_modules/pre-auth.js
View file @
c400445b
// 预授权函数库
// 预授权函数库
// import apis from "../apis_moudles/index";
import
apis
from
"
../apis_moudles/index
"
;
// import req from "../request";
import
req
from
"
../request
"
;
//患者列表无分页
const
PATIENTLISTNOPAGE
=
(
data
)
=>
{
return
req
.
post
(
apis
.
patientListNoPage
,
data
);
};
//根据患者查询保司列表
const
PATIENTPAYORLIST
=
(
data
)
=>
{
return
req
.
post
(
apis
.
patientPayorList
,
data
);
};
//根据患者查询保单列表
const
PATIENTPOLICYLIST
=
(
data
)
=>
{
return
req
.
post
(
apis
.
patientPolicyList
,
data
);
};
//创建预授权
const
AUTHORIZECREATE
=
function
(
data
)
{
return
req
.
post
(
apis
.
createAuthorize
,
data
);
};
//预授权列表
const
AUTHORIZELIST
=
function
(
data
)
{
return
req
.
post
(
apis
.
authorizeList
,
data
);
};
//预授权详情
const
AUTHORIZEDETAIL
=
function
(
data
)
{
return
req
.
post
(
apis
.
authorizeDetail
,
data
);
};
//预授权修改
const
AUTHORIZEUPDATE
=
function
(
data
)
{
return
req
.
post
(
apis
.
authorizeUpdate
,
data
);
};
//预授权删除
const
AUTHORIZEDELETE
=
function
(
data
)
{
return
req
.
post
(
apis
.
authorizeDelete
,
data
);
};
//预授权使用列表
const
AUTHORIZEUSELIST
=
function
(
data
)
{
return
req
.
post
(
apis
.
authorizeUseList
,
data
);
};
//新增预授权使用
const
AUTHORIZEUSEADD
=
function
(
data
)
{
return
req
.
post
(
apis
.
authorizeUseAdd
,
data
);
};
// 对象数组
// 对象数组
export
default
{};
export
default
{
PATIENTLISTNOPAGE
,
PATIENTPAYORLIST
,
PATIENTPOLICYLIST
,
AUTHORIZECREATE
,
AUTHORIZELIST
,
AUTHORIZEDETAIL
,
AUTHORIZEUPDATE
,
AUTHORIZEDELETE
,
AUTHORIZEUSELIST
,
AUTHORIZEUSEADD
,
};
src/utils/utilsdictOptions.js
View file @
c400445b
...
@@ -46,10 +46,10 @@ const ApproveStatusOptions = [
...
@@ -46,10 +46,10 @@ const ApproveStatusOptions = [
//monetUnit
//monetUnit
const
MoneyUnitOptions
=
[
const
MoneyUnitOptions
=
[
{
name
:
'
元
'
,
value
:
'
1
'
},
{
name
:
'
元
'
,
value
:
'
0
1
'
},
{
name
:
'
美元
'
,
value
:
'
2
'
},
{
name
:
'
美元
'
,
value
:
'
0
2
'
},
{
name
:
'
英镑
'
,
value
:
'
3
'
},
{
name
:
'
英镑
'
,
value
:
'
0
3
'
},
{
name
:
'
欧元
'
,
value
:
'
4
'
},
{
name
:
'
欧元
'
,
value
:
'
0
4
'
},
];
];
...
...
src/views/pre-auth/add.vue
View file @
c400445b
This diff is collapsed.
Click to expand it.
src/views/pre-auth/components/authorizeVoList.vue
View file @
c400445b
...
@@ -2,34 +2,154 @@
...
@@ -2,34 +2,154 @@
<!--预授权费用数据-->
<!--预授权费用数据-->
<a-modal
title=
"预授权费用数据"
:visible=
"dialogShow1"
width=
"900px"
:maskClosable=
"false"
<a-modal
title=
"预授权费用数据"
:visible=
"dialogShow1"
width=
"900px"
:maskClosable=
"false"
:footer=
"null"
@
cancel=
"dialogShow1 = false"
>
:footer=
"null"
@
cancel=
"dialogShow1 = false"
>
<a-table
:columns=
"columns"
:data-source=
"dataList"
:pagination=
"false"
>
<template
slot=
"title"
>
<div
class=
"flex header-div"
>
<div
class=
"flex left-div"
>
<div
class=
"item"
>
<span>
批准次数/金额:
</span>
<span
class=
"val money"
>
{{
detailObj
.
approvalAmount
}}
</span>
</div>
<div
class=
"item"
>
<span>
是否已使用:
</span>
<span
class=
"val"
>
{{
detailObj
.
isUse
}}
</span>
</div>
</div>
<a-button
type=
"primary"
@
click=
"editEvt(
{})">
<Icon
name=
"ssiadd"
:size=
"14"
/>
添 加
</a-button>
</div>
</
template
>
<
template
slot=
"userTime"
slot-scope=
"text"
>
{{
text
?
moment
(
text
).
format
(
'
YYYY-MM-DD
'
):
''
}}
</
template
>
<
template
slot=
"operation"
slot-scope=
"text, record, index"
>
<a-button
type=
"link"
@
click.stop=
"editEvt(index)"
>
修改
</a-button>
<a-button
v-if=
"record.eobNo"
type=
"link"
class=
"danger"
@
click.stop=
"delRecord(index)"
>
删除
</a-button>
</
template
>
</a-table>
<a-modal
title=
"编辑"
:visible=
"dialogShow2"
width=
"60%"
:maskClosable=
"false"
okText=
"确定"
cancelText=
"取消"
@
ok=
"handleEditOK"
@
cancel=
"dialogShow2 = false"
>
<a-form-model
ref=
"editForm"
:model=
"editFormObj"
:rules=
"editRules"
>
<a-row
:gutter=
"30"
>
<a-col
:lg=
"12"
:xs=
"24"
>
<a-form-model-item
label=
"次数/金额"
prop=
"userd"
>
<a-input
type=
"number"
v-model.trim=
"editFormObj.userd"
placeholder=
"次数/金额"
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"12"
:xs=
"24"
>
<a-form-model-item
label=
"日期"
prop=
"userTime"
>
<a-date-picker
allow-clear
v-model=
"editFormObj.userTime"
placeholder=
"请选择日期"
value-format=
"YYYY-MM-DD 00:00:00"
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"12"
:xs=
"24"
>
<a-form-model-item
label=
"剩余次数/金额"
prop=
"surplus"
>
<a-input
type=
"number"
v-model.trim=
"editFormObj.surplus"
placeholder=
"剩余次数/金额"
/>
</a-form-model-item>
</a-col>
</a-row>
</a-form-model>
</a-modal>
</a-modal>
</a-modal>
</template>
</template>
<
script
>
<
script
>
import
moment
from
'
moment
'
;
export
default
{
export
default
{
data
(){
data
(){
const
columns
=
[
const
columns
=
[
{
title
:
"
次数/金额
"
,
dataIndex
:
"
userd
"
,
align
:
'
center
'
},
{
title
:
"
日期
"
,
dataIndex
:
"
userTime
"
,
scopedSlots
:
{
customRender
:
"
userTime
"
},
align
:
'
center
'
},
{
title
:
"
剩余次数/金额
"
,
dataIndex
:
"
surplus
"
,
align
:
'
center
'
},
];
];
return
{
return
{
columns
,
columns
,
dialogShow1
:
false
,
dialogShow1
:
false
,
dialogShow2
:
false
,
detailObj
:
{},
dataList
:
[],
dataList
:
[],
editFormObj
:
{
userd
:
''
,
userTime
:
''
,
surplus
:
''
},
editRules
:
{
userd
:
[{
required
:
true
,
message
:
"
请输入
"
,
trigger
:
"
blur
"
}],
userTime
:
[{
required
:
true
,
message
:
"
请选择
"
,
trigger
:
"
change
"
}],
surplus
:
[{
required
:
true
,
message
:
"
请输入
"
,
trigger
:
"
blur
"
}],
},
}
}
},
},
created
(){
created
(){
},
},
methods
:
{
methods
:
{
moment
,
showModal1
(
data
){
showModal1
(
data
){
this
.
dialogShow1
=
true
;
this
.
dialogShow1
=
true
;
this
.
dataList
=
data
;
this
.
detailObj
=
data
||
{};
this
.
getData
();
},
getData
(){
this
.
$apis
.
AUTHORIZEUSELIST
({
authorizeId
:
this
.
detailObj
.
id
})
.
then
((
res
)
=>
{
if
(
res
.
returnCode
==
"
0000
"
)
{
this
.
dataList
=
res
.
content
||
[];
}
else
{
this
.
$message
.
error
(
res
.
returnMsg
);
}
});
},
editEvt
(
record
){
this
.
editFormObj
=
{
userd
:
record
.
userd
||
""
,
userTime
:
record
.
userTime
?
moment
(
record
.
userTime
).
format
(
'
YYYY-MM-DD 00:00:00
'
):
''
,
surplus
:
record
.
surplus
};
this
.
dialogShow2
=
true
;
},
//编辑保存
handleEditOK
()
{
this
.
$refs
.
editForm
.
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
$apis
.
AUTHORIZEUSEADD
({
authorizeId
:
this
.
detailObj
.
id
,
...
this
.
editFormObj
})
.
then
((
res
)
=>
{
if
(
res
.
returnCode
==
"
0000
"
)
{
this
.
dialogShow2
=
false
;
this
.
getData
();
}
else
{
this
.
$message
.
error
(
res
.
returnMsg
);
}
}
});
}
});
},
}
}
}
}
</
script
>
</
script
>
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
.header-div{
font-weight: bold;
justify-content: space-between;
.item{
&:nth-child(2){
margin-left: 50px;
}
.val{
margin-left: 8px;
}
.money{
color: red;
}
}
}
</
style
>
</
style
>
\ No newline at end of file
src/views/pre-auth/components/feeDetail.vue
View file @
c400445b
...
@@ -132,6 +132,7 @@ export default{
...
@@ -132,6 +132,7 @@ export default{
this
.
dataList
.
splice
(
this
.
chooseIdex
,
1
,
{...
this
.
editFormObj
});
this
.
dataList
.
splice
(
this
.
chooseIdex
,
1
,
{...
this
.
editFormObj
});
}
}
this
.
dialogShow
=
false
;
this
.
dialogShow
=
false
;
this
.
$emit
(
'
authorizeItemVoListChange
'
,
this
.
dataList
);
}
}
});
});
},
},
...
...
src/views/pre-auth/index.vue
View file @
c400445b
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
<a-col
:lg=
"6"
:sm=
"12"
>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"申请项目"
>
<a-form-model-item
label=
"申请项目"
>
<a-select
v-model=
"form.authProject"
placeholder=
"请选择项目"
allowClear
>
<a-select
v-model=
"form.authProject"
placeholder=
"请选择项目"
allowClear
>
<a-select-option
v-for=
"(item) in ProjectList"
:key=
"item.id"
:value=
"item.
descCh
"
>
{{
item
.
descCh
}}
</a-select-option>
<a-select-option
v-for=
"(item) in ProjectList"
:key=
"item.id"
:value=
"item.
refcd
"
>
{{
item
.
descCh
}}
</a-select-option>
</a-select>
</a-select>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
...
@@ -53,13 +53,19 @@
...
@@ -53,13 +53,19 @@
</a-row>
</a-row>
</a-form-model>
</a-form-model>
<a-table
:columns=
"columns"
:data-source=
"dataList"
:scroll=
"
{ x: true }" :pagination="false">
<a-table
:columns=
"columns"
:data-source=
"dataList"
:scroll=
"
{ x: true }" :pagination="false">
<template
slot=
"authorStatus"
slot-scope=
"text"
>
{{
text
|
formatApplyStatus
}}
</
template
>
<
template
slot=
"authProject"
slot-scope=
"text"
>
{{
formatProject
(
text
)
}}
</
template
>
<
template
slot=
"authorizeItemVoList"
slot-scope=
"text, record"
>
<
template
slot=
"authorizeItemVoList"
slot-scope=
"text, record"
>
<a-button
type=
"link"
@
click.stop=
"seeEvt(record)"
>
查看
</a-button>
<a-button
type=
"link"
@
click.stop=
"seeEvt(record)"
>
查看
</a-button>
</
template
>
</
template
>
<
template
slot=
"operation"
slot-scope=
"text, record, index"
>
<
template
slot=
"operation"
slot-scope=
"text, record, index"
>
<a-button
type=
"link"
@
click.stop=
"editEvt(record)"
>
修改
</a-button>
<a-button
type=
"link"
@
click.stop=
"editEvt(record)"
>
修改
</a-button>
<a-button
type=
"link"
class=
"success"
@
click.stop=
"addEvt(record)"
>
新增
</a-button>
<a-button
type=
"link"
class=
"success"
@
click.stop=
"addEvt(record)"
>
新增
</a-button>
<a-button
v-if=
"record.eobNo"
type=
"link"
class=
"danger"
@
click.stop=
"delRecord(index)"
>
删除
</a-button>
<a-button
type=
"link"
class=
"danger"
@
click.stop=
"delRecord(index)"
>
删除
</a-button>
</
template
>
</
template
>
</a-table>
</a-table>
<!--分页-->
<!--分页-->
...
@@ -73,7 +79,7 @@
...
@@ -73,7 +79,7 @@
import
BurtPagination
from
"
@/components/CUSTOMER/pagation
"
;
import
BurtPagination
from
"
@/components/CUSTOMER/pagation
"
;
import
authorizeVoList
from
'
./components/authorizeVoList
'
;
import
authorizeVoList
from
'
./components/authorizeVoList
'
;
import
moment
from
'
moment
'
import
moment
from
'
moment
'
import
{
ClaimsStatusOptions
,
ApplyStatusOptions
}
from
'
@/utils/utilsdictOptions
'
;
import
{
ApplyStatusOptions
}
from
'
@/utils/utilsdictOptions
'
;
import
mixins
from
'
@/mixins/index
'
;
import
mixins
from
'
@/mixins/index
'
;
export
default
{
export
default
{
data
(){
data
(){
...
@@ -81,20 +87,19 @@ export default{
...
@@ -81,20 +87,19 @@ export default{
{
title
:
"
病历号
"
,
dataIndex
:
"
mrnNo
"
,
key
:
"
receiptNo
"
,
align
:
'
center
'
,
width
:
136
},
{
title
:
"
病历号
"
,
dataIndex
:
"
mrnNo
"
,
key
:
"
receiptNo
"
,
align
:
'
center
'
,
width
:
136
},
{
title
:
"
客户姓名
"
,
dataIndex
:
"
patientName
"
,
key
:
"
patientNo
"
,
align
:
'
center
'
,
width
:
136
},
{
title
:
"
客户姓名
"
,
dataIndex
:
"
patientName
"
,
key
:
"
patientNo
"
,
align
:
'
center
'
,
width
:
136
},
{
title
:
"
保险公司
"
,
dataIndex
:
"
payorName
"
,
width
:
110
},
{
title
:
"
保险公司
"
,
dataIndex
:
"
payorName
"
,
width
:
110
},
{
title
:
"
申请项目
"
,
dataIndex
:
"
authProject
"
,
width
:
100
},
{
title
:
"
申请项目
"
,
dataIndex
:
"
authProject
"
,
width
:
100
,
scopedSlots
:
{
customRender
:
"
authProject
"
}
},
{
title
:
"
申请金额
"
,
dataIndex
:
"
authorAmount
"
,
width
:
100
,
align
:
'
center
'
},
{
title
:
"
申请金额
"
,
dataIndex
:
"
authorAmount
"
,
width
:
100
,
align
:
'
center
'
},
{
title
:
"
申请状态
"
,
dataIndex
:
"
authorStatus
"
,
width
:
100
,
align
:
'
center
'
},
{
title
:
"
申请状态
"
,
dataIndex
:
"
authorStatus
"
,
width
:
100
,
align
:
'
center
'
,
scopedSlots
:
{
customRender
:
"
authorStatus
"
}
},
{
title
:
"
申请日期
"
,
dataIndex
:
"
paidAmount
"
,
width
:
100
,
align
:
'
center
'
},
{
title
:
"
申请日期
"
,
dataIndex
:
"
paidAmount
"
,
width
:
100
,
align
:
'
center
'
},
{
title
:
"
批准金额
"
,
dataIndex
:
"
approvalAmount
"
,
width
:
100
,
align
:
'
center
'
},
{
title
:
"
批准金额
"
,
dataIndex
:
"
approvalAmount
"
,
width
:
100
,
align
:
'
center
'
},
{
title
:
"
批准天数
"
,
dataIndex
:
"
authorDays
"
,
width
:
110
,
align
:
'
center
'
},
{
title
:
"
批准天数
"
,
dataIndex
:
"
authorDays
"
,
width
:
110
,
align
:
'
center
'
},
{
title
:
"
不予批准原因
"
,
dataIndex
:
"
rejectReason
"
,
width
:
120
,
align
:
'
center
'
},
{
title
:
"
不予批准原因
"
,
dataIndex
:
"
rejectReason
"
,
width
:
120
,
align
:
'
center
'
,
scopedSlots
:
{
customRender
:
"
authorStatus
"
}
},
{
title
:
"
预授权使用情况
"
,
dataIndex
:
"
authorizeItemVoList
"
,
width
:
1
2
0
,
align
:
'
center
'
,
scopedSlots
:
{
customRender
:
"
authorizeItemVoList
"
}
},
{
title
:
"
预授权使用情况
"
,
dataIndex
:
"
authorizeItemVoList
"
,
width
:
1
3
0
,
align
:
'
center
'
,
scopedSlots
:
{
customRender
:
"
authorizeItemVoList
"
}
},
{
title
:
"
备注
"
,
dataIndex
:
"
remark
"
,
width
:
100
,
align
:
'
center
'
},
{
title
:
"
备注
"
,
dataIndex
:
"
remark
"
,
width
:
100
,
align
:
'
center
'
},
{
title
:
"
操作
"
,
dataIndex
:
"
operation
"
,
scopedSlots
:
{
customRender
:
"
operation
"
},
fixed
:
"
right
"
,
width
:
"
200px
"
,
align
:
'
center
'
},
{
title
:
"
操作
"
,
dataIndex
:
"
operation
"
,
scopedSlots
:
{
customRender
:
"
operation
"
},
fixed
:
"
right
"
,
width
:
"
200px
"
,
align
:
'
center
'
},
];
];
return
{
return
{
columns
,
columns
,
ClaimsStatusOptions
,
ApplyStatusOptions
,
ApplyStatusOptions
,
form
:
{
form
:
{
dateRange
:
[],
dateRange
:
[],
...
@@ -102,7 +107,7 @@ export default{
...
@@ -102,7 +107,7 @@ export default{
authProject
:
''
,
authProject
:
''
,
authorStatus
:
''
,
authorStatus
:
''
,
mrnNo
:
''
,
mrnNo
:
''
,
patientName
:
''
patientName
:
''
,
},
},
companyOptions
:
[],
//保险公司
companyOptions
:
[],
//保险公司
ProjectList
:
[],
//预授权项目
ProjectList
:
[],
//预授权项目
...
@@ -125,6 +130,15 @@ export default{
...
@@ -125,6 +130,15 @@ export default{
},
},
methods
:
{
methods
:
{
moment
,
moment
,
formatProject
(
val
){
if
(
!
val
)
{
return
;
}
const
item
=
this
.
ProjectList
.
find
((
item
)
=>
{
return
item
.
refcd
==
val
;
});
return
item
?
item
.
descCh
:
""
;
},
//新建预授权
//新建预授权
addPreAuth
(){
addPreAuth
(){
this
.
$router
.
push
({
this
.
$router
.
push
({
...
@@ -146,7 +160,7 @@ export default{
...
@@ -146,7 +160,7 @@ export default{
//预授权项目
//预授权项目
this
.
$apis
.
GETREFCDBYREFGRP
({
this
.
$apis
.
GETREFCDBYREFGRP
({
modid
:
"
CI
"
,
modid
:
"
CI
"
,
refgrp
:
"
预授权项目
"
refgrp
:
"
AUTH_PROJECT
"
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
this
.
ProjectList
=
res
.
content
||
[];
this
.
ProjectList
=
res
.
content
||
[];
});
});
...
@@ -177,11 +191,33 @@ export default{
...
@@ -177,11 +191,33 @@ export default{
},
},
//查看预授权使用数据
//查看预授权使用数据
seeEvt
(
record
=
{}){
seeEvt
(
record
=
{}){
let
data
=
record
.
authorizeItemVoList
||
[];
this
.
$refs
.
authData
.
showModal1
(
record
);
this
.
$refs
.
authData
.
showModal1
(
data
);
},
},
addEvt
(){
addEvt
(){
},
//删除记录
delRecord
(
index
)
{
this
.
$modal
.
confirm
({
title
:
"
删除
"
,
content
:
"
确定删除该条记录?
"
,
okText
:
"
确认
"
,
cancelText
:
"
取消
"
,
onOk
:
()
=>
{
this
.
$apis
.
AUTHORIZEDELETE
({
id
:
this
.
dataList
[
index
].
id
,
})
.
then
((
res
)
=>
{
if
(
res
.
returnCode
==
"
0000
"
)
{
this
.
$message
.
success
(
"
删除成功
"
);
this
.
dataList
.
splice
(
index
,
1
);
}
else
{
this
.
$message
.
error
(
res
.
returnMsg
);
}
});
},
onCancel
:
()
=>
{},
});
}
}
}
}
}
}
...
...
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