liuyg
2021-11-05 60f61da97dd643d3f808fba14cf7d136a8b5f11b
+许可审批修改
13 files modified
328 ■■■■ changed files
src/api/licenseApproval/permit.js 12 ●●●●● patch | view | raw | blame | history
src/api/licenseApproval/record.js 12 ●●●●● patch | view | raw | blame | history
src/api/licenseApproval/recordk.js 12 ●●●●● patch | view | raw | blame | history
src/api/licenseApproval/revoke.js 13 ●●●●● patch | view | raw | blame | history
src/router/views/index.js 2 ●●● patch | view | raw | blame | history
src/views/licenseApproval/branchOffice.vue 42 ●●●● patch | view | raw | blame | history
src/views/licenseApproval/cancellationOfFiling.vue 42 ●●●● patch | view | raw | blame | history
src/views/licenseApproval/column.js 47 ●●●● patch | view | raw | blame | history
src/views/licenseApproval/crossRegion.vue 40 ●●●● patch | view | raw | blame | history
src/views/licenseApproval/securityGuard.vue 23 ●●●●● patch | view | raw | blame | history
src/views/licenseApproval/securityPermit.vue 41 ●●●● patch | view | raw | blame | history
src/views/licenseApproval/securityTraining.vue 40 ●●●● patch | view | raw | blame | history
src/views/resource/attachOnce.vue 2 ●●● patch | view | raw | blame | history
src/api/licenseApproval/permit.js
@@ -2,6 +2,18 @@
export const getList = (current, size, params) => {
  return request({
    url: '/api/permit/page',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    }
  })
}
export const getListold = (current, size, params) => {
  return request({
    url: '/api/permit/list',
    method: 'get',
    params: {
src/api/licenseApproval/record.js
@@ -2,6 +2,18 @@
export const getList = (current, size, params) => {
  return request({
    url: '/api/record/page',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    }
  })
}
export const getListold = (current, size, params) => {
  return request({
    url: '/api/record/list',
    method: 'get',
    params: {
src/api/licenseApproval/recordk.js
@@ -2,6 +2,18 @@
export const getList = (current, size, params) => {
  return request({
    url: '/api/recordk/page',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    }
  })
}
export const getListold = (current, size, params) => {
  return request({
    url: '/api/recordk/list',
    method: 'get',
    params: {
src/api/licenseApproval/revoke.js
@@ -2,6 +2,19 @@
export const getList = (current, size, params) => {
  return request({
    url: '/api/revoke/page',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    }
  })
}
export const getListold = (current, size, params) => {
  return request({
    url: '/api/revoke/list',
    method: 'get',
    params: {
src/router/views/index.js
@@ -928,7 +928,7 @@
        component: Layout,
        children: [{
            path: 'index',
            name: '附件查看',
        name: '附件查阅',
            meta: {
                i18n: 'index',
            },
src/views/licenseApproval/branchOffice.vue
@@ -2,7 +2,7 @@
 * @Author: liu
 * @Date: 2021-08-26 17:00:55 
 * @Last Modified by: liu
 * @Last Modified time: 2021-09-22 11:24:11
 * @Last Modified time: 2021-11-05 14:51:45
 */
@@ -48,13 +48,13 @@
            :type="type"
            class="zhengJian-icon"
            @click.stop="handleCredentials(row)"
            >附件审查</el-button
            >附件</el-button
          >
          <el-button
            icon="el-icon-edit"
            :size="size"
            :type="type"
            v-if="row.type == '2'"
            v-if="row.type == '2' && userData == '0'"
            @click.stop="rowDel(row)"
            >备案审批
          </el-button>
@@ -72,9 +72,12 @@
            {{
              row.type == "0" ? "通过" : row.type == "1" ? "不通过" : "待审批"
            }}
            <i class="gz" v-if="row.type == '0'"></i>
            <i class="gz" v-if="row.type == '2'"></i>
            <!--  黄色 -->
            <i class="yj" v-if="row.type == '1'"></i>
            <i class="zc" v-if="row.type == '2'"></i>
            <!--  红色 -->
            <i class="zc" v-if="row.type == '0'"></i>
            <!--  绿色 -->
          </el-tag>
        </template>
      </avue-crud>
@@ -213,6 +216,7 @@
        column: column,
      },
      data: [],
      userData: "",
    };
  },
  computed: {
@@ -237,6 +241,29 @@
  //     console.log(this.userInfo.dept_id);
  // },
  methods: {
    changeuserData() {
      // console.log(this.userInfo, "userDatauserDatauserData");
      if (this.userInfo.Id == "1123598821738675201") {
        this.userData = "0";
        return;
      }
      var gonganj = "";
      if (this.userInfo.role_name == "公安管理员") {
        let test = /派出所$/g;
        if (test.test(this.userInfo.list.name)) {
          gonganj = "2";
        }
        test = /分局|公安局$/g;
        if (test.test(this.userInfo.list.name)) {
          gonganj = "1";
        }
        test = /市公安局$/g;
        if (test.test(this.userInfo.list.name)) {
          gonganj = "0";
        }
      }
      this.userData = gonganj;
    },
    Print() {
      this.$Print(this.$refs.licence);
    },
@@ -389,8 +416,13 @@
      this.onLoad(this.page, this.query);
    },
    onLoad(page, params = {}) {
      this.changeuserData();
      this.loading = true;
      // console.log(this.userInfo);
      params["ptype"] = 2;
      params["jurisdiction"] = this.userInfo.jurisdiction;
      params["usetype"] = this.userData;
      getList(
        page.currentPage,
        page.pageSize,
src/views/licenseApproval/cancellationOfFiling.vue
@@ -2,7 +2,7 @@
 * @Author: liu
 * @Date: 2021-08-26 17:00:04 
 * @Last Modified by: liu
 * @Last Modified time: 2021-09-22 11:23:44
 * @Last Modified time: 2021-11-05 15:24:32
 */
@@ -48,14 +48,14 @@
            :type="type"
            class="zhengJian-icon"
            @click.stop="handleCredentials(row)"
            >附件查阅
            >附件
          </el-button>
          <el-button
            icon="el-icon-edit"
            :size="size"
            :type="type"
            @click.stop="rowDel(row)"
            v-if="row.type == '2'"
            v-if="row.type == '2' && userData == '0'"
            >撤销备案审批
          </el-button>
        </template>
@@ -64,9 +64,12 @@
            {{
              row.type == "0" ? "通过" : row.type == "1" ? "不通过" : "待审核"
            }}
            <i class="gz" v-if="row.type == '0'"></i>
            <i class="gz" v-if="row.type == '2'"></i>
            <!--  黄色 -->
            <i class="yj" v-if="row.type == '1'"></i>
            <i class="zc" v-if="row.type == '2'"></i>
            <!--  红色 -->
            <i class="zc" v-if="row.type == '0'"></i>
            <!--  绿色 -->
          </el-tag>
        </template>
      </avue-crud>
@@ -152,6 +155,7 @@
        column: column,
      },
      data: [],
      userData: "",
    };
  },
  computed: {
@@ -176,6 +180,29 @@
  //     console.log(this.userInfo.dept_id);
  // },
  methods: {
    changeuserData() {
      // console.log(this.userInfo, "userDatauserDatauserData");
      if (this.userInfo.Id == "1123598821738675201") {
        this.userData = "0";
        return;
      }
      var gonganj = "";
      if (this.userInfo.role_name == "公安管理员") {
        let test = /派出所$/g;
        if (test.test(this.userInfo.list.name)) {
          gonganj = "2";
        }
        test = /分局|公安局$/g;
        if (test.test(this.userInfo.list.name)) {
          gonganj = "1";
        }
        test = /市公安局$/g;
        if (test.test(this.userInfo.list.name)) {
          gonganj = "0";
        }
      }
      this.userData = gonganj;
    },
    Print() {
      this.$Print(this.$refs.licence);
    },
@@ -185,7 +212,7 @@
        path: "/attachOnce/index",
        // redirect: { name: "foo" },
        // query: { row: row },
        query: { deptid: row.cardid, type: "6" },
        query: { deptid: row.cardid, type: "4" },
        // params: { row: row.identificationnumber },
      });
    },
@@ -316,8 +343,11 @@
      this.onLoad(this.page, this.query);
    },
    onLoad(page, params = {}) {
      this.changeuserData();
      this.loading = true;
      params["ptype"] = 4;
      params["jurisdiction"] = this.userInfo.jurisdiction;
      params["usetype"] = this.userData;
      getList(
        page.currentPage,
        page.pageSize,
src/views/licenseApproval/column.js
@@ -176,18 +176,18 @@
    //     },
    //   ],
    // },
    {
        label: "登记机关",
        prop: "registration",
        overHidden: true,
        rules: [
            {
                required: true,
                message: "请输入登记机关",
                trigger: "blur",
            },
        ],
    },
    // {
    //     label: "登记机关",
    //     prop: "registration",
    //     overHidden: true,
    //     rules: [
    //         {
    //             required: true,
    //             message: "请输入登记机关",
    //             trigger: "blur",
    //         },
    //     ],
    // },
    {
        label: "所属行业",
        hide: true,
@@ -269,7 +269,28 @@
        ],
    },
    {
        label: "经营范围",
        label: "审批意见",
        prop: "approve",
        overHidden: true
        // addDisplay: false,
        // type: "select",
        // dicData: [
        //     {
        //         label: "通过",
        //         value: "0",
        //     },
        //     {
        //         label: "不通过",
        //         value: "1",
        //     },
        //     {
        //         label: "待审核",
        //         value: "2",
        //     },
        // ],
    },
    {
        label: "服务范围",
        prop: "business",
        component: "AvueUeditor",
        hide: true,
src/views/licenseApproval/crossRegion.vue
@@ -2,7 +2,7 @@
 * @Author:liu
 * @Date: 2021-08-26 16:59:35 
 * @Last Modified by: liu
 * @Last Modified time: 2021-09-23 16:43:31
 * @Last Modified time: 2021-11-05 14:51:52
 */
@@ -48,14 +48,14 @@
            :type="type"
            class="zhengJian-icon"
            @click.stop="handleCredentials(row)"
            >附件查阅
            >附件
          </el-button>
          <el-button
            icon="el-icon-edit"
            :size="size"
            :type="type"
            @click.stop="rowDel(row)"
            v-if="row.type == '2'"
            v-if="row.type == '2' && userData == '0'"
            >备案审批
          </el-button>
          <el-button
@@ -72,9 +72,12 @@
            {{
              row.type == "0" ? "通过" : row.type == "1" ? "不通过" : "待审核"
            }}
            <i class="gz" v-if="row.type == '0'"></i>
            <i class="gz" v-if="row.type == '2'"></i>
            <!--  黄色 -->
            <i class="yj" v-if="row.type == '1'"></i>
            <i class="zc" v-if="row.type == '2'"></i>
            <!--  红色 -->
            <i class="zc" v-if="row.type == '0'"></i>
            <!--  绿色 -->
          </el-tag>
        </template>
      </avue-crud>
@@ -211,6 +214,7 @@
        column: column,
      },
      data: [],
      userData: "",
    };
  },
  computed: {
@@ -235,6 +239,29 @@
  //     console.log(this.userInfo.dept_id);
  // },
  methods: {
    changeuserData() {
      // console.log(this.userInfo, "userDatauserDatauserData");
      if (this.userInfo.Id == "1123598821738675201") {
        this.userData = "0";
        return;
      }
      var gonganj = "";
      if (this.userInfo.role_name == "公安管理员") {
        let test = /派出所$/g;
        if (test.test(this.userInfo.list.name)) {
          gonganj = "2";
        }
        test = /分局|公安局$/g;
        if (test.test(this.userInfo.list.name)) {
          gonganj = "1";
        }
        test = /市公安局$/g;
        if (test.test(this.userInfo.list.name)) {
          gonganj = "0";
        }
      }
      this.userData = gonganj;
    },
    Print() {
      this.$Print(this.$refs.licence);
    },
@@ -377,8 +404,11 @@
      this.onLoad(this.page, this.query);
    },
    onLoad(page, params = {}) {
      this.changeuserData();
      this.loading = true;
      params["ptype"] = 5;
      params["jurisdiction"] = this.userInfo.jurisdiction;
      params["usetype"] = this.userData;
      getList(
        page.currentPage,
        page.pageSize,
src/views/licenseApproval/securityGuard.vue
@@ -2,7 +2,7 @@
 * @Author: liu
 * @Date: 2021-08-26 16:57:58 
 * @Last Modified by: liu
 * @Last Modified time: 2021-09-25 17:58:55
 * @Last Modified time: 2021-11-05 14:45:01
 */
@@ -48,7 +48,7 @@
            :type="type"
            class="zhengJian-icon"
            @click.stop="handleCredentials(row)"
            >附件审查</el-button
            >附件</el-button
          >
          <el-button
            icon="el-icon-edit"
@@ -58,7 +58,7 @@
            @click.stop="rowDel(row)"
            >备案审批
          </el-button>
          <el-button
          <!-- <el-button
            icon="el-icon-edit"
            :size="size"
            :type="type"
@@ -72,7 +72,7 @@
            "
            @click.stop="rowSee(row)"
            >审批查询
          </el-button>
          </el-button> -->
          <el-button
            icon="el-icon-brush"
            :size="size"
@@ -103,9 +103,12 @@
                ? "不通过"
                : "待审核"
            }}
            <i class="gz" v-if="row.stateOur == '0'"></i>
            <i class="yj" v-if="row.stateOur == '2'"></i>
            <i class="zc" v-if="row.stateOur == '1'"></i>
            <i class="gz" v-if="row.type == '2'"></i>
            <!--  黄色 -->
            <i class="yj" v-if="row.type == '1'"></i>
            <!--  红色 -->
            <i class="zc" v-if="row.type == '0'"></i>
            <!--  绿色 -->
          </el-tag>
        </template>
      </avue-crud>
@@ -305,6 +308,8 @@
      stateOur: "",
      stateText: "",
      dialogVisibleccsee: false,
      userData: "",
    };
  },
  computed: {
@@ -567,11 +572,15 @@
          gonganj = "市局管理员";
        }
      }
      this.userData =
        gonganj == "派出所管理员" ? "2" : gonganj == "县局管理员" ? "1" : "0";
      params = {
        ...params,
        ...this.getFenji(gonganj),
      };
      console.log(params, "params");
      params["jurisdiction"] = this.userInfo.jurisdiction;
      params["usetype"] = this.userData;
      // return;
      getList(
        page.currentPage,
src/views/licenseApproval/securityPermit.vue
@@ -3,7 +3,7 @@
 * @Author: liu
 * @Date: 2021-08-26 16:22:20 
 * @Last Modified by: liu
 * @Last Modified time: 2021-09-22 11:22:57
 * @Last Modified time: 2021-11-05 14:52:21
 */
<template>
@@ -48,14 +48,14 @@
            :type="type"
            class="zhengJian-icon"
            @click.stop="handleCredentials(row)"
            >附件查阅
            >附件
          </el-button>
          <el-button
            icon="el-icon-edit"
            :size="size"
            :type="type"
            @click.stop="rowDel(row)"
            v-if="row.type == '2'"
            v-if="row.type == '2' && userData == '0'"
            >许可审批
          </el-button>
          <el-button
@@ -72,9 +72,12 @@
            {{
              row.type == "0" ? "通过" : row.type == "1" ? "不通过" : "待审核"
            }}
            <i class="gz" v-if="row.type == '0'"></i>
            <i class="gz" v-if="row.type == '2'"></i>
            <!--  黄色 -->
            <i class="yj" v-if="row.type == '1'"></i>
            <i class="zc" v-if="row.type == '2'"></i>
            <!--  红色 -->
            <i class="zc" v-if="row.type == '0'"></i>
            <!--  绿色 -->
          </el-tag>
        </template>
      </avue-crud>
@@ -264,6 +267,8 @@
        column: column,
      },
      data: [],
      userData: "",
    };
  },
  computed: {
@@ -288,6 +293,29 @@
  //     console.log(this.userInfo.dept_id);
  // },
  methods: {
    changeuserData() {
      // console.log(this.userInfo, "userDatauserDatauserData");
      if (this.userInfo.Id == "1123598821738675201") {
        this.userData = "0";
        return;
      }
      var gonganj = "";
      if (this.userInfo.role_name == "公安管理员") {
        let test = /派出所$/g;
        if (test.test(this.userInfo.list.name)) {
          gonganj = "2";
        }
        test = /分局|公安局$/g;
        if (test.test(this.userInfo.list.name)) {
          gonganj = "1";
        }
        test = /市公安局$/g;
        if (test.test(this.userInfo.list.name)) {
          gonganj = "0";
        }
      }
      this.userData = gonganj;
    },
    Print() {
      this.$Print(this.$refs.licence);
    },
@@ -430,8 +458,11 @@
      this.onLoad(this.page, this.query);
    },
    onLoad(page, params = {}) {
      this.changeuserData();
      this.loading = true;
      params["ptype"] = 0;
      params["jurisdiction"] = this.userInfo.jurisdiction;
      params["usetype"] = this.userData;
      getList(
        page.currentPage,
        page.pageSize,
src/views/licenseApproval/securityTraining.vue
@@ -2,7 +2,7 @@
 * @Author: liu
 * @Date: 2021-08-26 16:55:25 
 * @Last Modified by: liu
 * @Last Modified time: 2021-09-22 11:24:49
 * @Last Modified time: 2021-11-05 14:52:22
 */
@@ -48,14 +48,14 @@
            :type="type"
            class="zhengJian-icon"
            @click.stop="handleCredentials(row)"
            >附件查阅
            >附件
          </el-button>
          <el-button
            icon="el-icon-edit"
            :size="size"
            :type="type"
            @click.stop="rowDel(row)"
            v-if="row.type == '2'"
            v-if="row.type == '2' && userData == '0'"
            >许可审批
          </el-button>
          <el-button
@@ -72,9 +72,12 @@
            {{
              row.type == "0" ? "通过" : row.type == "1" ? "不通过" : "待审核"
            }}
            <i class="gz" v-if="row.type == '0'"></i>
            <i class="gz" v-if="row.type == '2'"></i>
            <!--  黄色 -->
            <i class="yj" v-if="row.type == '1'"></i>
            <i class="zc" v-if="row.type == '2'"></i>
            <!--  红色 -->
            <i class="zc" v-if="row.type == '0'"></i>
            <!--  绿色 -->
          </el-tag>
        </template>
      </avue-crud>
@@ -264,6 +267,7 @@
        column: column,
      },
      data: [],
      userData: "",
    };
  },
  computed: {
@@ -288,6 +292,29 @@
  //     console.log(this.userInfo.dept_id);
  // },
  methods: {
    changeuserData() {
      // console.log(this.userInfo, "userDatauserDatauserData");
      if (this.userInfo.Id == "1123598821738675201") {
        this.userData = "0";
        return;
      }
      var gonganj = "";
      if (this.userInfo.role_name == "公安管理员") {
        let test = /派出所$/g;
        if (test.test(this.userInfo.list.name)) {
          gonganj = "2";
        }
        test = /分局|公安局$/g;
        if (test.test(this.userInfo.list.name)) {
          gonganj = "1";
        }
        test = /市公安局$/g;
        if (test.test(this.userInfo.list.name)) {
          gonganj = "0";
        }
      }
      this.userData = gonganj;
    },
    Print() {
      this.$Print(this.$refs.licence);
    },
@@ -428,8 +455,11 @@
      this.onLoad(this.page, this.query);
    },
    onLoad(page, params = {}) {
      this.changeuserData();
      this.loading = true;
      params["ptype"] = 1;
      params["jurisdiction"] = this.userInfo.jurisdiction;
      params["usetype"] = this.userData;
      getList(
        page.currentPage,
        page.pageSize,
src/views/resource/attachOnce.vue
@@ -176,7 +176,7 @@
      i = 0,
      ind = null;
    this.$store.state.tags.tagList.forEach((item, index) => {
      if (item.label == "附件上传") {
      if (item.label == "附件查阅") {
        if (flag == false) {
          ind = index;
          flag = true;