Browse Source

bug修复

bug修复
master
j1ack 2 years ago
parent
commit
23a9e18ab1
  1. 8
      src/main.js
  2. 2
      src/views/monitor/job/index.vue
  3. 2
      src/views/monitor/job/log.vue
  4. 2
      src/views/monitor/logininfor/index.vue
  5. 2
      src/views/monitor/online/index.vue
  6. 2
      src/views/monitor/operlog/index.vue
  7. 2
      src/views/otc/otcAppealConfig/index.vue
  8. 2
      src/views/otc/otcAppealOrder/index.vue
  9. 2
      src/views/otc/otcCoin/index.vue
  10. 2
      src/views/otc/otcOrder/index.vue
  11. 2
      src/views/otc/otcPaymentLegalCurrency/index.vue
  12. 2
      src/views/otc/otcPaymentTemplate/index.vue
  13. 2
      src/views/otc/otcPaymentType/index.vue
  14. 2
      src/views/otc/otcStoreOrder/index.vue
  15. 2
      src/views/otc/otcStorePledge/index.vue
  16. 2
      src/views/otc/otcSysDict/index.vue
  17. 2
      src/views/system/config/index.vue
  18. 2
      src/views/system/dict/data.vue
  19. 2
      src/views/system/dict/index.vue
  20. 2
      src/views/system/notice/index.vue
  21. 2
      src/views/system/post/index.vue
  22. 2
      src/views/system/role/authUser.vue
  23. 2
      src/views/system/role/index.vue
  24. 2
      src/views/system/user/index.vue
  25. 2
      src/views/tool/gen/index.vue
  26. 2
      src/views/user/UserCertification/index.vue
  27. 2
      src/views/user/record/index.vue
  28. 93
      src/views/user/userCustomer/index.vue
  29. 2
      src/views/user/wallet/index.vue
  30. 2
      vue.config.js

8
src/main.js

@ -48,7 +48,13 @@ Vue.prototype.selectDictLabel = selectDictLabel
Vue.prototype.selectDictLabels = selectDictLabels
Vue.prototype.download = download
Vue.prototype.handleTree = handleTree
Vue.prototype.msgSuccess = function (msg) {
this.$message({
showClose: true,
message: msg,
type: "success"
});
}
// 全局组件挂载
Vue.component('DictTag', DictTag)
Vue.component('Pagination', Pagination)

2
src/views/monitor/job/index.vue

@ -357,7 +357,7 @@ export default {
this.loading = true;
listJob(this.queryParams).then(response => {
this.jobList = response.rows;
this.total = response.total;
this.total = Number(response.total);
this.loading = false;
});
},

2
src/views/monitor/job/log.vue

@ -234,7 +234,7 @@ export default {
this.loading = true;
listJobLog(this.addDateRange(this.queryParams, this.dateRange)).then(response => {
this.jobLogList = response.rows;
this.total = response.total;
this.total = Number(response.total);
this.loading = false;
}
);

2
src/views/monitor/logininfor/index.vue

@ -176,7 +176,7 @@ export default {
this.loading = true;
list(this.addDateRange(this.queryParams, this.dateRange)).then(response => {
this.list = response.rows;
this.total = response.total;
this.total = Number(response.total);
this.loading = false;
}
);

2
src/views/monitor/online/index.vue

@ -93,7 +93,7 @@ export default {
this.loading = true;
list(this.queryParams).then(response => {
this.list = response.rows;
this.total = response.total;
this.total = Number(response.total);
this.loading = false;
});
},

2
src/views/monitor/operlog/index.vue

@ -245,7 +245,7 @@ export default {
this.loading = true;
list(this.addDateRange(this.queryParams, this.dateRange)).then( response => {
this.list = response.rows;
this.total = response.total;
this.total = Number(response.total);
this.loading = false;
}
);

2
src/views/otc/otcAppealConfig/index.vue

@ -183,7 +183,7 @@ export default {
this.loading = true;
listOtcAppealConfig(this.queryParams).then(response => {
this.otcAppealConfigList = response.rows;
this.total = response.total;
this.total = Number(response.total);
this.loading = false;
});
},

2
src/views/otc/otcAppealOrder/index.vue

@ -241,7 +241,7 @@ export default {
this.loading = true;
listOtcAppealOrder(this.queryParams).then(response => {
this.otcAppealOrderList = response.rows;
this.total = response.total;
this.total = Number(response.total);
this.loading = false;
});
},

2
src/views/otc/otcCoin/index.vue

@ -246,7 +246,7 @@ export default {
this.loading = true;
listOtcCoin(this.queryParams).then(response => {
this.otcCoinList = response.rows;
this.total = response.total;
this.total = Number(response.total);
this.loading = false;
});
},

2
src/views/otc/otcOrder/index.vue

@ -397,7 +397,7 @@ export default {
this.loading = true;
listOtcOrder(this.queryParams).then(response => {
this.otcOrderList = response.rows;
this.total = response.total;
this.total = Number(response.total);
this.loading = false;
});
},

2
src/views/otc/otcPaymentLegalCurrency/index.vue

@ -180,7 +180,7 @@ export default {
this.loading = true;
listOtcPaymentLegalCurrency(this.queryParams).then(response => {
this.otcPaymentLegalCurrencyList = response.rows;
this.total = response.total;
this.total = Number(response.total);
this.loading = false;
});
},

2
src/views/otc/otcPaymentTemplate/index.vue

@ -253,7 +253,7 @@ export default {
this.loading = true;
listOtcPaymentTemplate(this.queryParams).then(response => {
this.otcPaymentTemplateList = response.rows;
this.total = response.total;
this.total = Number(response.total);
this.loading = false;
});
},

2
src/views/otc/otcPaymentType/index.vue

@ -181,7 +181,7 @@ export default {
this.loading = true;
listOtcPaymentType(this.queryParams).then(response => {
this.otcPaymentTypeList = response.rows;
this.total = response.total;
this.total = Number(response.total);
this.loading = false;
});
},

2
src/views/otc/otcStoreOrder/index.vue

@ -349,7 +349,7 @@ export default {
this.loading = true;
listOtcStoreOrder(this.queryParams).then(response => {
this.otcStoreOrderList = response.rows;
this.total = response.total;
this.total = Number(response.total);
this.loading = false;
});
},

2
src/views/otc/otcStorePledge/index.vue

@ -223,7 +223,7 @@ export default {
this.loading = true;
listOtcStorePledge(this.queryParams).then(response => {
this.otcStorePledgeList = response.rows;
this.total = response.total;
this.total = Number(response.total);
this.loading = false;
});
},

2
src/views/otc/otcSysDict/index.vue

@ -214,7 +214,7 @@ export default {
this.loading = true;
listOtcSysDict(this.queryParams).then(response => {
this.otcSysDictList = response.rows;
this.total = response.total;
this.total = Number(response.total);
this.loading = false;
});
},

2
src/views/system/config/index.vue

@ -241,7 +241,7 @@ export default {
this.loading = true;
listConfig(this.addDateRange(this.queryParams, this.dateRange)).then(response => {
this.configList = response.rows;
this.total = response.total;
this.total = Number(response.total);
this.loading = false;
}
);

2
src/views/system/dict/data.vue

@ -296,7 +296,7 @@ export default {
this.loading = true;
listData(this.queryParams).then(response => {
this.dataList = response.rows;
this.total = response.total;
this.total = Number(response.total);
this.loading = false;
});
},

2
src/views/system/dict/index.vue

@ -245,7 +245,7 @@ export default {
this.loading = true;
listType(this.addDateRange(this.queryParams, this.dateRange)).then(response => {
this.typeList = response.rows;
this.total = response.total;
this.total = Number(response.total);
this.loading = false;
}
);

2
src/views/system/notice/index.vue

@ -225,7 +225,7 @@ export default {
this.loading = true;
listNotice(this.queryParams).then(response => {
this.noticeList = response.rows;
this.total = response.total;
this.total = Number(response.total);
this.loading = false;
});
},

2
src/views/system/post/index.vue

@ -215,7 +215,7 @@ export default {
this.loading = true;
listPost(this.queryParams).then(response => {
this.postList = response.rows;
this.total = response.total;
this.total = Number(response.total);
this.loading = false;
});
},

2
src/views/system/role/authUser.vue

@ -144,7 +144,7 @@ export default {
this.loading = true;
allocatedUserList(this.queryParams).then(response => {
this.userList = response.rows;
this.total = response.total;
this.total = Number(response.total);
this.loading = false;
}
);

2
src/views/system/role/index.vue

@ -350,7 +350,7 @@ export default {
this.loading = true;
listRole(this.addDateRange(this.queryParams, this.dateRange)).then(response => {
this.roleList = response.rows;
this.total = response.total;
this.total = Number(response.total);
this.loading = false;
}
);

2
src/views/system/user/index.vue

@ -471,7 +471,7 @@ export default {
this.loading = true;
listUser(this.addDateRange(this.queryParams, this.dateRange)).then(response => {
this.userList = response.rows;
this.total = response.total;
this.total = Number(response.total);
this.loading = false;
}
);

2
src/views/tool/gen/index.vue

@ -245,7 +245,7 @@ export default {
this.loading = true;
listTable(this.addDateRange(this.queryParams, this.dateRange)).then(response => {
this.tableList = response.rows;
this.total = response.total;
this.total = Number(response.total);
this.loading = false;
}
);

2
src/views/user/UserCertification/index.vue

@ -311,7 +311,7 @@ export default {
this.loading = true;
listUserCertification(this.queryParams).then(response => {
this.UserCertificationList = response.rows;
this.total = response.total;
this.total = Number(response.total);
this.loading = false;
});
},

2
src/views/user/record/index.vue

@ -263,7 +263,7 @@ export default {
this.loading = true;
listRecord(this.queryParams).then(response => {
this.recordList = response.rows;
this.total = response.total;
this.total = Number(response.total);
this.loading = false;
});
},

93
src/views/user/userCustomer/index.vue

@ -2,36 +2,22 @@
<div class="app-container">
<el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
<el-form-item label="姓名" prop="name">
<el-input
v-model="queryParams.name"
placeholder="请输入姓名"
clearable
size="small"
@keyup.enter.native="handleQuery"
/>
<el-input v-model="queryParams.name" placeholder="请输入姓名" clearable size="small"
@keyup.enter.native="handleQuery" />
</el-form-item>
<el-form-item label="邮箱" prop="email">
<el-input
v-model="queryParams.email"
placeholder="请输入邮箱"
clearable
size="small"
@keyup.enter.native="handleQuery"
/>
<el-input v-model="queryParams.email" placeholder="请输入邮箱" clearable size="small"
@keyup.enter.native="handleQuery" />
</el-form-item>
<el-form-item label="状态" prop="status">
<el-select v-model="queryParams.status" placeholder="请选择状态" clearable size="small">
<el-option
v-for="dict in statusOptions"
:key="dict.dictValue"
:label="dict.dictLabel"
:value="dict.dictValue"
/>
<el-option v-for="dict in statusOptions" :key="dict.dictValue" :label="dict.dictLabel"
:value="dict.dictValue" />
</el-select>
</el-form-item>
@ -50,22 +36,14 @@
</el-form-item> -->
<el-form-item label="会员角色" prop="userRole">
<el-select v-model="queryParams.userRole" placeholder="请选择会员角色" clearable size="small">
<el-option
v-for="dict in userRoleOptions"
:key="dict.dictValue"
:label="dict.dictLabel"
:value="dict.dictValue"
/>
<el-option v-for="dict in userRoleOptions" :key="dict.dictValue" :label="dict.dictLabel"
:value="dict.dictValue" />
</el-select>
</el-form-item>
<el-form-item label="认证级别" prop="authLevel">
<el-select v-model="queryParams.authLevel" placeholder="请选择用户认证级别" clearable size="small">
<el-option
v-for="dict in authLevelOptions"
:key="dict.dictValue"
:label="dict.dictLabel"
:value="dict.dictValue"
/>
<el-option v-for="dict in authLevelOptions" :key="dict.dictValue" :label="dict.dictLabel"
:value="dict.dictValue" />
</el-select>
</el-form-item>
<el-form-item>
@ -108,14 +86,8 @@
>删除</el-button>
</el-col> -->
<el-col :span="1.5">
<el-button
type="warning"
plain
icon="el-icon-download"
size="mini"
@click="handleExport"
v-hasPermi="['user:userCustomer:export']"
>导出</el-button>
<el-button type="warning" plain icon="el-icon-download" size="mini" @click="handleExport"
v-hasPermi="['user:userCustomer:export']">导出</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
@ -126,12 +98,8 @@
<el-table-column label="姓名" align="center" prop="name" />
<el-table-column label="头像路径" align="center" prop="headImgPath">
<template width="90" slot-scope="scope">
<el-image
style="width: 80px; height: 80px"
:src="scope.row.headImgPath"
@click="previewImage(scope.row.headImgPath)"
:preview-src-list="srcList"
></el-image>
<el-image style="width: 80px; height: 80px" :src="scope.row.headImgPath"
@click="previewImage(scope.row.headImgPath)" :preview-src-list="srcList"></el-image>
<!-- <img style="width:80px;height:80px;border:none;" :src="scope.row.chainIconUrl"> -->
</template>
@ -150,36 +118,22 @@
<el-table-column label="状态" align="center" key="status">
<template slot-scope="scope">
<el-switch
v-model="scope.row.status"
active-value="normal"
inactive-value="frozen"
@change="handleStatusChange(scope.row)"
></el-switch>
<el-switch v-model="scope.row.status" active-value="normal" inactive-value="frozen"
@change="handleStatusChange(scope.row)"></el-switch>
</template>
</el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button v-if="scope.row.authLevel=='1'||scope.row.authLevel=='2'"
size="mini"
type="text"
@click="handleUpdate(scope.row)"
v-hasPermi="['user:userCustomer:edit']"
>修改认证级别
<el-button v-if="scope.row.authLevel == '1' || scope.row.authLevel == '2'" size="mini" type="text"
@click="handleUpdate(scope.row)" v-hasPermi="['user:userCustomer:edit']">修改认证级别
</el-button>
</template>
</el-table-column> -->
</el-table>
<pagination
v-show="total>0"
:total="total"
:page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize"
@pagination="getList"
/>
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
@pagination="getList" />
<!-- 添加或修改个人用户对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
@ -187,8 +141,8 @@
<el-form-item label="认证级别">
<el-radio-group v-model="form.authLevel">
<el-radio label="2" >初级认证</el-radio>
<el-radio label="3" >高级认证</el-radio>
<el-radio :label="2">初级认证</el-radio>
<el-radio :label="3">高级认证</el-radio>
</el-radio-group>
</el-form-item>
@ -302,7 +256,7 @@ export default {
this.loading = true;
listUserCustomer(this.queryParams).then(response => {
this.userCustomerList = response.rows;
this.total = response.total;
this.total = Number(response.total);
this.loading = false;
});
},
@ -421,6 +375,7 @@ export default {
this.getList();
});
}
console.log(this.open)
}
});
},

2
src/views/user/wallet/index.vue

@ -196,7 +196,7 @@ export default {
this.loading = true;
listWallet(this.queryParams).then(response => {
this.walletList = response.rows;
this.total = response.total;
this.total = Number(response.total);
this.loading = false;
});
},

2
vue.config.js

@ -35,7 +35,7 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
target: `http://localhost:5500`,
target: `http://192.168.31.236:5500`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''

Loading…
Cancel
Save