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

检查管理-检查项目

parent 7275c654
...@@ -345,6 +345,42 @@ export const constantRoutes = [ ...@@ -345,6 +345,42 @@ export const constantRoutes = [
meta: { meta: {
title: '检查管理', icon: 'component' 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 @@ ...@@ -198,6 +198,9 @@
</el-col> </el-col>
</el-row> </el-row>
</el-form> </el-form>
<div style="display: flex; justify-content: left; margin-top: 20px">
<el-button class="queryBtn" @click="goBack">返 回</el-button>
</div>
</div> </div>
</template> </template>
...@@ -215,6 +218,12 @@ export default { ...@@ -215,6 +218,12 @@ export default {
this.$router.push({ this.$router.push({
path: '/check-subscribe' path: '/check-subscribe'
}) })
},
// 返回上一页
goBack() {
this.$router.push({
path: '/service-management/medical-record-management'
})
} }
} }
} }
......
...@@ -17,10 +17,10 @@ ...@@ -17,10 +17,10 @@
class="card" class="card"
> >
<div class="formTop"> <div class="formTop">
<div class="title">项目{{ convertToChineseNumeral( index+ 1) }}</div> <div class="title">项目{{ convertToChineseNumeral( index + 1) }}</div>
<div> <div>
<el-button <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" icon="el-icon-delete"
size="mini" size="mini"
class="delBtn" class="delBtn"
...@@ -200,7 +200,7 @@ export default { ...@@ -200,7 +200,7 @@ export default {
price: '', price: '',
supportInsure: '', supportInsure: '',
sort: '', sort: '',
status: '', status: '0',
content: '' content: ''
} }
] ]
...@@ -208,13 +208,16 @@ export default { ...@@ -208,13 +208,16 @@ export default {
// 表单规则 // 表单规则
rules: {}, rules: {},
// 检查类型 // 检查类型
statusOptions: [{ statusOptions: [
value: '1', { value: '0', label: '已启用' },
label: '啊啊啊' { value: '1', label: '已禁用' }
}] ]
} }
}, },
methods: { methods: {
/** 获取数据 */
getList() {
},
/** 将阿拉伯数字转成汉字(如:1变成一)*/ /** 将阿拉伯数字转成汉字(如:1变成一)*/
convertToChineseNumeral(num) { convertToChineseNumeral(num) {
// eslint-disable-next-line no-undef // eslint-disable-next-line no-undef
...@@ -287,7 +290,7 @@ export default { ...@@ -287,7 +290,7 @@ export default {
price: '', price: '',
supportInsure: '', supportInsure: '',
sort: '', sort: '',
status: '', status: '0',
content: '' content: ''
}) })
}, },
...@@ -301,6 +304,9 @@ export default { ...@@ -301,6 +304,9 @@ export default {
}, },
// 返回 // 返回
handleGoBack() { 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