|
@@ -43,6 +43,12 @@
|
|
|
<el-table-column :resizable="false" type="index" :index="indexMethod" label="编号" width="80"></el-table-column>
|
|
|
<el-table-column :resizable="false" prop="gmtModified" label="操作时间" width="180"></el-table-column>
|
|
|
<el-table-column :resizable="false" prop="hisName" label="医院手术/操作名称" show-overflow-tooltip></el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ :resizable="false"
|
|
|
+ prop="code"
|
|
|
+ label="手术/操作代码"
|
|
|
+ show-overflow-tooltip
|
|
|
+ ></el-table-column>
|
|
|
<el-table-column
|
|
|
:resizable="false"
|
|
|
prop="uniqueName"
|
|
@@ -108,7 +114,7 @@ export default {
|
|
|
filter: {
|
|
|
hisName: '', // 医院诊断名称
|
|
|
uniqueName: '', //标准诊断名称
|
|
|
- match:''
|
|
|
+ match: ''
|
|
|
},
|
|
|
matchList: [
|
|
|
{ id: '', name: '全部' },
|
|
@@ -186,7 +192,7 @@ export default {
|
|
|
background: 'rgba(0, 0, 0, 0.7)'
|
|
|
});
|
|
|
api.dataOperationVerify(formData, header).then(res => {
|
|
|
- if ((res.data.code === '00020007' || res.data.code === '00020004')) {
|
|
|
+ if (res.data.code === '00020007' || res.data.code === '00020004') {
|
|
|
loading.close();
|
|
|
this.$alert(`${res.data.msg}`, '提示', {
|
|
|
confirmButtonText: '确定',
|
|
@@ -260,7 +266,7 @@ export default {
|
|
|
uniqueCode: '',
|
|
|
hospitalId: data && data.hospitalId,
|
|
|
type: 6,
|
|
|
- isMatch:this.filter.match
|
|
|
+ isMatch: this.filter.match
|
|
|
};
|
|
|
return param;
|
|
|
},
|
|
@@ -285,8 +291,8 @@ export default {
|
|
|
// hospitaiName: this.hospitaiName
|
|
|
// })
|
|
|
// });
|
|
|
- this.data={}
|
|
|
- this.showModal()
|
|
|
+ this.data = {};
|
|
|
+ this.showModal();
|
|
|
},
|
|
|
// 修改诊断关联-跳转至编辑页面
|
|
|
modifyRelation(row) {
|
|
@@ -306,8 +312,8 @@ export default {
|
|
|
// hospitaiName: this.hospitaiName
|
|
|
// })
|
|
|
// });
|
|
|
- this.data = item
|
|
|
- this.showModal()
|
|
|
+ this.data = item;
|
|
|
+ this.showModal();
|
|
|
},
|
|
|
currentChange(next) {
|
|
|
this.currentPage = next;
|
|
@@ -411,7 +417,11 @@ export default {
|
|
|
})
|
|
|
.then(() => {
|
|
|
api
|
|
|
- .exportOperationRecord({ hospitalId: this.hospitalId,type:6,isMatch:this.filter.match })
|
|
|
+ .exportOperationRecord({
|
|
|
+ hospitalId: this.hospitalId,
|
|
|
+ type: 6,
|
|
|
+ isMatch: this.filter.match
|
|
|
+ })
|
|
|
.then(res => {
|
|
|
if (res.status === 200) {
|
|
|
this.$message({ message: '导出成功', type: 'success' });
|
|
@@ -426,7 +436,7 @@ export default {
|
|
|
|
|
|
// 导入模板
|
|
|
exportModule() {
|
|
|
- api.exportOperationModule({type:6}).then(res => {
|
|
|
+ api.exportOperationModule({ type: 6 }).then(res => {
|
|
|
if (res.status === 200) {
|
|
|
setTimeout(() => {
|
|
|
utils.downloadExportedData(res.data, '手术/操作导入模板.xls');
|
|
@@ -471,7 +481,7 @@ export default {
|
|
|
setTimeout(() => {
|
|
|
this.uploadInfo = '导入';
|
|
|
}, 300);
|
|
|
- } else if ((res.data.data === true && res.status === 200)) {
|
|
|
+ } else if (res.data.data === true && res.status === 200) {
|
|
|
this.$alert(`导入成功`, '提示', {
|
|
|
confirmButtonText: '确定',
|
|
|
// cancelButtonText: '取消',
|