| | |
| | | </el-form> |
| | | </el-card> |
| | | |
| | | <!-- 随访周期(儿保三种专案通用) --> |
| | | <el-card v-if="archive.subType === 'highrisk' || archive.subType === 'nutrition' || archive.subType === 'learning'" class="info-card" shadow="never" style="margin-top:14px"> |
| | | <div slot="header" class="card-header"><span>随访周期</span></div> |
| | | <EditableTable :data.sync="followupCycle" :editing="editing" :columns="followupColumns" auto-seq="seq" /> |
| | | </el-card> |
| | | |
| | | </el-tab-pane> |
| | | |
| | | <el-tab-pane label="服务记录" name="service"> |
| | |
| | | trainDate:"", trainingType:"", trainContent:"", duration:40, trainer:"", progress:"良好" }, |
| | | growthData: [], neuroData: [], interventionData: [], |
| | | measureData: [], dietData: [], planData: [], |
| | | followupCycle: [], |
| | | followupColumns: [ |
| | | { prop:"seq", label:"序号", width:60 }, |
| | | { prop:"planDate", label:"拟随访日期", width:180, type:"date" }, |
| | | { prop:"status", label:"状况", width:130, type:"select", options:["已完成","未完成"], default:"未完成" }, |
| | | { prop:"method", label:"随访方式", width:110 }, |
| | | { prop:"situation", label:"随访情况", minWidth:160 }, |
| | | { prop:"followDate", label:"随访日期", width:130, type:"date" }, |
| | | { prop:"staff", label:"随访人员", width:110 }, |
| | | ], |
| | | growthColumns: [ |
| | | { prop:"checkDate", label:"检查日期", width:180, type:"date" },{ prop:"monthAge", label:"月龄", width:80 }, |
| | | { prop:"weight", label:"体重(kg)", width:100, type:"number" },{ prop:"height", label:"身高(cm)", width:100, type:"number" }, |
| | |
| | | this.archive = archive || null; |
| | | if (this.archive) { |
| | | if (!this.archive.parentInfo) this.archive.parentInfo = {}; |
| | | this.followupCycle = this.archive.followupCycle || []; |
| | | if (this.archive.subType === 'highrisk') { |
| | | this.activeTab = "growth"; |
| | | this.growthData = this.archive.growthData || getDefaultGrowthData(); |
| | |
| | | this.archive.dietData = JSON.parse(JSON.stringify(this.dietData)); |
| | | this.archive.planData = JSON.parse(JSON.stringify(this.planData)); |
| | | } |
| | | this.archive.followupCycle = JSON.parse(JSON.stringify(this.followupCycle)); |
| | | this.loading = true; |
| | | saveArchive(this.archive) |
| | | .then(() => { |