|
@@ -65,7 +65,7 @@ import StoreAssociatedEquipmentModal from './StoreAssociatedEquipmentModal.vue'
|
|
// import { getProvince, getCityByPro } from '@/api/lookup'
|
|
// import { getProvince, getCityByPro } from '@/api/lookup'
|
|
import { findStoreList } from '@/api/store.js'
|
|
import { findStoreList } from '@/api/store.js'
|
|
export default {
|
|
export default {
|
|
- name: 'CarWashManagement',
|
|
|
|
|
|
+ name: 'StoreManagement',
|
|
components: { STable, VSelect, StoreModal, StoreAssociatedEquipmentModal },
|
|
components: { STable, VSelect, StoreModal, StoreAssociatedEquipmentModal },
|
|
data () {
|
|
data () {
|
|
return {
|
|
return {
|
|
@@ -79,17 +79,18 @@ export default {
|
|
columns: [
|
|
columns: [
|
|
{ title: '序号', dataIndex: 'no', width: '100', align: 'center' },
|
|
{ title: '序号', dataIndex: 'no', width: '100', align: 'center' },
|
|
{ title: '创建时间', dataIndex: 'createDate', width: '100', align: 'center' },
|
|
{ title: '创建时间', dataIndex: 'createDate', width: '100', align: 'center' },
|
|
- { title: '组织机构', dataIndex: 'orgCode', width: '100', align: 'center' },
|
|
|
|
|
|
+ { title: '组织机构', dataIndex: 'orgCodeName', width: '100', align: 'center' },
|
|
{ title: '门店名称', dataIndex: 'name', width: '100', align: 'center' },
|
|
{ title: '门店名称', dataIndex: 'name', width: '100', align: 'center' },
|
|
{ title: '门店类型', dataIndex: 'type', width: '100', align: 'center' },
|
|
{ title: '门店类型', dataIndex: 'type', width: '100', align: 'center' },
|
|
- { title: '负责人名称', dataIndex: 'managerId', width: '100', align: 'center' },
|
|
|
|
|
|
+ { title: '负责人名称', dataIndex: 'managerName', width: '100', align: 'center' },
|
|
{ title: '负责人手机', dataIndex: 'managerMobile', width: '100', align: 'center' },
|
|
{ title: '负责人手机', dataIndex: 'managerMobile', width: '100', align: 'center' },
|
|
- { title: '启用状态', dataIndex: 'enableFlag', width: '100', align: 'center' },
|
|
|
|
|
|
+ { title: '启用状态', dataIndex: 'isEnable', width: '100', align: 'center' },
|
|
{ title: '操作', scopedSlots: { customRender: 'action' }, width: '265', align: 'center' }
|
|
{ title: '操作', scopedSlots: { customRender: 'action' }, width: '265', align: 'center' }
|
|
],
|
|
],
|
|
// 加载数据方法 必须为 Promise 对象
|
|
// 加载数据方法 必须为 Promise 对象
|
|
loadData: parameter => {
|
|
loadData: parameter => {
|
|
- return findStoreList(Object.assign(parameter, this.queryParam)).then(res => {
|
|
|
|
|
|
+ return findStoreList(Object.assign(parameter, {})).then(res => {
|
|
|
|
+ // return findStoreList(Object.assign(parameter, this.queryParam)).then(res => {
|
|
console.log(res)
|
|
console.log(res)
|
|
const no = (res.data.pageNo - 1) * res.data.pageSize
|
|
const no = (res.data.pageNo - 1) * res.data.pageSize
|
|
for (let i = 0; i < res.data.list.length; i++) {
|
|
for (let i = 0; i < res.data.list.length; i++) {
|