Merge branch 'develop' of http://g.28ms.com:8000/yangjianbin/page into develop
Showing
8 changed files
with
253 additions
and
63 deletions
application/controllers/api.php
0 → 100644
| 1 | <?php | ||
| 2 | |||
| 3 | class api extends CI_Controller | ||
| 4 | { | ||
| 5 | public function dueDiligence($id) | ||
| 6 | { | ||
| 7 | $order = api('order/detail/'.$id); | ||
| 8 | $dueDiligence = api('dueDiligence/'.$id); | ||
| 9 | $type = api('dueDiligence/type/'.$id); | ||
| 10 | |||
| 11 | $to = [ | ||
| 12 | ['dueDiligenceBasicInformationVO.companyAddress', 'clientUnitOutputVO.currentUnitAddress'], | ||
| 13 | ['dueDiligenceBasicInformationVO.companyName', 'clientUnitOutputVO.unitName'], | ||
| 14 | ['dueDiligenceBasicInformationVO.idNumber', 'clientInfoOutputVO.idCard'], | ||
| 15 | ['dueDiligenceBasicInformationVO.maritalCondition', 'clientInfoOutputVO.marriageState'], | ||
| 16 | ['dueDiligenceBasicInformationVO.nowAddress', 'clientInfoOutputVO.currentAddress'], | ||
| 17 | ['dueDiligenceBasicInformationVO.unitPhone', 'clientUnitOutputVO.unitPhone'], | ||
| 18 | ['dueDiligenceBasicInformationVO.userName', 'clientInfoOutputVO.userName'], | ||
| 19 | ['dueDiligenceBasicInformationVO.userPhone', 'clientInfoOutputVO.phoneNumber'], | ||
| 20 | |||
| 21 | ['dueDiligenceWorkConditionVO.companyAddressHasReal', '.'], | ||
| 22 | ['dueDiligenceAssetsLiabilitiesVO.houseNumber', '.'], | ||
| 23 | |||
| 24 | ['dueDiligenceAssetsLiabilitiesVO.loanPurpose', 'OrderVO.use'], | ||
| 25 | ['dueDiligenceCompanyReconnaissanceVO.workSiteNature', '.'], | ||
| 26 | ['dueDiligenceCompanyReconnaissanceVO.interviewTime', '.'], | ||
| 27 | ['dueDiligenceClientCompanyAssetConditionVO.houseNumber', '.'], | ||
| 28 | ['dueDiligenceCompanyOperationConditionVO.mainManageProject', '.'], | ||
| 29 | ['dueDiligenceComprehensiveAssessmentVO.loanPurposeHasReal', '.'], | ||
| 30 | ['dueDiligenceSurveyAddressVO.addressHasReal', '.'], | ||
| 31 | |||
| 32 | ['dueDiligenceAssetsLiabilitiesVO.orderId', 'clientInfoOutputVO.id'], | ||
| 33 | ['dueDiligenceBasicInformationVO.orderId', 'clientInfoOutputVO.id'], | ||
| 34 | ['dueDiligenceWorkConditionVO.orderId', 'clientInfoOutputVO.id'], | ||
| 35 | ['dueDiligenceClientCompanyAssetConditionVO.orderId', 'clientInfoOutputVO.id'], | ||
| 36 | ['dueDiligenceCompanyOperationConditionVO.orderId', 'clientInfoOutputVO.id'], | ||
| 37 | ['dueDiligenceCompanyReconnaissanceVO.orderId', 'clientInfoOutputVO.id'], | ||
| 38 | ['dueDiligenceComprehensiveAssessmentVO.orderId', 'clientInfoOutputVO.id'], | ||
| 39 | ['dueDiligenceSurveyAddressVO.orderId', 'clientInfoOutputVO.id'], | ||
| 40 | ['dueDiligenceWorkConditionVO.orderId', 'clientInfoOutputVO.id'], | ||
| 41 | ]; | ||
| 42 | |||
| 43 | $this->to($dueDiligence, $order, $to); | ||
| 44 | |||
| 45 | $dueDiligence->orderStatus = $order->orderVO->status; | ||
| 46 | |||
| 47 | $this->output | ||
| 48 | ->set_content_type('application/json') | ||
| 49 | ->set_output(json_encode($dueDiligence)); | ||
| 50 | } | ||
| 51 | |||
| 52 | private function To($x, $y, $z) | ||
| 53 | { | ||
| 54 | foreach($z as $v) { | ||
| 55 | $v[0] = explode('.', $v[0]); | ||
| 56 | $a = $v[0][0]; | ||
| 57 | $b = $v[0][1]; | ||
| 58 | |||
| 59 | if(isset($x->$a) && isset($x->$a->$b) && $x->$a->$b != '') { | ||
| 60 | continue; | ||
| 61 | } else { | ||
| 62 | $v[1] = explode('.', $v[1]); | ||
| 63 | $c = $v[1][0]; | ||
| 64 | $d = $v[1][1]; | ||
| 65 | |||
| 66 | @$x->$a->$b = $y->$c->$d; | ||
| 67 | } | ||
| 68 | } | ||
| 69 | |||
| 70 | return $x; | ||
| 71 | } | ||
| 72 | } |
This diff is collapsed.
Click to expand it.
| ... | @@ -19,35 +19,83 @@ | ... | @@ -19,35 +19,83 @@ |
| 19 | <?php $this->load->view('work/申请信息/联系人信息'); ?> | 19 | <?php $this->load->view('work/申请信息/联系人信息'); ?> |
| 20 | </div> | 20 | </div> |
| 21 | 21 | ||
| 22 | <div class="tabCon"> | 22 | <div class="tabCon" id="disabled"> |
| 23 | <?php foreach($dueDiligence as $k => $v): ?> | 23 | <div class="panel panel-default mb-20" v-for="(dueDiligenceVO, index, key) in dueDiligences"> |
| 24 | <div class="panel panel-default mb-20"> | 24 | <div class="panel-header">尽调报告{{index}}<span class="r"><button class="btn btn-primary pannel-sh">显示/隐藏</button></span></div> |
| 25 | <div class="panel-header">尽调报告<span class="r"><button class="btn btn-primary pannel-sh">显示/隐藏</button></span></div> | 25 | <div class="panel-body" style="display: none"> |
| 26 | <div class="panel-body" style="display: none;"> | 26 | <?php $this->load->view('work/尽调报告/法人'); //打工\法人2合一?> |
| 27 | <?php $this->load->view('work/尽调报告/打工'); ?> | 27 | </div> |
| 28 | </div> | 28 | </div> |
| 29 | </div> | 29 | </div> |
| 30 | <?php endforeach; ?> | ||
| 31 | </div> | 30 | </div> |
| 32 | 31 | ||
| 33 | <!-- <div class="tabCon"> | 32 | <?php $this->load->view('common/footer'); ?> |
| 34 | <?php $this->load->view('work/审批/信用报告'); ?> | ||
| 35 | </div> --> | ||
| 36 | 33 | ||
| 37 | <div class="tabCon"> | 34 | <script> |
| 38 | <?php $this->load->view('work/审批/电核结果'); ?> | 35 | var vm = new Vue({ |
| 39 | </div> | 36 | el: '#tab', |
| 37 | data: { | ||
| 38 | dueDiligences: '', | ||
| 40 | 39 | ||
| 41 | <div class="tabCon"> | 40 | marry: {}, |
| 42 | <?php $this->load->view('work/图片上传'); ?> | 41 | folkHasKnows: {}, |
| 43 | </div> | 42 | type: {}, |
| 43 | }, | ||
| 44 | mounted () { | ||
| 45 | this.getDueDiligences(); | ||
| 46 | this.getMarry(); | ||
| 47 | this.getFolkHasKnow(); | ||
| 48 | this.getType(); | ||
| 49 | this.getCompanyNature(); | ||
| 50 | this.getIndustry(); | ||
| 51 | }, | ||
| 52 | methods: { | ||
| 53 | async getDueDiligences () { | ||
| 54 | await instance.get('/dueDiligence/<?=$id?>').then( ( {data} ) => { | ||
| 55 | this.dueDiligences = data.data; | ||
| 56 | }); | ||
| 44 | 57 | ||
| 45 | <div class="tabCon">附件清单(图片)</div> | 58 | $('.btn.btn-primary.pannel-sh').on('click', function () { |
| 46 | </div> | 59 | $(this).parent().parent().siblings('.panel-body').toggle(); |
| 60 | }); | ||
| 47 | 61 | ||
| 48 | <?php $this->load->view('common/footer'); ?> | 62 | $('#disabled').find('input').each(function () { |
| 63 | $(this).attr("readonly","readonly") | ||
| 64 | }) | ||
| 65 | |||
| 66 | $('#disabled').find('select').each(function () { | ||
| 67 | $(this).attr("disabled","disabled") | ||
| 68 | }) | ||
| 69 | }, | ||
| 70 | getMarry () { | ||
| 71 | instance.get('client/enum/marry').then( ( {data} ) => { | ||
| 72 | this.marry = data.data; | ||
| 73 | }); | ||
| 74 | }, | ||
| 75 | getFolkHasKnow () { | ||
| 76 | instance.get('dueDiligence/enum/folkHasKnow').then( ( {data} ) => { | ||
| 77 | this.folkHasKnows = data.data; | ||
| 78 | }); | ||
| 79 | }, | ||
| 80 | getType () { | ||
| 81 | instance.get('dueDiligence/type/<?=$id?>').then( ( {data} ) => { | ||
| 82 | this.type = data.data; | ||
| 83 | }); | ||
| 84 | }, | ||
| 85 | getIndustry () { | ||
| 86 | instance.get('dueDiligence/enum/industry').then( ( {data} ) => { | ||
| 87 | this.industry = data.data; | ||
| 88 | }); | ||
| 89 | }, | ||
| 90 | getCompanyNature () { | ||
| 91 | instance.get('dueDiligence/enum/companyNature').then( ( {data} ) => { | ||
| 92 | console.log(data); | ||
| 93 | this.companyNature = data.data; | ||
| 94 | }); | ||
| 95 | }, | ||
| 96 | }, | ||
| 97 | }); | ||
| 49 | 98 | ||
| 50 | <script> | ||
| 51 | function getQueryString(name) { | 99 | function getQueryString(name) { |
| 52 | var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); | 100 | var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); |
| 53 | var r = window.location.search.substr(1).match(reg); | 101 | var r = window.location.search.substr(1).match(reg); | ... | ... |
| ... | @@ -14,31 +14,26 @@ | ... | @@ -14,31 +14,26 @@ |
| 14 | <div class="panel-body"> | 14 | <div class="panel-body"> |
| 15 | <div class="row cl"> | 15 | <div class="row cl"> |
| 16 | <div class="form-group col-sm-3 col-md-2"> | 16 | <div class="form-group col-sm-3 col-md-2"> |
| 17 | <?=@$dueDiligence->dueDiligenceBasicInformationVO->diligencePurpose?> | 17 | {{type.diligencePurpose}} |
| 18 | </div> | 18 | </div> |
| 19 | </div> | 19 | </div> |
| 20 | </div> | 20 | </div> |
| 21 | </div> | 21 | </div> |
| 22 | 22 | ||
| 23 | <?php | 23 | <?php $this->load->view('work/尽调报告/法人'); //打工\法人2合一?> |
| 24 | if($clientUnitOutputVO->jobType == 1){ //打工类 | ||
| 25 | $this->load->view('work/尽调报告/打工'); | ||
| 26 | } else { // 经营类 | ||
| 27 | $this->load->view('work/尽调报告/法人'); | ||
| 28 | } | ||
| 29 | ?> | ||
| 30 | 24 | ||
| 31 | <div class="panel panel-default mb-20"> | 25 | <div class="panel panel-default mb-20"> |
| 32 | <div class="panel-body"> | 26 | <div class="panel-body"> |
| 33 | <div class="row cl"> | 27 | <div class="row cl"> |
| 34 | <div class="col-sm-12"> | 28 | <div class="col-sm-12"> |
| 35 | 本人与借款人于 | 29 | 本人与借款人于 |
| 36 | <input type="text" name="interviewTime" class="input-text Wdate" value="" onfocus="WdatePicker()"> | 30 | <input type="text" name="interviewTime" class="input-text Wdate" onfocus="WdatePicker()"> |
| 37 | 进行面谈, 并就该贷款进行了相应的解释说明. 借款人提供的信息真实有效. 本人对各项信息已经进行了审慎的调查、核实、分析、整理和审定,并对风险情况已进行了完全披露。同时,借款人对本贷款的含义以及相应的法律责任已全部通晓并充分理解。 | 31 | 进行面谈, 并就该贷款进行了相应的解释说明. 借款人提供的信息真实有效. 本人对各项信息已经进行了审慎的调查、核实、分析、整理和审定,并对风险情况已进行了完全披露。同时,借款人对本贷款的含义以及相应的法律责任已全部通晓并充分理解。 |
| 38 | 本人已经对借款人提供材料的真实有效性进行核实, 如果有协助借款人提供伪造材料,歪曲事实,本人愿承担相应的法律后果. | 32 | 本人已经对借款人提供材料的真实有效性进行核实, 如果有协助借款人提供伪造材料,歪曲事实,本人愿承担相应的法律后果. |
| 39 | </div> | 33 | </div> |
| 40 | <?php $user = api('/system/user/loginUser') ?> | 34 | <?php $user = api('/system/user/loginUser') ?> |
| 41 | <div class="col-sm-12"> | 35 | <div class="col-sm-12"> |
| 36 | <input type="hidden" value="<?=@$dueDiligence->dueDiligenceComprehensiveAssessmentVO->ombudsman?:$user->name?>" name="ombudsman"> | ||
| 42 | <span class="r">尽职调查专员:<?=@$dueDiligence->dueDiligenceComprehensiveAssessmentVO->ombudsman?:$user->name?> </span> | 37 | <span class="r">尽职调查专员:<?=@$dueDiligence->dueDiligenceComprehensiveAssessmentVO->ombudsman?:$user->name?> </span> |
| 43 | </div> | 38 | </div> |
| 44 | </div> | 39 | </div> |
| ... | @@ -50,54 +45,116 @@ | ... | @@ -50,54 +45,116 @@ |
| 50 | <?php $this->load->view('work/图片上传', ['url' => '/order/ordersource/duediligence/', 'type' => $dueDiligenceType]) ?> | 45 | <?php $this->load->view('work/图片上传', ['url' => '/order/ordersource/duediligence/', 'type' => $dueDiligenceType]) ?> |
| 51 | </div> | 46 | </div> |
| 52 | 47 | ||
| 53 | </div> | ||
| 54 | |||
| 55 | <div class="row cl pb-20 col-sm-12"> | 48 | <div class="row cl pb-20 col-sm-12"> |
| 56 | <div class="col-sm-offset-4 col-sm-2"> | 49 | <div class="col-sm-offset-4 col-sm-2"> |
| 57 | <button class="btn btn-warning btn-block">退回订单</button> | 50 | <button class="btn btn-warning btn-block">退回订单</button> |
| 58 | </div> | 51 | </div> |
| 59 | <div class="col-sm-2"> | 52 | <div class="col-sm-2"> |
| 60 | <button class="btn btn-primary btn-block" onclick="submit()">保存</button> | 53 | <button class="btn btn-primary btn-block" @click="submit">保存</button> |
| 54 | </div> | ||
| 61 | </div> | 55 | </div> |
| 62 | </div> | 56 | </div> |
| 63 | 57 | ||
| 64 | <?php $this->load->view('common/footer'); ?> | 58 | <?php $this->load->view('common/footer'); ?> |
| 65 | 59 | ||
| 66 | <script> | 60 | <script> |
| 67 | function getQueryString(name) { | 61 | var vm = new Vue({ |
| 68 | var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); | 62 | el: '#tab', |
| 69 | var r = window.location.search.substr(1).match(reg); | 63 | data: { |
| 70 | if (r != null) return unescape(r[2]); return null; | 64 | order: { |
| 71 | } | 65 | clientInfoOutputVO: {}, |
| 72 | 66 | clientUnitOutputVO: {}, | |
| 73 | var index = getQueryString('tab'); | 67 | }, |
| 74 | 68 | dueDiligenceVO: { | |
| 75 | $("#tab").Huitab({index: index}); | 69 | dueDiligenceAssetsLiabilitiesVO: {}, |
| 76 | 70 | dueDiligenceBasicInformationVO: {}, | |
| 77 | uploadList(); | 71 | dueDiligenceClientCompanyAssetConditionVO: {}, |
| 72 | dueDiligenceCompanyOperationConditionVO: {}, | ||
| 73 | dueDiligenceCompanyReconnaissanceVO: {}, | ||
| 74 | dueDiligenceComprehensiveAssessmentVO: {}, | ||
| 75 | dueDiligenceSurveyAddressVO: {}, | ||
| 76 | dueDiligenceWorkConditionVO: {}, | ||
| 77 | orderStatus: '', | ||
| 78 | }, | ||
| 78 | 79 | ||
| 79 | function submit() { | 80 | marry: {}, |
| 81 | folkHasKnows: {}, | ||
| 82 | type: {}, | ||
| 83 | industry: {}, | ||
| 84 | companyNature: {}, | ||
| 85 | }, | ||
| 86 | mounted () { | ||
| 87 | this.getOrder(); | ||
| 88 | this.getMarry(); | ||
| 89 | this.getFolkHasKnow(); | ||
| 90 | this.getType(); | ||
| 91 | this.getCompanyNature(); | ||
| 92 | this.getIndustry(); | ||
| 93 | }, | ||
| 94 | methods: { | ||
| 95 | getOrder () { | ||
| 96 | instance.get('order/detail/<?=$id?>').then( ( {data} ) => { | ||
| 97 | this.order = data.data; | ||
| 98 | this.dueDiligenceVO.orderStatus = this.order.orderVO.status; | ||
| 99 | |||
| 100 | this.dueDiligenceVO.dueDiligenceAssetsLiabilitiesVO.orderId = data.data.orderVO.id | ||
| 101 | this.dueDiligenceVO.dueDiligenceBasicInformationVO.orderId = data.data.orderVO.id | ||
| 102 | this.dueDiligenceVO.dueDiligenceClientCompanyAssetConditionVO.orderId = data.data.orderVO.id | ||
| 103 | this.dueDiligenceVO.dueDiligenceCompanyOperationConditionVO.orderId = data.data.orderVO.id | ||
| 104 | this.dueDiligenceVO.dueDiligenceCompanyReconnaissanceVO.orderId = data.data.orderVO.id | ||
| 105 | this.dueDiligenceVO.dueDiligenceComprehensiveAssessmentVO.orderId = data.data.orderVO.id | ||
| 106 | this.dueDiligenceVO.dueDiligenceSurveyAddressVO.orderId = data.data.orderVO.id | ||
| 107 | this.dueDiligenceVO.dueDiligenceWorkConditionVO.orderId = data.data.orderVO.id | ||
| 108 | }); | ||
| 109 | }, | ||
| 110 | getMarry () { | ||
| 111 | instance.get('client/enum/marry').then( ( {data} ) => { | ||
| 112 | this.marry = data.data; | ||
| 113 | }); | ||
| 114 | }, | ||
| 115 | getFolkHasKnow () { | ||
| 116 | instance.get('dueDiligence/enum/folkHasKnow').then( ( {data} ) => { | ||
| 117 | this.folkHasKnows = data.data; | ||
| 118 | }); | ||
| 119 | }, | ||
| 120 | getType () { | ||
| 121 | instance.get('dueDiligence/type/<?=$id?>').then( ( {data} ) => { | ||
| 122 | this.type = data.data; | ||
| 123 | |||
| 124 | this.dueDiligenceVO.dueDiligenceAssetsLiabilitiesVO.id = data.data.id | ||
| 125 | this.dueDiligenceVO.dueDiligenceBasicInformationVO.id = data.data.id | ||
| 126 | this.dueDiligenceVO.dueDiligenceClientCompanyAssetConditionVO.id = data.data.id | ||
| 127 | this.dueDiligenceVO.dueDiligenceCompanyOperationConditionVO.id = data.data.id | ||
| 128 | this.dueDiligenceVO.dueDiligenceCompanyReconnaissanceVO.id = data.data.id | ||
| 129 | this.dueDiligenceVO.dueDiligenceComprehensiveAssessmentVO.id = data.data.id | ||
| 130 | this.dueDiligenceVO.dueDiligenceSurveyAddressVO.id = data.data.id | ||
| 131 | this.dueDiligenceVO.dueDiligenceWorkConditionVO.id = data.data.id | ||
| 132 | }); | ||
| 133 | }, | ||
| 134 | getIndustry () { | ||
| 135 | instance.get('dueDiligence/enum/industry').then( ( {data} ) => { | ||
| 136 | this.industry = data.data; | ||
| 137 | }); | ||
| 138 | }, | ||
| 139 | getCompanyNature () { | ||
| 140 | instance.get('dueDiligence/enum/companyNature').then( ( {data} ) => { | ||
| 141 | console.log(data); | ||
| 142 | this.companyNature = data.data; | ||
| 143 | }); | ||
| 144 | }, | ||
| 145 | submit() { | ||
| 146 | let _this = this; | ||
| 80 | layer.confirm('确认要提交尽调?', { | 147 | layer.confirm('确认要提交尽调?', { |
| 81 | btn: ['是', '否'], | 148 | btn: ['是', '否'], |
| 82 | title: '确认', | 149 | title: '确认', |
| 83 | icon: 3 | 150 | icon: 3 |
| 84 | }, function () { | 151 | }, function () { |
| 85 | var targetUrl = 'dueDiligence'; | 152 | var targetUrl = 'dueDiligence'; |
| 86 | var dueDiligenceSurveyAddressVO = $("#dueDiligenceSurveyAddressVO").serializeJson(); | 153 | var data = _this.dueDiligenceVO; |
| 87 | var dueDiligenceWorkConditionVO = $("#dueDiligenceWorkConditionVO").serializeJson(); | 154 | |
| 88 | var dueDiligenceComprehensiveAssessmentVO = $("#dueDiligenceComprehensiveAssessmentVO").serializeJson(); | 155 | data.dueDiligenceComprehensiveAssessmentVO.interviewTime = $('[name="interviewTime"]').val(); |
| 89 | var dueDiligenceAssetsLiabilitiesVO = $("#dueDiligenceAssetsLiabilitiesVO").serializeJson(); | 156 | data.dueDiligenceComprehensiveAssessmentVO.ombudsman = $('[name="ombudsman"]').val(); |
| 90 | var dueDiligenceBasicInformationVO = $("#dueDiligenceBasicInformationVO").serializeJson(); | 157 | |
| 91 | |||
| 92 | |||
| 93 | var data = { | ||
| 94 | dueDiligenceSurveyAddressVO: dueDiligenceSurveyAddressVO, | ||
| 95 | dueDiligenceWorkConditionVO: dueDiligenceWorkConditionVO, | ||
| 96 | dueDiligenceComprehensiveAssessmentVO: dueDiligenceComprehensiveAssessmentVO, | ||
| 97 | dueDiligenceAssetsLiabilitiesVO: dueDiligenceAssetsLiabilitiesVO, | ||
| 98 | dueDiligenceBasicInformationVO: dueDiligenceBasicInformationVO, | ||
| 99 | orderStatus: "<?=$applyOrderVO->status?>" | ||
| 100 | }; | ||
| 101 | $.ajax({ | 158 | $.ajax({ |
| 102 | type: 'post', | 159 | type: 'post', |
| 103 | url: apiBaseUrl + targetUrl, | 160 | url: apiBaseUrl + targetUrl, |
| ... | @@ -124,9 +181,25 @@ | ... | @@ -124,9 +181,25 @@ |
| 124 | layer.alert("操作失败") | 181 | layer.alert("操作失败") |
| 125 | } | 182 | } |
| 126 | }) | 183 | }) |
| 127 | |||
| 128 | }) | 184 | }) |
| 129 | } | 185 | } |
| 186 | }, | ||
| 187 | }); | ||
| 188 | |||
| 189 | function getQueryString(name) { | ||
| 190 | var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); | ||
| 191 | var r = window.location.search.substr(1).match(reg); | ||
| 192 | if (r != null) return unescape(r[2]); return null; | ||
| 193 | } | ||
| 194 | |||
| 195 | var index = getQueryString('tab'); | ||
| 196 | |||
| 197 | $("#tab").Huitab({index: index}); | ||
| 198 | |||
| 199 | uploadList(); | ||
| 200 | |||
| 201 | function submit() { | ||
| 202 | } | ||
| 130 | </script> | 203 | </script> |
| 131 | </body> | 204 | </body> |
| 132 | </html> | 205 | </html> | ... | ... |
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
| ... | @@ -10,9 +10,6 @@ function addContacts () { | ... | @@ -10,9 +10,6 @@ function addContacts () { |
| 10 | $('#contacts').append('<div class="row cl">'+html+'</div>'); | 10 | $('#contacts').append('<div class="row cl">'+html+'</div>'); |
| 11 | } | 11 | } |
| 12 | 12 | ||
| 13 | $('.btn.btn-primary.pannel-sh').on('click', function () { | ||
| 14 | $(this).parent().parent().siblings('.panel-body').toggle(); | ||
| 15 | }); | ||
| 16 | 13 | ||
| 17 | function relation (e) { | 14 | function relation (e) { |
| 18 | if($(e).data('num') < 3) { | 15 | if($(e).data('num') < 3) { | ... | ... |
-
Please register or sign in to post a comment