liuyg
2021-08-27 bc2685acbe0455847449b009cf932d65b1f512bf
src/views/licenseApproval/cancellationOfFiling.vue
@@ -1,8 +1,8 @@
/*
 * @Author: liu
 * @Date: 2021-08-26 17:00:04 
 * @Last Modified by: mikey.zhaopeng
 * @Last Modified time: 2021-08-26 20:11:41
 * @Last Modified by: liu
 * @Last Modified time: 2021-08-27 11:09:27
 */
@@ -56,15 +56,7 @@
            :type="type"
            @click.stop="rowDel(row)"
            v-if="row.type == '2'"
            >许可审批
          </el-button>
          <el-button
            icon="el-icon-edit"
            :size="size"
            :type="type"
            @click.stop="viewLicense(row)"
            v-if="row.type == '0'"
            >打印许可证
            >撤销备案审批
          </el-button>
        </template>
        <template class="tdtype" slot-scope="{ row }" slot="type">
@@ -80,110 +72,6 @@
      </avue-crud>
    </basic-container>
    <!-- <el-dialog
      :visible.sync="dialogVisible"
      :before-close="handleClose"
      :modal-append-to-body="false"
      width="1005px"
      top="10vh"
      class="printstyle"
    >
      <div id="licence_box">
        <div class="licence" id="licence" v-if="dialogVisible">
          <div class="licence-head">保安服务许可证</div>
          <div class="head-tid">
            洪公保服务
            <span class="fontStyle">{{
              licenceData.row.organizationcode
            }}</span>
            号
          </div>
          <div class="licence-main">
            <div
              class="l-m-once"
              v-for="(item, index, key) in licenceData.chiden"
              :key="key"
            >
              <span class="l-m-o-title"> {{ index }}: </span>
              <span class="l-m-r-once">{{ item }}</span>
            </div>
          </div>
          <div class="licence-bottom">发证机关(南昌市公安局)</div>
          <div class="l-bottom">
            发证日期
            <span class="l-b-t">{{
              licenceData.row.permitime.slice(0, 4)
            }}</span
            >年
            <span class="l-b-t">{{
              licenceData.row.permitime.slice(5, 7)
            }}</span>
            月
            <span class="l-b-t">{{
              licenceData.row.permitime.slice(8, 10)
            }}</span>
            日
          </div>
        </div>
      </div>
      <span slot="footer" class="dialog-footer">
        <el-button type="primary" @click="Print">打 印</el-button>
      </span>
    </el-dialog> -->
    <div
      v-if="dialogVisible"
      class="dialogVisibles"
      :class="classStyle == 'print' ? 'printstyle' : ''"
    >
      <div
        id="licence_box"
        :class="classStyle == 'print' ? 'printstyle' : ''"
        ref="licence"
      >
        <div class="licence" id="licence" v-if="dialogVisible">
          <div class="licence-head">保安服务许可证</div>
          <div class="head-tid">
            洪公保服务
            <span class="fontStyle">{{
              licenceData.row.organizationcode
            }}</span>
            号
          </div>
          <div class="licence-main">
            <div
              class="l-m-once"
              v-for="(item, index, key) in licenceData.chiden"
              :key="key"
            >
              <span class="l-m-o-title"> {{ index }}: </span>
              <span class="l-m-r-once">{{ item }}</span>
            </div>
          </div>
          <div class="licence-bottom">发证机关(南昌市公安局)</div>
          <div class="l-bottom">
            发证日期
            <span class="l-b-t">{{
              licenceData.row.permitime.slice(0, 4)
            }}</span
            >年
            <span class="l-b-t">{{
              licenceData.row.permitime.slice(5, 7)
            }}</span>
            月
            <span class="l-b-t">{{
              licenceData.row.permitime.slice(8, 10)
            }}</span>
            日
          </div>
        </div>
        <span slot="footer" class="dialog-footer no-print PrintBut">
          <el-button type="primary" @click="Print">打 印</el-button>
          <el-button type="primary" @click="closePrint"> 取 消 </el-button>
        </span>
      </div>
    </div>
    <el-dialog
      title=""
      :visible.sync="dialogVisiblecc"
@@ -191,7 +79,7 @@
      :modal-append-to-body="false"
    >
      <div class="flots">
        <span class="f_title">是否通过审核?</span>
        <span class="f_title">是否通过撤销备案审批?</span>
        <span class="f_body">请输入修改意见:</span>
        <textarea
          name="reworkmes"
@@ -388,30 +276,30 @@
              },
            ],
          },
          {
            label: "纳税人识别号",
            prop: "identificationnumber",
            hide: true,
            rules: [
              {
                required: true,
                message: "请输入纳税人识别号",
                trigger: "blur",
              },
            ],
          },
          {
            label: "企业类型",
            hide: true,
            prop: "enterprises",
            rules: [
              {
                required: true,
                message: "请输入企业类型",
                trigger: "blur",
              },
            ],
          },
          // {
          //   label: "纳税人识别号",
          //   prop: "identificationnumber",
          //   hide: true,
          //   rules: [
          //     {
          //       required: true,
          //       message: "请输入纳税人识别号",
          //       trigger: "blur",
          //     },
          //   ],
          // },
          // {
          //   label: "企业类型",
          //   hide: true,
          //   prop: "enterprises",
          //   rules: [
          //     {
          //       required: true,
          //       message: "请输入企业类型",
          //       trigger: "blur",
          //     },
          //   ],
          // },
          {
            label: "注册地址",
            prop: "address",
@@ -424,18 +312,18 @@
              },
            ],
          },
          {
            label: "所属地区",
            hide: true,
            prop: "region",
            rules: [
              {
                required: true,
                message: "请输入所属地区",
                trigger: "blur",
              },
            ],
          },
          // {
          //   label: "所属地区",
          //   hide: true,
          //   prop: "region",
          //   rules: [
          //     {
          //       required: true,
          //       message: "请输入所属地区",
          //       trigger: "blur",
          //     },
          //   ],
          // },
          {
            label: "登记机关",
            prop: "registration",
@@ -460,17 +348,29 @@
              },
            ],
          },
          // {
          //   label: "所属机构",
          //   prop: "deptid",
          //   addDisplay: false,
          //   type: "select",
          //   hide: true,
          //   dicUrl: "/api/blade-system/dept/selectIn",
          //   props: {
          //     label: "deptname",
          //     value: "deptid",
          //   },
          // },
          {
            label: "所属机构",
            prop: "deptid",
            addDisplay: false,
            type: "select",
            hide: true,
            dicUrl: "/api/blade-system/dept/selectIn",
            label: "所属辖区",
            prop: "jurisdiction",
            type: "tree",
            dicUrl: "/api/jurisdiction/lazy-trees",
            props: {
              label: "deptname",
              value: "deptid",
              label: "title",
              value: "id",
            },
            // labelWidth: 160,
            // span: 12,
          },
          {
            label: "许可类型",
@@ -483,10 +383,6 @@
              {
                label: "保安服务许可",
                value: "0",
              },
              {
                label: "保安培训许可",
                value: "1",
              },
            ],
          },
@@ -535,6 +431,21 @@
              },
            ],
          },
          {
            label: "撤销原因",
            prop: "reason",
            // labelWidth: 160,
            // span: 24,
            hide: true,
            type: "textarea",
            rules: [
              {
                required: true,
                message: "请输入撤销原因",
                trigger: "blur",
              },
            ],
          },
        ],
      },
      data: [],