@ -3,17 +3,286 @@
< span ng-if = "partner.company_name" ng-bind = "partner.company_name" > < / span >
< span ng-if = "!partner.company_name" > 暂无< / span >
< / h1 >
< ol class = "breadcrumb" >
< li >
< i class = "fa fa-sitemap" > < / i > Notice
< / li >
< li > < a ui-sref = "partner_application.simple_application" > Application & Open< / a > < / li >
< li class = "active" > Apply Detail< / li >
< / ol >
< / section >
< div class = "content" >
< div class = "row" >
< div class = "box box-warning" >
< div class = "box-body" >
< uib-tabset active = "index" >
< uib-tab heading = "Detail" >
< div class = "tab-content margin-top" >
< div class = "panel panel-default" >
< div class = "panel-heading" >
Partner Basic Information
< span ng-if = "partner.apply_approve_result==3||partner.apply_approve_result==4"
style="color: red">(Refused)< / span >
< span ng-if = "partner.apply_approve_result==2 && partner.client_id" style = "color: green" > (Pass)< / span >
< span class = "form-inline" ng-if = "('10'|withRole) && partner.apply_approve_result==1" style = "color: blue" >
({{partner.bd_user_name}} is following)
< div class = "form-group"
style="padding-left: 10px">
< div class = "form-group" >
< ui-select ng-model = "choosed.selected" theme = "bootstrap" reset-search-input = "false" title = "Choose a BD"
append-to-body="true" style="min-width: 150px;max-width: 300px">
< ui-select-match placeholder = "Select a BD To Follow Up" > {{$select.selected.display_name}}< / ui-select-match >
< ui-select-choices group-by = "'org_name'"
repeat="bd in bds | filter:$select.search">
< div ng-bind-html = "bd.display_name | highlight: $select.search" > < / div >
< / ui-select-choices >
< / ui-select >
< / div >
< button type = "button" class = "btn btn-success" ng-class = "{'disabled':!choosed.selected}"
ng-click="chooseBD(choosed.selected)">Change BD< / button >
< / div >
< / span >
< span style = "float: right;margin-top: -7px" class = "form-inline"
ng-if="(partner.apply_approve_result==0 & & ('10'|withRole))||(partner.apply_approve_result==1 & & ('100'|withRole))">
<!-- <div uib - dropdown ng - if="partner.apply_approve_result==0 && ('10'|withRole)" class="btn - group pull - right"> -->
<!-- <button id="single - button" type="button" class="btn btn - success" uib - dropdown - toggle ng - disabled="disabled"> -->
<!-- Choose BD To Follow Up <span class="caret"></span> -->
<!-- </button> -->
<!-- <ul class="dropdown - menu" uib - dropdown - menu aria - labelledby="single - button"> -->
<!-- <li ng - repeat="bd in bds"><a ng - click="chooseBD(bd)">{{bd.display_name}}</a></li> -->
<!-- </ul> -->
<!-- </div> -->
< div class = "form-group" >
< a role = "button" class = "btn btn-danger" ng-click = "refuse()" >
Refuse
< / a >
< / div >
< div class = "form-group" ng-if = "partner.apply_approve_result==0 && ('10'|withRole)"
style="padding-left: 10px">
< div class = "form-group" >
< ui-select ng-model = "choosed.selected" theme = "bootstrap" reset-search-input = "false" title = "Choose a BD"
append-to-body="true" style="min-width: 150px;max-width: 300px">
< ui-select-match placeholder = "Select a BD To Follow Up" > {{$select.selected.display_name}}< / ui-select-match >
< ui-select-choices group-by = "'org_name'"
repeat="bd in bds | filter:$select.search">
< div ng-bind-html = "bd.display_name | highlight: $select.search" > < / div >
< / ui-select-choices >
< / ui-select >
< / div >
< button type = "button" class = "btn btn-success" ng-class = "{'disabled':!choosed.selected}"
ng-click="chooseBD(choosed.selected)">Next< / button >
< / div >
< div class = "form-group" >
< a ng-click = "pass(partner)" ng-if = "partner.apply_approve_result==1 && ('100'|withRole)"
role="button" class="btn btn-success">
PASS
< / a >
< / div >
< / span >
< / div >
< div class = "panel-body" >
< div class = "form-horizontal" >
< div class = "form-group" >
< label class = "control-label col-sm-2" > Full Name< / label >
< div class = "col-sm-10" >
< p class = "form-control-static" ng-bind = "partner.company_name" > < / p >
< / div >
< / div >
< div class = "form-group" >
< label class = "control-label col-sm-2" > Short Name< / label >
< div class = "col-sm-10" >
< p class = "form-control-static" ng-bind = "partner.short_name" > < / p >
< / div >
< / div >
< div class = "form-group" >
< label class = "control-label col-sm-2" > Business License No. (ABN/ACN)< / label >
< div class = "col-sm-10" >
< p class = "form-control-static" ng-bind = "partner.abn" > < / p >
< / div >
< / div >
<!-- <div class="form - group"> -->
<!-- <label class="control - label col - sm - 2">Industry</label> -->
<!-- <div class="col - sm - 10"> -->
<!-- <p class="form - control - static" ng - bind="partner.industry|partner_industry"></p> -->
<!-- </div> -->
<!-- </div> -->
<!-- <div class="form - group" ng - if="partner.company_email"> -->
<!-- <label class="control - label col - sm - 2">Email Address</label> -->
<!-- <div class="col - sm - 10"> -->
<!-- <p class="form - control - static" target="_blank" ng - bind="partner.company_email"></p> -->
<!-- </div> -->
<!-- </div> -->
< div class = "form-group" ng-if = "partner.company_website" >
< label class = "control-label col-sm-2" > Website< / label >
< div class = "col-sm-10" >
< a class = "form-control-static" target = "_blank" ng-bind = "partner.company_website"
ng-href="http://{{partner.company_website}}">< / a >
< / div >
< / div >
< div class = "form-group" >
< label class = "control-label col-sm-2" > Office Telephone Number< / label >
< div class = "col-sm-10" >
< p class = "form-control-static" ng-bind = "partner.company_phone||'-'" > < / p >
< / div >
< / div >
<!-- <div class="form - group col - sm - 6"> -->
<!-- <label class="control - label col - sm - 4">Mobile Number (China)</label> -->
<!-- <div class="col - sm - 8"> -->
<!-- <p class="form - control - static" ng - bind="partner.mobile_chn||' - '"></p> -->
<!-- </div> -->
<!-- </div> -->
<!-- <div class="form - group col - sm - 6"> -->
<!-- <label class="control - label col - sm - 4">Mobile Number (Aus)</label> -->
<!-- <div class="col - sm - 8"> -->
<!-- <p class="form - control - static" ng - bind="partner.mobile_aus||' - '"></p> -->
<!-- </div> -->
<!-- </div> -->
< div class = "form-group col-sm-12" >
< label class = "control-label col-sm-2" > Address< / label >
< div class = "col-sm-10" >
< p class = "form-control-static" ng-bind = "partner.address" > < / p >
< / div >
< / div >
< div class = "form-group col-sm-6" >
< label class = "control-label col-sm-4" > City< / label >
< div class = "col-sm-8" >
< p class = "form-control-static" ng-bind = "partner.suburb" > < / p >
< / div >
< / div >
< div class = "form-group col-sm-6" >
< label class = "control-label col-sm-4" > Post Code< / label >
< div class = "col-sm-8" >
< p class = "form-control-static" ng-bind = "partner.postcode" > < / p >
< / div >
< / div >
< div class = "form-group col-sm-6" >
< label class = "control-label col-sm-4" > State< / label >
< div class = "col-sm-8" >
< p class = "form-control-static" ng-bind = "partner.state||partner_state" > < / p >
< / div >
< / div >
< div class = "form-group col-sm-6" >
< label class = "control-label col-sm-4" > Country< / label >
< div class = "col-sm-8" >
< p class = "form-control-static" ng-bind = "partner.country" > < / p >
< / div >
< / div >
< / div >
< / div >
< / div >
<!-- end 商户基本资料 -->
< div class = "panel panel-default" >
< div class = "panel-heading" > Contact Information< / div >
< div class = "panel-body" >
< div class = "form-horizontal" >
< div class = "form-group col-sm-12" >
< label class = "control-label col-sm-2" > Contact Person< / label >
< div class = "col-sm-10" >
< p class = "form-control-static" ng-bind = "partner.contact_person" > < / p >
< / div >
< / div >
<!-- <div class="form - group col - sm - 6"> -->
<!-- <label class="control - label col - sm - 4">Job Title</label> -->
<!-- <div class="col - sm - 8"> -->
<!-- <p class="form - control - static" ng - bind="partner.contact_person_job"></p> -->
<!-- </div> -->
<!-- </div> -->
< div class = "form-group col-sm-6" >
< label class = "control-label col-sm-4" > Telephone No.< / label >
< div class = "col-sm-8" >
< p class = "form-control-static" ng-bind = "partner.contact_phone" > < / p >
< / div >
< / div >
< div class = "form-group col-sm-6" >
< label class = "control-label col-sm-4" > E-mail< / label >
< div class = "col-sm-8" >
< p class = "form-control-static" ng-bind = "partner.contact_email" > < / p >
< / div >
< / div >
< / div >
< / div >
< / div >
<!-- end 商户联系资料 -->
< div class = "panel panel-default" ng-if = "partner.apply_approve_result>0" >
< div class = "panel-heading" > Approaching Progress < / div >
< div class = "panel-body" >
< div class = "form-horizontal" >
< div class = "form-group col-sm-12" >
< div class = "col-sm-12" ng-if = "('100'|withRole)" >
< textarea class = "form-control" ng-model = "partner.remark" name = "remark"
id="remark-input" maxlength="500">< / textarea >
< a ng-if = "('100'|withRole)" class = "btn btn-success" role = "button" ng-click = "updateRemark()" > Save< / a >
< / div >
< div class = "col-sm-12" ng-if = "partner.apply_approve_result>0 && ('10'|withRole)" >
< p class = "form-control-static" ng-bind = "partner.remark" > < / p >
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
< / uib-tab >
< uib-tab heading = "Handle" >
< div class = "tab-content margin-top" >
< div class = "box-header" style = "text-align: right;" >
< button type = "button" class = "btn btn-info" ng-click = "addHandleLog()" > Handle< / button >
< button type = "button" class = "btn btn-info" ng-click = "closeHandleLog()" > Close Risk< / button >
< / div >
< div class = "box-body table-responsive" >
< table class = "table table-hover" >
< thead >
< tr >
< th > Handle Time< / th >
< th > Operator< / th >
< th > Detail< / th >
< / tr >
< / thead >
< tbody >
< tr ng-repeat = "log in handleLogs" >
< td > {{log.create_time}}< / td >
< td > {{log.auditor}}< / td >
< td > {{log.remark}}< / td >
< / tr >
< / tbody >
< / table >
< div class = "modal-footer" >
< uib-pagination ng-if = "log.length"
class="pagination"
total-items="pagination.totalCount"
boundary-links="true"
ng-model="pagination.page"
items-per-page="pagination.limit"
max-size="10"
ng-change="loadHandleLogs()"
previous-text="‹ "
next-text="› "
first-text="« "
last-text="» ">< / uib-pagination >
< / div >
< / div >
< / div >
< / div >
< / uib-tab >
< / uib-tabset >
< / div >
< / div >
<!-- <div class="row">
< div class = "col-sm-12" >
< div class = "nav-tabs-custom" >
< div class = "tab-content" ui-view >
@ -44,15 +313,15 @@
< / span >
< span style = "float: right;margin-top: -7px" class = "form-inline"
ng-if="(partner.apply_approve_result==0 & & ('10'|withRole))||(partner.apply_approve_result==1 & & ('100'|withRole))">
<!-- <div uib - dropdown ng - if="partner.apply_approve_result==0 && ('10'|withRole)" class="btn - group pull - right"> -->
< !– < div uib-dropdown ng-if = "partner.apply_approve_result==0 && ('10'|withRole)" class = "btn-group pull-right" > – >
<!-- <button id="single - button" type="button" class="btn btn - success" uib - dropdown - toggle ng - disabled="disabled"> -->
<!-- Choose BD To Follow Up <span class="caret"></span> -->
<!-- </button> -->
<!-- <ul class="dropdown - menu" uib - dropdown - menu aria - labelledby="single - button"> -->
<!-- <li ng - repeat="bd in bds"><a ng - click="chooseBD(bd)">{{bd.display_name}}</a></li> -->
<!-- </ul> -->
<!-- </div> -->
< !– < button id = "single-button" type = "button" class = "btn btn-success" uib-dropdown-toggle ng-disabled = "disabled" > – >
< !– Choose BD To Follow Up < span class = "caret" > < / span > – >
< !– < / button > – >
< !– < ul class = "dropdown-menu" uib-dropdown-menu aria-labelledby = "single-button" > – >
< !– < li ng-repeat = "bd in bds" > < a ng-click = "chooseBD(bd)" > {{bd.display_name}}< / a > < / li > – >
< !– < / ul > – >
< !– < / div > – >
< div class = "form-group" >
< a role = "button" class = "btn btn-danger" ng-click = "refuse()" >
Refuse
@ -105,20 +374,20 @@
< p class = "form-control-static" ng-bind = "partner.abn" > < / p >
< / div >
< / div >
<!-- <div class="form - group"> -->
<!-- <label class="control - label col - sm - 2">Industry</label> -->
< !– < div class = "form-group" > – >
< !– < label class = "control-label col-sm-2" > Industry< / label > – >
<!-- <div class="col - sm - 10"> -->
<!-- <p class="form - control - static" ng - bind="partner.industry|partner_industry"></p> -->
<!-- </div> -->
<!-- </div> -->
<!-- <div class="form - group" ng - if="partner.company_email"> -->
<!-- <label class="control - label col - sm - 2">Email Address</label> -->
< !– < div class = "col-sm-10" > – >
< !– < p class = "form-control-static" ng-bind = "partner.industry|partner_industry" > < / p > – >
< !– < / div > – >
< !– < / div > – >
< !– < div class = "form-group" ng-if = "partner.company_email" > – >
< !– < label class = "control-label col-sm-2" > Email Address< / label > – >
<!-- <div class="col - sm - 10"> -->
<!-- <p class="form - control - static" target="_blank" ng - bind="partner.company_email"></p> -->
<!-- </div> -->
<!-- </div> -->
< !– < div class = "col-sm-10" > – >
< !– < p class = "form-control-static" target = "_blank" ng-bind = "partner.company_email" > < / p > – >
< !– < / div > – >
< !– < / div > – >
< div class = "form-group" ng-if = "partner.company_website" >
< label class = "control-label col-sm-2" > Website< / label >
@ -134,20 +403,20 @@
< p class = "form-control-static" ng-bind = "partner.company_phone||'-'" > < / p >
< / div >
< / div >
<!-- <div class="form - group col - sm - 6"> -->
<!-- <label class="control - label col - sm - 4">Mobile Number (China)</label> -->
< !– < div class = "form-group col-sm-6" > – >
< !– < label class = "control-label col-sm-4" > Mobile Number (China)< / label > – >
<!-- <div class="col - sm - 8"> -->
<!-- <p class="form - control - static" ng - bind="partner.mobile_chn||' - '"></p> -->
<!-- </div> -->
<!-- </div> -->
<!-- <div class="form - group col - sm - 6"> -->
<!-- <label class="control - label col - sm - 4">Mobile Number (Aus)</label> -->
< !– < div class = "col-sm-8" > – >
< !– < p class = "form-control-static" ng-bind = "partner.mobile_chn||'-'" > < / p > – >
< !– < / div > – >
< !– < / div > – >
< !– < div class = "form-group col-sm-6" > – >
< !– < label class = "control-label col-sm-4" > Mobile Number (Aus)< / label > – >
<!-- <div class="col - sm - 8"> -->
<!-- <p class="form - control - static" ng - bind="partner.mobile_aus||' - '"></p> -->
<!-- </div> -->
<!-- </div> -->
< !– < div class = "col-sm-8" > – >
< !– < p class = "form-control-static" ng-bind = "partner.mobile_aus||'-'" > < / p > – >
< !– < / div > – >
< !– < / div > – >
< div class = "form-group col-sm-12" >
< label class = "control-label col-sm-2" > Address< / label >
@ -186,7 +455,7 @@
< / div >
< / div >
< / div >
<!-- end 商户基本资料 -->
< !– end 商户基本资料– >
< div class = "panel panel-default" >
< div class = "panel-heading" > Contact Information< / div >
< div class = "panel-body" >
@ -198,13 +467,13 @@
< p class = "form-control-static" ng-bind = "partner.contact_person" > < / p >
< / div >
< / div >
<!-- <div class="form - group col - sm - 6"> -->
<!-- <label class="control - label col - sm - 4">Job Title</label> -->
< !– < div class = "form-group col-sm-6" > – >
< !– < label class = "control-label col-sm-4" > Job Title< / label > – >
<!-- <div class="col - sm - 8"> -->
<!-- <p class="form - control - static" ng - bind="partner.contact_person_job"></p> -->
<!-- </div> -->
<!-- </div> -->
< !– < div class = "col-sm-8" > – >
< !– < p class = "form-control-static" ng-bind = "partner.contact_person_job" > < / p > – >
< !– < / div > – >
< !– < / div > – >
< div class = "form-group col-sm-6" >
< label class = "control-label col-sm-4" > Telephone No.< / label >
@ -222,7 +491,7 @@
< / div >
< / div >
< / div >
<!-- end 商户联系资料 -->
< !– end 商户联系资料– >
< div class = "panel panel-default" ng-if = "partner.apply_approve_result>0" >
< div class = "panel-heading" > Approaching Progress < / div >
< div class = "panel-body" >
@ -245,5 +514,5 @@
< / div >
< / div >
< / div >
< / div > -->
< / div >