1
tom
2024-08-03 3f936872cab3297e6a944c748d200e3f40d0b869
module/md/page/customer/page/evaluation_management.html
@@ -242,7 +242,7 @@
                              return bo_
                           },
                           onclick: function(obj) {
                              me.openCustomer('browse',obj.selectedList[0])
                              me.openCustomerHistory('browse',obj.selectedList[0])
                           }
                                }
                            ]
@@ -282,6 +282,40 @@
                     };
                     me.doPopupByPublic(config);
                  },
                  openCustomerHistory(sceneCode, obj) {
                     let me = this;
                     var row = {}
                     if (sceneCode == "edit" || sceneCode == "browse") {
                        row = me.selectTabObj.selectedrow;
                        if(!row){
                           Root.message({
                              type: 'warning',
                              message: '请选择一条数据'
                           });
                           return;
                        }
                     }
                     var config = {
                        totab: false, //true: 以Tab导航的方式打开
                        width: "1100px",
                        height: "520px",
                        icon: "icon-product",
                        text: "推广商评估记录" + (row.customer_code ? ("-" + row.customer_code) : ""),
                        id: "evaluation_management_edit" + row.id + sceneCode,
                        url: "module/md/page/customer/page/evaluation_history.html",
                        data: row,
                        delta: {},
                        sceneCode: sceneCode,//"refuseedit",//"approval", //"add"//"browse",
                        callback: function(obj, callback) {
                           me.onQuery();
                           if (callback) {
                              callback();
                           }
                        }
                     };
                     me.doPopupByPublic(config);
                  },
               }
            });