Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1-admin
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
吴迪
gs1-admin
Commits
5efb5239
Commit
5efb5239
authored
Dec 08, 2021
by
Lyan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
物流医疗增加审核
parent
3701e46b
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
139 additions
and
21 deletions
+139
-21
indexcarouselmanage.vue
src/views/modules/info/indexcarouselmanage.vue
+3
-3
news.vue
src/views/modules/info/news.vue
+2
-2
newsmovie.vue
src/views/modules/info/newsmovie.vue
+2
-2
newtopic.vue
src/views/modules/info/newtopic.vue
+2
-2
logistics.vue
src/views/modules/logistics/logistics.vue
+60
-1
medical.vue
src/views/modules/medical/medical.vue
+60
-1
center.vue
src/views/modules/party/center.vue
+2
-2
hotFlow.vue
src/views/modules/party/hotFlow.vue
+2
-2
rules.vue
src/views/modules/party/rules.vue
+2
-2
topicnews.vue
src/views/modules/party/topicnews.vue
+2
-2
policy.vue
src/views/modules/policy/policy.vue
+2
-2
No files found.
src/views/modules/info/indexcarouselmanage.vue
View file @
5efb5239
...
...
@@ -292,10 +292,10 @@
this
.
$message
.
error
(
data
.
msg
)
}
})
})
})
.
catch
(()
=>
{})
},
// 审核
checkHandle
(
id
)
{
checkHandle
(
id
,
status
)
{
let
str
=
''
if
(
status
===
1
)
{
str
=
'成功'
...
...
@@ -328,7 +328,7 @@
this
.
$message
.
error
(
data
.
msg
)
}
})
})
})
.
catch
(()
=>
{})
}
}
}
...
...
src/views/modules/info/news.vue
View file @
5efb5239
...
...
@@ -303,7 +303,7 @@
this
.
$message
.
error
(
data
.
msg
)
}
})
})
})
.
catch
(()
=>
{})
},
// 审核
checkHandle
(
id
,
status
)
{
...
...
@@ -339,7 +339,7 @@
this
.
$message
.
error
(
data
.
msg
)
}
})
})
})
.
catch
(()
=>
{})
}
}
}
...
...
src/views/modules/info/newsmovie.vue
View file @
5efb5239
...
...
@@ -341,7 +341,7 @@
this
.
$message
.
error
(
data
.
msg
)
}
})
})
})
.
catch
(()
=>
{})
},
// 审核
checkHandle
(
id
,
status
)
{
...
...
@@ -377,7 +377,7 @@
this
.
$message
.
error
(
data
.
msg
)
}
})
})
})
.
catch
(()
=>
{})
}
}
}
...
...
src/views/modules/info/newtopic.vue
View file @
5efb5239
...
...
@@ -266,7 +266,7 @@
this
.
$message
.
error
(
data
.
msg
)
}
})
})
})
.
catch
(()
=>
{})
},
// 审核
checkHandle
(
id
,
status
)
{
...
...
@@ -302,7 +302,7 @@
this
.
$message
.
error
(
data
.
msg
)
}
})
})
})
.
catch
(()
=>
{})
}
}
}
...
...
src/views/modules/logistics/logistics.vue
View file @
5efb5239
...
...
@@ -33,6 +33,7 @@
prop=
"level"
header-align=
"center"
align=
"center"
width=
"50px"
label=
"级别"
>
</el-table-column>
<el-table-column
...
...
@@ -61,12 +62,34 @@
label=
"创建日期"
>
</el-table-column>
<el-table-column
prop=
"checkname"
header-align=
"center"
align=
"center"
label=
"审核人"
>
</el-table-column>
<el-table-column
prop=
"status"
header-align=
"center"
align=
"center"
label=
"状态"
>
<template
slot-scope=
"scope"
>
<div>
<span
v-if=
"Number(scope.row.status) === 0"
>
待审核
</span>
<span
v-if=
"Number(scope.row.status) === -1"
>
失败
</span>
<span
v-if=
"Number(scope.row.status) === 1"
>
成功
</span>
</div>
</
template
>
</el-table-column>
<el-table-column
fixed=
"right"
header-align=
"center"
align=
"center"
width=
"150"
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"checkHandle(scope.row.id,1)"
>
[成功]
</el-button>
<el-button
type=
"text"
@
click=
"checkHandle(scope.row.id,-1)"
>
[失败]
</el-button>
<br
/>
<!--
<el-button
type=
"text"
@
click=
"infoHandle(scope.row.id)"
>
详情
</el-button>
-->
<el-button
type=
"text"
@
click=
"updateHandle(scope.row.id)"
>
编辑
</el-button>
<el-button
type=
"text"
@
click=
"deleteHandle(scope.row.id)"
>
删除
</el-button>
...
...
@@ -212,7 +235,7 @@
this
.
$message
.
error
(
data
.
msg
)
}
})
})
})
.
catch
(()
=>
{})
},
// 获取医疗管理列表
getMedicalTypeList
()
{
...
...
@@ -226,6 +249,42 @@
this
.
typeList
=
[]
}
})
},
// 审核
checkHandle
(
id
,
status
)
{
let
str
=
''
if
(
status
===
1
)
{
str
=
'成功'
}
else
{
str
=
'失败'
}
this
.
$confirm
(
`确定对[id=
${
id
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
'/office/logistics/verifyLogistics'
),
method
:
'post'
,
data
:
this
.
$http
.
adornData
({
'id'
:
id
,
'status'
:
1
})
}).
then
(({
data
})
=>
{
if
(
data
&&
data
.
code
===
0
)
{
this
.
$message
({
message
:
'操作成功'
,
type
:
'success'
,
duration
:
1500
,
onClose
:
()
=>
{
this
.
getDataList
()
}
})
}
else
{
this
.
$message
.
error
(
data
.
msg
)
}
})
}).
catch
(()
=>
{})
}
}
...
...
src/views/modules/medical/medical.vue
View file @
5efb5239
...
...
@@ -31,6 +31,7 @@
prop=
"level"
header-align=
"center"
align=
"center"
width=
"50px"
label=
"级别"
>
</el-table-column>
<el-table-column
...
...
@@ -59,6 +60,25 @@
label=
"创建日期"
>
</el-table-column>
<el-table-column
prop=
"checkname"
header-align=
"center"
align=
"center"
label=
"审核人"
>
</el-table-column>
<el-table-column
prop=
"status"
header-align=
"center"
align=
"center"
label=
"状态"
>
<template
slot-scope=
"scope"
>
<div>
<span
v-if=
"Number(scope.row.status) === 0"
>
待审核
</span>
<span
v-if=
"Number(scope.row.status) === -1"
>
失败
</span>
<span
v-if=
"Number(scope.row.status) === 1"
>
成功
</span>
</div>
</
template
>
</el-table-column>
<el-table-column
fixed=
"right"
header-align=
"center"
align=
"center"
...
...
@@ -66,6 +86,9 @@
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<!--
<el-button
type=
"text"
@
click=
"infoHandle(scope.row.id)"
>
详情
</el-button>
-->
<el-button
type=
"text"
@
click=
"checkHandle(scope.row.id,1)"
>
[成功]
</el-button>
<el-button
type=
"text"
@
click=
"checkHandle(scope.row.id,-1)"
>
[失败]
</el-button>
<br
/>
<el-button
type=
"text"
@
click=
"updateHandle(scope.row.id)"
>
编辑
</el-button>
<el-button
type=
"text"
@
click=
"deleteHandle(scope.row.id)"
>
删除
</el-button>
</
template
>
...
...
@@ -192,7 +215,7 @@
this
.
$message
.
error
(
data
.
msg
)
}
})
})
})
.
catch
(()
=>
{})
},
// 获取医疗管理列表
getMedicalTypeList
()
{
...
...
@@ -206,6 +229,42 @@
this
.
typeList
=
[]
}
})
},
// 审核
checkHandle
(
id
,
status
)
{
let
str
=
''
if
(
status
===
1
)
{
str
=
'成功'
}
else
{
str
=
'失败'
}
this
.
$confirm
(
`确定对[id=
${
id
}
]进行['审核
${
str
}
']操作?`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
'/office/medical/verifyMedical'
),
method
:
'post'
,
data
:
this
.
$http
.
adornData
({
'id'
:
id
,
'status'
:
1
})
}).
then
(({
data
})
=>
{
if
(
data
&&
data
.
code
===
0
)
{
this
.
$message
({
message
:
'操作成功'
,
type
:
'success'
,
duration
:
1500
,
onClose
:
()
=>
{
this
.
getDataList
()
}
})
}
else
{
this
.
$message
.
error
(
data
.
msg
)
}
})
}).
catch
(()
=>
{})
}
}
}
...
...
src/views/modules/party/center.vue
View file @
5efb5239
...
...
@@ -302,7 +302,7 @@
this
.
$message
.
error
(
data
.
msg
)
}
})
})
})
.
catch
(()
=>
{})
},
// 审核
checkHandle
(
id
,
status
)
{
...
...
@@ -338,7 +338,7 @@
this
.
$message
.
error
(
data
.
msg
)
}
})
})
})
.
catch
(()
=>
{})
}
}
}
...
...
src/views/modules/party/hotFlow.vue
View file @
5efb5239
...
...
@@ -301,7 +301,7 @@
this
.
$message
.
error
(
data
.
msg
)
}
})
})
})
.
catch
(()
=>
{})
},
// 审核
checkHandle
(
id
,
status
)
{
...
...
@@ -337,7 +337,7 @@
this
.
$message
.
error
(
data
.
msg
)
}
})
})
})
.
catch
(()
=>
{})
}
}
}
...
...
src/views/modules/party/rules.vue
View file @
5efb5239
...
...
@@ -301,7 +301,7 @@
this
.
$message
.
error
(
data
.
msg
)
}
})
})
})
.
catch
(()
=>
{})
},
// 审核
checkHandle
(
id
,
status
)
{
...
...
@@ -337,7 +337,7 @@
this
.
$message
.
error
(
data
.
msg
)
}
})
})
})
.
catch
(()
=>
{})
}
}
}
...
...
src/views/modules/party/topicnews.vue
View file @
5efb5239
...
...
@@ -301,7 +301,7 @@
this
.
$message
.
error
(
data
.
msg
)
}
})
})
})
.
catch
(()
=>
{})
},
// 审核
checkHandle
(
id
,
status
)
{
...
...
@@ -337,7 +337,7 @@
this
.
$message
.
error
(
data
.
msg
)
}
})
})
})
.
catch
(()
=>
{})
}
}
}
...
...
src/views/modules/policy/policy.vue
View file @
5efb5239
...
...
@@ -300,7 +300,7 @@
this
.
$message
.
error
(
data
.
msg
)
}
})
})
})
.
catch
(()
=>
{})
},
// 审核
checkHandle
(
id
,
status
)
{
...
...
@@ -336,7 +336,7 @@
this
.
$message
.
error
(
data
.
msg
)
}
})
})
})
.
catch
(()
=>
{})
}
}
...
...
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