| | |
| | | :default-expanded-keys="treeId" |
| | | highlight-current |
| | | @node-click="handleNodeClick" |
| | | :render-content="renderContent" |
| | | /> |
| | | </div> |
| | | </div> |
| | |
| | | :show-overflow-tooltip="true" |
| | | /> |
| | | <el-table-column |
| | | label="临床意义" |
| | | label="结果类型" |
| | | align="center" |
| | | prop="proMeaning" |
| | | width="350px" |
| | | prop="resultType" |
| | | width="110px" |
| | | :show-overflow-tooltip="true" |
| | | /> |
| | | > |
| | | <template slot-scope="scope"> |
| | | <dict-tag |
| | | :options="dict.type.tj_result_type" |
| | | :value="scope.row.resultType" |
| | | /> |
| | | </template> |
| | | </el-table-column> |
| | | |
| | | <!-- <el-table-column label="检查方式" align="center" prop="proCheckMethod" :show-overflow-tooltip="true" |
| | | width="110px" /> --> |
| | | <el-table-column |
| | |
| | | > |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="项目类型" |
| | | label="临床意义" |
| | | align="center" |
| | | prop="resultType" |
| | | width="110px" |
| | | prop="proMeaning" |
| | | width="350px" |
| | | :show-overflow-tooltip="true" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <dict-tag |
| | | :options="dict.type.tj_result_type" |
| | | :value="scope.row.resultType" |
| | | /> |
| | | </template> |
| | | </el-table-column> |
| | | /> |
| | | <el-table-column |
| | | label="备注" |
| | | prop="remark" |
| | |
| | | lisXmmc: "", |
| | | proMetering: "", |
| | | proScope: "", |
| | | proSex:'2', |
| | | resultType: "", // 初始值 |
| | | }, |
| | | // 表单校验 |
| | | rules: { |
| | |
| | | created() { |
| | | this.getConsumables(); |
| | | this.getDeptList(); |
| | | this.getDeptTree(); |
| | | }, |
| | | mounted() { |
| | | this.getDeptTree(); |
| | | }, |
| | | methods: { |
| | |
| | | this.form.proPrice = 0.0; |
| | | this.form.proName = ""; |
| | | this.form.proId = null; |
| | | this.form.resultType = "1"; |
| | | // ProjectTree |
| | | getlist().then((response) => { |
| | | if (response.code == 200) { |
| | |
| | | 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 |
| | | ); |
| | | }, |
| | | |
| | | // 筛选节点 |
| | |
| | | consumablesList: [], |
| | | tjStandardList: [], |
| | | proStatus: "0", |
| | | resultType: "1", |
| | | }; |
| | | this.resetForm("form"); |
| | | }, |
| | |
| | | this.proParent = false; |
| | | getProject(proId).then((response) => { |
| | | console.log(response, 999); |
| | | |
| | | this.form = response.data; |
| | | if (this.form.proParentId === "0") { |
| | | this.showPrise = true; |
| | |
| | | height: 1000px; /* 设置内容的高度,以触发垂直滚动条 */ |
| | | } |
| | | |
| | | |
| | | |
| | | .el-table__header-wrapper .el-checkbox { |
| | | display: none; |
| | | } |
| | | |
| | | .red-text { |
| | | color: red !important; |
| | | } |
| | | |
| | | .pag { |
| | | display: flex; |
| | | justify-content: center; |