Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@imedx/ics-imedx-intf-chs-js-sdk

Package Overview
Dependencies
Maintainers
15
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@imedx/ics-imedx-intf-chs-js-sdk - npm Package Compare versions

Comparing version 0.0.1-beta.8 to 0.0.1-beta.9

dist/lib/core/test.js

47

dist/ics-imedx-Intf-chs-js-sdk.es5.js

@@ -63,3 +63,3 @@ import { IntfPlatform } from '@imedx/ics-imedx-chromely-plugin-intf-platform';

var constants = {
CHS_INTERFACE_CORE: 'ChsInterfaceCore',
CHS_INTERFACE_CORE: 'Interface.CHS.Core',
Init: '2000',

@@ -103,7 +103,7 @@ ReadCard: '2100',

var script = {
data() {
data: function data() {
return {
dialogVisible: false,
chsType: null,
}
chsType: null
};
},

@@ -113,18 +113,18 @@ props: {

type: Function,
required: true,
required: true
},
reject: {
type: Function,
required: true,
required: true
},
chsTypeList: {
type: Object,
required: true,
},
required: true
}
},
mounted() {
mounted: function mounted() {
this.dialogVisible = true;
},
methods: {
handleClose(done) {
handleClose: function handleClose(done) {
this.dialogVisible = false;

@@ -134,17 +134,17 @@ done();

},
handleCancel() {
handleCancel: function handleCancel() {
this.dialogVisible = false;
this.reject('用户取消');
},
handleConfirm() {
handleConfirm: function handleConfirm() {
if (this.chsType) {
this.dialogVisible = false;
this.resolve(this.chsType);
this.resolve(this === null || this === void 0 ? void 0 : this.chsType);
} else {
this.$toast({
message: '请选择医保类型!',
message: '请选择医保类型!'
});
}
},
},
}
}
};

@@ -364,7 +364,7 @@

if (!inject) return
inject("data-v-75e95b28_0", { source: "[data-v-75e95b28] .el-radio-group {\n width: 100%;\n}\n[data-v-75e95b28] .el-radio {\n display: block;\n margin: 10px 0;\n width: 100%;\n}\n[data-v-75e95b28] .el-radio.is-bordered + .el-radio.is-bordered {\n margin-left: 0px;\n}\n[data-v-75e95b28] .el-radio .chs-name {\n color: #182140;\n}\n[data-v-75e95b28] .el-radio .chs-kind {\n float: right;\n color: rgba(24, 33, 64, 0.7);\n}\n\n/*# sourceMappingURL=ChsTypeDialog.vue.map */", map: {"version":3,"sources":["D:\\YCCode\\InterfaceJsCode\\ics-imedx-intf-chs-js-sdk\\src\\components\\chs-type-dialog\\ChsTypeDialog.vue","ChsTypeDialog.vue"],"names":[],"mappings":"AAqEA;EACA,WAAA;ACpEA;ADsEA;EACA,cAAA;EACA,cAAA;EACA,WAAA;ACnEA;ADoEA;EACA,gBAAA;AClEA;ADoEA;EACA,cAAA;AClEA;ADoEA;EACA,YAAA;EACA,4BAAA;AClEA;;AAEA,4CAA4C","file":"ChsTypeDialog.vue","sourcesContent":["\r\n<template>\r\n <ics-dialog\r\n title=\"请选择医保类型\"\r\n :visible.sync=\"dialogVisible\"\r\n width=\"500px\"\r\n :before-close=\"handleClose\"\r\n >\r\n <ics-radio-group v-model=\"chsType\">\r\n <ics-radio v-for=\"(item) in chsTypeList\" :key=\"item.id\" :label=\"item.code\" card border\r\n ><span class=\"chs-name\">【{{ item.code || '' }}】{{ item.name }}</span\r\n ><span class=\"chs-kind\">{{ item.chsKindName }}</span></ics-radio\r\n >\r\n </ics-radio-group>\r\n <span slot=\"footer\" class=\"dialog-footer\">\r\n <ics-button @click=\"handleCancel\">取 消</ics-button>\r\n <ics-button type=\"primary\" @click=\"handleConfirm\">确 定</ics-button>\r\n </span>\r\n </ics-dialog>\r\n</template>\r\n<script>\r\nexport default {\r\n data() {\r\n return {\r\n dialogVisible: false,\r\n chsType: null,\r\n }\r\n },\r\n props: {\r\n resolve: {\r\n type: Function,\r\n required: true,\r\n },\r\n reject: {\r\n type: Function,\r\n required: true,\r\n },\r\n chsTypeList: {\r\n type: Object,\r\n required: true,\r\n },\r\n },\r\n mounted() {\r\n this.dialogVisible = true\r\n },\r\n methods: {\r\n handleClose(done) {\r\n this.dialogVisible = false\r\n done()\r\n this.reject('用户关闭')\r\n },\r\n handleCancel() {\r\n this.dialogVisible = false\r\n this.reject('用户取消')\r\n },\r\n handleConfirm() {\r\n if (this.chsType) {\r\n this.dialogVisible = false\r\n this.resolve(this.chsType)\r\n } else {\r\n this.$toast({\r\n message: '请选择医保类型!',\r\n })\r\n }\r\n },\r\n },\r\n}\r\n</script>\r\n<style lang=\"scss\" scoped>\r\n::v-deep .el-radio-group {\r\n width: 100%;\r\n}\r\n::v-deep .el-radio {\r\n display: block;\r\n margin: 10px 0;\r\n width: 100%;\r\n &.is-bordered + .el-radio.is-bordered {\r\n margin-left: 0px;\r\n }\r\n .chs-name {\r\n color: #182140;\r\n }\r\n .chs-kind {\r\n float: right;\r\n color: rgba(24, 33, 64, 0.7);\r\n }\r\n}\r\n</style>\r\n","::v-deep .el-radio-group {\n width: 100%;\n}\n\n::v-deep .el-radio {\n display: block;\n margin: 10px 0;\n width: 100%;\n}\n::v-deep .el-radio.is-bordered + .el-radio.is-bordered {\n margin-left: 0px;\n}\n::v-deep .el-radio .chs-name {\n color: #182140;\n}\n::v-deep .el-radio .chs-kind {\n float: right;\n color: rgba(24, 33, 64, 0.7);\n}\n\n/*# sourceMappingURL=ChsTypeDialog.vue.map */"]}, media: undefined });
inject("data-v-1cda5022_0", { source: "[data-v-1cda5022] .el-radio-group {\n width: 100%;\n}\n[data-v-1cda5022] .el-radio {\n display: block;\n margin: 10px 0;\n width: 100%;\n}\n[data-v-1cda5022] .el-radio.is-bordered + .el-radio.is-bordered {\n margin-left: 0px;\n}\n[data-v-1cda5022] .el-radio .chs-name {\n color: #182140;\n}\n[data-v-1cda5022] .el-radio .chs-kind {\n float: right;\n color: rgba(24, 33, 64, 0.7);\n}\n\n/*# sourceMappingURL=ChsTypeDialog.vue.map */", map: {"version":3,"sources":["D:\\Work\\Src\\V7\\Program\\接口管理\\js\\ics-imedx-intf-chs-js-sdk\\src\\components\\chs-type-dialog\\ChsTypeDialog.vue","ChsTypeDialog.vue"],"names":[],"mappings":"AAqEA;EACA,WAAA;ACpEA;ADsEA;EACA,cAAA;EACA,cAAA;EACA,WAAA;ACnEA;ADoEA;EACA,gBAAA;AClEA;ADoEA;EACA,cAAA;AClEA;ADoEA;EACA,YAAA;EACA,4BAAA;AClEA;;AAEA,4CAA4C","file":"ChsTypeDialog.vue","sourcesContent":["\r\n<template>\r\n <ics-dialog\r\n title=\"请选择医保类型\"\r\n :visible.sync=\"dialogVisible\"\r\n width=\"500px\"\r\n :before-close=\"handleClose\"\r\n >\r\n <ics-radio-group v-model=\"chsType\">\r\n <ics-radio v-for=\"(item) in chsTypeList\" :key=\"item.id\" :label=\"item.code\" card border\r\n ><span class=\"chs-name\">【{{ item.code || '' }}】{{ item.name }}</span\r\n ><span class=\"chs-kind\">{{ item.chsKindName }}</span></ics-radio\r\n >\r\n </ics-radio-group>\r\n <span slot=\"footer\" class=\"dialog-footer\">\r\n <ics-button @click=\"handleCancel\">取 消</ics-button>\r\n <ics-button type=\"primary\" @click=\"handleConfirm\">确 定</ics-button>\r\n </span>\r\n </ics-dialog>\r\n</template>\r\n<script>\r\nexport default {\r\n data() {\r\n return {\r\n dialogVisible: false,\r\n chsType: null,\r\n }\r\n },\r\n props: {\r\n resolve: {\r\n type: Function,\r\n required: true,\r\n },\r\n reject: {\r\n type: Function,\r\n required: true,\r\n },\r\n chsTypeList: {\r\n type: Object,\r\n required: true,\r\n },\r\n },\r\n mounted() {\r\n this.dialogVisible = true\r\n },\r\n methods: {\r\n handleClose(done) {\r\n this.dialogVisible = false\r\n done()\r\n this.reject('用户关闭')\r\n },\r\n handleCancel() {\r\n this.dialogVisible = false\r\n this.reject('用户取消')\r\n },\r\n handleConfirm() {\r\n if (this.chsType) {\r\n this.dialogVisible = false\r\n this.resolve(this?.chsType)\r\n } else {\r\n this.$toast({\r\n message: '请选择医保类型!',\r\n })\r\n }\r\n },\r\n },\r\n}\r\n</script>\r\n<style lang=\"scss\" scoped>\r\n::v-deep .el-radio-group {\r\n width: 100%;\r\n}\r\n::v-deep .el-radio {\r\n display: block;\r\n margin: 10px 0;\r\n width: 100%;\r\n &.is-bordered + .el-radio.is-bordered {\r\n margin-left: 0px;\r\n }\r\n .chs-name {\r\n color: #182140;\r\n }\r\n .chs-kind {\r\n float: right;\r\n color: rgba(24, 33, 64, 0.7);\r\n }\r\n}\r\n</style>\r\n","::v-deep .el-radio-group {\n width: 100%;\n}\n\n::v-deep .el-radio {\n display: block;\n margin: 10px 0;\n width: 100%;\n}\n::v-deep .el-radio.is-bordered + .el-radio.is-bordered {\n margin-left: 0px;\n}\n::v-deep .el-radio .chs-name {\n color: #182140;\n}\n::v-deep .el-radio .chs-kind {\n float: right;\n color: rgba(24, 33, 64, 0.7);\n}\n\n/*# sourceMappingURL=ChsTypeDialog.vue.map */"]}, media: undefined });
};
/* scoped */
const __vue_scope_id__ = "data-v-75e95b28";
const __vue_scope_id__ = "data-v-1cda5022";
/* module identifier */

@@ -408,7 +408,5 @@ const __vue_module_identifier__ = undefined;

/**
*
* @param mode 参数
* 构造函数
*/
function IcsImedxIntfChsPlatformJsSdk(mode) {
this._mode = mode;
function IcsImedxIntfChsPlatformJsSdk() {
}

@@ -723,7 +721,2 @@ IcsImedxIntfChsPlatformJsSdk.use = function (_a) {

};
/**
* 安装Vue
* @param Vue Vue对象
*/
IcsImedxIntfChsPlatformJsSdk.install = function (Vue) { };
return IcsImedxIntfChsPlatformJsSdk;

@@ -730,0 +723,0 @@ }());

@@ -70,3 +70,3 @@ (function (global, factory) {

var constants = {
CHS_INTERFACE_CORE: 'ChsInterfaceCore',
CHS_INTERFACE_CORE: 'Interface.CHS.Core',
Init: '2000',

@@ -110,7 +110,7 @@ ReadCard: '2100',

var script = {
data() {
data: function data() {
return {
dialogVisible: false,
chsType: null,
}
chsType: null
};
},

@@ -120,18 +120,18 @@ props: {

type: Function,
required: true,
required: true
},
reject: {
type: Function,
required: true,
required: true
},
chsTypeList: {
type: Object,
required: true,
},
required: true
}
},
mounted() {
mounted: function mounted() {
this.dialogVisible = true;
},
methods: {
handleClose(done) {
handleClose: function handleClose(done) {
this.dialogVisible = false;

@@ -141,17 +141,17 @@ done();

},
handleCancel() {
handleCancel: function handleCancel() {
this.dialogVisible = false;
this.reject('用户取消');
},
handleConfirm() {
handleConfirm: function handleConfirm() {
if (this.chsType) {
this.dialogVisible = false;
this.resolve(this.chsType);
this.resolve(this === null || this === void 0 ? void 0 : this.chsType);
} else {
this.$toast({
message: '请选择医保类型!',
message: '请选择医保类型!'
});
}
},
},
}
}
};

@@ -371,7 +371,7 @@

if (!inject) return
inject("data-v-75e95b28_0", { source: "[data-v-75e95b28] .el-radio-group {\n width: 100%;\n}\n[data-v-75e95b28] .el-radio {\n display: block;\n margin: 10px 0;\n width: 100%;\n}\n[data-v-75e95b28] .el-radio.is-bordered + .el-radio.is-bordered {\n margin-left: 0px;\n}\n[data-v-75e95b28] .el-radio .chs-name {\n color: #182140;\n}\n[data-v-75e95b28] .el-radio .chs-kind {\n float: right;\n color: rgba(24, 33, 64, 0.7);\n}\n\n/*# sourceMappingURL=ChsTypeDialog.vue.map */", map: {"version":3,"sources":["D:\\YCCode\\InterfaceJsCode\\ics-imedx-intf-chs-js-sdk\\src\\components\\chs-type-dialog\\ChsTypeDialog.vue","ChsTypeDialog.vue"],"names":[],"mappings":"AAqEA;EACA,WAAA;ACpEA;ADsEA;EACA,cAAA;EACA,cAAA;EACA,WAAA;ACnEA;ADoEA;EACA,gBAAA;AClEA;ADoEA;EACA,cAAA;AClEA;ADoEA;EACA,YAAA;EACA,4BAAA;AClEA;;AAEA,4CAA4C","file":"ChsTypeDialog.vue","sourcesContent":["\r\n<template>\r\n <ics-dialog\r\n title=\"请选择医保类型\"\r\n :visible.sync=\"dialogVisible\"\r\n width=\"500px\"\r\n :before-close=\"handleClose\"\r\n >\r\n <ics-radio-group v-model=\"chsType\">\r\n <ics-radio v-for=\"(item) in chsTypeList\" :key=\"item.id\" :label=\"item.code\" card border\r\n ><span class=\"chs-name\">【{{ item.code || '' }}】{{ item.name }}</span\r\n ><span class=\"chs-kind\">{{ item.chsKindName }}</span></ics-radio\r\n >\r\n </ics-radio-group>\r\n <span slot=\"footer\" class=\"dialog-footer\">\r\n <ics-button @click=\"handleCancel\">取 消</ics-button>\r\n <ics-button type=\"primary\" @click=\"handleConfirm\">确 定</ics-button>\r\n </span>\r\n </ics-dialog>\r\n</template>\r\n<script>\r\nexport default {\r\n data() {\r\n return {\r\n dialogVisible: false,\r\n chsType: null,\r\n }\r\n },\r\n props: {\r\n resolve: {\r\n type: Function,\r\n required: true,\r\n },\r\n reject: {\r\n type: Function,\r\n required: true,\r\n },\r\n chsTypeList: {\r\n type: Object,\r\n required: true,\r\n },\r\n },\r\n mounted() {\r\n this.dialogVisible = true\r\n },\r\n methods: {\r\n handleClose(done) {\r\n this.dialogVisible = false\r\n done()\r\n this.reject('用户关闭')\r\n },\r\n handleCancel() {\r\n this.dialogVisible = false\r\n this.reject('用户取消')\r\n },\r\n handleConfirm() {\r\n if (this.chsType) {\r\n this.dialogVisible = false\r\n this.resolve(this.chsType)\r\n } else {\r\n this.$toast({\r\n message: '请选择医保类型!',\r\n })\r\n }\r\n },\r\n },\r\n}\r\n</script>\r\n<style lang=\"scss\" scoped>\r\n::v-deep .el-radio-group {\r\n width: 100%;\r\n}\r\n::v-deep .el-radio {\r\n display: block;\r\n margin: 10px 0;\r\n width: 100%;\r\n &.is-bordered + .el-radio.is-bordered {\r\n margin-left: 0px;\r\n }\r\n .chs-name {\r\n color: #182140;\r\n }\r\n .chs-kind {\r\n float: right;\r\n color: rgba(24, 33, 64, 0.7);\r\n }\r\n}\r\n</style>\r\n","::v-deep .el-radio-group {\n width: 100%;\n}\n\n::v-deep .el-radio {\n display: block;\n margin: 10px 0;\n width: 100%;\n}\n::v-deep .el-radio.is-bordered + .el-radio.is-bordered {\n margin-left: 0px;\n}\n::v-deep .el-radio .chs-name {\n color: #182140;\n}\n::v-deep .el-radio .chs-kind {\n float: right;\n color: rgba(24, 33, 64, 0.7);\n}\n\n/*# sourceMappingURL=ChsTypeDialog.vue.map */"]}, media: undefined });
inject("data-v-1cda5022_0", { source: "[data-v-1cda5022] .el-radio-group {\n width: 100%;\n}\n[data-v-1cda5022] .el-radio {\n display: block;\n margin: 10px 0;\n width: 100%;\n}\n[data-v-1cda5022] .el-radio.is-bordered + .el-radio.is-bordered {\n margin-left: 0px;\n}\n[data-v-1cda5022] .el-radio .chs-name {\n color: #182140;\n}\n[data-v-1cda5022] .el-radio .chs-kind {\n float: right;\n color: rgba(24, 33, 64, 0.7);\n}\n\n/*# sourceMappingURL=ChsTypeDialog.vue.map */", map: {"version":3,"sources":["D:\\Work\\Src\\V7\\Program\\接口管理\\js\\ics-imedx-intf-chs-js-sdk\\src\\components\\chs-type-dialog\\ChsTypeDialog.vue","ChsTypeDialog.vue"],"names":[],"mappings":"AAqEA;EACA,WAAA;ACpEA;ADsEA;EACA,cAAA;EACA,cAAA;EACA,WAAA;ACnEA;ADoEA;EACA,gBAAA;AClEA;ADoEA;EACA,cAAA;AClEA;ADoEA;EACA,YAAA;EACA,4BAAA;AClEA;;AAEA,4CAA4C","file":"ChsTypeDialog.vue","sourcesContent":["\r\n<template>\r\n <ics-dialog\r\n title=\"请选择医保类型\"\r\n :visible.sync=\"dialogVisible\"\r\n width=\"500px\"\r\n :before-close=\"handleClose\"\r\n >\r\n <ics-radio-group v-model=\"chsType\">\r\n <ics-radio v-for=\"(item) in chsTypeList\" :key=\"item.id\" :label=\"item.code\" card border\r\n ><span class=\"chs-name\">【{{ item.code || '' }}】{{ item.name }}</span\r\n ><span class=\"chs-kind\">{{ item.chsKindName }}</span></ics-radio\r\n >\r\n </ics-radio-group>\r\n <span slot=\"footer\" class=\"dialog-footer\">\r\n <ics-button @click=\"handleCancel\">取 消</ics-button>\r\n <ics-button type=\"primary\" @click=\"handleConfirm\">确 定</ics-button>\r\n </span>\r\n </ics-dialog>\r\n</template>\r\n<script>\r\nexport default {\r\n data() {\r\n return {\r\n dialogVisible: false,\r\n chsType: null,\r\n }\r\n },\r\n props: {\r\n resolve: {\r\n type: Function,\r\n required: true,\r\n },\r\n reject: {\r\n type: Function,\r\n required: true,\r\n },\r\n chsTypeList: {\r\n type: Object,\r\n required: true,\r\n },\r\n },\r\n mounted() {\r\n this.dialogVisible = true\r\n },\r\n methods: {\r\n handleClose(done) {\r\n this.dialogVisible = false\r\n done()\r\n this.reject('用户关闭')\r\n },\r\n handleCancel() {\r\n this.dialogVisible = false\r\n this.reject('用户取消')\r\n },\r\n handleConfirm() {\r\n if (this.chsType) {\r\n this.dialogVisible = false\r\n this.resolve(this?.chsType)\r\n } else {\r\n this.$toast({\r\n message: '请选择医保类型!',\r\n })\r\n }\r\n },\r\n },\r\n}\r\n</script>\r\n<style lang=\"scss\" scoped>\r\n::v-deep .el-radio-group {\r\n width: 100%;\r\n}\r\n::v-deep .el-radio {\r\n display: block;\r\n margin: 10px 0;\r\n width: 100%;\r\n &.is-bordered + .el-radio.is-bordered {\r\n margin-left: 0px;\r\n }\r\n .chs-name {\r\n color: #182140;\r\n }\r\n .chs-kind {\r\n float: right;\r\n color: rgba(24, 33, 64, 0.7);\r\n }\r\n}\r\n</style>\r\n","::v-deep .el-radio-group {\n width: 100%;\n}\n\n::v-deep .el-radio {\n display: block;\n margin: 10px 0;\n width: 100%;\n}\n::v-deep .el-radio.is-bordered + .el-radio.is-bordered {\n margin-left: 0px;\n}\n::v-deep .el-radio .chs-name {\n color: #182140;\n}\n::v-deep .el-radio .chs-kind {\n float: right;\n color: rgba(24, 33, 64, 0.7);\n}\n\n/*# sourceMappingURL=ChsTypeDialog.vue.map */"]}, media: undefined });
};
/* scoped */
const __vue_scope_id__ = "data-v-75e95b28";
const __vue_scope_id__ = "data-v-1cda5022";
/* module identifier */

@@ -415,7 +415,5 @@ const __vue_module_identifier__ = undefined;

/**
*
* @param mode 参数
* 构造函数
*/
function IcsImedxIntfChsPlatformJsSdk(mode) {
this._mode = mode;
function IcsImedxIntfChsPlatformJsSdk() {
}

@@ -730,7 +728,2 @@ IcsImedxIntfChsPlatformJsSdk.use = function (_a) {

};
/**
* 安装Vue
* @param Vue Vue对象
*/
IcsImedxIntfChsPlatformJsSdk.install = function (Vue) { };
return IcsImedxIntfChsPlatformJsSdk;

@@ -737,0 +730,0 @@ }());

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
CHS_INTERFACE_CORE: 'ChsInterfaceCore',
CHS_INTERFACE_CORE: 'Interface.CHS.Core',
Init: '2000',

@@ -6,0 +6,0 @@ ReadCard: '2100',

@@ -10,7 +10,5 @@ "use strict";

/**
*
* @param mode 参数
* 构造函数
*/
function IcsImedxIntfChsPlatformJsSdk(mode) {
this._mode = mode;
function IcsImedxIntfChsPlatformJsSdk() {
}

@@ -325,7 +323,2 @@ IcsImedxIntfChsPlatformJsSdk.use = function (_a) {

};
/**
* 安装Vue
* @param Vue Vue对象
*/
IcsImedxIntfChsPlatformJsSdk.install = function (Vue) { };
return IcsImedxIntfChsPlatformJsSdk;

@@ -332,0 +325,0 @@ }());

export default class IcsImedxIntfChsPlatformJsSdk {
private readonly _mode;
/**

@@ -11,6 +10,5 @@ * 传过来的axios实例

/**
*
* @param mode 参数
* 构造函数
*/
constructor(mode: string);
constructor();
/**

@@ -260,7 +258,2 @@ * 医保初始化接口

}): Promise<any>;
/**
* 安装Vue
* @param Vue Vue对象
*/
static install(Vue: any): void;
}
{
"name": "@imedx/ics-imedx-intf-chs-js-sdk",
"version": "0.0.1-beta.8",
"version": "0.0.1-beta.9",
"description": "两定医保接口js-sdk",

@@ -5,0 +5,0 @@ "keywords": [],

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc