| | |
| | | |
| | | <template> |
| | | <el-table :data="tableList" v-loading="loading" ref="table" height="536px" style="margin: 20px; width: 98%" |
| | | border="" :cell-class-name="myclass"> |
| | | border="" :cell-class-name="myclass"> |
| | | <!-- <template slot="empty">数据正在加载中</template> --> |
| | | <el-table-column label="体检号" align="center" prop="tjNumber" width="160px" /> |
| | | <el-table-column label="姓名" align="center" prop="cusName" width="90px" /> |
| | |
| | | title="会诊申请" v-if="tjStatus == '1'"></el-button> |
| | | <el-button type="primary" icon="el-icon-share" size="mini" @click="handleClick(scope.row)" |
| | | title="详情"></el-button> |
| | | <el-button type="primary" icon="el-icon-picture" size="mini" @click="handlepicture(scope.row)" |
| | | <el-button type="primary" icon="el-icon-picture" size="mini" @click="handlepicture(scope.row)" |
| | | title="报告"></el-button> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | <div style="margin: 10px 10px;" v-if="hasdeptList.length >= 1"> |
| | | <el-button type="primary" size="mini" @click="Changeapply()">会诊申请</el-button> |
| | | </div> |
| | | |
| | | |
| | | </div> |
| | | |
| | | |
| | |
| | | {{ scope.row.standard.company }} |
| | | </template> --> |
| | | </el-table-column> |
| | | <el-table-column prop="project.proScope" label="参考范围" width="100"> |
| | | <el-table-column prop="project.proScope" label="参考范围" width="100"> |
| | | </el-table-column> |
| | | <el-table-column prop="conclusion" label="结果结论" width="280"> |
| | | <template slot-scope="scope"> |
| | |
| | | return { |
| | | url: '', |
| | | srcList: [], |
| | | formIn:{}, |
| | | formIn: {}, |
| | | project: {}, |
| | | Parentcheck: {}, |
| | | checkval:false, |
| | | checkval: false, |
| | | selected: false, |
| | | // 遮罩层 |
| | | loading: false, |
| | |
| | | }, |
| | | |
| | | getList() { |
| | | this.loading = true |
| | | this.queryParams.type = this.tjStatus; |
| | | huaYangetProList(this.queryParams).then((response) => { |
| | | if (response.data) { |
| | | if (response.data.date) { |
| | | this.tableList = response.data.date; |
| | | if (response.code == 200) { |
| | | this.loading = false |
| | | if (response.data) { |
| | | if (response.data.date) { |
| | | this.tableList = response.data.date; |
| | | } else { |
| | | this.tableList = response.data.customers; |
| | | } |
| | | this.total = response.data.total; |
| | | } else { |
| | | this.tableList = response.data.customers; |
| | | this.tableList = []; |
| | | } |
| | | this.total = response.data.total; |
| | | } else { |
| | | this.tableList = []; |
| | | } |
| | | |
| | | }); |
| | | }, |
| | | |
| | | // 单选按钮 |
| | | radioChange(val) { |
| | | this.loading = true |
| | | this.queryParams.type = val; |
| | | huaYangetProList(this.queryParams).then((response) => { |
| | | if (response.data) { |
| | | if(response.code == 200){ |
| | | this.loading = false |
| | | if (response.data) { |
| | | this.tableList = response.data.date; |
| | | this.total = response.data.total; |
| | | } else { |
| | | this.tableList = []; |
| | | } |
| | | } |
| | | |
| | | }); |
| | | }, |
| | | |
| | |
| | | // this.drawer = false; |
| | | this.tuweiopen = true; |
| | | let data = { |
| | | tjNumber:this.tjNumber, |
| | | proId:this.proId, |
| | | tjNumber: this.tjNumber, |
| | | proId: this.proId, |
| | | } |
| | | getPhotoList(data).then(res => { |
| | | this.proimgList = res.data |
| | | }) |
| | | }, |
| | | handleproimgChange(selected){ |
| | | handleproimgChange(selected) { |
| | | const val = selected |
| | | selected.forEach(item => { |
| | | if(val[val.length -1] == item){ |
| | | this.$refs.tabss.toggleRowSelection(item,true) |
| | | }else { |
| | | this.$refs.tabss.toggleRowSelection(item,false) |
| | | if (val[val.length - 1] == item) { |
| | | this.$refs.tabss.toggleRowSelection(item, true) |
| | | } else { |
| | | this.$refs.tabss.toggleRowSelection(item, false) |
| | | } |
| | | }) |
| | | this.url = selected[0].checkPicture |
| | |
| | | } else { |
| | | this.formIn.flag = "0" |
| | | addBigPositive(this.formIn).then(res => { |
| | | this.$modal.msgSuccess("删除成功"); |
| | | this.getParentIdsss() |
| | | }) |
| | | this.$modal.msgSuccess("删除成功"); |
| | | this.getParentIdsss() |
| | | }) |
| | | } |
| | | }, |
| | | submitcheckval() { |
| | |
| | | } |
| | | }, |
| | | |
| | | handlepicture(row){ |
| | | handlepicture(row) { |
| | | let configKey = "pacsUrl" |
| | | getConfigKey(configKey).then(res => { |
| | | window.open(res.msg, '_blank'); |
| | | }) |
| | | }, |
| | | |
| | | // 点击详情 |
| | | handleClick(row) { |
| | | // 点击详情 |
| | | handleClick(row) { |
| | | this.getDept(row.tjNumber) |
| | | this.loading = true; |
| | | this.drawer = true; |
| | |
| | | padding-left: 10px; |
| | | padding-right: 10px; |
| | | } |
| | | |
| | | .setclass { |
| | | background-color: #f86b35; |
| | | color: black; |