| | |
| | | <el-table-column property="address" label="指标值" align="center" sortable show-overflow-tooltip /> |
| | | <el-table-column v-if="activeName == 1" label="操作" align="center" show-overflow-tooltip> |
| | | <template #default> |
| | | <el-button link type="primary" size="default" :icon="EditPen" @click="jumpFrom">检查</el-button> |
| | | <el-button link type="primary" size="default" :icon="EditPen" @click="jumpFrom(0)">检查</el-button> |
| | | <el-button link type="primary" size="default" :icon="View" @click="openDai(tableData)">记录</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column v-if="activeName == 2" label="操作" align="center" show-overflow-tooltip> |
| | | <template #default> |
| | | <el-button link type="primary" size="default" :icon="EditPen" @click="handleClick">上报</el-button> |
| | | <el-button link type="primary" size="default" :icon="EditPen" @click="jumpFrom(1)">上报</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | } |
| | | // 流程表单 |
| | | const router=useRouter() |
| | | const jumpFrom=()=>{ |
| | | const jumpFrom=(data:string)=>{ |
| | | router.push({ |
| | | path:"/processForms" |
| | | path:"/processForms", |
| | | query:{ |
| | | type:data |
| | | } |
| | | }) |
| | | } |
| | | return { |