上饶市警务平台后台管理前端
zhongrj
2023-02-17 ecd8600fc8cd393999ecf237ea91abbaccd23e25
1. 房屋新增查询 2. 用户头像固定,去除用户头像上传
3 files modified
42 ■■■■ changed files
src/option/user/info.js 38 ●●●● patch | view | raw | blame | history
src/page/index/top/index.vue 2 ●●● patch | view | raw | blame | history
src/views/houseStatistic/houseStatistic.vue 2 ●●●●● patch | view | raw | blame | history
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,
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}}
src/views/houseStatistic/houseStatistic.vue
@@ -157,6 +157,8 @@
              label: "派出所名称",
              prop: "policeStationName",
              type: "input",
              search:true,
              searchLabelWidth:110,
              addDisplay: false,
              editDisplay: false,
              viewDisplay: false,