hanbaoshan
2020-10-17 d451e7b7570a523bf0f397fa376be8d929f2492b
src/pages/library/components/personList.vue
@@ -42,13 +42,13 @@
        <el-button size="small" type="primary" @click="handleSearch">搜索</el-button>
      </el-col>
      <el-col :offset="11" :span="3">
        <fTemplate authority="videoTable:edit">
        <fTemplate authority="library:set">
          <el-button
            size="small"
            class="ml10"
            type="danger"
            @click="deleteBatch"
            v-if="isShow('videoTable:edit')"
            v-if="isShow('library:set')"
          >批量删除</el-button>
        </fTemplate>
      </el-col>
@@ -59,7 +59,7 @@
            limitSize
            uploadBtntext="上传照片"
            uploadBtnIcon
            v-if="isShow('videoTable:edit')"
            v-if="isShow('library:set')"
            uploadBtnSize="small"
            :isDrag="true"
            @addFilesBaBackFN="changeDialog"
@@ -135,7 +135,7 @@
            <el-switch
              v-model="scope.row.enable"
              :active-value="1"
              :disabled="!isShow('videoTable:edit')"
              :disabled="!isShow('library:set')"
              :inactive-value="0"
              @change="enable(scope.row)"
            ></el-switch>
@@ -143,7 +143,7 @@
        </el-table-column>
        <el-table-column label="操作" min-width="200" align="center">
          <template slot-scope="scope">
            <fTemplate authority="videoTable:edit">
            <fTemplate authority="library:set">
              <el-tooltip content="编辑" placement="top" popper-class="atooltip">
                <span
                  class="iconfont iconbianji iconStyle1"
@@ -158,7 +158,7 @@
            <el-tooltip content="查看详情" placement="top" popper-class="atooltip">
              <span class="iconfont iconsousuoren iconStyle1" @click="showDetail(scope.row)"></span>
            </el-tooltip>
            <fTemplate authority="videoTable:edit">
            <fTemplate authority="library:set">
              <el-tooltip content="复制" placement="top" popper-class="atooltip">
                <span
                  class="iconfont iconfuzhi iconStyle1"
@@ -167,7 +167,7 @@
                ></span>
              </el-tooltip>
            </fTemplate>
            <fTemplate authority="videoTable:edit">
            <fTemplate authority="library:set">
              <el-tooltip content="移动" placement="top" popper-class="atooltip">
                <span
                  class="iconfont iconyidongzhi iconStyle1"
@@ -177,7 +177,7 @@
                ></span>
              </el-tooltip>
            </fTemplate>
            <fTemplate authority="videoTable:edit">
            <fTemplate authority="library:set">
              <el-tooltip content="删除" placement="top" popper-class="atooltip">
                <span
                  class="iconfont iconshanchu iconStyle1"
@@ -219,15 +219,27 @@
        <el-button size="mini" type="primary" @click="postCameraData">查询</el-button>
      </div>
      <p class="member-info">
        <label class="">人员信息:</label>
      <div class="member-info">
        <label class>人员信息:</label>
        <ul>
          <li><span>姓名:</span><span>{{memberInfo.personName}}</span></li>
          <li><span>性别:</span><span>{{memberInfo.sex}}</span></li>
          <li><span>身份证号:</span><span>{{memberInfo.idCard}}</span></li>
          <li><span>意图:</span><span>{{memberInfo.reserved}}</span></li>
          <li>
            <span>姓名:</span>
            <span>{{memberInfo.personName}}</span>
          </li>
          <li>
            <span>性别:</span>
            <span>{{memberInfo.sex}}</span>
          </li>
          <li>
            <span>身份证号:</span>
            <span>{{memberInfo.idCard}}</span>
          </li>
          <li>
            <span>意图:</span>
            <span>{{memberInfo.reserved}}</span>
          </li>
        </ul>
      </p>
      </div>
      <el-table :data="cameraDetailData" border>
        <el-table-column prop="faceImg" label="抓拍实景" width="160" align="center">
@@ -531,7 +543,7 @@
export default {
  data() {
    return {
      timeRange: [new Date(2020, 7, 25, 8), new Date()],
      timeRange: [new Date(2020, 7, 25, 8), new Date(new Date().setHours(23, 59, 59))],
      memberInfo: {
        personName: '',
        sex: '',
@@ -693,7 +705,7 @@
      console.log("hello");
    },
    getUploadResult(result) {
      console.log(result, "上传的返回");
      // console.log(result, "上传的返回");
      this.uploadResult = result.data;
      this.dialogVisible = true;
      this.getPersonList();
@@ -1277,6 +1289,7 @@
}
.avatar-uploader {
  margin: auto;
  max-width: 150px;
  min-width: 150px;
  min-height: 152px;