小更新代码

This commit is contained in:
xiaofajia 2024-10-24 22:39:10 +08:00
parent c822245307
commit 14db18ec3e

View File

@ -91,6 +91,11 @@
command="handleReTake" size="mini" type="text" icon="el-icon-refresh" command="handleReTake" size="mini" type="text" icon="el-icon-refresh"
>重新指派 >重新指派
</el-dropdown-item> </el-dropdown-item>
<el-dropdown-item
v-if="userRole === 'service_advisor' && !isFinish && scope.row.ticketsWorkStatus !== '01'"
command="handleEditRecord" size="mini" type="text" icon="el-icon-refresh"
>维修记录设置
</el-dropdown-item>
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
</template> </template>
@ -294,6 +299,9 @@ export default {
case 'handleBack': case 'handleBack':
this.handleBack(row) this.handleBack(row)
break break
case 'handleEditRecord':
this.handleEditRecord(row)
break
default: default:
break break
} }
@ -379,6 +387,10 @@ export default {
clickType: type clickType: type
} }
this.$refs.updateRecord.open(row) this.$refs.updateRecord.open(row)
},
//
async handleEditRecord(row){
console.log(row)
} }
} }
} }