Browse Source

修复专家评测模块

master
sj 2 years ago
parent
commit
3174c1c54d
  1. 2
      src/components/file-upload/index.vue
  2. 2
      src/views/bxg/shop/customer/index.vue
  3. 14
      src/views/bxg/yxStoreExpert/index.vue

2
src/components/file-upload/index.vue

@ -29,7 +29,7 @@ export default {
return { return {
resourcesUrl: '', resourcesUrl: '',
headers: { headers: {
'Authorization':"Bearer"+getToken() 'Authorization':"Bearer "+getToken()
} }
} }
}, },

2
src/views/bxg/shop/customer/index.vue

@ -127,7 +127,7 @@ import { RandomNumber } from "@/utils/index";
// crudpresenter // crudpresenter
const defaultCrud = CRUD({ const defaultCrud = CRUD({
title: "消息通知", title: "消息通知",
url: "api/yxStoreCustomer", url: "bxg/api/yxStoreCustomer",
sort: "id,desc", sort: "id,desc",
crudMethod: { ...crudYzCustomer } crudMethod: { ...crudYzCustomer }
}); });

14
src/views/bxg/yxStoreExpert/index.vue

@ -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";
// crudpresenter // crudpresenter
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',

Loading…
Cancel
Save