| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="question-list"> |
| | | <div class="question-type" @click="flodRM()"> |
| | | <div class="type-name"> |
| | | {{ CNNum[rowDetail.remarkNo] }}、其他隐患问题 |
| | | </div> |
| | | <div class="icon-box"><i class="el-icon-arrow-down" v-show="rowDetail.isShowRemark"></i><i |
| | | class="el-icon-arrow-up" v-show="!rowDetail.isShowRemark"></i></div> |
| | | </div> |
| | | <div class="remark-box" v-show="rowDetail.isShowRemark">{{ rowDetail.remark }}</div> |
| | | </div> |
| | | </el-drawer> |
| | | <!-- 审核弹窗 --> |
| | | <el-dialog :visible.sync="visible" append-to-body destroy-on-close title="审核" width="30%" |
| | |
| | | this.visible = true |
| | | }, |
| | | |
| | | // 折叠问题列表 |
| | | flodQL (index) { |
| | | this.rowDetail.qTypeList[index].isShowQList = !this.rowDetail.qTypeList[index].isShowQList |
| | | this.refreshNum += 1 |
| | | }, |
| | | |
| | | // 折叠其他 |
| | | flodRM () { |
| | | this.rowDetail.isShowRemark = !this.rowDetail.isShowRemark |
| | | this.refreshNum += 1 |
| | | }, |
| | | |
| | |
| | | newArr.push({ questionName: part[0], questionList: part[1], isShowQList: true }) |
| | | }) |
| | | row.qTypeList = newArr |
| | | row.remarkNo = newArr.length |
| | | row.isShowRemark = true |
| | | this.rowDetail = row |
| | | console.log('row', row) |
| | | this.isDetail = true |
| | | }, |
| | | |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | .remark-box { |
| | | padding: 10px; |
| | | background-color: #f5f7fa; |
| | | border-radius: 8px; |
| | | min-height: 40px; |
| | | margin-bottom: 20px; |
| | | } |
| | | } |
| | | </style> |