修改对应bug

This commit is contained in:
chenze 2024-09-02 17:55:21 +08:00
parent b98b95e49b
commit a2b2d1bf5d
2 changed files with 16 additions and 3 deletions

View File

@ -119,8 +119,10 @@
<a v-if='editEnabel' @click='handleView(record.id)'>详情</a> <a v-if='editEnabel' @click='handleView(record.id)'>详情</a>
<!-- <a-divider v-if='!isShowModel' type='vertical' />--> <!-- <a-divider v-if='!isShowModel' type='vertical' />-->
<!-- <a v-if='editEnabel && !isShowModel' @click='handleEdit(record)'>编辑</a>--> <!-- <a v-if='editEnabel && !isShowModel' @click='handleEdit(record)'>编辑</a>-->
<a-divider v-if='!isShowModel' type='vertical' /> <!-- <a-divider v-if='!isShowModel' type='vertical' />-->
<a type='danger' v-if='!isShowModel' @click='delByIds(record.id)'>删除</a> <!-- <a type='danger' v-if='!isShowModel' @click='delByIds(record.id)'>删除</a>-->
<!-- <a-divider v-if='!isShowModel' type='vertical' />-->
<!-- <a type='danger' v-if='!isShowModel' @click='delByIds(selectedRowKeys)'>批量删除</a>-->
</span> </span>
</s-table> </s-table>
<repair-modal ref='modal' @success='handleOk' /> <repair-modal ref='modal' @success='handleOk' />

View File

@ -330,9 +330,20 @@ export default {
// this.floorCreateList(this.queryParam) // this.floorCreateList(this.queryParam)
}, },
// //
selectTime(value, dateString) { selectTime (value, dateString) {
this.queryParam.startDate = dateString[0] this.queryParam.startDate = dateString[0]
this.queryParam.endDate = dateString[1] this.queryParam.endDate = dateString[1]
},
handleView (workerId) {
this.$router.push({ name: 'repair', query: { repairUserId: workerId } })
},
handleFloorView (floorId) {
console.log(floorId)
this.$router.push({ name: 'repair', query: { floorId: floorId } })
},
handleFloorCreateView (floorId) {
this.$router.push({ name: 'repair', query: { floorCreateId: floorId } })
} }
}, },
watch: {} watch: {}