保安服务单位许可和备案申请系统
liuyg
2021-11-05 111689135f165ecb2ea5ce0881784dfc89b58d87
src/components/Approval/Approval.vue
@@ -33,8 +33,29 @@
            <i class="zc" v-if="row.type == '2'"></i>
          </el-tag>
        </template>
        <template slot-scope="{ type, size, row }" slot="menu">
          <el-button
            icon="icon-zhengjian"
            :size="size"
            :type="type"
            class="zhengJian-icon"
            @click.stop="handleCredentials(row)"
            >查看</el-button
          >
        </template>
      </avue-crud>
    </basic-container>
    <div class="seeOnces" v-if="openOnceShow">
      <i
        class="el-icon-close openOnceCLoce"
        style="color: #000 !important"
        @click="openClose"
      >
      </i>
      <div class="seeOncesMain">
        <cardPopuponce class="openOnce" :paredData="paredData"></cardPopuponce>
      </div>
    </div>
  </div>
</template>
@@ -47,7 +68,11 @@
  getListrev,
} from "@/api/permit/permit";
import { mapGetters } from "vuex";
import cardPopuponce from "../cardPopup/cardPopuponce.vue";
export default {
  components: {
    cardPopuponce,
  },
  props: {
    visible: {
      type: Boolean,
@@ -78,6 +103,10 @@
  },
  data() {
    return {
      useWhere: "",
      paredData: "",
      openOnceShow: false,
      data: [],
      query: {},
      loading: false,
@@ -96,11 +125,12 @@
        searchShow: true,
        searchMenuSpan: 8,
        labelWidth: 130,
        menuWidth: 100,
        headerAlign: "center",
        align: "center",
        border: true,
        index: true,
        viewBtn: true,
        viewBtn: false,
        selection: true,
        dialogClickModal: false,
        column: [
@@ -136,12 +166,32 @@
            valueFormat: "yyyy-MM-dd HH:mm:ss",
          },
          {
            label: "预计审核时间",
            label: "截止受理时间",
            prop: "overtime",
            addDisplay: false,
            type: "date",
            format: "yyyy-MM-dd",
            valueFormat: "yyyy-MM-dd",
          },
          {
            label: "所属辖区",
            prop: "jurisdiction",
            type: "tree",
            dicUrl: "/api/jurisdiction/lazy-trees",
            // hide: true,
            props: {
              label: "title",
              value: "id",
            },
            labelWidth: 160,
            span: 12,
            rules: [
              {
                required: true,
                message: "请输入发证时间",
                trigger: "blur",
              },
            ],
          },
          {
            label: "审核状态",
@@ -178,6 +228,15 @@
        });
      }
      done();
    },
    handleCredentials(val) {
      this.openOnceShow = true;
      this.paredData = val;
      // console.log(val);
    },
    openClose() {
      this.paredData = "";
      this.openOnceShow = false;
    },
    onLoad(page, params = {}) {
      this.loading = true;
@@ -223,5 +282,35 @@
};
</script>
<style>
<style lang="scss">
.seeOnces {
  position: absolute;
  top: -50px;
  left: 6px;
  width: 1251px;
  height: 850px;
  background-color: #fff;
  z-index: 10;
  border-radius: 4px;
}
.openOnce {
  width: 100%;
  height: 100%;
}
.seeOncesMain {
  width: 100%;
  height: 100%;
  overflow: scroll;
}
.openOnceCLoce {
  position: absolute;
  top: 17px;
  font-size: 20px;
  right: 11px;
  z-index: 10;
  color: #fff;
}
.openOnceCLoce:hover {
  color: red;
}
</style>