| | |
| | | <el-radio-button label="待发送">待发送</el-radio-button> |
| | | <el-radio-button label="已发送">已发送</el-radio-button> |
| | | </el-radio-group> |
| | | <el-button class="btns" type="primary" size="small">进入自查(3)</el-button> |
| | | <el-button class="btns" type="primary" size="small" v-if="table1" @click="handoff(1)">进入自查(3)</el-button> |
| | | <el-button class="btns" type="primary" size="small" v-if="table2" @click="handoff(2)">返回填写</el-button> |
| | | </el-col> |
| | | <div v-if="table1"> |
| | | <el-col :span="14" style="text-align:right;" v-if="radio1=='待发送'"> |
| | | <el-button class="btns" type="primary" size="small" icon="el-icon-upload2" >发送</el-button> |
| | | <el-button class="btns" type="primary" size="small" icon="el-icon-plus" @click="sendBath()">添加</el-button> |
| | |
| | | <el-col :span="14" style="text-align:right;" v-if="radio1=='已发送'"> |
| | | <el-button class="btns" type="primary" size="small" >收回</el-button> |
| | | </el-col> |
| | | </div> |
| | | </el-row> |
| | | <div v-if="table1"> |
| | | <el-table ref="dataTable" v-if="radio1=='待发送'" :data="tableData" style="width: 100%" @selection-change="handleSelectionChange"> |
| | | <el-table-column type="selection" width="55" align="center"></el-table-column> |
| | | <el-table-column prop="check_date" label="检查时间" width="120" align="center"> |
| | |
| | | <el-table-column prop="curWarningLevel" label="发送单位" align="center"></el-table-column> |
| | | <el-table-column prop="date" label="未自查单位" align="center"></el-table-column> |
| | | </el-table> |
| | | </div> |
| | | <el-table ref="dataTable" v-if="table2" :data="tableData" style="width: 100%" @selection-change="handleSelectionChange"> |
| | | <el-table-column type="selection" width="55" align="center"></el-table-column> |
| | | <el-table-column prop="check_date" label="检查时间" width="120" align="center"> |
| | | <template slot-scope="scope"> |
| | | <label>{{ formatDate(scope.row.check_date)}}</label><br/> |
| | | <label>{{ scope.row.check_class}}</label> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="check_branch" label="检查单位" align="center"></el-table-column> |
| | | <el-table-column prop="checktype" label="检查类别" align="center"></el-table-column> |
| | | <el-table-column prop="measure" label="被检单位" align="center"></el-table-column> |
| | | <el-table-column prop="date" label="隐患类别" align="center"></el-table-column> |
| | | <el-table-column prop="DTRisk_level" label="隐患级别" align="center"></el-table-column> |
| | | <el-table-column prop="warningLevel" label="隐患地点" align="center"></el-table-column> |
| | | <el-table-column prop="curWarningLevel" label="内容" width="200" align="center"></el-table-column> |
| | | <el-table-column prop="curWarningLevel" label="发送单位" align="center"></el-table-column> |
| | | <el-table-column prop="date" label="自查结果" align="center"> |
| | | <template slot-scope="scope"> |
| | | <el-button @click="handleClick(scope.row)" type="text" size="small">不存在</el-button> |
| | | <el-button @click="handleClick(scope.row)" type="text" size="small">存在</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <div style="text-align: right"> |
| | | <el-pagination |
| | | v-show="recordTotal > 0" |
| | |
| | | listQuery:{ |
| | | form:{} |
| | | }, |
| | | radio1:'待发送', |
| | | radio1:'待发送', |
| | | table1:true, |
| | | table2:false |
| | | |
| | | } |
| | | }, |
| | | methods:{ |
| | |
| | | path:'/exist' |
| | | }) |
| | | } |
| | | }, |
| | | handoff(index){ |
| | | if(index==1){ |
| | | this.table1=false |
| | | this.table2=true |
| | | }else{ |
| | | this.table1=true |
| | | this.table2=false |
| | | } |
| | | } |
| | | } |
| | | } |