|
|
@ -12,14 +12,8 @@ |
|
|
|
<!--表单组件--> |
|
|
|
<!--表单组件--> |
|
|
|
<el-dialog :close-on-click-modal="false" :before-close="crud.cancelCU" :visible.sync="crud.status.cu > 0" :title="crud.status.title" width="500px"> |
|
|
|
<el-dialog :close-on-click-modal="false" :before-close="crud.cancelCU" :visible.sync="crud.status.cu > 0" :title="crud.status.title" width="500px"> |
|
|
|
<el-form ref="form" :model="form" :rules="rules" size="small" label-width="80px"> |
|
|
|
<el-form ref="form" :model="form" :rules="rules" size="small" label-width="80px"> |
|
|
|
<el-form-item label="专家id"> |
|
|
|
<!-- <el-form-item label="专家id">--> |
|
|
|
<el-input v-model="form.id" style="width: 370px;" /> |
|
|
|
<!-- <el-input v-model="form.id" style="width: 370px;" />--> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<!-- <el-form-item label="商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)">--> |
|
|
|
|
|
|
|
<!-- <el-input v-model="form.merId" style="width: 370px;" />--> |
|
|
|
|
|
|
|
<!-- </el-form-item>--> |
|
|
|
|
|
|
|
<!-- <el-form-item label="人像大图" prop="image">--> |
|
|
|
|
|
|
|
<!-- <el-input v-model="form.image" style="width: 370px;" />--> |
|
|
|
|
|
|
|
<!-- </el-form-item>--> |
|
|
|
<!-- </el-form-item>--> |
|
|
|
<el-form-item label="人像大图"> |
|
|
|
<el-form-item label="人像大图"> |
|
|
|
<MaterialList v-model="picArr" type="image" :num="1" :width="150" :height="150" /> |
|
|
|
<MaterialList v-model="picArr" type="image" :num="1" :width="150" :height="150" /> |
|
|
@ -46,7 +40,7 @@ |
|
|
|
</el-radio-group> |
|
|
|
</el-radio-group> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="排序"> |
|
|
|
<el-form-item label="排序"> |
|
|
|
<el-input v-model="form.sort" style="width: 370px;" /> |
|
|
|
<el-input v-model="form.sort" style="width: 370px;" type="number" /> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<!-- <el-form-item label="添加时间">--> |
|
|
|
<!-- <el-form-item label="添加时间">--> |
|
|
|
<!-- <el-input v-model="form.createTime" style="width: 370px;" />--> |
|
|
|
<!-- <el-input v-model="form.createTime" style="width: 370px;" />--> |
|
|
@ -119,7 +113,7 @@ import MaterialList from "@/components/material"; |
|
|
|
|
|
|
|
|
|
|
|
// crud交由presenter持有 |
|
|
|
// crud交由presenter持有 |
|
|
|
const defaultCrud = CRUD({ title: '专家', url: 'bxg/api/yxStoreExpert', sort: 'id,desc', crudMethod: { ...crudYxStoreExpert }}) |
|
|
|
const defaultCrud = CRUD({ title: '专家', url: 'bxg/api/yxStoreExpert', sort: 'id,desc', crudMethod: { ...crudYxStoreExpert }}) |
|
|
|
const defaultForm = { id: null, merId: 0, image: null, expertName: null, expertInfo: null, |
|
|
|
const defaultForm = { id: null, image: null, expertName: null, expertInfo: null, |
|
|
|
expertStatus: null, expertUnit: null, createTime: null, updateTime: null, isDel: null } |
|
|
|
expertStatus: null, expertUnit: null, createTime: null, updateTime: null, isDel: null } |
|
|
|
export default { |
|
|
|
export default { |
|
|
|
name: 'YxStoreExpert', |
|
|
|
name: 'YxStoreExpert', |
|
|
|