From ecd8600fc8cd393999ecf237ea91abbaccd23e25 Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Fri, 17 Feb 2023 15:44:59 +0800
Subject: [PATCH] 1. 房屋新增查询 2. 用户头像固定,去除用户头像上传

---
 src/views/houseStatistic/houseStatistic.vue |    2 ++
 src/page/index/top/index.vue                |    2 +-
 src/option/user/info.js                     |   38 ++++++++++++++++++++------------------
 3 files changed, 23 insertions(+), 19 deletions(-)

diff --git a/src/option/user/info.js b/src/option/user/info.js
index d2fcbe0..2aba446 100644
--- a/src/option/user/info.js
+++ b/src/option/user/info.js
@@ -5,24 +5,26 @@
     {
       label: '个人信息',
       prop: 'info',
-      column: [{
-        label: '头像',
-        type: 'upload',
-        listType: 'picture-img',
-        propsHttp: {
-          res: 'data',
-          url: 'link',
-        },
-        canvasOption: {
-          text: ' ',
-          ratio: 0.1
-        },
-        action: '/api/blade-resource/oss/endpoint/put-file',
-        tip: '只能上传jpg/png用户头像,且不超过500kb',
-        span: 12,
-        row: true,
-        prop: 'avatar'
-      }, {
+      column: [
+      //   {
+      //   label: '头像',
+      //   type: 'upload',
+      //   listType: 'picture-img',
+      //   propsHttp: {
+      //     res: 'data',
+      //     url: 'link',
+      //   },
+      //   canvasOption: {
+      //     text: ' ',
+      //     ratio: 0.1
+      //   },
+      //   action: '/api/blade-resource/oss/endpoint/put-file',
+      //   tip: '只能上传jpg/png用户头像,且不超过500kb',
+      //   span: 12,
+      //   row: true,
+      //   prop: 'avatar'
+      // }, 
+      {
         label: '姓名',
         span: 12,
         row: true,
diff --git a/src/page/index/top/index.vue b/src/page/index/top/index.vue
index 0f95e84..22b943a 100644
--- a/src/page/index/top/index.vue
+++ b/src/page/index/top/index.vue
@@ -83,7 +83,7 @@
         </div>
       </el-tooltip>
       <img class="top-bar__img"
-           :src="userInfo.avatar">
+           src="/icon.png">
       <el-dropdown>
         <span class="el-dropdown-link">
           {{userInfo.userName}}
diff --git a/src/views/houseStatistic/houseStatistic.vue b/src/views/houseStatistic/houseStatistic.vue
index cbe878e..c7eb356 100644
--- a/src/views/houseStatistic/houseStatistic.vue
+++ b/src/views/houseStatistic/houseStatistic.vue
@@ -157,6 +157,8 @@
               label: "派出所名称",
               prop: "policeStationName",
               type: "input",
+              search:true,
+              searchLabelWidth:110,
               addDisplay: false,
               editDisplay: false,
               viewDisplay: false,

--
Gitblit v1.9.3