liuyg
2021-08-06 cc03d2d54e4cd3991930a7bbcaa67691a79e1304
src/views/securityGuard/securityGuard.vue
@@ -408,22 +408,22 @@
                ],
              },
              {
                label: '个人照片',
                type: 'upload',
                listType: 'picture-img',
                label: "个人照片",
                type: "upload",
                listType: "picture-img",
                propsHttp: {
                  res: 'data',
                  url: 'link',
                  res: "data",
                  url: "link",
                },
                canvasOption: {
                  text: ' ',
                  ratio: 0.1
                  text: " ",
                  ratio: 0.1,
                },
                action: '/api/blade-resource/oss/endpoint/put-file',
                tip: '只能上传jpg/png个人头像,且不超过500kb',
                action: "/api/blade-resource/oss/endpoint/put-file",
                tip: "只能上传jpg/png个人头像,且不超过500kb",
                span: 12,
                row: true,
                prop: 'myPicture'
                prop: "myPicture",
              },
              {
                label: "编号",
@@ -1194,6 +1194,10 @@
        roleId: this.roleId,
        ...this.query,
      };
      if (this.userInfo.role_id == "1414840172333842433") {
        console.log("是公安add jurisdiction");
        values["jurisdiction"] = this.userInfo.jurisdiction;
      }
      this.loading = true;
      getList(page.currentPage, page.pageSize, values, this.treeDeptId).then(
        (res) => {