12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- (function (d) {
- config.init();
- var a = {
- idx: [1, 6, 7, 8],
- // count: 4,
- count: 2,
- current: 8
- };
- icoNavFx.doing(d("#nav_bottom"), a);
- var c = {
- hospitalId: "1000"
- };
- var b = {
- doing: function () {
- d.extend(c, {
- customerFamilyId: JSON.parse(d("#familyList .selected a").attr("data")).id
- });
- hzAPI.getDataNoTemp(window.apiUrl+"?c=Other&a=getGuideList", c, e)
- }
- };
- var e = {
- doing: function (f) {
- if (f != null) {
- var data = {
- list: f
- };
- $("#list").html(template('jslist', data));
- $("#bcTarget").empty().barcode(d("#bcTarget").attr("data"), "code128", { barWidth: 1, barHeight: 30, showHRI: false });
- } else {
- $("#list").html(template('jslist', ""));
- }
- }
- };
- window.reload = b;
- hzAPI.getData(window.apiUrl+"?c=Index&a=customerFamilyList", {
- idCk: Fx.getUrlParam("id")
- },
- "#familyList", 0, true, 4, true)
- })(Zepto);
|