| | |
| | | size="mini" |
| | | @click="handleQuery" |
| | | style="margin-right: 15px" |
| | | >查询</el-button |
| | | > |
| | | 查询 |
| | | </el-button> |
| | | <el-button |
| | | icon="el-icon-refresh" |
| | | type="primary" |
| | | size="mini" |
| | | @click="resetQuery" |
| | | >重置</el-button |
| | | > |
| | | 重置 |
| | | </el-button> |
| | | <el-button |
| | | icon="el-icon-check" |
| | | type="primary" |
| | | size="mini" |
| | | style="margin-right: 15px" |
| | | @click="tongbu" |
| | | >同步</el-button |
| | | > |
| | | 同步 |
| | | </el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | |
| | | <!-- <div class="table-title"> |
| | | <h3>检验记录</h3> |
| | | </div> --> |
| | | <div class="box"> |
| | | <div |
| | | style="text-align: center; background-color: #aad8df; margin-top: 10px" |
| | | > |
| | | 检验记录 |
| | | <!-- {{ item.parent || "" }} --> |
| | | </div> |
| | | <div class="table-header">检验记录</div> |
| | | <div> |
| | | <el-table |
| | | :data="exaLists" |
| | | border |
| | | style="width: 100%" |
| | | @selection-change="handleSelectionChange" |
| | | :header-cell-style="{ background: '#aad8df' }" |
| | | :header-cell-style="{ background: '#aad8df', fontSize: '14px', color: '#333' }" |
| | | height="350" |
| | | ref="firstTable" |
| | | > |
| | | <el-table-column |
| | | fixed |
| | | type="selection" |
| | | align="center" |
| | | label="选择" |
| | | width="40" |
| | | > |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="姓名" |
| | | align="center" |
| | | prop="name" |
| | | width="80px" |
| | | /> |
| | | <el-table-column |
| | | label="性别" |
| | | align="center" |
| | | prop="gender" |
| | | width="80px" |
| | | /> |
| | | <el-table-column |
| | | label="年龄" |
| | | align="center" |
| | | prop="patientAge" |
| | | width="80px" |
| | | > |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="送检科室" |
| | | align="center" |
| | | prop="deptName" |
| | | width="100px" |
| | | /> |
| | | |
| | | <el-table-column fixed type="selection" align="center" label="选择" width="50" /> |
| | | <el-table-column label="姓名" align="center" prop="name" width="80" /> |
| | | <el-table-column label="性别" align="center" prop="gender" width="80" /> |
| | | <el-table-column label="年龄" align="center" prop="patientAge" width="80" /> |
| | | <el-table-column label="送检科室" align="center" prop="deptName" width="100" /> |
| | | <el-table-column |
| | | label="检验项目" |
| | | align="center" |
| | | prop="checkParts" |
| | | width="350px" |
| | | width="350" |
| | | :show-overflow-tooltip="true" |
| | | /> |
| | | <el-table-column |
| | | label="项目编号" |
| | | align="center" |
| | | prop="jcxmid" |
| | | width="150px" |
| | | /> |
| | | <el-table-column |
| | | label="审核医师" |
| | | align="center" |
| | | prop="shys" |
| | | width="150px" |
| | | /> |
| | | <el-table-column |
| | | label="报告时间" |
| | | align="center" |
| | | prop="examinationDate" |
| | | width="150px" |
| | | |
| | | /> |
| | | <!-- :formatter="formatDate" --> |
| | | |
| | | <el-table-column |
| | | label="门诊号" |
| | | align="center" |
| | | prop="mzh" |
| | | width="140px" |
| | | /> |
| | | <el-table-column |
| | | label="申请单号" |
| | | align="center" |
| | | prop="brid" |
| | | width="145px" |
| | | /> |
| | | <el-table-column |
| | | label="报告医师" |
| | | align="center" |
| | | prop="reportDoctorName" |
| | | width="120px" |
| | | /> |
| | | <el-table-column |
| | | label="检验医师名" |
| | | align="center" |
| | | prop="checkDoctorName" |
| | | width="120px" |
| | | /> |
| | | <el-table-column align="center" label="检测项目" width="100px "> |
| | | <el-table-column label="项目编号" align="center" prop="jcxmid" width="150" /> |
| | | <el-table-column label="审核医师" align="center" prop="shys" width="150" /> |
| | | <el-table-column label="报告时间" align="center" prop="examinationDate" width="150" /> |
| | | <el-table-column label="门诊号" align="center" prop="mzh" width="140" /> |
| | | <el-table-column label="申请单号" align="center" prop="brid" width="145" /> |
| | | <el-table-column label="报告医师" align="center" prop="reportDoctorName" width="120" /> |
| | | <el-table-column label="检验医师名" align="center" prop="checkDoctorName" width="120" /> |
| | | <el-table-column align="center" label="检测项目" width="100"> |
| | | <template slot-scope="scope"> |
| | | <div>{{ scope.row.proName }}</div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | align="center" |
| | | prop="proResult" |
| | | label="检测结果" |
| | | width="180" |
| | | > |
| | | </el-table-column> |
| | | <el-table-column align="center" prop="company" label="单位"> |
| | | <!-- <template slot-scope="scope"> |
| | | <div v-if="scope.row.project != null"> |
| | | {{ scope.row.standard.company || "" }} |
| | | </div> |
| | | <div v-else>{{ scope.row.proAdvice }}</div> |
| | | </template> --> |
| | | </el-table-column> |
| | | <el-table-column |
| | | align="center" |
| | | prop="conclusion" |
| | | label="异常" |
| | | width="180" |
| | | ></el-table-column> |
| | | <el-table-column |
| | | align="center" |
| | | prop="tjStandardGtValue" |
| | | label=" 参考范围" |
| | | > |
| | | <!-- <template slot-scope="scope"> |
| | | <div v-if="scope.row.project != null"> |
| | | {{ |
| | | scope.row.standard.tjStandardGtValue || |
| | | "/" + "-" + scope.row.standard.tjStandardLtValue || |
| | | "/" |
| | | }} |
| | | </div> |
| | | </template> --> |
| | | </el-table-column> |
| | | <el-table-column align="center" prop="proResult" label="检测结果" width="180" /> |
| | | <el-table-column align="center" prop="company" label="单位" width="80" /> |
| | | <el-table-column align="center" prop="conclusion" label="异常" width="180" /> |
| | | <el-table-column align="center" prop="tjStandardGtValue" label="参考范围" width="120" /> |
| | | </el-table> |
| | | </div> |
| | | </div> |
| | | |
| | | <!-- <el-table |
| | | id="ta" |
| | | ref="tb" |
| | | :data="exaLists" |
| | | v-loading="loading" |
| | | border |
| | | max-height="350" |
| | | @current-change="handleCurrentChange" |
| | | @selection-change="handleSelectionChange" |
| | | :row-class-name="tableRowClassName" |
| | | > |
| | | <el-table-column |
| | | fixed |
| | | type="selection" |
| | | align="center" |
| | | label="选择" |
| | | width="40" |
| | | :selectable="isSelectable" |
| | | > |
| | | </el-table-column> |
| | | |
| | | <el-table-column label="姓名" align="center" prop="name" width="80px" /> |
| | | <el-table-column label="性别" align="center" prop="gender" width="80px" /> |
| | | <el-table-column |
| | | label="年龄" |
| | | align="center" |
| | | prop="patientAge" |
| | | width="80px" |
| | | > |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="送检科室" |
| | | align="center" |
| | | prop="deptName" |
| | | width="100px" |
| | | /> |
| | | |
| | | <el-table-column |
| | | label="检查项目" |
| | | align="center" |
| | | prop="checkParts" |
| | | width="150px" |
| | | /> |
| | | <el-table-column |
| | | label="报告时间" |
| | | align="center" |
| | | prop="examinationDate" |
| | | width="150px" |
| | | /> |
| | | |
| | | <el-table-column label="门诊号" align="center" prop="mzh" width="140px" /> |
| | | <el-table-column |
| | | label="申请单号" |
| | | align="center" |
| | | prop="brid" |
| | | width="145px" |
| | | /> |
| | | <el-table-column |
| | | label="结果状态" |
| | | align="center" |
| | | prop="diagnosis" |
| | | width="150" |
| | | :show-overflow-tooltip="true" |
| | | /> |
| | | <el-table-column |
| | | label="报告医师" |
| | | align="center" |
| | | prop="reportDoctorName" |
| | | width="120px" |
| | | /> |
| | | <el-table-column |
| | | label="检查医师名" |
| | | align="center" |
| | | prop="checkDoctorName" |
| | | width="120px" |
| | | /> |
| | | |
| | | <el-table-column |
| | | label="结果表现" |
| | | align="center" |
| | | prop="examination" |
| | | :show-overflow-tooltip="true" |
| | | /> |
| | | </el-table> --> |
| | | |
| | | <div class="table-title"> |
| | | <h3>体检记录</h3> |
| | | <h3> |
| | | 体检记录: |
| | | <span class="highlight">姓名:{{ infoList.tjCustomerName || "暂无" }}</span> |
| | | <span class="highlight"> |
| | | 性别: |
| | | {{ |
| | | infoList.tjCustomerSex == 0 |
| | | ? "男" |
| | | : infoList.tjCustomerSex == 1 |
| | | ? "女" |
| | | : "暂无" |
| | | }} |
| | | </span> |
| | | <span class="highlight">年龄:{{ infoList.tjCustomerAge || "暂无" }}</span> |
| | | <span class="highlight">门诊号:{{ infoList.cardId || "暂无" }}</span> |
| | | </h3> |
| | | </div> |
| | | |
| | | <el-table |
| | | border |
| | | height="350" |
| | |
| | | v-loading="loading" |
| | | style="width: 100%" |
| | | @selection-change="handleSelectionChangeSecond" |
| | | :header-cell-style="{ background: '#aad8df', fontSize: '14px', color: '#333' }" |
| | | > |
| | | <el-table-column type="selection" width="55"> </el-table-column> |
| | | <el-table-column type="selection" width="60" /> |
| | | <el-table-column |
| | | label="状态" |
| | | align="center" |
| | |
| | | <span v-if="scope.row.type == '3'">延期</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="科室" |
| | | align="center" |
| | | prop="deptName" |
| | | min-width="115" |
| | | /> |
| | | <el-table-column |
| | | label="项目" |
| | | align="center" |
| | | prop="proName" |
| | | min-width="160" |
| | | /> |
| | | <el-table-column |
| | | label="收费方式" |
| | | align="center" |
| | | prop="sffs" |
| | | min-width="80" |
| | | /> |
| | | <el-table-column |
| | | label="是否收费" |
| | | align="center" |
| | | prop="isPay" |
| | | min-width="80" |
| | | /> |
| | | <el-table-column |
| | | label="检验时间" |
| | | align="center" |
| | | prop="bcupdateTime" |
| | | min-width="160" |
| | | /> |
| | | |
| | | <el-table-column |
| | | label="最后修改时间" |
| | | align="center" |
| | | prop="zhupdateTime" |
| | | min-width="160" |
| | | /> |
| | | <el-table-column label="科室" align="center" prop="deptName" min-width="115" /> |
| | | <el-table-column label="项目" align="center" prop="proName" min-width="160" /> |
| | | <el-table-column label="收费方式" align="center" prop="sffs" min-width="80" /> |
| | | <el-table-column label="是否收费" align="center" prop="isPay" min-width="80" /> |
| | | <el-table-column label="检验时间" align="center" prop="bcupdateTime" min-width="160" /> |
| | | <el-table-column label="最后修改时间" align="center" prop="zhupdateTime" min-width="160" /> |
| | | </el-table> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | |
| | | <script> |
| | | import { getlisList, getJyTjList, asyncPacs } from "@/api/doctor/pacsCheck"; |
| | | import moment from "moment"; |
| | | import { getOrderList } from "@/api/hosp/order"; |
| | | |
| | | export default { |
| | | dicts: ["dict_tj_status"], |
| | | data() { |
| | | return { |
| | | dis: false, |
| | | code: null, |
| | | createTimeList: "", |
| | | total: 0, |
| | | loading: false, |
| | | isSyncing: false, |
| | | // 查询参数 |
| | | queryParams: { |
| | | // page: 1, |
| | | // pageSize: 20, |
| | | name: null, |
| | | start: null, |
| | | end: null, |
| | | tjNum: null, |
| | | }, |
| | | // 绑定单选按钮 |
| | | checkStatus: "0", |
| | | exaLists: [], |
| | | selectedFirstTable: null, // 第一个表格选中行 |
| | | selectedSecondTable: [], // 第二个表格选中行 |
| | | // 表单参数 |
| | | form: {}, |
| | | clearTimeSet: null, |
| | | tjNumbers: "", |
| | | multipleSelection: "", |
| | | tjnum: "", |
| | | xiangmuList: [], |
| | | checkList: [], |
| | | tg: true, |
| | | bh: true, |
| | | pickerOptions: { |
| | | shortcuts: [ |
| | | { |
| | | text: "最近一周", |
| | | onClick(picker) { |
| | | const end = new Date(); |
| | | const start = new Date(); |
| | | start.setTime(start.getTime() - 3600 * 1000 * 24 * 7); |
| | | picker.$emit("pick", [start, end]); |
| | | }, |
| | | }, |
| | | { |
| | | text: "最近一个月", |
| | | onClick(picker) { |
| | | const end = new Date(); |
| | | const start = new Date(); |
| | | start.setTime(start.getTime() - 3600 * 1000 * 24 * 30); |
| | | picker.$emit("pick", [start, end]); |
| | | }, |
| | | }, |
| | | { |
| | | text: "最近三个月", |
| | | onClick(picker) { |
| | | const end = new Date(); |
| | | const start = new Date(); |
| | | start.setTime(start.getTime() - 3600 * 1000 * 24 * 90); |
| | | picker.$emit("pick", [start, end]); |
| | | }, |
| | | }, |
| | | ], |
| | | }, |
| | | infoList: {}, |
| | | selectedFirstTable: [], |
| | | selectedSecondTable: [], |
| | | loading: false, |
| | | isProcessingSelection: false, |
| | | }; |
| | | }, |
| | | |
| | | mounted() { |
| | | this.$nextTick(() => { |
| | | this.$refs.inputName.focus(); |
| | | }); |
| | | }, |
| | | methods: { |
| | | handleDateChange(val) { |
| | | if (val && val.length === 2) { |
| | | this.queryParams.start = val[0]; // 设置开始时间 |
| | | this.queryParams.end = val[1]; // 设置结束时间 |
| | | } else { |
| | | this.queryParams.start = null; |
| | | this.queryParams.end = null; |
| | | } |
| | | console.log("Query Params:", this.queryParams); |
| | | }, |
| | | /* formatDate(row) { |
| | | if (!row.examinationDate) return ""; |
| | | |
| | | // 使用 moment 解析指定格式的日期字符串 |
| | | const date = moment(row.examinationDate, "MM DD YYYY hh:mmA"); |
| | | |
| | | if (!date.isValid()) return "无效日期"; |
| | | |
| | | // 格式化为所需格式 |
| | | return date.format("YYYY-MM-DD HH:mm"); |
| | | }, */ |
| | | // isSelectable(row) { |
| | | // return !!row.mzh; |
| | | // }, |
| | | tableRowClassName({ row }) { |
| | | return !row.mzh ? "row-disabled" : ""; |
| | | }, |
| | | |
| | | handleSelectionChange(val) { |
| | | console.log(val); |
| | | /* if (val.length > 1) { |
| | | let del_row = val.shift(); |
| | | this.$refs.tb.toggleRowSelection(del_row, false); //设置这一行取消选中 |
| | | } |
| | | console.log(val, 999); */ |
| | | |
| | | if (val.length > 0) { |
| | | // const selectedRow = val[0]; |
| | | // console.log(val[0], 555); |
| | | |
| | | this.selectedFirstTable = val; |
| | | console.log("当前选中的行数据:", this.selectedFirstTable); |
| | | // this.fetchRightTableData(selectedRow); |
| | | } else { |
| | | this.selectedFirstTable = null; |
| | | this.checkList = []; |
| | | } |
| | | }, |
| | | // 根据选中的行数据请求右边表格数据 |
| | | fetchRightTableData() { |
| | | const code = queryParams.tjNum; |
| | | // if (!code) return; |
| | | getJyTjList(code).then((response) => { |
| | | this.checkList = response.data; |
| | | this.loading = false; |
| | | }); |
| | | }, |
| | | |
| | | handleSelectionChangeSecond(selectedRows) { |
| | | this.selectedSecondTable = selectedRows; |
| | | if (selectedRows.length > 1) { |
| | | let del_row = selectedRows.shift(); |
| | | this.$refs.tab1.toggleRowSelection(del_row, false); //设置这一行取消选中 |
| | | } |
| | | console.log("当前选中的行数据:", this.selectedSecondTable); |
| | | }, |
| | | getList() { |
| | | if (this.createTimeList) { |
| | | this.queryParams.start = this.createTimeList[0]; |
| | | this.queryParams.end = this.createTimeList[1]; |
| | | } else if (this.createTimeList == null) { |
| | | this.queryParams.start = null; |
| | | this.queryParams.end = null; |
| | | } |
| | | }, |
| | | |
| | | /** 搜索按钮操作 */ |
| | | handleQuery() { |
| | | // this.queryParams.page = 1; |
| | | this.loading = true; |
| | | async handleQuery() { |
| | | if (!this.queryParams.tjNum) { |
| | | this.loading = false; |
| | | this.$message.error("体检号不能为空"); |
| | | return; // 终止请求 |
| | | } |
| | | getlisList(this.queryParams) |
| | | .then((res) => { |
| | | if (res.code == 200) { |
| | | this.loading = false; |
| | | this.exaLists = res.data; |
| | | // const code = this.exaLists[0].mzh; |
| | | const code = this.queryParams.tjNum; |
| | | getJyTjList(code).then((response) => { |
| | | this.checkList = response.data; |
| | | }); |
| | | } |
| | | }) |
| | | .catch((error) => { |
| | | this.loading = false; |
| | | this.$message.error(res.msg || "查询失败,请稍后重试"); |
| | | }); |
| | | this.getList(); |
| | | }, |
| | | |
| | | /** 重置按钮操作 */ |
| | | resetQuery() { |
| | | this.createTimeList = []; |
| | | this.resetForm("queryForm"); |
| | | this.queryParams = { |
| | | name: null, |
| | | start: null, |
| | | end: null, |
| | | tjNum: null, |
| | | }; |
| | | |
| | | // 清空其他依赖数据 |
| | | this.checkList = []; |
| | | this.exaLists = []; |
| | | }, |
| | | |
| | | handleCurrentChange(row) { |
| | | this.currentRow = row; |
| | | // console.log('当前选中的行:', row); |
| | | }, |
| | | |
| | | setTime() { |
| | | //设置定时器 |
| | | this.clearTimeSet = setInterval(() => { |
| | | this.$modal.closeLoading(); |
| | | }, 300000); |
| | | }, |
| | | tongbu(row) { |
| | | this.$modal.loading("正在同步,请稍候..."); |
| | | this.setTime(); |
| | | const requestData = { |
| | | lis: this.selectedFirstTable.map((item) => ({ |
| | | ...item, |
| | | tjNum: this.queryParams.tjNum, |
| | | })), |
| | | jcxmid: this.selectedFirstTable.jcxmid, |
| | | shys: this.selectedFirstTable.shys, |
| | | tj: this.selectedSecondTable[0], // 右侧表格选中数据 |
| | | }; |
| | | |
| | | /* if (!this.selectedSecondTable || this.selectedSecondTable.length === 0) { |
| | | this.$message.error("至少选一条数据!"); |
| | | return; |
| | | } */ |
| | | } |
| | | this.loading = true; |
| | | try { |
| | | const [orderResponse, lisResponse] = await Promise.all([ |
| | | getOrderList(this.queryParams).catch(() => ({ data: { list: [] } })), |
| | | getlisList(this.queryParams), |
| | | ]); |
| | | this.infoList = orderResponse.data.list?.[0] || {}; |
| | | this.exaLists = lisResponse.data.map((item, index) => ({ |
| | | ...item, |
| | | brid: item.brid?.trim(), |
| | | tempId: index, |
| | | })); |
| | | await this.fetchRightTableData(); |
| | | } catch (e) { |
| | | console.error(e); |
| | | } finally { |
| | | this.loading = false; |
| | | } |
| | | }, |
| | | |
| | | asyncPacs(requestData) |
| | | .then((res) => { |
| | | if (res.code == 200) { |
| | | this.fetchRightTableData(this.selectedFirstTable); |
| | | clearInterval(this.clearTimeSet); |
| | | this.clearTimeSet = null; |
| | | this.$modal.closeLoading(); |
| | | this.$modal.msgSuccess("同步成功!"); |
| | | } else { |
| | | this.$message.error(res.message || "同步失败,请稍后重试"); |
| | | } |
| | | resetQuery() { |
| | | this.queryParams.tjNum = null; |
| | | this.exaLists = []; |
| | | this.checkList = []; |
| | | this.infoList = {}; |
| | | }, |
| | | handleSelectionChange(selected) { |
| | | if (this.isProcessingSelection) return; |
| | | this.isProcessingSelection = true; |
| | | |
| | | // 找到用户刚操作的那一条(对比之前和现在的差异) |
| | | const old = this.selectedFirstTable; |
| | | let changedRow = null; |
| | | |
| | | if (selected.length > old.length) { |
| | | // 新增:找出新增的 |
| | | changedRow = selected.find(row => !old.includes(row)); |
| | | } else { |
| | | // 删除:找出删除的 |
| | | changedRow = old.find(row => !selected.includes(row)); |
| | | } |
| | | |
| | | if (changedRow) { |
| | | const group = this.exaLists.filter(r => r.brid === changedRow.brid); |
| | | const isAdding = selected.length > old.length; |
| | | |
| | | this.$refs.firstTable.clearSelection(); |
| | | if (isAdding) { |
| | | // 添加,整个组选上 + 原有选的 brid 也选上 |
| | | const allBrids = new Set(); |
| | | selected.forEach(row => allBrids.add(row.brid)); |
| | | allBrids.add(changedRow.brid); |
| | | const newSelection = this.exaLists.filter(row => allBrids.has(row.brid)); |
| | | newSelection.forEach(row => { |
| | | this.$refs.firstTable.toggleRowSelection(row, true); |
| | | }); |
| | | this.selectedFirstTable = newSelection; |
| | | } else { |
| | | // 删除,整个组取消,再把剩下 brid 分组补回去 |
| | | const remaining = old.filter(row => row.brid !== changedRow.brid); |
| | | const remainBrids = [...new Set(remaining.map(r => r.brid))]; |
| | | const newSelection = this.exaLists.filter(row => remainBrids.includes(row.brid)); |
| | | newSelection.forEach(row => { |
| | | this.$refs.firstTable.toggleRowSelection(row, true); |
| | | }); |
| | | this.selectedFirstTable = newSelection; |
| | | } |
| | | } else { |
| | | this.selectedFirstTable = selected; |
| | | } |
| | | |
| | | this.fetchRightTableData(); |
| | | this.isProcessingSelection = false; |
| | | }, |
| | | |
| | | |
| | | handleSelectionChangeSecond(selected) { |
| | | this.selectedSecondTable = selected.slice(0, 1); |
| | | }, |
| | | |
| | | fetchRightTableData() { |
| | | if (!this.queryParams.tjNum) return; |
| | | this.loading = true; |
| | | return getJyTjList(this.queryParams.tjNum) |
| | | .then(res => { |
| | | this.checkList = res.data || []; |
| | | }) |
| | | .catch((error) => { |
| | | clearInterval(this.clearTimeSet); |
| | | this.clearTimeSet = null; |
| | | this.$modal.closeLoading(); |
| | | .finally(() => { |
| | | this.loading = false; |
| | | }); |
| | | }, |
| | | |
| | | tongbu() { |
| | | const requestData = { |
| | | lis: this.selectedFirstTable, |
| | | tj: this.selectedSecondTable[0], |
| | | }; |
| | | asyncPacs(requestData).then(res => { |
| | | if (res.code === 200) { |
| | | this.$message.success("同步成功!"); |
| | | this.fetchRightTableData(); |
| | | } else { |
| | | this.$message.error(res.message || "同步失败"); |
| | | } |
| | | }); |
| | | }, |
| | | }, |
| | | }; |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | #ta .el-table__header-wrapper .el-checkbox { |
| | | display: none; |
| | | } |
| | | |
| | | .el-table .warning-row { |
| | | background: #e5f3ff !important; |
| | | <style lang="scss" scoped> |
| | | .app-container { |
| | | padding: 20px; |
| | | background: #f5f7fa; |
| | | } |
| | | ::v-deep .el-table__body tr.current-row > td { |
| | | background: #edf2fa !important; |
| | | } |
| | | |
| | | .table-title { |
| | | .table-header { |
| | | text-align: center; |
| | | margin-bottom: 10px; |
| | | background-color: #aad8df; |
| | | padding: 10px; |
| | | font-size: 16px; |
| | | font-weight: bold; |
| | | color: #333; |
| | | margin-top: 10px; |
| | | border-radius: 4px 4px 0 0; |
| | | } |
| | | .row-disabled { |
| | | color: #ccc; /* 设置禁用行的字体颜色 */ |
| | | pointer-events: none; /* 禁止鼠标操作 */ |
| | | background-color: #f5f5f5; /* 设置禁用行的背景色 */ |
| | | .table-title { |
| | | text-align: left; |
| | | margin: 20px 0; |
| | | padding: 10px 0; |
| | | } |
| | | |
| | | .pag { |
| | | width: 100%; |
| | | .table-title h3 { |
| | | font-size: 16px; |
| | | color: #333; |
| | | margin: 0; |
| | | line-height: 1.5; |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | flex-wrap: wrap; |
| | | gap: 20px; |
| | | } |
| | | |
| | | .pag1 { |
| | | width: 30%; |
| | | .table-title .highlight { |
| | | font-weight: bold; |
| | | color: #2c3e50; |
| | | } |
| | | </style> |
| | | .el-table { |
| | | border-radius: 4px; |
| | | font-size: 14px; |
| | | } |
| | | </style> |