| | |
| | | :show-overflow-tooltip="true" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <dict-tag :options="dict.type.dict_team" :value="scope.row.tjType" /> |
| | | <dict-tag |
| | | :options="dict.type.dict_team" |
| | | :value="scope.row.tjType" |
| | | /> |
| | | <!-- <span v-if="scope.row.tjType == '2'">个人</span> |
| | | <span v-if="scope.row.tjType == '1'">团队</span> --> |
| | | </template> |
| | |
| | | </el-tab-pane> |
| | | <el-tab-pane label="单项" name="third"> |
| | | <div class="tab8"> |
| | | <el-row type="flex" class="row-bg" justify="space-around"> |
| | | <el-col :span="22"> |
| | | <!-- <div |
| | | <el-row type="flex" class="row-bg" justify="space-around"> |
| | | <el-col :span="22"> |
| | | <!-- <div |
| | | style=" |
| | | text-align: center; |
| | | margin-bottom: 10px; |
| | |
| | | > |
| | | 项目列表 |
| | | </div> --> |
| | | <el-input |
| | | placeholder="输入关键字进行过滤" |
| | | v-model="filterText" |
| | | > |
| | | </el-input> |
| | | <div class="tab3"> |
| | | <el-tree |
| | | class="filter-tree" |
| | | v-loading="loading" |
| | | :data="Treedata" |
| | | :props="defaultProps" |
| | | show-checkbox |
| | | node-key="proId" |
| | | @check="handleCurrentChecked" |
| | | :default-checked-keys="checkedkey" |
| | | :filter-node-method="filterNode" |
| | | ref="tree" |
| | | :render-content="renderContent" |
| | | <el-input |
| | | placeholder="输入关键字进行过滤" |
| | | v-model="filterText" |
| | | > |
| | | </el-tree> |
| | | </div> |
| | | </el-col> |
| | | <!-- <el-col :span="11"> |
| | | </el-input> |
| | | <div class="tab3"> |
| | | <el-tree |
| | | class="filter-tree" |
| | | v-loading="loading" |
| | | :data="Treedata" |
| | | :props="defaultProps" |
| | | show-checkbox |
| | | node-key="proId" |
| | | @check="handleCurrentChecked" |
| | | :default-checked-keys="checkedkey" |
| | | :filter-node-method="filterNode" |
| | | ref="tree" |
| | | :render-content="renderContent" |
| | | > |
| | | </el-tree> |
| | | </div> |
| | | </el-col> |
| | | <!-- <el-col :span="11"> |
| | | <div |
| | | style=" |
| | | text-align: center; |
| | |
| | | </div> |
| | | </div> |
| | | </el-col> --> |
| | | <!-- <el-col :span="11"> |
| | | <!-- <el-col :span="11"> |
| | | <div class="grid-content bg-purple"> |
| | | <div |
| | | style=" |
| | |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> --> |
| | | <!-- <el-collapse v-model="activeName" accordion v-if="list1"> |
| | | <!-- <el-collapse v-model="activeName" accordion v-if="list1"> |
| | | <div> |
| | | <el-collapse-item title="请选择项目"> |
| | | <el-table |
| | |
| | | </el-collapse-item> |
| | | </div> |
| | | </el-collapse> --> |
| | | <!-- </div> |
| | | <!-- </div> |
| | | </el-col> --> |
| | | </el-row> |
| | | </el-row> |
| | | </div> |
| | | </el-tab-pane> |
| | | </el-tabs> |
| | | </div> |
| | | |
| | | <div class="grid-content bg-purple"> |
| | | <div style="text-align: center; margin-bottom: 10px;margin-top:9px"> |
| | | <div style="text-align: center; margin-bottom: 10px; margin-top: 9px"> |
| | | 已选项目列表 |
| | | </div> |
| | | <el-table |
| | |
| | | import moment from "moment"; |
| | | import { getZhList, getlistByZhId } from "@/api/system/package"; |
| | | import { getwater } from "@/api/hosp/customer"; |
| | | import { getInfo } from "@/api/login"; |
| | | import ViewPdf from "@/components/ViewPdf"; |
| | | import { |
| | | projectGetList, |
| | |
| | | components: { |
| | | ViewPdf, |
| | | }, |
| | | dicts: ["dict_pay_type","dict_team"], |
| | | dicts: ["dict_pay_type", "dict_team"], |
| | | name: "Order", |
| | | data() { |
| | | return { |
| | |
| | | }); |
| | | }, |
| | | /** 点击显示导检单报表*/ //lige 开始 |
| | | handleReport1(row) { |
| | | /* handleReport1(row) { |
| | | const tjNumber = this.tjnumbers; |
| | | const viewNum = "792931586196398080"; |
| | | getInfo().then(((res)=>{ |
| | | console.log(res,123); |
| | | |
| | | })) |
| | | const params = { viewNum, tjNumber }; |
| | | hasReport(tjNumber).then((res) => { |
| | | if (res == 1) { |
| | |
| | | this.$message.error("该用户暂无项目!"); |
| | | } |
| | | }); |
| | | }, */ |
| | | handleReport1(row) { |
| | | const tjNumber = this.tjnumbers; |
| | | const viewNum = "792931586196398080"; |
| | | // 先调用 getInfo 获取 userId |
| | | getInfo() |
| | | .then((res) => { |
| | | console.log(res, 1111); |
| | | |
| | | const dqdlr = res.user.userId; // 获取 userId |
| | | console.log("User ID:", dqdlr); |
| | | const params = { viewNum, tjNumber, dqdlr }; // 将 userId 加入 params |
| | | |
| | | // 再调用 hasReport 检查报告状态 |
| | | hasReport(tjNumber).then((reportRes) => { |
| | | if (reportRes === 1) { |
| | | this.$tab.openPage("导诊单", "/report/breDailyReport", params); |
| | | } else { |
| | | this.$message.error("该用户暂无项目!"); |
| | | } |
| | | }); |
| | | }) |
| | | .catch(() => { |
| | | this.$message.error("无法获取用户信息!"); |
| | | }); |
| | | }, |
| | | |
| | | handleRevoke() { |
| | |
| | | const tjNumber = this.tjnumbers; |
| | | const viewNum = "983185234038140928"; |
| | | const jxbz = this.bldhid; |
| | | const params = { viewNum, tjNumber, jxbz }; |
| | | console.log(params); |
| | | hasReport(tjNumber).then((res) => { |
| | | // const params = { viewNum, tjNumber, jxbz }; |
| | | // console.log(params); |
| | | getInfo() |
| | | .then((res) => { |
| | | console.log(res, 1111); |
| | | const dqdlr = res.user.userId; // 获取 userId |
| | | const params = { viewNum, tjNumber, jxbz, dqdlr }; |
| | | |
| | | hasReport(tjNumber).then((res) => { |
| | | if (res == 1) { |
| | | this.$tab.openPage( |
| | | "导诊单", |
| | | "/report/budabreDailyReport", |
| | | params |
| | | ); |
| | | this.budadaozhen = false; |
| | | } else { |
| | | this.$message.error("该用户暂无项目!"); |
| | | } |
| | | }); |
| | | }) |
| | | /* hasReport(tjNumber).then((res) => { |
| | | if (res == 1) { |
| | | this.$tab.openPage("导诊单", "/report/budabreDailyReport", params); |
| | | this.budadaozhen = false; |
| | | } else { |
| | | this.$message.error("该用户暂无项目!"); |
| | | } |
| | | }); |
| | | }); */ |
| | | }, |
| | | |
| | | handleClick(tab, event) { |
| | |
| | | } |
| | | }); |
| | | this.TotalPrice1 = 0; |
| | | this.DataList3.forEach(item=>{ |
| | | this.DataList3.forEach((item) => { |
| | | this.TotalPrice1 += item.proPrice; |
| | | }) |
| | | }); |
| | | }, |
| | | /** 删除按钮操作 */ |
| | | handleDelete(row) { |
| | |
| | | getaddtTransition(data).then((response) => { |
| | | if (response.code === 200) { |
| | | this.DataList = []; |
| | | this.DataList3 = []; |
| | | this.DataLists = []; |
| | | this.TotalPrice1 = 0; |
| | | this.DataList3 = []; |
| | | this.DataLists = []; |
| | | this.TotalPrice1 = 0; |
| | | let tjType = this.form.tjType; |
| | | let copeWith = this.TotalPrice1; |
| | | let paidIn = copeWith * (this.discount / 10); |
| | |
| | | margin-top: 10px; |
| | | } |
| | | .box { |
| | | |
| | | display: flex; |
| | | justify-content: space-between; |
| | | } |
| | | .box1{ |
| | | .box1 { |
| | | width: 50%; |
| | | display: flex; |
| | | flex-direction: column; |