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 {
resourcesUrl: '',
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
const defaultCrud = CRUD({
title: "消息通知",
url: "api/yxStoreCustomer",
url: "bxg/api/yxStoreCustomer",
sort: "id,desc",
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-form ref="form" :model="form" :rules="rules" size="small" label-width="80px">
<el-form-item label="专家id">
<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 label="专家id">-->
<!-- <el-input v-model="form.id" style="width: 370px;" />-->
<!-- </el-form-item>-->
<el-form-item label="人像大图">
<MaterialList v-model="picArr" type="image" :num="1" :width="150" :height="150" />
@ -46,7 +40,7 @@
</el-radio-group>
</el-form-item>
<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 label="添加时间">-->
<!-- <el-input v-model="form.createTime" style="width: 370px;" />-->
@ -119,7 +113,7 @@ import MaterialList from "@/components/material";
// crudpresenter
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 }
export default {
name: 'YxStoreExpert',

Loading…
Cancel
Save