pengjun 1 year ago
parent
commit
2886b1bbcb
  1. 89
      src/components/patientRegister/PatientRegisterList.vue
  2. 15
      src/components/report/TurnoverReport.vue
  3. 5
      src/views/customerOrg/patientRegisterImport.vue
  4. 12
      src/views/workload/deskwork.vue
  5. 4
      src/views/workload/doctorstaionworkload.vue
  6. 4
      src/views/workload/peisworkload.vue

89
src/components/patientRegister/PatientRegisterList.vue

@ -205,6 +205,24 @@
:editTimes="editTimes" :refFuncSetData="refFuncSetData" /> :editTimes="editTimes" :refFuncSetData="refFuncSetData" />
</el-dialog> </el-dialog>
<!-- 修改信息 -->
<el-dialog :title="`修改信息--${upBaseInfo.label}`" :visible.sync="upBaseInfo.visble" width="400" :show-close="false"
:append-to-body="true" :close-on-click-modal="false">
<div>
<div style="display: flex;margin-bottom: 20px;">
<span style="padding: 5px 0 0 10px; width:100px;">{{ upBaseInfo.label }}</span>
<el-input v-model="upBaseInfo.value" size="small"></el-input>
</div>
<div style="display: flex;justify-content: space-between;">
<div></div>
<div>
<el-button class="commonbutton" @click="btnUpBaseInfo">提交</el-button>
<el-button class="commonbutton" @click="close_dialogWin_upBaseInfo">关闭</el-button>
</div>
</div>
</div>
</el-dialog>
<!-- 拍照 --> <!-- 拍照 -->
<el-dialog title="拍照" :visible.sync="patientRegister.cameraVisble" width="400" height="800" :show-close="false" <el-dialog title="拍照" :visible.sync="patientRegister.cameraVisble" width="400" height="800" :show-close="false"
:append-to-body="true" :close-on-click-modal="false"> :append-to-body="true" :close-on-click-modal="false">
@ -375,6 +393,14 @@ export default {
maxResultCount: 100, maxResultCount: 100,
}, },
loadOptsInit: {}, loadOptsInit: {},
upBaseInfo: {
visble: false,
label: "姓名",
value: "",
colName: "patientName",
patientRegisterId: ""
}
}; };
}, },
@ -978,6 +1004,48 @@ export default {
} }
}) })
}, },
close_dialogWin_upBaseInfo(){
this.upBaseInfo.visble = false
this.close_dialogWin_PatientRegisterEdit()
},
btnUpBaseInfo() {
let body = {
patientRegisterId: this.upBaseInfo.patientRegisterId,
// "patientName": "string",
// "mobileTelephone": "string",
// "idNo": "string"
}
body[this.upBaseInfo.colName] = this.upBaseInfo.value
postapi('/api/app/PatientRegister/UpdatePatientRegisterBaseInfoByPatientRegisterId',body).then(res => {
if(res.code > -1){
this.close_dialogWin_upBaseInfo()
}
})
},
//
fnUpBaseInfo(row, baseInfoType) {
this.dataTransOpts.tableS.patient_register.id = row.id
this.upBaseInfo.visble = true
this.upBaseInfo.patientRegisterId = row.id
this.upBaseInfo.colName = baseInfoType
switch (baseInfoType) {
case "idNo":
this.upBaseInfo.label = "新身份证号"
break;
case "mobileTelephone":
this.upBaseInfo.label = "新手机号"
break;
default:
this.upBaseInfo.label = "新姓名"
break;
}
this.upBaseInfo.value = row[baseInfoType]
},
// //
onCellRightClick(row, column) { onCellRightClick(row, column) {
this.rClickRow = { ...row }; // this.rClickRow = { ...row }; //
@ -990,6 +1058,27 @@ export default {
let row = { ...this.rClickRow }; let row = { ...this.rClickRow };
let items = [] // let items = [] //
if (checkPagePriv(this.pagePriv.privs, '修改姓名') && row.completeFlag != '0')
items.push({
label: "修改姓名",
onClick: () => {
this.fnUpBaseInfo(row, 'patientName');
},
})
if (checkPagePriv(this.pagePriv.privs, '修改手机号') && row.completeFlag != '0')
items.push({
label: "修改手机号",
onClick: () => {
this.fnUpBaseInfo(row, 'mobileTelephone');
},
})
if (checkPagePriv(this.pagePriv.privs, '修改身份证号') && row.completeFlag != '0')
items.push({
label: "修改身份证号",
onClick: () => {
this.fnUpBaseInfo(row, 'idNo');
},
})
if (checkPagePriv(this.pagePriv.privs, '发送检验申请') && row.completeFlag != '0') if (checkPagePriv(this.pagePriv.privs, '发送检验申请') && row.completeFlag != '0')
items.push({ items.push({
label: "发送检验申请", label: "发送检验申请",

15
src/components/report/TurnoverReport.vue

@ -35,10 +35,11 @@
</div> </div>
</div> </div>
<div> <div>
<el-button type="primary" class="commonbutton" @click="btnQuery" size="small">查询</el-button>
<el-button type="primary" class="commonbutton" @click="btnQuery" size="small">查询</el-button>
<el-button class="commonbutton" @click="btnExport('tableData')" size="small">导出</el-button>
</div> </div>
</div> </div>
<div>
<div id="tableData">
<el-table :data="tableData" border :height="window.pageHeight - 160" highlight-current-row <el-table :data="tableData" border :height="window.pageHeight - 160" highlight-current-row
size="small" row-key="id" :summary-method="getSummaries" show-summary ref="refTable"> size="small" row-key="id" :summary-method="getSummaries" show-summary ref="refTable">
<el-table-column type="index" label="序号" width="50" align="center" /> <el-table-column type="index" label="序号" width="50" align="center" />
@ -59,6 +60,7 @@ import { getapi, postapi, putapi, deletapi } from "@/api/api";
import { deepCopy } from "../../utlis/proFunc" import { deepCopy } from "../../utlis/proFunc"
import CusOrgOCX from "./CusOrgOCX.vue" import CusOrgOCX from "./CusOrgOCX.vue"
import moment from "moment"; import moment from "moment";
import FileSaver from 'file-saver';
export default { export default {
components: { components: {
@ -156,6 +158,15 @@ export default {
}); });
}, },
//
btnExport(elId) {
let table = document.getElementById(elId);
let tableData = table.innerHTML
let fileName = moment(new Date()).format('yyyyMMDDHHmmss') + '.xls'
let blob = new Blob([tableData], { type: "text/plain;charset=utf-8" });
FileSaver.saveAs(blob, fileName);
},
// //
filterMethod(keyWords) { filterMethod(keyWords) {
if (keyWords) { if (keyWords) {

5
src/views/customerOrg/patientRegisterImport.vue

@ -1449,7 +1449,10 @@ export default {
} }
} }
}) })
if(this.seq > 30) body.isOccupationalDisease = 'Y'
if(this.seq > 30){
body.isOccupationalDisease = 'Y'
body.isDefaultMedicalType = 'Y'
}
return body return body
}, },

12
src/views/workload/deskwork.vue

@ -104,11 +104,11 @@
<el-table-column prop="checkAsbitemCount" label="检查人数" align="center"></el-table-column> <el-table-column prop="checkAsbitemCount" label="检查人数" align="center"></el-table-column>
<el-table-column prop="avgStandardPrice" label="标准价格" align="center"> <el-table-column prop="avgStandardPrice" label="标准价格" align="center">
</el-table-column> </el-table-column>
<el-table-column prop="avgChargePrice" label="实际价格" align="center">
<el-table-column prop="avgChargePrice" label="应收均价" align="center">
</el-table-column> </el-table-column>
<el-table-column prop="sumStandardPrice" label="标准金额" align="center"> <el-table-column prop="sumStandardPrice" label="标准金额" align="center">
</el-table-column> </el-table-column>
<el-table-column prop="sumChargePrice" label="实际金额" align="center">
<el-table-column prop="sumChargePrice" label="应收金额" align="center">
</el-table-column> </el-table-column>
</el-table-column> </el-table-column>
</el-table-column> </el-table-column>
@ -137,11 +137,11 @@
<el-table-column label="人数" prop="doctorCheckCount"></el-table-column> <el-table-column label="人数" prop="doctorCheckCount"></el-table-column>
<el-table-column prop="avgStandardPrice" label="标准价格"> <el-table-column prop="avgStandardPrice" label="标准价格">
</el-table-column> </el-table-column>
<el-table-column prop="avgChargePrice" label="实际价格">
<el-table-column prop="avgChargePrice" label="应收均价">
</el-table-column> </el-table-column>
<el-table-column prop="sumStandardPrice" label="标准金额"> <el-table-column prop="sumStandardPrice" label="标准金额">
</el-table-column> </el-table-column>
<el-table-column prop="sumChargePrice" label="实际金额">
<el-table-column prop="sumChargePrice" label="应收金额">
</el-table-column> </el-table-column>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -171,11 +171,11 @@
<el-table-column label="人数" prop="doctorCheckCount"></el-table-column> <el-table-column label="人数" prop="doctorCheckCount"></el-table-column>
<el-table-column prop="avgStandardPrice" label="标准价格"> <el-table-column prop="avgStandardPrice" label="标准价格">
</el-table-column> </el-table-column>
<el-table-column prop="avgChargePrice" label="实际价格">
<el-table-column prop="avgChargePrice" label="应收均价">
</el-table-column> </el-table-column>
<el-table-column prop="sumStandardPrice" label="标准金额"> <el-table-column prop="sumStandardPrice" label="标准金额">
</el-table-column> </el-table-column>
<el-table-column prop="sumChargePrice" label="实际金额">
<el-table-column prop="sumChargePrice" label="应收金额">
</el-table-column> </el-table-column>
</el-table-column> </el-table-column>
</el-table> </el-table>

4
src/views/workload/doctorstaionworkload.vue

@ -147,11 +147,11 @@
></el-table-column> ></el-table-column>
<el-table-column prop="avgStandardPrice" label="标准价格"> <el-table-column prop="avgStandardPrice" label="标准价格">
</el-table-column> </el-table-column>
<el-table-column prop="avgChargePrice" label="实际价格">
<el-table-column prop="avgChargePrice" label="应收均价">
</el-table-column> </el-table-column>
<el-table-column prop="sumStandardPrice" label="标准金额"> <el-table-column prop="sumStandardPrice" label="标准金额">
</el-table-column> </el-table-column>
<el-table-column prop="sumChargePrice" label="实际金额">
<el-table-column prop="sumChargePrice" label="应收金额">
</el-table-column> </el-table-column>
</el-table-column> </el-table-column>
</el-table-column> </el-table-column>

4
src/views/workload/peisworkload.vue

@ -117,11 +117,11 @@
></el-table-column> ></el-table-column>
<el-table-column prop="standardPrice" label="标准价格"> <el-table-column prop="standardPrice" label="标准价格">
</el-table-column> </el-table-column>
<el-table-column prop="chargePrice" label="实际价格">
<el-table-column prop="chargePrice" label="应收均价">
</el-table-column> </el-table-column>
<el-table-column prop="standardAmount" label="标准金额"> <el-table-column prop="standardAmount" label="标准金额">
</el-table-column> </el-table-column>
<el-table-column prop="chargeAmount" label="实际金额">
<el-table-column prop="chargeAmount" label="应收金额">
</el-table-column> </el-table-column>
<el-table-column prop="unitAmount" label="单位应付"> <el-table-column prop="unitAmount" label="单位应付">
</el-table-column> </el-table-column>

Loading…
Cancel
Save