zhangyanpeng
2024-08-03 0adf07d631aea75202fd93337693677db62f1c90
module/visit/page/visit_schedule_list.html
@@ -15,7 +15,7 @@
            pageVue = new TabTableVue({
               el: "#vbody",
               data: {
                  title: "医院管理",
                  title: "拜访进度",
                  //Tab项设置
                  /* 
                   schedule   进度汇总
@@ -24,8 +24,8 @@
                   */
                  tabs_d: [
                     {code: "schedule", name: "进度汇总", dataname: "v_customer_promotion", filterTxt: "", orderby: ""},
                     {code: "detail", name: "进度明细", dataname: "", filterTxt: "md_terminal_promotion", orderby: ""},
                     {code: "warning", name: "预警列表", dataname: "", filterTxt: "md_terminal_promotion_detail", orderby: ""},
                     {code: "detail", name: "进度明细", dataname: "md_terminal_promotion", filterTxt: "", orderby: ""},
                     {code: "warning", name: "预警列表", dataname: "md_terminal_promotion_detail", filterTxt: "", orderby: ""},
                  ],
                  d_tabs: {
                     hospital: true,
@@ -206,6 +206,11 @@
                                 filterFields_.push(filter_f);
                              }
                           })
                           me.selectTabObj.tableData.map(d=>{
                              d.val_ratio = 50
                           })
                           if (!me.selectTabObj.filterFields || (me.selectTabObj.filterFields && me.selectTabObj.filterFields.length == 0)) {
                              me.selectTabObj.filterFields = clone(filterFields_);
                              me.selectTabObj.tableFields = clone(tableFields_);
@@ -238,40 +243,41 @@
                        }
                     };
                     //辖区变更
                     var tablefieldClick_info = {
                        //waiting
                        hospital_code: {//字段事件设置
                           val: {//有值时的点击事件
                              onclick: function(obj) {//数据值点击事件
                                 me.showChangeInfo(obj);
                     var tablefieldClick_detail = {
                        code: { //字段事件设置
                           val: { //有值时的点击事件
                              notclick_val: "", //不可点击的值,1、是数组["11","22"];2、以“;”分隔的字符串"111;222"
                              notclick_bindfield: [], //当该字段值等于指定字段值时不可点击["filterfield": "111"]
                              onclick: function(obj) { //数据值点击事件
                                 me.showInfo(obj)
                              },
                           },
                        },
                        state_name: {//状态
                           val: {//有值时的点击事件
                              notclick_val: ["草稿","草稿"],
                              notclick_bindfield: [],
                              onclick: function(obj) {
                                 var config = {
                                    totab: false,
                                    width: "1100px",
                                    height: "520px",
                                    icon: "icon-product",
                                    text: "流程步骤",
                                    id: "popup_workflow_step_user" + obj.row.id,
                                    url: "module/tool/page/popup_workflow_step_user.html?v=2023020703",
                                    data: obj.row,
                                    delta: {},
                                    sceneCode: "browse",
                                    callback: function(obj, callback) {
                                       if (callback) {
                                          callback();
                                       }
                                    }
                                 };
                                 me.doPopupByPublic(config);
                              },
                           },
                        is_clinical: {
                           chart: {
                              type: "progress",// 进度条类型
                              field: "val_ratio",//进度值字段
                              progresswidth: 20,//粗度
                              isshowtext: true,//是否显示值
                              istextinside: true//是否在进度条内显示值
                           }
                        },
                        is_clinical_purchase: {
                           chart: {
                              type: "progress",
                              field: "val_ratio",
                              progresswidth: 10,
                              isshowtext: true
                           }
                        },
                        is_formal_purchase: {
                           chart: {
                              type: "progress",
                              field: "val_ratio",
                              progresswidth: 10,
                              isshowtext: false
                           }
                        },
                     };
                     //医院授权列表
@@ -371,8 +377,8 @@
                     var filterfieldClick = {};
                     
                     //医院管理列表-辖区医院tab
                     if (this.selectTabObj.code == "hospital") {
                        this.selectTabObj.tablefieldClick = tablefieldClick_hospital;
                     if (this.selectTabObj.code == "detail") {
                        this.selectTabObj.tablefieldClick = tablefieldClick_detail;
                     }
                     //辖区新增/变更-辖区审批中、全部辖区申请tab
                     else if (this.selectTabObj.code == "infoUnderApproval" || this.selectTabObj.code == "infoAll") {