YY há 2 anos atrás
pai
commit
1750534731
1 ficheiros alterados com 7 adições e 1 exclusões
  1. 7 1
      src/views/platmanag/notice/detail.vue

+ 7 - 1
src/views/platmanag/notice/detail.vue

@@ -13,7 +13,7 @@
                 filterable
                 multiple
                 remote
-                placeholder="请选择用户"
+                placeholder="请输入正确用户名称,以便于查询"
                 :remote-method="querySearch"
                 :loading="loading"
                 style="width: 100%"
@@ -82,6 +82,12 @@ export default {
       if (this.id) {
         const res = await this.fetch(this.id);
         if (this.$checkRes(res)) {
+          let arr = [];
+          let aee = await this.usersFetch(res.data.customer);
+          if (this.$checkRes(aee)) {
+            arr.push(aee.data);
+            this.$set(this, 'customerList', arr);
+          }
           let list = [];
           list.push(res.data.customer);
           res.data.customer = list;