|  |  |  | 
|---|
|  |  |  | <el-button  v-if="[0,1].includes(model.status)" type="danger" @click="$refs.OperaUnionChangeCheckWindow.open('退回投保',model,1)">退回投保</el-button> | 
|---|
|  |  |  | </template> | 
|---|
|  |  |  | <template  v-if="0"> | 
|---|
|  |  |  | </template> | 
|---|
|  |  |  | <template  v-if="0"> | 
|---|
|  |  |  | <el-button type="primary"  @click="$refs.ApplyChangeDetails.open('更换派遣单位详单',model,0)">导出详单</el-button> | 
|---|
|  |  |  | <el-button v-if="[1,2].includes(model.status)" type="primary" @click="viewApplyFile">查看申请单</el-button> | 
|---|
|  |  |  | <el-button v-if="[0].includes(model.status)" type="primary" @click="getSignLink(0)">签署申请单</el-button> | 
|---|
|  |  |  | <el-button v-if="[2].includes(model.status)" type="primary" @click="viewPidan">查看批单</el-button> | 
|---|
|  |  |  | </template> | 
|---|
|  |  |  | </template> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="desc_item_from"> | 
|---|
|  |  |  | 
|---|
|  |  |  | border | 
|---|
|  |  |  | style="width: 100%"> | 
|---|
|  |  |  | <el-table-column | 
|---|
|  |  |  | prop="validCode" | 
|---|
|  |  |  | prop="code" | 
|---|
|  |  |  | align="center" | 
|---|
|  |  |  | label="批单号"> | 
|---|
|  |  |  | </el-table-column> | 
|---|
|  |  |  | 
|---|
|  |  |  | visibleFile:false, | 
|---|
|  |  |  | form: { | 
|---|
|  |  |  | businessId: null, | 
|---|
|  |  |  | phone: this.$store.state.userInfo.company.phone, | 
|---|
|  |  |  | phone: this.$store.state.userInfo.company? this.$store.state.userInfo.company.phone:null, | 
|---|
|  |  |  | id: null, | 
|---|
|  |  |  | editDate: '', | 
|---|
|  |  |  | code:null | 
|---|
|  |  |  | 
|---|
|  |  |  | this.setTime() | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | openFile (url) { | 
|---|
|  |  |  | setTimeout(() => { | 
|---|
|  |  |  | window.open(url) | 
|---|
|  |  |  | }, 500) | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | setTime () { | 
|---|
|  |  |  | this.timer = setInterval(() => { | 
|---|
|  |  |  | if (this.num === 0) { | 
|---|
|  |  |  | 
|---|
|  |  |  | }, 1000) | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | getSignLink (flag) { | 
|---|
|  |  |  | this.signTitle = '签署方案确认书' | 
|---|
|  |  |  | this.signTitle = '签署申请单' | 
|---|
|  |  |  | this.form.type = flag | 
|---|
|  |  |  | this.visiblePhone = true | 
|---|
|  |  |  | this.$nextTick(() => { | 
|---|