| | |
| | | <div class="dietarySurvey-home" > |
| | | <el-row v-if="patientsInfo.id" style="padding-left: 10px;"> |
| | | <el-form size="small" :inline="true" :model="state.formInline"> |
| | | <el-form-item label="调差表"> |
| | | <el-form-item label="调查表"> |
| | | <el-select style="width: 120px;" |
| | | v-model="state.formInline.formTableName" |
| | | placeholder="不选默认查全部" |
| | |
| | | {{scope.row.suveryFormName}} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="评估结果" show-overflow-tooltip > |
| | | <template #default="scope"> |
| | | <span :style="{color:scope.row.结果.结果.color}" v-if="scope.row.结果?.结果?.value"> |
| | | 评分:{{scope.row.结果?.结果?.value}}, 结果:{{scope.row.结果?.结果?.label}} |
| | | </span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="surveryPersonName" label="填表人" show-overflow-tooltip /> |
| | | <!-- <el-table-column prop="updateTime" label="更新时间" show-overflow-tooltip /> --> |
| | | |
| | | <el-table-column label="操作" > |
| | | <template #default="scope"> |
| | | <el-button size="small" @click="handleEdit(scope.$index, scope.row)"> |
| | |
| | | background: 'rgba(0, 0, 0, 0.7)', |
| | | }) |
| | | list(pasm).then(re=>{ |
| | | state.tableData=re.data.list |
| | | const list=re.data.list.map(e=>{ |
| | | e.结果=JSON.parse(e.surveryJsonBody) |
| | | return e |
| | | }) |
| | | state.tableData=list |
| | | // state.tableData=re.data.list |
| | | state.total=re.data.total |
| | | }).finally(()=>{ |
| | | loading.close() |
| | |
| | | background: 'rgba(0, 0, 0, 0.7)', |
| | | }) |
| | | list(pasm).then(re=>{ |
| | | console.log(re) |
| | | state.tableData=re.data.list |
| | | |
| | | const list=re.data.list.map(e=>{ |
| | | e.结果=JSON.parse(e.surveryJsonBody) |
| | | return e |
| | | }) |
| | | state.tableData=list |
| | | console.log('----------') |
| | | console.log(state.tableData) |
| | | |
| | | state.total=re.data.total |
| | | }).finally(()=>{ |
| | | loading.close() |