md
This commit is contained in:
parent
807b018d34
commit
31dd18375d
@ -9,6 +9,8 @@
|
|||||||
|
|
||||||
printerIsRead:打印机已经OK的信号
|
printerIsRead:打印机已经OK的信号
|
||||||
|
|
||||||
|
updatePrintStatus: 打印状态更新
|
||||||
|
|
||||||
|
|
||||||
*/
|
*/
|
||||||
import { getToken } from '@/utils/auth'
|
import { getToken } from '@/utils/auth'
|
||||||
@ -16,8 +18,8 @@ import { getToken } from '@/utils/auth'
|
|||||||
class TanexPrinterSdk {
|
class TanexPrinterSdk {
|
||||||
VERSION="1.0.0"
|
VERSION="1.0.0"
|
||||||
MAX_SENT_RETRY_COUNT = 9;
|
MAX_SENT_RETRY_COUNT = 9;
|
||||||
// WS_URL = "ws://127.0.0.1:17080";
|
WS_URL = "ws://127.0.0.1:17080";
|
||||||
WS_URL = "ws://192.168.88.100:17080";
|
// WS_URL = "ws://192.168.88.100:17080";
|
||||||
AUTH_TOKEN=null;
|
AUTH_TOKEN=null;
|
||||||
|
|
||||||
WS_INIT = 0;
|
WS_INIT = 0;
|
||||||
|
|||||||
@ -153,18 +153,19 @@ export default {
|
|||||||
this.queryParams.searchValue = null;
|
this.queryParams.searchValue = null;
|
||||||
this.queryParams.pageNum = 1
|
this.queryParams.pageNum = 1
|
||||||
this.getList();
|
this.getList();
|
||||||
|
|
||||||
},
|
},
|
||||||
onclear(el){
|
onclear(el){
|
||||||
|
|
||||||
this.splaceholder = this.placeholder;
|
this.splaceholder = this.placeholder;
|
||||||
this.slable = null;
|
// this.slable = null;
|
||||||
this.svalue = null;
|
// this.svalue = null;
|
||||||
|
|
||||||
this.queryParams.searchValue = null;
|
// this.queryParams.searchValue = null;
|
||||||
this.queryParams.pageNum = 1;
|
this.queryParams.pageNum = 1;
|
||||||
|
|
||||||
this.$emit("input", this.svalue);
|
this.$emit("input", this.svalue);
|
||||||
|
this.dispatch('ElFormItem', 'el.form.blur', [this.svalue]);
|
||||||
|
this.dispatch('ElFormItem', 'el.form.change', [this.svalue])
|
||||||
|
|
||||||
if(this.visible){
|
if(this.visible){
|
||||||
this.getList();
|
this.getList();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user