tangzy
2021-07-14 b335b70701457f247b292540cb7e9680f3c4d4ff
src/views/permit/permit.vue
@@ -35,7 +35,14 @@
                   :size="size"
                   :type="type"
                   class="zhengJian-icon"
                   @click.stop="handleCredentials(row)">附件上传
                   @click.stop="handleCredentials(row)">附件查阅
        </el-button>
        <el-button
          icon="el-icon-edit"
          :size="size"
          :type="type"
          @click.stop="rowDel(row)"
        >许可审批
        </el-button>
      </template>
      <template class="tdtype" slot-scope="{ row }" slot="type">
@@ -95,6 +102,7 @@
          },
          {
            label: "企业名称",
            search: true,
            prop: "enterprisename",
            rules: [{
              required: true,
@@ -222,6 +230,7 @@
          },
          {
            label: "许可类型",
            search: true,
            prop: "ptype",
            type: "select",
            dicData: [
@@ -347,14 +356,16 @@
    }
    ,
    rowDel(row) {
      this.$confirm("确定将选择数据删除?", {
      this.$confirm("确定对选择的许可进行审批?", {
        confirmButtonText: "确定",
        cancelButtonText: "取消",
        type: "warning"
      })
        .then(() => {
          return remove(row.id);
        })
          row.type='0';
          return update(row);
        }
        )
        .then(() => {
          this.onLoad(this.page);
          this.$message({