导航接口
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {getCLodop, getPrinterList} from "@/utils/CLodopfuncs.js"
|
||||
// import {getCLodop, getPrinterList} from "@/utils/CLodopfuncs.js"
|
||||
import { RSAencrypt } from '@/utils/jsencrypt.js'
|
||||
import {handLogin, pdaUpdate} from '@/utils/getData2.js'
|
||||
import UpGrade from './upgrade.vue'
|
||||
@@ -60,18 +60,18 @@
|
||||
isUpdate () {
|
||||
this._pdaUpdate()
|
||||
},
|
||||
test() {
|
||||
let LODOP = getCLodop();
|
||||
// 更换为打印服务器ip 不需要加前缀
|
||||
LODOP.PRINT_INIT(null, "192.168.81.198");
|
||||
// 打印机序号 规则为打印服务器打印机列表倒数从0开始 -1为默认打印机
|
||||
LODOP.SET_PRINTER_INDEX(-1);
|
||||
// 设置打印纸大小
|
||||
LODOP.SET_PRINT_PAGESIZE(1, 800, 600, "");
|
||||
// 根据需求插入打印代码
|
||||
LODOP.PRINT(); // 打印
|
||||
// LODOP.PREVIEW()
|
||||
},
|
||||
// test() {
|
||||
// let LODOP = getCLodop();
|
||||
// // 更换为打印服务器ip 不需要加前缀
|
||||
// LODOP.PRINT_INIT(null, "192.168.81.198");
|
||||
// // 打印机序号 规则为打印服务器打印机列表倒数从0开始 -1为默认打印机
|
||||
// LODOP.SET_PRINTER_INDEX(-1);
|
||||
// // 设置打印纸大小
|
||||
// LODOP.SET_PRINT_PAGESIZE(1, 800, 600, "");
|
||||
// // 根据需求插入打印代码
|
||||
// LODOP.PRINT(); // 打印
|
||||
// // LODOP.PREVIEW()
|
||||
// },
|
||||
toSaveUser() {
|
||||
this.saveUser = !this.saveUser
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user