| | |
| | | v-for="dict in dict.type.sys_user_sex" |
| | | :key="dict.label" |
| | | :label="dict.label" |
| | | :value="parseInt(dict.value)" |
| | | :value="dict.value" |
| | | ></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | |
| | | <el-input |
| | | v-model="scope.row.organname" |
| | | placeholder="器官名称" |
| | | :disabled="true" |
| | | /> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | prop="caseno" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-input v-model="scope.row.caseno" placeholder="系统编号" /> |
| | | <el-input |
| | | v-model="scope.row.caseno" |
| | | :disabled="true" |
| | | placeholder="系统编号" |
| | | /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | |
| | | width="150" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-input v-model="scope.row.amount" placeholder="实收金额" /> |
| | | <el-input |
| | | v-model="scope.row.amount" |
| | | :disabled="true" |
| | | placeholder="实收金额" |
| | | /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | |
| | | <template slot-scope="scope"> |
| | | <el-date-picker |
| | | clearable |
| | | :disabled="true" |
| | | size="small" |
| | | style="width: 100%" |
| | | v-model="scope.row.amounttime" |
| | |
| | | <template slot-scope="scope"> |
| | | <el-input |
| | | v-model="scope.row.organcharge" |
| | | :disabled="true" |
| | | placeholder="标准费用" |
| | | /> |
| | | </template> |
| | |
| | | > |
| | | <template slot-scope="scope"> |
| | | <org-selecter |
| | | :disabled="true" |
| | | ref="tranHosSelect" |
| | | :org-type="'4'" |
| | | v-model="scope.row.hospitalno" |
| | |
| | | prop="name" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-input v-model="scope.row.name" placeholder="受体姓氏" /> |
| | | <el-input |
| | | v-model="scope.row.name" |
| | | :disabled="true" |
| | | placeholder="受体姓氏" |
| | | /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | |
| | | <template slot-scope="scope"> |
| | | <el-date-picker |
| | | clearable |
| | | :disabled="true" |
| | | size="small" |
| | | style="width: 100%" |
| | | v-model="scope.row.organtime" |
| | |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="organchargedesc" align="center" label="备注"> |
| | | <template slot-scope="scope"> |
| | | <template slot-scope="scope" width="300"> |
| | | <el-input |
| | | v-model="scope.row.organchargedesc" |
| | | placeholder="备注" |
| | |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button |
| | | type="primary" |
| | | type="success" |
| | | @click="submitForm" |
| | | v-if="operationType == 'add' || operationType == 'update'" |
| | | >保 存</el-button |
| | | > |
| | | <el-button type="primary" @click="cancel">关闭</el-button> |
| | | <el-button type="info" @click="cancel">关闭</el-button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | { required: true, message: "请输入所属业务组", trigger: "blur" } |
| | | ] |
| | | }, |
| | | |
| | | gxinzt: false, |
| | | baselist: [], |
| | | donorList: [], |
| | | organchargelist: [], |
| | |
| | | this.operationType = this.$route.query.operation; |
| | | this.curId = this.$route.query.id; |
| | | this.curCase = this.$route.query.data; |
| | | this.gxinzt = this.$route.query.gxinzt; |
| | | console.log(this.curCase); |
| | | console.log("this.$route.query", this.$route.query); |
| | | |
| | | if (this.operationType == "add") { |
| | |
| | | this.form.age = this.curCase.age; |
| | | this.form.donationcategory = this.curCase.donationcategory; |
| | | |
| | | //获取完成登记的器官表 |
| | | if (this.curCase.id > 0) { |
| | | } else { |
| | | this.curCase.id = 0; |
| | | } |
| | | let searchParam = { |
| | | infoid: this.curCase.id |
| | | }; |
| | | listDonatecomporgan(searchParam).then(res => { |
| | | if (res.code == 200) { |
| | | // 查询器官费用表 |
| | | let tempParam = { |
| | | organcode: null, |
| | | organname: null, |
| | | charge: null |
| | | }; |
| | | listOrgancharge(tempParam).then(res1 => { |
| | | if (res1.code == 200) { |
| | | this.organchargelist = res1.rows; |
| | | } |
| | | |
| | | //插入器官表 |
| | | res.rows.forEach(item => { |
| | | //获取费用金额 |
| | | this.organchargelist.map(rescharge => { |
| | | if (rescharge.organcode == item.organno) { |
| | | this.donorchargeorgans.push({ |
| | | organno: item.organno, |
| | | organname: item.organname, |
| | | organcharge: rescharge.charge, |
| | | infoid: item.infoid, |
| | | hospitalname: item.transplanthospitalname, |
| | | hospitalno: item.transplanthospitalno, |
| | | organtime: item.transplanttime, |
| | | chargestate: "0" |
| | | }); |
| | | } |
| | | }); |
| | | }); |
| | | }); |
| | | this.organParams.infoid = this.curCase.id; |
| | | listDonorchargeorgan(this.organParams).then(res => { |
| | | console.log("listDonorchargeorgan", res); |
| | | this.donorchargeorgans = res.rows; |
| | | if (this.donorchargeorgans.length > 0) { |
| | | } else { |
| | | this.addRow(0); |
| | | } |
| | | }); |
| | | } |
| | |
| | | getDonorcharge(this.curId).then(response => { |
| | | this.form = response.data; |
| | | console.log("getDonorcharge", response); |
| | | |
| | | //器官费用信息 |
| | | this.organParams.donorchargeid = this.curId; |
| | | this.organParams.infoid = this.form.infoid; |
| | | console.log("this.organParams", this.organParams); |
| | | listDonorchargeorgan(this.organParams).then(res => { |
| | | console.log("listDonorchargeorgan", res); |
| | |
| | | if (this.donorchargeorgans.length > 0) { |
| | | } else { |
| | | this.addRow(0); |
| | | } |
| | | if ((this.gxinzt = true)) { |
| | | this.submitForm(); |
| | | } |
| | | }); |
| | | }); |
| | |
| | | this.title = "查看捐献案例器官费用表"; |
| | | |
| | | //器官费用信息 |
| | | this.organParams.donorchargeid = this.curId; |
| | | this.organParams.infoid = this.form.infoid; |
| | | listDonorchargeorgan(this.organParams).then(res => { |
| | | this.donorchargeorgans = res.rows; |
| | | if (this.donorchargeorgans.length > 0) { |
| | |
| | | var columnnames = [ |
| | | "organno", |
| | | "organname", |
| | | "amount", |
| | | "caseno", |
| | | "amounttime", |
| | | "organcharge", |
| | | "hospitalname", |