shuishen
2021-09-03 2d50c51214f0ced8c992a415c72ea33b519fff59
src/views/record/record.vue
@@ -47,6 +47,7 @@
          @click.stop="rowDel(row)"
          v-show="row.type == 2"
          >审批
          <!--  v-show="row.type == 2" -->
        </el-button>
        <el-button
          icon="el-icon-edit"
@@ -105,15 +106,25 @@
      width="30%"
      :modal-append-to-body="false"
    >
      <span>是否通过审核?</span>
      <span slot="footer" class="dialog-footer">
        <el-button @click="closecc">通过</el-button>
        <el-button type="primary" @click="subcc">不通过</el-button>
      </span>
      <div class="flots">
        <span class="f_title">是否通过审核?</span>
        <span class="f_body">请输入修改意见:</span>
        <textarea
          name="reworkmes"
          cols="40"
          rows="4"
          style="overflow: hidden"
          v-model="textareaShenpi"
        ></textarea>
        <div class="but">
          <el-button @click="closecc">通过</el-button>
          <el-button type="primary" @click="subcc">不通过</el-button>
        </div>
      </div>
    </el-dialog>
  </basic-container>
</template>
<script>
import { getList, getDetail, add, update, remove } from "@/api/record/record";
import { mapGetters } from "vuex";
@@ -123,6 +134,8 @@
    return {
      dialogVisiblecc: false, //许可证审核抽屉
      xukezData: {},
      textareaShenpi: "",
      dialogVisible: false, // 备案审批打印的
      form: {},
@@ -187,7 +200,43 @@
            ],
          },
          {
            label: "法定代表人电话",
            width: 150,
            prop: "representativecell",
            rules: [
              {
                required: true,
                message: "请输入法定代表人电话",
                trigger: "blur",
              },
            ],
          },
          {
            label: "联系人",
            prop: "contacts",
            rules: [
              {
                required: true,
                message: "请输入联系人",
                trigger: "blur",
              },
            ],
          },
          {
            label: "联系人电话",
            width: 150,
            prop: "contactscell",
            rules: [
              {
                required: true,
                message: "请输入联系人电话",
                trigger: "blur",
              },
            ],
          },
          {
            label: "注册时间",
            hide: true,
            prop: "establishtime",
            type: "date",
            format: "yyyy-MM-dd",
@@ -491,11 +540,13 @@
    closecc() {
      this.xukezData.type = "0";
      this.dialogVisiblecc = false;
      this.xukezData["approve"] = this.textareaShenpi;
      return update(this.xukezData);
    },
    subcc() {
      this.xukezData.type = "1";
      this.dialogVisiblecc = false;
      this.xukezData["approve"] = this.textareaShenpi;
      return update(this.xukezData);
    },
    // 审批打印
@@ -622,8 +673,8 @@
  },
};
</script>
<style scoped>
<style scoped lang="scss">
.dtype {
  width: 80px;
}
@@ -715,4 +766,22 @@
.exam-box span {
  text-decoration: underline;
}
</style>
.flots {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  .f_title {
    position: absolute;
    top: 15px;
    font-size: 18px;
  }
}
.but {
  margin-top: 20px;
  width: 100%;
  display: flex;
  align-content: center;
  justify-content: center;
}
</style>