|
|
|
@ -27,7 +27,7 @@
|
|
|
|
|
|
|
|
|
|
</Row>
|
|
|
|
|
</template>
|
|
|
|
|
<Table :columns="columns1" :data="data1" class="table-account" size="small"></Table>
|
|
|
|
|
<Table :loading="loading" :columns="columns1" :data="data1" class="table-account" size="small"></Table>
|
|
|
|
|
<Page :total="totalSize" :current="pageNum" :page-size="pageSize" show-elevator show-total
|
|
|
|
|
placement="top" @on-change="handlePage" class-name="ks-page"></Page>
|
|
|
|
|
<Modal
|
|
|
|
@ -49,6 +49,7 @@
|
|
|
|
|
export default {
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
loading: false,
|
|
|
|
|
modal13: false,
|
|
|
|
|
roleList: [
|
|
|
|
|
{
|
|
|
|
@ -73,21 +74,17 @@
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
shopList: [
|
|
|
|
|
{
|
|
|
|
|
shopId: '1',
|
|
|
|
|
shopName: '店铺1',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
shopId: '2',
|
|
|
|
|
shopName: '店铺2',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
columns1: [
|
|
|
|
|
{
|
|
|
|
|
type: 'index',
|
|
|
|
|
type: 'index2',
|
|
|
|
|
width: 80,
|
|
|
|
|
title: "序号",
|
|
|
|
|
align: 'center'
|
|
|
|
|
align: 'center',
|
|
|
|
|
render: (h, params) => {
|
|
|
|
|
debugger
|
|
|
|
|
return h('span', params.index + (this.pageNum- 1) * this.pageSize + 1);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '用户名',
|
|
|
|
@ -178,12 +175,6 @@
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
data1: [
|
|
|
|
|
{
|
|
|
|
|
userName: "何永东",
|
|
|
|
|
userCode: "7833",
|
|
|
|
|
roleName: "系统管理员",
|
|
|
|
|
shopName: "全部",
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
roleId: '',
|
|
|
|
|
shopId: '',
|
|
|
|
@ -256,12 +247,14 @@
|
|
|
|
|
//查询所有店铺
|
|
|
|
|
listOfShop() {
|
|
|
|
|
let that = this;
|
|
|
|
|
this.loading = true;
|
|
|
|
|
that.shopList = [];
|
|
|
|
|
let request = {
|
|
|
|
|
userId: JSON.parse(sessionStorage.getItem("loginInfo")).userId
|
|
|
|
|
};
|
|
|
|
|
accountManagement.listAllShopApi(request, function (data) {
|
|
|
|
|
data = data.data;
|
|
|
|
|
that.loading = false;
|
|
|
|
|
if (data.code === '0001') {
|
|
|
|
|
that.$Message.error("查询店铺失败!");
|
|
|
|
|
return;
|
|
|
|
@ -278,7 +271,9 @@
|
|
|
|
|
that.shopList.push(row);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}, function () {
|
|
|
|
|
that.loading = false;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
//搜索账号内容
|
|
|
|
|
listAccountInfoFunction: function () {
|
|
|
|
|