微调
This commit is contained in:
@@ -51,8 +51,8 @@ const mainRoutes = {
|
|||||||
{ path: '/book-comments', component: _import('modules/book/bookComments'), name: 'book-comments', meta: { title: '书评管理', isTab: true } },
|
{ path: '/book-comments', component: _import('modules/book/bookComments'), name: 'book-comments', meta: { title: '书评管理', isTab: true } },
|
||||||
{ path: '/clock', component: _import('modules/book/clock'), name: 'clock', meta: { title: '打卡管理', isTab: true } },
|
{ path: '/clock', component: _import('modules/book/clock'), name: 'clock', meta: { title: '打卡管理', isTab: true } },
|
||||||
{ path: '/talkBook', component: _import('modules/book/talkBook'), name: 'talkBook', meta: { title: '讲书管理', isTab: true } },
|
{ path: '/talkBook', component: _import('modules/book/talkBook'), name: 'talkBook', meta: { title: '讲书管理', isTab: true } },
|
||||||
{ path: '/acupointManagement', component: _import('modules/acupoint/acupointManagement'), name: 'acupointManagement', meta: { title: '脉穴分类管理', isTab: true } },
|
{ path: '/acupointManagement', component: _import('modules/acupoint/acupointManagement'), name: 'acupointManagement', meta: { title: '经穴分类管理', isTab: true } },
|
||||||
{ path: '/acupointList', component: _import('modules/acupoint/acupointList'), name: 'acupointList', meta: { title: '脉穴列表', isTab: true } },
|
{ path: '/acupointList', component: _import('modules/acupoint/acupointList'), name: 'acupointList', meta: { title: '经穴文章列表', isTab: true } },
|
||||||
{ path: '/acupointDetail', component: _import('modules/acupoint/acupointDetail'), name: 'acupointDetail', meta: { title: '穴位详细', isTab: true } },
|
{ path: '/acupointDetail', component: _import('modules/acupoint/acupointDetail'), name: 'acupointDetail', meta: { title: '穴位详细', isTab: true } },
|
||||||
],
|
],
|
||||||
beforeEnter (to, from, next) {
|
beforeEnter (to, from, next) {
|
||||||
|
|||||||
@@ -129,13 +129,13 @@ export default {
|
|||||||
fileList: [],
|
fileList: [],
|
||||||
formRule: {
|
formRule: {
|
||||||
title: [{ required: true, message: "穴位名称不能为空" }],
|
title: [{ required: true, message: "穴位名称不能为空" }],
|
||||||
alias: [{ required: true, message: "穴位别名不能为空" }],
|
// alias: [{ required: true, message: "穴位别名不能为空" }],
|
||||||
meridian: [{ required: true, message: "所属经络不能为空" }],
|
meridian: [{ required: true, message: "所属经络不能为空" }],
|
||||||
anatomy: [{ required: true, message: "解剖不能为空" }],
|
// anatomy: [{ required: true, message: "解剖不能为空" }],
|
||||||
position: [{ required: true, message: "定位不能为空" }],
|
position: [{ required: true, message: "定位不能为空" }],
|
||||||
indication: [{ required: true, message: "主治不能为空" }],
|
indication: [{ required: true, message: "主治不能为空" }],
|
||||||
compatibility: [{ required: true, message: "配伍不能为空" }],
|
// compatibility: [{ required: true, message: "配伍不能为空" }],
|
||||||
literature: [{ required: true, message: "文献不能为空" }]
|
// literature: [{ required: true, message: "文献不能为空" }]
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -214,13 +214,13 @@ export default {
|
|||||||
dataListSelections: [],
|
dataListSelections: [],
|
||||||
formRule: {
|
formRule: {
|
||||||
title: [{ required: true, message: "穴位名称不能为空" }],
|
title: [{ required: true, message: "穴位名称不能为空" }],
|
||||||
alias: [{ required: true, message: "穴位别名不能为空" }],
|
// alias: [{ required: true, message: "穴位别名不能为空" }],
|
||||||
meridian: [{ required: true, message: "所属经络不能为空" }],
|
meridian: [{ required: true, message: "所属经络不能为空" }],
|
||||||
anatomy: [{ required: true, message: "解剖不能为空" }],
|
// anatomy: [{ required: true, message: "解剖不能为空" }],
|
||||||
position: [{ required: true, message: "定位不能为空" }],
|
position: [{ required: true, message: "定位不能为空" }],
|
||||||
indication: [{ required: true, message: "主治不能为空" }],
|
indication: [{ required: true, message: "主治不能为空" }],
|
||||||
compatibility: [{ required: true, message: "配伍不能为空" }],
|
// compatibility: [{ required: true, message: "配伍不能为空" }],
|
||||||
literature: [{ required: true, message: "文献不能为空" }],
|
// literature: [{ required: true, message: "文献不能为空" }],
|
||||||
pointCategoryIds: [{ required: true, message: "所属分类不能为空" }]
|
pointCategoryIds: [{ required: true, message: "所属分类不能为空" }]
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -70,7 +70,7 @@
|
|||||||
placeholder="请输入分类名称"
|
placeholder="请输入分类名称"
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="paixu">
|
<el-form-item label="排序">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="cateForm.sort"
|
v-model="cateForm.sort"
|
||||||
type="number"
|
type="number"
|
||||||
|
|||||||
@@ -325,7 +325,7 @@
|
|||||||
<el-table-column prop="paymentMethod" header-align="center" align="center" label="支付方式" width="100">
|
<el-table-column prop="paymentMethod" header-align="center" align="center" label="支付方式" width="100">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-tag v-if="scope.row.paymentMethod == 1" type="success">微信</el-tag>
|
<el-tag v-if="scope.row.paymentMethod == 1" type="success">微信</el-tag>
|
||||||
<el-tag v-if="scope.row.paymentMethod == 2" type="danger">支付宝</el-tag>
|
<el-tag v-if="scope.row.paymentMethod == 2" type="primary">支付宝</el-tag>
|
||||||
<el-tag v-if="scope.row.paymentMethod == 3" type="warning">ios内购</el-tag>
|
<el-tag v-if="scope.row.paymentMethod == 3" type="warning">ios内购</el-tag>
|
||||||
<el-tag v-if="scope.row.paymentMethod == 4" type="warnning">天医币支付</el-tag>
|
<el-tag v-if="scope.row.paymentMethod == 4" type="warnning">天医币支付</el-tag>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user