添加编辑打印机

This commit is contained in:
duan
2024-09-11 16:28:56 +08:00
parent 200ecaea29
commit 4f9517ac7f
4 changed files with 189 additions and 4 deletions

View File

@@ -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
}