| | |
| | | :default-expanded-keys="treeId" |
| | | highlight-current |
| | | @node-click="handleNodeClick" |
| | | :render-content="renderContent" |
| | | /> |
| | | </div> |
| | | </div> |
| | |
| | | :width="flexColumnWidth('rwdtypeName')" |
| | | /> |
| | | <el-table-column |
| | | label="项目价格(单位/元)" |
| | | label="价格(/元)" |
| | | align="center" |
| | | prop="proPrice" |
| | | width="75px" |
| | | :show-overflow-tooltip="true" |
| | | ></el-table-column> |
| | | <el-table-column |
| | | label="数量" |
| | | align="center" |
| | | prop="sl" |
| | | width="65px" |
| | | :show-overflow-tooltip="true" |
| | | ></el-table-column> |
| | | <!-- <el-table-column label="科室名称" align="center" prop="deptName" width="110px" :show-overflow-tooltip="true" /> --> |
| | |
| | | label="结果类型" |
| | | align="center" |
| | | prop="resultType" |
| | | width="110px" |
| | | width="80px" |
| | | :show-overflow-tooltip="true" |
| | | > |
| | | <template slot-scope="scope"> |
| | |
| | | align="center" |
| | | prop="needReport" |
| | | :show-overflow-tooltip="true" |
| | | width="110px" |
| | | width="75px" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <dict-tag |
| | |
| | | align="center" |
| | | prop="proCheckMethod" |
| | | :show-overflow-tooltip="true" |
| | | width="110px" |
| | | width="75px" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <dict-tag |
| | |
| | | lisXmmc: "", |
| | | proMetering: "", |
| | | proScope: "", |
| | | |
| | | resultType: "", // 初始值 |
| | | |
| | | |
| | | proSex:'2', |
| | | resultType: "", // 初始值 |
| | | }, |
| | | // 表单校验 |
| | | rules: { |
| | |
| | | created() { |
| | | this.getConsumables(); |
| | | this.getDeptList(); |
| | | this.getDeptTree(); |
| | | }, |
| | | mounted() { |
| | | this.getDeptTree(); |
| | | }, |
| | | methods: { |
| | |
| | | this.List = true; |
| | | listSfxm(this.querycharge).then((response) => { |
| | | this.sfxmList = response.rows; |
| | | |
| | | response.rows.forEach((item, index) => { |
| | | item.newID = |
| | | (this.querycharge.pageNum - 1) * this.querycharge.pageSize + |
| | |
| | | |
| | | handleNodecharge(data) { |
| | | this.queryParam.id = data.id; |
| | | |
| | | this.List = false; |
| | | this.getListByXmId(); |
| | | }, |
| | |
| | | this.deptOptions = response.data; |
| | | this.treeId.push(this.deptOptions[0].id); |
| | | }); |
| | | }, |
| | | |
| | | renderContent(h, { node, data }) { |
| | | return h( |
| | | "span", |
| | | { |
| | | style: { |
| | | color: data.status === "1" ? "red" : "inherit", // 动态设置颜色 |
| | | fontSize: "14px", |
| | | }, |
| | | }, |
| | | data.label // 显示节点的 label |
| | | ); |
| | | }, |
| | | |
| | | // 筛选节点 |
| | |
| | | height: 1000px; /* 设置内容的高度,以触发垂直滚动条 */ |
| | | } |
| | | |
| | | |
| | | |
| | | .el-table__header-wrapper .el-checkbox { |
| | | display: none; |
| | | } |
| | | |
| | | .red-text { |
| | | color: red !important; |
| | | } |
| | | |
| | | .pag { |
| | | display: flex; |
| | | justify-content: center; |