jiangping
2024-05-16 a4945c89ee72aa8b6f2c0a75653a3256a2b30b4f
company/src/components/business/OpearaUnionChangeUnit.vue
@@ -89,9 +89,9 @@
    </el-table>
    <div style="color: #F95601; font-size: 14px;width: 100%;text-align: left">(3. 请先选择至少一条申请后提交投保申请)</div>
    <div class="info" v-if="model">
      <span v-if="model.specialAgreement">{{model.specialAgreement}}</span>
      <span v-if="model.specialInfo">{{model.specialInfo}}</span>
      <span v-if="model.ortherInfo">{{model.ortherInfo}}</span>
      <span v-if="model.specialAgreement" v-html="model.specialAgreement"></span>
      <span v-if="model.specialInfo" v-html="model.specialInfo"> </span>
      <span v-if="model.ortherInfo" v-html="model.ortherInfo"> </span>
    </div>
    <!--    选择申请单    -->
    <ApplyChangeDetails ref="ApplyChangeDetails" @success="getValue" />
@@ -161,7 +161,7 @@
import { merge } from '@/api/business/unionChange'
import ApplyChangeDetails from '@/components/business/ApplyChangeUnitDetails'
import { fetchList as pageUnionList } from '@/api/business/unionApply'
import {getDetail} from "@/api/business/insuranceApply";
import { getDetail } from '@/api/business/insuranceApply'
export default {
  name: 'add_subtract_entrust',
  extends: BaseOpera,
@@ -204,10 +204,10 @@
  },
  methods: {
    rowselect(row){
      this.$refs.multipleTable.toggleRowSelection(row,true);
      this.$refs.multipleTable.toggleRowSelection(row, true)
    },
    rowselect1(row){
      this.$refs.multipleTable1.toggleRowSelection(row,true);
      this.$refs.multipleTable1.toggleRowSelection(row, true)
    },
    checkDetial(row){
      getDetail(row.applyId).then(res => {
@@ -230,8 +230,8 @@
      console.log(rows)
      if (rows.length > 1) {
        // clearSelection 用于多选表格,清空用户的选择
        this.$refs.multipleTable1.clearSelection();
        this.$refs.multipleTable1.toggleRowSelection(rows[rows.length-1]);
        this.$refs.multipleTable1.clearSelection()
        this.$refs.multipleTable1.toggleRowSelection(rows[rows.length - 1])
      }
     if (rows.length >= 1) {
        // 选中的行对像放进数组,方便后续对数据进行操作
@@ -254,12 +254,12 @@
      this.pickerOptions = {
        disabledDate (time) {
          var start = new Date(that.model.startTime)
          start.setDate(start.getDate() + 1);
          start.setDate(start.getDate() + 1)
          var end = new Date(that.model.endTime)
          return ( time.getTime() < start.getTime() ||  time.getTime()>end.getTime())
        }
      }
      this.getList();
      this.getList()
    },
    confirm () {
      this.$refs.form.validate((valid) => {
@@ -272,7 +272,7 @@
            type: 'error',
            message: '请选择至少一条申请记录进行投保申请!!'
          })
          return;
          return
        }
        this.$confirm('确认提交,请仔细核对信息。', '提示', {
          confirmButtonText: '确定',
@@ -326,7 +326,7 @@
    selectBaoxiandan(){
      this.currentPage = 1
      this.visibleSelect=true
      this.$refs.multipleTable.clearSelection();
      this.$refs.multipleTable.clearSelection()
      this.getUnionApplyList()
    },
    getUnionApplyList(){
@@ -335,7 +335,7 @@
        page: this.currentPage,
        model: {
          queryFlag:2,
          status: 3,
          status: 3
        }
      }).then(res => {
        this.tableData.list = res.records