|
@@ -65,13 +65,23 @@
|
|
|
<el-table-column prop="AAA01" label="患者姓名" width="120"></el-table-column>
|
|
|
<el-table-column prop="" label="发病时间" width="120">
|
|
|
<template slot-scope="scope">
|
|
|
- <span >{{ scope.row.fbsj }}</span>
|
|
|
- <i v-if="scope.row.numerator == 0" style="font-size: 20px" @click="goEdit(scope.row)" class="el-icon-edit"></i>
|
|
|
+ <i v-if="scope.row.fbsj == '' || scope.row.fbsj == null" style="font-size: 20px" @click="goEdit(scope.row, 'fbsj')" class="el-icon-edit"></i>
|
|
|
+ <span v-else>{{ scope.row.fbsj }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="AAB01" label="入院时间" sortable width="160"></el-table-column>
|
|
|
<el-table-column prop="zhusu" label="主诉内容" width="160"></el-table-column>
|
|
|
- <el-table-column prop="sssj" label="手术时间" width="160"></el-table-column>
|
|
|
+ <el-table-column prop="zyzdmc" label="主要诊断名称" width="160"></el-table-column>
|
|
|
+ <el-table-column prop="zyzbbh" label="主要诊断编号" width="160"></el-table-column>
|
|
|
+ <el-table-column prop="" label="手术时间" width="160">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <i v-if="scope.row.sssj == '' || scope.row.sssj == null" style="font-size: 20px" @click="goEdit(scope.row, 'sssj')" class="el-icon-edit"></i>
|
|
|
+ <span v-else>{{ scope.row.sssj }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="ssmc" label="手术名称" width="160"></el-table-column>
|
|
|
+ <el-table-column prop="ssbh" label="手术名称" width="160"></el-table-column>
|
|
|
+
|
|
|
<el-table-column prop="AAC01" label="出院时间" sortable width="160"></el-table-column>
|
|
|
|
|
|
<el-table-column prop="AAC11N" label="出院科室"></el-table-column>
|
|
@@ -87,7 +97,7 @@
|
|
|
<span>{{ scope.row.description }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="fbsj-s" label="发病时间(时)" width="120"></el-table-column>
|
|
|
+ <el-table-column prop="fbsj_s" label="发病时间(时)" width="120"></el-table-column>
|
|
|
</el-table>
|
|
|
<!-- 分页 -->
|
|
|
<el-pagination
|
|
@@ -148,6 +158,7 @@ export default {
|
|
|
visible: false,
|
|
|
editData: {},
|
|
|
editTime: '',
|
|
|
+ modifyType: '',
|
|
|
};
|
|
|
},
|
|
|
watch: {
|
|
@@ -295,18 +306,20 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
// 点击编辑时间
|
|
|
- goEdit(obj) {
|
|
|
+ goEdit(obj, type) {
|
|
|
this.visible = true;
|
|
|
this.editData = obj;
|
|
|
this.editTime = '';
|
|
|
+ this.modifyType = type;
|
|
|
console.log(this.editData);
|
|
|
},
|
|
|
- saveEidt() {
|
|
|
+ saveEidt(modifyType) {
|
|
|
const { ruleId } = this.$route.query;
|
|
|
const params = {
|
|
|
type: ruleId,
|
|
|
blbh: ruleId == 60 ? this.editData.NG_BLBH : this.editData.XG_BLBH,
|
|
|
time: this.editTime,
|
|
|
+ field: this.modifyType,
|
|
|
};
|
|
|
console.log(params);
|
|
|
this.$axios2.post('/up_zb_fbsj', params).then(res => {
|