linwu преди 5 месеца
родител
ревизия
935a16c887
променени са 26 файла, в които са добавени 101 реда и са изтрити 75 реда
  1. 12 0
      app/common/model/HumanSeeModel.php
  2. 28 9
      app/mobile/controller/Human.php
  3. 1 0
      app/mobile/view/human/center.html
  4. 7 0
      app/mobile/view/human/enterprise_list.html
  5. 24 38
      app/mobile/view/human/guide.html
  6. 19 20
      app/mobile/view/human/jinjiang.html
  7. 10 8
      app/mobile/view/human/renzi.html
  8. BIN
      public/static/mobile/images/human/guide1.png
  9. BIN
      public/static/mobile/images/human/guide10.png
  10. BIN
      public/static/mobile/images/human/guide11.png
  11. BIN
      public/static/mobile/images/human/guide2.png
  12. BIN
      public/static/mobile/images/human/guide3.png
  13. BIN
      public/static/mobile/images/human/guide4.png
  14. BIN
      public/static/mobile/images/human/guide5.png
  15. BIN
      public/static/mobile/images/human/guide6.png
  16. BIN
      public/static/mobile/images/human/guide7.png
  17. BIN
      public/static/mobile/images/human/guide8.png
  18. BIN
      public/static/mobile/images/human/guide9.png
  19. BIN
      public/static/mobile/images/human/jinjiang1.png
  20. BIN
      public/static/mobile/images/human/jinjiang2.png
  21. BIN
      public/static/mobile/images/human/jinjiang3.png
  22. BIN
      public/static/mobile/images/human/renzi1.png
  23. BIN
      public/static/mobile/images/human/renzi2.png
  24. BIN
      public/static/mobile/images/human/renzi3.png
  25. BIN
      public/static/mobile/images/human/renzi4.png
  26. BIN
      public/static/mobile/images/human/renzi5.png

+ 12 - 0
app/common/model/HumanSeeModel.php

@@ -0,0 +1,12 @@
+<?php
+
+namespace app\common\model;
+
+class HumanSeeModel extends BaseModel
+{
+    // 设置表名
+    protected $name = 'human_see';
+
+    //自动完成
+    protected $autoWriteTimestamp = true;
+}

+ 28 - 9
app/mobile/controller/Human.php

@@ -6,6 +6,7 @@ use app\common\model\HumanEnterpriseApplyModel;
 use app\common\model\HumanEnterpriseModel;
 use app\common\model\HumanInstitutionApplyModel;
 use app\common\model\HumanInstitutionModel;
+use app\common\model\HumanSeeModel;
 use app\common\validate\HumanEnterpriseApplyValidate;
 use app\common\validate\HumanInstitutionApplyValidate;
 use app\mobile\MobileBaseController;
@@ -186,18 +187,25 @@ class Human extends MobileBaseController
     {
         $this->_listValidate();
 
-        $cooperate_list = [['text' => '全部', 'value' => '']];
+        $cooperate_list = [['text' => '全部业务', 'value' => '']];
         foreach (HumanInstitutionModel::COOPERATE as $cooperate) {
             $cooperate_list[] = ['text' => $cooperate, 'value' => $cooperate];
         }
+
+        $industry_list = [['text' => '全部行业', 'value' => '']];
+        foreach (HumanEnterpriseModel::INDUSTRY as $industry) {
+            $industry_list[] = ['text' => $industry, 'value' => $industry];
+        }
+
         return view('', [
             'cooperate_list' => json_encode($cooperate_list),
+            'industry_list'  => json_encode($industry_list),
         ]);
     }
 
     public function listEnterprise()
     {
-        $where   = $this->dealLikeInput(['name', 'cooperate']);
+        $where   = $this->dealLikeInput(['name', 'cooperate', 'industry']);
         $where[] = ['status', '=', HumanEnterpriseModel::STATUS_SHOW];
 
         $list = HumanEnterpriseModel::where($where)
@@ -211,7 +219,7 @@ class Human extends MobileBaseController
 
     public function enterpriseDetail()
     {
-        $this->_listValidate();
+        $human = $this->_listValidate();
 
         $id = input('id');
         empty($id) && jump('该企业不存在或已删除');
@@ -219,6 +227,16 @@ class Human extends MobileBaseController
         $info = HumanEnterpriseModel::find($id);
         empty($info) && jump('该企业不存在或已删除');
 
+        $check = HumanSeeModel::where('join_mobile', $info['join_mobile'])->where('human_id',$info['id'])->find();
+        if (empty($check)) {
+            HumanSeeModel::create([
+                'type'        => $human['type'],
+                'name'        => $human['data']['name'],
+                'join'        => $human['data']['join'],
+                'join_mobile' => $human['data']['join_mobile'],
+            ]);
+        }
+
         return view('', ['info' => $info]);
     }
 
@@ -280,14 +298,14 @@ class Human extends MobileBaseController
 
     public function bindMobile()
     {
-        $mobile = input('mobile','');
-        empty($mobile) && ajax_return(1,'请输入手机号');
+        $mobile = input('mobile', '');
+        empty($mobile) && ajax_return(1, '请输入手机号');
 
         $institution = HumanInstitutionApplyModel::where('join_mobile', $mobile)->find();
         if (empty($institution)) {
-            $enterprise  = HumanEnterpriseApplyModel::where('join_mobile', $mobile)->find();
+            $enterprise = HumanEnterpriseApplyModel::where('join_mobile', $mobile)->find();
             if (empty($enterprise)) {
-                ajax_return(1,'该手机号未报名,请确认手机号');
+                ajax_return(1, '该手机号未报名,请确认手机号');
             } else {
                 $enterprise->open_id = session('mobile.human.open_id');
                 $enterprise->save();
@@ -326,12 +344,12 @@ class Human extends MobileBaseController
 
     private function _listValidate()
     {
-        $action = $this->request->action();
+        /*$action = $this->request->action();
         if ($action != 'center') {
             if (time() < 1730736000) {
                 jump('11月5日开启,敬请期待','mobile/human/center');
             }
-        }
+        }*/
         $open_id = session('mobile.human.open_id');
 
         $institution = HumanInstitutionApplyModel::where('open_id', $open_id)->find();
@@ -344,6 +362,7 @@ class Human extends MobileBaseController
             if ($institution['status'] != HumanInstitutionApplyModel::STATUS_PASS) {
                 throw new \think\exception\HttpResponseException(redirect(url('human/tips')));
             }
+            return ['type' => '机构', 'data' => $institution];
         }
 
         if (!empty($enterprise)) {

+ 1 - 0
app/mobile/view/human/center.html

@@ -22,6 +22,7 @@
     <van-cell title="服务指南" is-link url="{:url('human/guide')}"></van-cell>
     <van-cell title="晋江介绍" is-link url="{:url('human/jinjiang')}"></van-cell>
     <van-cell title="人资公司介绍" is-link url="{:url('human/renzi')}"></van-cell>
+    <van-cell title="谁看过我" is-link url="{:url('human/seeme')}"></van-cell>
     <van-cell title="联系我们" is-link @click="showImage"></van-cell>
 </van-cell-group>
 

+ 7 - 0
app/mobile/view/human/enterprise_list.html

@@ -29,6 +29,7 @@
     <van-search v-model="keyword" placeholder="请输入企业名称" @search="onRefresh"></van-search>
 
     <van-dropdown-menu >
+        <van-dropdown-item v-model="industry" :options="industry_list" @change="onRefresh"></van-dropdown-item>
         <van-dropdown-item v-model="cooperate" :options="cooperate_list" @change="onRefresh"></van-dropdown-item>
     </van-dropdown-menu>
 </van-sticky>
@@ -60,6 +61,9 @@
                         点击扫码联系
                     </div>
                 </div>
+                <div class="address" v-if="item.industry">
+                    行业:{{item.industry}}
+                </div>
                 <div class="address" v-if="item.capital">
                     注册资本:{{item.capital}}
                 </div>
@@ -90,7 +94,9 @@
         //搜索
         base.keyword = Vue.ref('');
         base.cooperate = Vue.ref('');
+        base.industry = Vue.ref('');
         base.cooperate_list = Vue.reactive({$cooperate_list});
+        base.industry_list = Vue.reactive({$industry_list});
 
         //列表
         base.page = Vue.ref(1);
@@ -103,6 +109,7 @@
             param.page = base.page.value;
             param.name = base.keyword.value;
             param.cooperate = base.cooperate.value;
+            param.industry = base.industry.value;
             base.page.value++;
 
             postJson("human/listEnterprise", param).then( ({data}) => {

+ 24 - 38
app/mobile/view/human/guide.html

@@ -24,42 +24,19 @@
         <span class="text-white">服务指南</span>
     </template>
 </van-nav-bar>
-<div class="box">
-    <h1 class="title">参会须知</h1>
-    <p class="content">欢迎您参加2024年“惠企助才·融链赋能”福建省(晋江)人力资源服务业发展大会暨人力资源服务供需对接会。为方便您更好地了解活动安排,请您仔细阅读服务指南,本次活动服务组将竭诚为您服务。</p>
-    <p class="sub-title">一、注意事项</p>
-    <p class="content mt-5 mb-5">(一)活动仅限受邀人员,请随身佩带好相关证件。有关活动议程的详细资料,请参阅服务指南或现场二维码随扫随看。如有任何变更时,请注意现场公告。</p>
-    <p class="content mt-5 mb-5">参会时,请与会人员提前10分钟进场。会议期间,请勿随意走动,并请将手机调至静音或振动状态。</p>
-    <p class="content mt-5 mb-5">(二)为了保证会议期间的交通安全和会议秩序,敬请注意以下事项:</p>
-    <p class="content mt-5 mb-5">1、会议期间,请遵守会议时间安排,互相提醒、互相照应,并听从工作人员的引导;</p>
-    <p class="content mt-5 mb-5">2、外出参访期间,请在指定位置乘车,有特殊要求的请及时与服务组联系;</p>
-    <p class="content mt-5 mb-5">3、活动结束后,仍需逗留并需要提供帮助的,请与服务组联系。</p>
-    <p class="content mt-5 mb-5">(三)酒店住宿</p>
-    <p class="content mt-5 mb-5">1、酒店入住:住宿安排在晋江佰翔世纪酒店,请参会嘉宾报到时持本人身份证到酒店总台登记。退房请将房卡直接退还酒店总台。如需提前或延期住宿,请提前与服务组做好沟通。</p>
-    <p class="content mt-5 mb-5">2、贵重物品:贵重物品请妥善保管,退房时请认真检查行李、个人使用物品、充电器、衣物等是否收妥。</p>
-    <p class="content mt-5">3、安全须知:活动过程中请勿擅自离场,如有特殊情况不能参加集体活动需要暂时离会的,请及时告知服务组,并确保安全。</p>
-    <p class="sub-title">二、气象资讯</p>
-    <p class="content mt-5 mb-5">11月5日:18°C-25°C   天气晴</p>
-    <p class="content mt-5 mb-5">11月6日:17°C-22°C   天气晴</p>
-    <p class="content mt-5">11月7日:18°C-22°C   天气晴</p>
-    <p class="sub-title">三、服务联络</p>
-    <p class="content mt-5 mb-5 t0">1、对外联络组</p>
-    <p class="content mt-5 mb-5">周女士  19959780161</p>
-    <p class="content mt-5 mb-5">王女士  17758777161</p>
-    <p class="content mt-5 mb-5">卢先生  19959873168</p>
-    <p class="content mt-5 mb-5">刘先生  18120692731</p>
-    <p class="content mt-5 mb-5 t0">2、服务保障组</p>
-    <p class="content mt-5 mb-5">郑女士  15906068030</p>
-    <p class="content mt-5 mb-5">邱先生  15960715316</p>
-    <p class="content mt-5 mb-5">吴女士  15080072713</p>
-    <p class="content mt-5">陈先生  18850292263</p>
-    <p class="sub-title">温馨提醒</p>
-    <p class="content mt-5 mb-5">1、早晚有温差,注意及时增减衣物,预防感冒。</p>
-    <p class="content mt-5">2、会场及酒店均备有常用药物,有需要可联系工作人员或酒店前台。</p>
-    <h1 class="title">会议日程安排</h1>
-    <img src="/static/mobile/images/company/guide_table1.png" @click="showImage(0)" class="company" alt="">
-    <img src="/static/mobile/images/company/guide_table2.png" @click="showImage(1)" class="company" alt="">
-</div>
+
+<img src="/static/mobile/images/human/guide1.png" @click="showImage(0)" class="company" alt="">
+<img src="/static/mobile/images/human/guide2.png" @click="showImage(1)" class="company" alt="">
+<img src="/static/mobile/images/human/guide3.png" @click="showImage(2)" class="company" alt="">
+<img src="/static/mobile/images/human/guide4.png" @click="showImage(3)" class="company" alt="">
+<img src="/static/mobile/images/human/guide5.png" @click="showImage(4)" class="company" alt="">
+<img src="/static/mobile/images/human/guide6.png" @click="showImage(5)" class="company" alt="">
+<img src="/static/mobile/images/human/guide7.png" @click="showImage(6)" class="company" alt="">
+<img src="/static/mobile/images/human/guide8.png" @click="showImage(7)" class="company" alt="">
+<img src="/static/mobile/images/human/guide9.png" @click="showImage(8)" class="company" alt="">
+<img src="/static/mobile/images/human/guide10.png" @click="showImage(9)" class="company" alt="">
+<img src="/static/mobile/images/human/guide11.png" @click="showImage(10)" class="company" alt="">
+
 {/block}
 {block name="script"}
 <script>
@@ -73,8 +50,17 @@
         base.showImage = (index) => {
             vant.showImagePreview({
                 images:[
-                    '/static/mobile/images/company/guide_table1.png',
-                    '/static/mobile/images/company/guide_table2.png',
+                    '/static/mobile/images/human/guide1.png',
+                    '/static/mobile/images/human/guide2.png',
+                    '/static/mobile/images/human/guide3.png',
+                    '/static/mobile/images/human/guide4.png',
+                    '/static/mobile/images/human/guide5.png',
+                    '/static/mobile/images/human/guide6.png',
+                    '/static/mobile/images/human/guide7.png',
+                    '/static/mobile/images/human/guide8.png',
+                    '/static/mobile/images/human/guide9.png',
+                    '/static/mobile/images/human/guide10.png',
+                    '/static/mobile/images/human/guide11.png',
                 ],
                 startPosition: index,
             });

+ 19 - 20
app/mobile/view/human/jinjiang.html

@@ -7,6 +7,8 @@
     .content {text-indent: 2em;}
     .mt-5 {margin-top:5px;}
     .mb-5 {margin-bottom: 5px;}
+    .t0 {text-indent: 0;}
+    .company {display: block;width: 100%;}
 </style>
 {/block}
 {block name="body"}
@@ -19,28 +21,14 @@
         @click-left="onBack"
 >
     <template #title>
-        <span class="text-white">晋江介绍</span>
+        <span class="text-white">服务指南</span>
     </template>
 </van-nav-bar>
-<div class="box">
-    <h1 class="title">活力之都 奋进之城——福建晋江欢迎您</h1>
-    <p class="content">晋江地处福建东南沿海,陆域面积649平方公里,常住人口240万人,现辖13个镇、6个街道和1个经济开发区。改革开放以来,晋江人凭借“敢为天下先、爱拼才会赢”的精神,不断推动经济社会发展取得新的突破,2023年全市GDP增速居全国十强县首位,县域经济基本竞争力保持全国第4,县域经济和社会综合发展指数居全国第3位。</p>
-    <p class="sub-title">晋江——“晋江经验”发祥地</p>
-    <p class="content mt-5">习近平总书记在福建工作期间,曾六年七到晋江调研,于2002年总结提出以“六个始终坚持”和“处理好五大关系”为主要内容的“晋江经验”。20多年来,在“晋江经验”的引领下,走出了一条县域高质量发展之路,2023年7月份,中央出台《促进民营经济发展壮大的意见》,把“晋江经验”写入中央文件,上升为引领全国民营经济发展的示范样板。2024年第一个工作日,国家发改委又在晋江召开创新发展“晋江经验”、促进民营经济高质量发展大会,再次对晋江民营经济发展给予了充分肯定。</p>
-    <p class="sub-title">晋江——县域经济龙头</p>
-    <p class="content mt-5 mb-5">晋江以民营经济为主。全市97%以上企业是民营企业,民营企业创造的产值、税收、就业岗位都在90%以上。</p>
-    <p class="content mt-5 mb-5">晋江是中国品牌之都。拥有15个区域品牌,中国驰名商标46枚,上市企业52家,居全国县域前列,形成资本市场的“晋江版块”,被誉为中国品牌之都、国潮之城。</p>
-    <p class="content mt-5 mb-5">晋江集群优势明显。培育了1个超三千亿(鞋服),1个超千亿(纺织)、2个超五百亿(建材、食品)、2个超三百亿(智能装备、医疗健康)产业集群,集成电路产业规模突破百亿。</p>
-    <p class="content mt-5">晋江创新动能强劲。坚持创新引领,落地高能级科研机构12家,实现主导产业科研平台全覆盖,高新企业达849家,占泉州27.7%,企业上云上平台1950家,上市挂牌企业突破百家,设立50亿元产业发展母基金,产业引导基金11支,全市基金规模突破300亿元。</p>
-    <p class="sub-title">晋江——城市宜居宜业</p>
-    <p class="content mt-5 mb-5">晋江环湾向湾发展。积极对接泉州环湾中心城市框架,策划推进“四大新区+若干更新片区”,2023年完成片区投资63.46亿元,建成9个快速路项目,福厦高铁泉州南站正式通车,环湾向湾发展格局加速形成。</p>
-    <p class="content mt-5 mb-5">晋江城市功能完善。坚持产城人融合发展,连续多年开展城市品质提升专项行动,中心城区建成区面积达119平方公里,城镇化率达70.3%,连续三年获评全省城乡建设品质提升综合绩效优异县市,被评为全国II型大城市。</p>
-    <p class="content mt-5">晋江文体旅深度融合。晋江文化底蕴深厚,拥有安平桥、草庵摩尼光佛造像、金交椅山古窑址三处世界遗产点,打造了五店市、梧林古村落等闽南文化“活样本”。同时,晋江体育氛围浓厚,是国家体育产业基地。近年来,深度推进文体旅融合发展,先后举办全国村BA、大体联世界杯、国际篮球博览会等一系列重大文旅活动、赛事活动,城市热度越来越高,不断出圈出彩,全年旅游人数达1300万人次、增长39.5%,旅游收入达170亿元、增长44.1%,入选全国县域旅游综合实力百强县。</p>
-    <p class="sub-title">晋江——改革前沿重地</p>
-    <p class="content mt-5">先后承担44项国家级改革试点,是全省乃至全国改革试点最多、成果最丰富的县级城市之一,获评全国法治政府建设示范市,城市投资潜力、营商环境位居全国县域第二位。近年来,以泉州获批国家盘活利用低效用地试点为契机,狠抓空间盘活利用和园区标准化建设,去年盘活低效用地超6500亩,清理批而未供和闲置土地6112亩,建成产业空间超200万平米,成为全国、全省典型。特别是提出“产业社区”的理念,策划实施14个综合产业园区,高标准推进千万平米标准化园区建设,已建成产业空间超300万平米,还有超800万平米在建,招商去化率达93%,规上企业入园率达54%。</p>
-    <p class="sub-title">晋江——民生优质均衡</p>
-    <p class="content mt-5">每年将超7成以上本级财力用于民生,全力扩大高品质民生供给。城乡居民人均收入达4.5万元、村财平均收入达73万元,每千人医疗机构开放床位达3.8张,每千名老人养老床位41张。特别是近年来,聚焦群众更高民生需求,先后引进清华附中、国科大智能制造学院、福大晋江校区、上海六院、上海十院、复旦大学上海医学院等优质教育医疗资源,落地全国首个县域国家区域医疗中心,目前还拥有4所高校,优质公共服务可感可及。</p>
-</div>
+
+<img src="/static/mobile/images/human/jinjiang1.png" @click="showImage(0)" class="company" alt="">
+<img src="/static/mobile/images/human/jinjiang2.png" @click="showImage(1)" class="company" alt="">
+<img src="/static/mobile/images/human/jinjiang3.png" @click="showImage(2)" class="company" alt="">
+
 {/block}
 {block name="script"}
 <script>
@@ -51,6 +39,17 @@
             history.back();
         };
 
+        base.showImage = (index) => {
+            vant.showImagePreview({
+                images:[
+                    '/static/mobile/images/human/jinjiang1.png',
+                    '/static/mobile/images/human/jinjiang2.png',
+                    '/static/mobile/images/human/jinjiang3.png',
+                ],
+                startPosition: index,
+            });
+        };
+
         return base;
     }
 </script>

+ 10 - 8
app/mobile/view/human/renzi.html

@@ -28,10 +28,11 @@
     <p class="text-center">扫码联系业务合作</p>
     <img src="/static/mobile/images/wechat_qrcode.jpg" class="wechat" alt="">
 </div>
-<img src="/static/mobile/images/company/1.jpg" @click="showImage(0)" class="company" alt="">
-<img src="/static/mobile/images/company/2.jpg" @click="showImage(1)" class="company" alt="">
-<img src="/static/mobile/images/company/3.jpg" @click="showImage(2)" class="company" alt="">
-<img src="/static/mobile/images/company/4.jpg" @click="showImage(3)" class="company" alt="">
+<img src="/static/mobile/images/human/renzi1.png" @click="showImage(0)" class="company" alt="">
+<img src="/static/mobile/images/human/renzi2.png" @click="showImage(1)" class="company" alt="">
+<img src="/static/mobile/images/human/renzi3.png" @click="showImage(2)" class="company" alt="">
+<img src="/static/mobile/images/human/renzi4.png" @click="showImage(3)" class="company" alt="">
+<img src="/static/mobile/images/human/renzi5.png" @click="showImage(3)" class="company" alt="">
 
 {/block}
 {block name="script"}
@@ -46,10 +47,11 @@
         base.showImage = (index) => {
             vant.showImagePreview({
                 images:[
-                    '/static/mobile/images/company/1.jpg',
-                    '/static/mobile/images/company/2.jpg',
-                    '/static/mobile/images/company/3.jpg',
-                    '/static/mobile/images/company/4.jpg',
+                    '/static/mobile/images/human/renzi1.png',
+                    '/static/mobile/images/human/renzi2.png',
+                    '/static/mobile/images/human/renzi3.png',
+                    '/static/mobile/images/human/renzi4.png',
+                    '/static/mobile/images/human/renzi5.png',
                 ],
                 startPosition: index,
             });

BIN
public/static/mobile/images/human/guide1.png


BIN
public/static/mobile/images/human/guide10.png


BIN
public/static/mobile/images/human/guide11.png


BIN
public/static/mobile/images/human/guide2.png


BIN
public/static/mobile/images/human/guide3.png


BIN
public/static/mobile/images/human/guide4.png


BIN
public/static/mobile/images/human/guide5.png


BIN
public/static/mobile/images/human/guide6.png


BIN
public/static/mobile/images/human/guide7.png


BIN
public/static/mobile/images/human/guide8.png


BIN
public/static/mobile/images/human/guide9.png


BIN
public/static/mobile/images/human/jinjiang1.png


BIN
public/static/mobile/images/human/jinjiang2.png


BIN
public/static/mobile/images/human/jinjiang3.png


BIN
public/static/mobile/images/human/renzi1.png


BIN
public/static/mobile/images/human/renzi2.png


BIN
public/static/mobile/images/human/renzi3.png


BIN
public/static/mobile/images/human/renzi4.png


BIN
public/static/mobile/images/human/renzi5.png