添加编辑打印机
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
</view>
|
||||
<view class="u-m-t-32 u-flex u-row-right gap-20">
|
||||
<my-button shape="circle" :width="140" :height="56" type="cancel" plain>删除</my-button>
|
||||
<my-button shape="circle" :width="140" :height="56" plain>编辑</my-button>
|
||||
<my-button shape="circle" @click="toUrl" :width="140" :height="56" plain>编辑</my-button>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -57,14 +57,18 @@
|
||||
|
||||
<script setup>
|
||||
import { devices, models, subTypes } from '@/pagePrinter/devices.js'
|
||||
|
||||
import go from '@/commons/utils/go.js'
|
||||
const props = defineProps({
|
||||
data: {
|
||||
type: Object,
|
||||
default: () => {}
|
||||
}
|
||||
})
|
||||
|
||||
let toUrl =()=>{
|
||||
go.to('PAGES_PRINTER_EDIT',{
|
||||
id:1
|
||||
})
|
||||
}
|
||||
function devicesName(value) {
|
||||
return devices.find(item => item.value == value).name
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user