Commit 56ea81aa authored by 盖献康's avatar 盖献康

检查管理-检查项目

parent 7275c654
......@@ -345,6 +345,42 @@ export const constantRoutes = [
meta: {
title: '检查管理', icon: 'component'
}
},
// 检查详情
{
path: '/check-detail',
props: true,
hidden: true,
component: () => import('@/views/service-management/medical-record-management/check-detail.vue'),
name: 'CheckDetail',
meta: {
title: '检查详情',
icon: 'component'
}
},
// 检查管理-立即预约
{
path: '/check-subscribe',
props: true,
hidden: true,
component: () => import('@/views/service-management/medical-record-management/check-subscribe.vue'),
name: 'CheckSubscribe',
meta: {
title: '立即预约',
icon: 'component'
}
},
// 检查管理-檢查項目
{
path: '/check-item',
props: true,
hidden: true,
component: () => import('@/views/service-management/medical-record-management/check-item.vue'),
name: 'CheckItem',
meta: {
title: '检查项目',
icon: 'component'
}
}
]
}
......
......@@ -198,6 +198,9 @@
</el-col>
</el-row>
</el-form>
<div style="display: flex; justify-content: left; margin-top: 20px">
<el-button class="queryBtn" @click="goBack">返 回</el-button>
</div>
</div>
</template>
......@@ -215,6 +218,12 @@ export default {
this.$router.push({
path: '/check-subscribe'
})
},
// 返回上一页
goBack() {
this.$router.push({
path: '/service-management/medical-record-management'
})
}
}
}
......
......@@ -17,10 +17,10 @@
class="card"
>
<div class="formTop">
<div class="title">项目{{ convertToChineseNumeral( index+ 1) }}</div>
<div class="title">项目{{ convertToChineseNumeral( index + 1) }}</div>
<div>
<el-button
v-if="(!item.id) || (item.id && item.status === '1' && item.isDelete === '1')"
v-show="(!item.id) || (item.status === '1')"
icon="el-icon-delete"
size="mini"
class="delBtn"
......@@ -200,7 +200,7 @@ export default {
price: '',
supportInsure: '',
sort: '',
status: '',
status: '0',
content: ''
}
]
......@@ -208,13 +208,16 @@ export default {
// 表单规则
rules: {},
// 检查类型
statusOptions: [{
value: '1',
label: '啊啊啊'
}]
statusOptions: [
{ value: '0', label: '已启用' },
{ value: '1', label: '已禁用' }
]
}
},
methods: {
/** 获取数据 */
getList() {
},
/** 将阿拉伯数字转成汉字(如:1变成一)*/
convertToChineseNumeral(num) {
// eslint-disable-next-line no-undef
......@@ -287,7 +290,7 @@ export default {
price: '',
supportInsure: '',
sort: '',
status: '',
status: '0',
content: ''
})
},
......@@ -301,6 +304,9 @@ export default {
},
// 返回
handleGoBack() {
this.$router.push({
path: '/service-management/medical-record-management'
})
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment