diff --git a/ruoyi-ui/src/views/market/self/index.vue b/ruoyi-ui/src/views/market/self/index.vue index 5a865d1..11a4091 100644 --- a/ruoyi-ui/src/views/market/self/index.vue +++ b/ruoyi-ui/src/views/market/self/index.vue @@ -202,7 +202,7 @@ - + {{ parseTime(scope.row.bindTime) }} @@ -555,9 +555,10 @@ export default { }, idToName(row, column, cellValue) { // 查找对应 ID 的姓名 - const person = this.saleList.find(p => p.id === parseInt(cellValue)); - // 如果找到了对应的人员信息,返回姓名,否则返回空字符串或者错误提示 - return person ? person.saleName : '--'; + // const person = this.saleList.find(p => p.id === parseInt(cellValue)); + // // 如果找到了对应的人员信息,返回姓名,否则返回空字符串或者错误提示 + // return person ? person.saleName : '--'; + return cellValue ? cellValue : '--'; }, handleOpen(row) { this.queryParams.id = row.id; diff --git a/ruoyi-ui/src/views/market/whole/index.vue b/ruoyi-ui/src/views/market/whole/index.vue index bab50e5..eb12bc5 100644 --- a/ruoyi-ui/src/views/market/whole/index.vue +++ b/ruoyi-ui/src/views/market/whole/index.vue @@ -219,7 +219,7 @@ - + {{ parseTime(scope.row.bindTime) }} @@ -636,9 +636,10 @@ export default { }, idToName(row, column, cellValue) { // 查找对应 ID 的姓名 - const person = this.saleList.find(p => p.id === parseInt(cellValue)); - // 如果找到了对应的人员信息,返回姓名,否则返回空字符串或者错误提示 - return person ? person.saleName : '--'; + // const person = this.saleList.find(p => p.id === parseInt(cellValue)); + // // 如果找到了对应的人员信息,返回姓名,否则返回空字符串或者错误提示 + // return person ? person.saleBindName : '--'; + return cellValue ? cellValue : '--'; }, handleOpen(row) { this.queryParams.id = row.id; diff --git a/ruoyi-ui/src/views/point/detail/index.vue b/ruoyi-ui/src/views/point/detail/index.vue index 7d57178..9e25e1b 100644 --- a/ruoyi-ui/src/views/point/detail/index.vue +++ b/ruoyi-ui/src/views/point/detail/index.vue @@ -1,14 +1,6 @@ - + + + 搜索 重置 @@ -208,10 +208,12 @@ export default { form: {}, // 表单校验 rules: { - } + }, + userAccount:undefined }; }, created() { + this.userAccount = this.$store.state.user.name; this.getList(); }, methods: {