guhongwei 4 gadi atpakaļ
vecāks
revīzija
62659b9da8
100 mainītis faili ar 3 papildinājumiem un 4400 dzēšanām
  1. 3 3
      public/home.html
  2. 0 12
      public/index.html
  3. BIN
      src/assets/achievezb.jpg
  4. BIN
      src/assets/bg.jpg
  5. BIN
      src/assets/diaocha.gif
  6. BIN
      src/assets/directBack.png
  7. BIN
      src/assets/emotion/flower1.png
  8. BIN
      src/assets/emotion/hands.gif
  9. BIN
      src/assets/live/06.gif
  10. BIN
      src/assets/live/1.jpg
  11. BIN
      src/assets/live/111.png
  12. BIN
      src/assets/live/beijing.jpg
  13. BIN
      src/assets/live/bendi1.png
  14. BIN
      src/assets/live/bendi2.png
  15. BIN
      src/assets/live/bendi3.png
  16. BIN
      src/assets/live/bendi4.png
  17. BIN
      src/assets/live/bendi5.png
  18. BIN
      src/assets/live/bendi6.png
  19. BIN
      src/assets/live/bg.jpg
  20. BIN
      src/assets/live/changyong1.jpg
  21. BIN
      src/assets/live/changyong2.jpg
  22. BIN
      src/assets/live/changyong3.jpg
  23. BIN
      src/assets/live/changyong4.jpg
  24. BIN
      src/assets/live/changyong5.jpg
  25. BIN
      src/assets/live/changyong6.jpg
  26. BIN
      src/assets/live/circle.png
  27. BIN
      src/assets/live/gongzhong1.jpg
  28. BIN
      src/assets/live/gongzhong2.jpg
  29. BIN
      src/assets/live/gongzhong3.jpg
  30. BIN
      src/assets/live/gongzhong4.jpg
  31. BIN
      src/assets/live/gongzhong5.jpg
  32. BIN
      src/assets/live/gongzhong6.jpg
  33. BIN
      src/assets/live/hezuo1.png
  34. BIN
      src/assets/live/hezuo2.png
  35. BIN
      src/assets/live/hezuo3.png
  36. BIN
      src/assets/live/hezuo4.png
  37. BIN
      src/assets/live/hezuo5.png
  38. BIN
      src/assets/live/hezuo6.png
  39. BIN
      src/assets/live/hezuo7.png
  40. BIN
      src/assets/live/hezuo8.png
  41. BIN
      src/assets/live/logo20.png
  42. BIN
      src/assets/live/mubu_1.jpg
  43. BIN
      src/assets/live/mubu_1_s.jpg
  44. BIN
      src/assets/live/mubu_2.png
  45. BIN
      src/assets/live/mubu_2_s.png
  46. BIN
      src/assets/live/mubu_3_s.png
  47. BIN
      src/assets/live/mubu_left.jpg
  48. BIN
      src/assets/live/mubu_left_s.jpg
  49. BIN
      src/assets/live/mubu_right.jpg
  50. BIN
      src/assets/live/mubu_right_s.jpg
  51. BIN
      src/assets/live/mubu_yh_1.png
  52. BIN
      src/assets/live/mubu_yh_2.png
  53. BIN
      src/assets/live/nyear-wwwa5.png
  54. BIN
      src/assets/live/service_picture_one.jpg
  55. BIN
      src/assets/live/top_3.png
  56. BIN
      src/assets/live/zhengwu1.jpg
  57. BIN
      src/assets/live/zhengwu2.jpg
  58. BIN
      src/assets/live/zhengwu3.jpg
  59. BIN
      src/assets/live/zhengwu4.jpg
  60. BIN
      src/assets/live/zhengwu5.jpg
  61. BIN
      src/assets/live/zhengwu6.jpg
  62. BIN
      src/assets/live/zhengwu7.jpg
  63. BIN
      src/assets/live/zhengwu8.jpg
  64. BIN
      src/assets/live/测试图片.jpg
  65. BIN
      src/assets/logo.png
  66. BIN
      src/assets/productsmall.png
  67. BIN
      src/assets/returns.png
  68. BIN
      src/assets/swfl.png
  69. BIN
      src/assets/test.jpeg
  70. BIN
      src/assets/video.mp4
  71. BIN
      src/assets/video1.mp4
  72. 0 94
      src/components/enterprise/appointment.vue
  73. 0 93
      src/components/enterprise/duijiedetail.vue
  74. 0 92
      src/components/enterprise/duijiestatus.vue
  75. 0 109
      src/components/enterprise/enterpisedg.vue
  76. 0 123
      src/components/enterprise/enterprisefabu.vue
  77. 0 92
      src/components/enterprise/enterprisejb.vue
  78. 0 92
      src/components/enterprise/enterprisexuqiu.vue
  79. 0 90
      src/components/enterprise/enterprisexx.vue
  80. 0 96
      src/components/enterprise/look.vue
  81. 0 92
      src/components/enterprise/shenhe.vue
  82. 0 92
      src/components/enterprise/xiugai.vue
  83. 0 67
      src/components/pages.vue
  84. 0 55
      src/components/personnel/rencai.vue
  85. 0 73
      src/components/personnel/rencailistDetail.vue
  86. 0 54
      src/components/qrcode.vue
  87. 0 118
      src/components/statistics/e-bar.vue
  88. 0 136
      src/components/statistics/e-pie.vue
  89. 0 83
      src/components/supermaket/supermarketlistDetail.vue
  90. 0 341
      src/excel/Blob.js
  91. 0 279
      src/excel/Export2Excel.js
  92. 0 139
      src/layout/direct/directDetail.vue
  93. 0 78
      src/layout/direct/directVideo.vue
  94. 0 161
      src/layout/enterprise/appointment.vue
  95. 0 370
      src/layout/enterprise/context.vue
  96. 0 465
      src/layout/enterprise/contextedit.vue
  97. 0 419
      src/layout/enterprise/contextfabu.vue
  98. 0 395
      src/layout/enterprise/contextfabuxx.vue
  99. 0 87
      src/layout/enterprise/contextxx.vue
  100. 0 0
      src/layout/enterprise/duijiecontext.vue

+ 3 - 3
public/home.html

@@ -52,8 +52,8 @@
       <p class='title'>中科在线(长春)</p>
    </div>
    <div class='right'>
-      <button onclick="window.open('http://free.liaoningdoupo.com/platlive/webLogin')">平台登录</button>
-      <button onclick="window.open('http://free.liaoningdoupo.com/platlive/adminLogin')">管理登录</button>
+      <!-- <button onclick="window.open('http://free.liaoningdoupo.com/platlive/webLogin')">平台登录</button>
+      <button onclick="window.open('http://free.liaoningdoupo.com/platlive/adminLogin')">管理登录</button> -->
    </div>
   </div>
   <img class="sci-wheel" src="static/home/images/sci.gif" alt="">
@@ -76,7 +76,7 @@
     </a>
   </div>
   <!-- 浮窗 -->
-  <div id="floatingDiv" style="position:absolute;left:50px;top:60px;z-index: 9999;">
+  <div id="floatingDiv" style="position:absolute;left:50px;top:60px;z-index: 9999;display:none">
     <div id="a" onClick="javascript:this.parentNode.style.display='none';">关闭窗口</div>
     <div class='floating' onclick="noticeBtn()">
       <p id="floatingid" class='floatingInfo'></p>

+ 0 - 12
public/index.html

@@ -14,16 +14,4 @@
     <div id="app"></div>
     <!-- built files will be auto injected -->
   </body>
-  <script language=javascript>
-    // 禁止右键菜单
-      document.oncontextmenu = function () { return false; };
-      // 禁止文字选择
-      document.onselectstart = function () { return false; };
-      // 禁止复制
-      document.oncopy = function () { return false; };
-      // 禁止剪切
-      document.oncut = function () { return false; };
-      // 禁止粘贴
-      document.onpaste = function () { return false; };
-  </script>
 </html>

BIN
src/assets/achievezb.jpg


BIN
src/assets/bg.jpg


BIN
src/assets/diaocha.gif


BIN
src/assets/directBack.png


BIN
src/assets/emotion/flower1.png


BIN
src/assets/emotion/hands.gif


BIN
src/assets/live/06.gif


BIN
src/assets/live/1.jpg


BIN
src/assets/live/111.png


BIN
src/assets/live/beijing.jpg


BIN
src/assets/live/bendi1.png


BIN
src/assets/live/bendi2.png


BIN
src/assets/live/bendi3.png


BIN
src/assets/live/bendi4.png


BIN
src/assets/live/bendi5.png


BIN
src/assets/live/bendi6.png


BIN
src/assets/live/bg.jpg


BIN
src/assets/live/changyong1.jpg


BIN
src/assets/live/changyong2.jpg


BIN
src/assets/live/changyong3.jpg


BIN
src/assets/live/changyong4.jpg


BIN
src/assets/live/changyong5.jpg


BIN
src/assets/live/changyong6.jpg


BIN
src/assets/live/circle.png


BIN
src/assets/live/gongzhong1.jpg


BIN
src/assets/live/gongzhong2.jpg


BIN
src/assets/live/gongzhong3.jpg


BIN
src/assets/live/gongzhong4.jpg


BIN
src/assets/live/gongzhong5.jpg


BIN
src/assets/live/gongzhong6.jpg


BIN
src/assets/live/hezuo1.png


BIN
src/assets/live/hezuo2.png


BIN
src/assets/live/hezuo3.png


BIN
src/assets/live/hezuo4.png


BIN
src/assets/live/hezuo5.png


BIN
src/assets/live/hezuo6.png


BIN
src/assets/live/hezuo7.png


BIN
src/assets/live/hezuo8.png


BIN
src/assets/live/logo20.png


BIN
src/assets/live/mubu_1.jpg


BIN
src/assets/live/mubu_1_s.jpg


BIN
src/assets/live/mubu_2.png


BIN
src/assets/live/mubu_2_s.png


BIN
src/assets/live/mubu_3_s.png


BIN
src/assets/live/mubu_left.jpg


BIN
src/assets/live/mubu_left_s.jpg


BIN
src/assets/live/mubu_right.jpg


BIN
src/assets/live/mubu_right_s.jpg


BIN
src/assets/live/mubu_yh_1.png


BIN
src/assets/live/mubu_yh_2.png


BIN
src/assets/live/nyear-wwwa5.png


BIN
src/assets/live/service_picture_one.jpg


BIN
src/assets/live/top_3.png


BIN
src/assets/live/zhengwu1.jpg


BIN
src/assets/live/zhengwu2.jpg


BIN
src/assets/live/zhengwu3.jpg


BIN
src/assets/live/zhengwu4.jpg


BIN
src/assets/live/zhengwu5.jpg


BIN
src/assets/live/zhengwu6.jpg


BIN
src/assets/live/zhengwu7.jpg


BIN
src/assets/live/zhengwu8.jpg


BIN
src/assets/live/测试图片.jpg


BIN
src/assets/logo.png


BIN
src/assets/productsmall.png


BIN
src/assets/returns.png


BIN
src/assets/swfl.png


BIN
src/assets/test.jpeg


BIN
src/assets/video.mp4


BIN
src/assets/video1.mp4


+ 0 - 94
src/components/enterprise/appointment.vue

@@ -1,94 +0,0 @@
-<template>
-  <div id="adviserList">
-    <el-row>
-      <el-col :span="24" class="main">
-        <el-col :span="24" class="top">
-          <heads></heads>
-        </el-col>
-        <div class="w_1200">
-          <el-col :span="5" class="left">
-            <el-col :span="24" class="leftTop">
-              <mainMenu :liebiaoList="liebiaoList" v-on="$listeners"></mainMenu>
-            </el-col>
-          </el-col>
-          <el-col :span="19" class="right">
-            <appointment v-on="$listeners" :nextData="nextData" :nextTotal="nextTotal" :pastData="pastData" :pastTotal="pastTotal"></appointment>
-          </el-col>
-        </div>
-        <el-col :span="24" class="foots">
-          <foot></foot>
-        </el-col>
-      </el-col>
-    </el-row>
-  </div>
-</template>
-
-<script>
-import heads from '@/layout/enterprise/heads.vue';
-import mainMenu from '@/layout/enterprise/mainMenu.vue';
-import appointment from '@/layout/enterprise/appointment.vue';
-import foot from '@/layout/live/foot.vue';
-
-export default {
-  name: 'adviserList',
-  props: {
-    liebiaoList: null, //分类导航
-    nextData: null, //下期直播
-    nextTotal: null, //总数
-    pastData: null, //以往直播
-    pastTotal: null, //总数
-  },
-  components: {
-    heads,
-    mainMenu, //分类导航
-    appointment, //右侧
-    foot,
-  },
-  data: () => ({}),
-  created() {},
-  computed: {},
-  methods: {},
-};
-</script>
-
-<style lang="less" scoped>
-.w_1200 {
-  width: 80%;
-  margin: 0 auto;
-}
-
-.menu {
-  height: 70px;
-  overflow: hidden;
-}
-.main {
-  min-height: 600px;
-  overflow: hidden;
-
-  background: #e9edf6;
-  background-attachment: fixed;
-  background-size: cover;
-  background-position: center center;
-}
-.left {
-  min-height: 560px;
-  margin: 0 10px 0 0;
-  width: 20%;
-}
-
-.leftTop {
-  background: #fff;
-  height: 455px;
-  overflow: hidden;
-  margin: 0 0 10px 0;
-}
-.right {
-  width: 79%;
-  min-height: 600px;
-  overflow: hidden;
-  background-color: #fff;
-}
-.foots {
-  margin: 10px 0 0 0;
-}
-</style>

+ 0 - 93
src/components/enterprise/duijiedetail.vue

@@ -1,93 +0,0 @@
-<template>
-  <div id="adviserList">
-    <el-row>
-      <el-col :span="24" class="main">
-        <el-col :span="24" class="top">
-          <heads></heads>
-        </el-col>
-        <div class="w_1200">
-          <el-col :span="5" class="left">
-            <el-col :span="24" class="leftTop">
-              <mainMenu :liebiaoList="liebiaoList" v-on="$listeners"></mainMenu>
-            </el-col>
-          </el-col>
-          <el-col :span="19" class="right">
-            <duijiecontext v-on="$listeners" :options="options" :option="option" :form="form" :liebiaoList="liebiaoList"></duijiecontext>
-          </el-col>
-        </div>
-        <el-col :span="24" class="foots">
-          <foot></foot>
-        </el-col>
-      </el-col>
-    </el-row>
-  </div>
-</template>
-
-<script>
-import heads from '@/layout/enterprise/heads.vue';
-import mainMenu from '@/layout/enterprise/mainMenu.vue';
-import duijiecontext from '@/layout/enterprise/duijiecontext.vue';
-import foot from '@/layout/live/foot.vue';
-export default {
-  name: 'adviserList',
-  props: {
-    info: null, //站点信息
-    liebiaoList: null, //分类导航
-    options: null,
-    form: null,
-    option: null,
-  },
-  components: {
-    heads,
-    mainMenu, //分类导航
-    duijiecontext, //基本信息
-    foot,
-  },
-  data: () => ({}),
-  created() {},
-  computed: {},
-  methods: {},
-};
-</script>
-
-<style lang="less" scoped>
-.w_1200 {
-  width: 80%;
-  margin: 0 auto;
-}
-
-.menu {
-  height: 70px;
-  overflow: hidden;
-}
-.main {
-  min-height: 740px;
-  overflow: hidden;
-
-  background: #e9edf6;
-  background-attachment: fixed;
-  background-size: cover;
-  background-position: center center;
-}
-.left {
-  height: 520px;
-  margin: 0 10px 0 0;
-  width: 20%;
-}
-
-.leftTop {
-  background: #fff;
-  height: 455px;
-  overflow: hidden;
-  margin: 0 0 10px 0;
-}
-.right {
-  width: 79%;
-  height: 520px;
-  overflow: hidden;
-  background-color: #fff;
-}
-.foots {
-  margin: 10px 0 0 0;
-}
-</style>

+ 0 - 92
src/components/enterprise/duijiestatus.vue

@@ -1,92 +0,0 @@
-<template>
-  <div id="adviserList">
-    <el-row>
-      <el-col :span="24" class="main">
-        <el-col :span="24" class="top">
-          <heads></heads>
-        </el-col>
-        <div class="w_1200">
-          <el-col :span="5" class="left">
-            <el-col :span="24" class="leftTop">
-              <mainMenu :liebiaoList="liebiaoList" v-on="$listeners"></mainMenu>
-            </el-col>
-          </el-col>
-          <el-col :span="19" class="right">
-            <duijiestatus v-on="$listeners" :options="options" :form="form" :liebiaoList="liebiaoList"></duijiestatus>
-          </el-col>
-        </div>
-        <el-col :span="24" class="foots">
-          <foot></foot>
-        </el-col>
-      </el-col>
-    </el-row>
-  </div>
-</template>
-
-<script>
-import heads from '@/layout/enterprise/heads.vue';
-import mainMenu from '@/layout/enterprise/mainMenu.vue';
-import duijiestatus from '@/layout/enterprise/duijiestatus.vue';
-import foot from '@/layout/live/foot.vue';
-export default {
-  name: 'adviserList',
-  props: {
-    info: null, //站点信息
-    liebiaoList: null, //分类导航
-    options: null,
-    form: null,
-  },
-  components: {
-    heads,
-    mainMenu, //分类导航
-    duijiestatus, //基本信息
-    foot,
-  },
-  data: () => ({}),
-  created() {},
-  computed: {},
-  methods: {},
-};
-</script>
-
-<style lang="less" scoped>
-.w_1200 {
-  width: 80%;
-  margin: 0 auto;
-}
-
-.menu {
-  height: 70px;
-  overflow: hidden;
-}
-.main {
-  min-height: 740px;
-  overflow: hidden;
-
-  background: #e9edf6;
-  background-attachment: fixed;
-  background-size: cover;
-  background-position: center center;
-}
-.left {
-  height: 520px;
-  margin: 0 10px 0 0;
-  width: 20%;
-}
-
-.leftTop {
-  background: #fff;
-  height: 455px;
-  overflow: hidden;
-  margin: 0 0 10px 0;
-}
-.right {
-  width: 79%;
-  min-height: 520px;
-  overflow: hidden;
-  background-color: #fff;
-}
-.foots {
-  margin: 10px 0 0 0;
-}
-</style>

+ 0 - 109
src/components/enterprise/enterpisedg.vue

@@ -1,109 +0,0 @@
-<template>
-  <div id="adviserList">
-    <el-row>
-      <el-col :span="24" class="main">
-        <el-col :span="24" class="top">
-          <heads></heads>
-        </el-col>
-        <div class="w_1200">
-          <el-col :span="5" class="left">
-            <el-col :span="24" class="leftTop">
-              <mainMenu :liebiaoList="liebiaoList" v-on="$listeners"></mainMenu>
-            </el-col>
-          </el-col>
-          <el-col :span="19" class="right">
-            <context
-              v-on="$listeners"
-              :total1="total1"
-              :total2="total2"
-              :total3="total3"
-              :columnName="columnName"
-              :dinggou1="dinggou1"
-              :dinggou2="dinggou2"
-              :dinggou3="dinggou3"
-              :faqilist="faqilist"
-              :totalfaqi="totalfaqi"
-            ></context>
-          </el-col>
-        </div>
-        <el-col :span="24" class="foots">
-          <foot></foot>
-        </el-col>
-      </el-col>
-    </el-row>
-  </div>
-</template>
-
-<script>
-import mainMenu from '@/layout/enterprise/mainMenu.vue';
-import context from '@/layout/enterprise/context.vue';
-import heads from '@/layout/enterprise/heads.vue';
-import foot from '@/layout/live/foot.vue';
-export default {
-  name: 'adviserList',
-  props: {
-    liebiaoList: null, //分类导航
-    columnName: null, //栏目名称
-    dinggou1: null,
-    dinggou2: null,
-    dinggou3: null,
-    total1: null,
-    total2: null,
-    total3: null,
-    faqilist: null,
-    totalfaqi: null,
-  },
-  components: {
-    heads, //头部
-    mainMenu, //分类导航
-    context, //列表
-    foot,
-  },
-  data: () => ({}),
-  created() {},
-  computed: {},
-  methods: {},
-};
-</script>
-
-<style lang="less" scoped>
-.w_1200 {
-  width: 80%;
-  margin: 0 auto;
-}
-
-.menu {
-  height: 70px;
-  overflow: hidden;
-}
-.main {
-  min-height: 1080px;
-  overflow: hidden;
-
-  background: #e9edf6;
-  background-attachment: fixed;
-  background-size: cover;
-  background-position: center center;
-}
-.left {
-  height: 880px;
-  margin: 0 10px 0 0;
-  width: 20%;
-}
-
-.leftTop {
-  background: #fff;
-  height: 455px;
-  overflow: hidden;
-  margin: 0 0 10px 0;
-}
-.right {
-  width: 79%;
-  min-height: 880px;
-  overflow: hidden;
-  background-color: #fff;
-}
-.foots {
-  margin: 10px 0 0 0;
-}
-</style>

+ 0 - 123
src/components/enterprise/enterprisefabu.vue

@@ -1,123 +0,0 @@
-<template>
-  <div id="adviserList">
-    <el-row>
-      <el-col :span="24" class="main">
-        <el-col :span="24" class="top">
-          <heads></heads>
-        </el-col>
-        <div class="w_1200">
-          <el-col :span="5" class="left">
-            <el-col :span="24" class="leftTop">
-              <mainMenu :liebiaoList="liebiaoList" v-on="$listeners"></mainMenu>
-            </el-col>
-          </el-col>
-
-          <el-col :span="19" class="right">
-            <contextfabuxx
-              v-on="$listeners"
-              :recruitData="recruitData"
-              :successlist="successlist"
-              :shenheList="shenheList"
-              :total="total"
-              :tatalstatus2="tatalstatus2"
-              :tatalstatus1="tatalstatus1"
-              :Transactionlist="Transactionlist"
-              :jiaoyilist="jiaoyilist"
-              :jiaoyilist1="jiaoyilist1"
-              :total4="total4"
-              :total5="total5"
-              :total6="total6"
-              :faqilist="faqilist"
-              :totalfaqi="totalfaqi"
-              :tatalcaogao="tatalcaogao"
-              :caogao="caogao"
-            ></contextfabuxx>
-          </el-col>
-        </div>
-        <el-col :span="24" class="foots">
-          <foot></foot>
-        </el-col>
-      </el-col>
-    </el-row>
-  </div>
-</template>
-
-<script>
-import heads from '@/layout/enterprise/heads.vue';
-import mainMenu from '@/layout/enterprise/mainMenu.vue';
-import contextfabuxx from '@/layout/enterprise/contextfabuxx.vue';
-import foot from '@/layout/live/foot.vue';
-export default {
-  name: 'adviserList',
-  props: {
-    liebiaoList: null, //分类导航
-    recruitData: null, //审核中
-    total: null, //分页
-    total4: null, //分页
-    total5: null, //分页
-    total6: null, //分页
-    shenheList: null, //审核成功
-    successlist: null, //交易失败
-    tatalstatus2: null, //分页
-    tatalstatus1: null, //分页
-    Transactionlist: null, //交易中
-    jiaoyilist: null,
-    jiaoyilist1: null,
-    faqilist: null,
-    totalfaqi: null,
-    caogao: null,
-    tatalcaogao: null,
-  },
-  components: {
-    heads,
-    mainMenu, //分类导航
-    contextfabuxx, //列表
-    foot,
-  },
-  data: () => ({}),
-  created() {},
-  computed: {},
-  methods: {},
-};
-</script>
-
-<style lang="less" scoped>
-.w_1200 {
-  width: 80%;
-  margin: 0 auto;
-}
-
-.menu {
-  height: 70px;
-  overflow: hidden;
-}
-.main {
-  min-height: 1300px;
-  overflow: hidden;
-  background: #e9edf6;
-  background-attachment: fixed;
-  background-size: cover;
-  background-position: center center;
-}
-.left {
-  height: 900px;
-  margin: 0 10px 0 0;
-  width: 20%;
-}
-
-.leftTop {
-  background: #fff;
-  height: 455px;
-  overflow: hidden;
-  margin: 0 0 10px 0;
-}
-.right {
-  width: 79%;
-  height: 1100px;
-  overflow: hidden;
-  background-color: #fff;
-}
-.foots {
-  margin: 10px 0 0 0;
-}
-</style>

+ 0 - 92
src/components/enterprise/enterprisejb.vue

@@ -1,92 +0,0 @@
-<template>
-  <div id="adviserList">
-    <el-row>
-      <el-col :span="24" class="main">
-        <el-col :span="24" class="top">
-          <heads></heads>
-        </el-col>
-        <div class="w_1200">
-          <el-col :span="5" class="left">
-            <el-col :span="24" class="leftTop">
-              <mainMenu :liebiaoList="liebiaoList" v-on="$listeners"></mainMenu>
-            </el-col>
-          </el-col>
-          <el-col :span="19" class="right">
-            <jibencontext v-on="$listeners" :form="form" :liebiaoList="liebiaoList" :userinfo="userinfo"></jibencontext>
-          </el-col>
-        </div>
-        <el-col :span="24" class="foots">
-          <foot></foot>
-        </el-col>
-      </el-col>
-    </el-row>
-  </div>
-</template>
-
-<script>
-import heads from '@/layout/enterprise/heads.vue';
-import mainMenu from '@/layout/enterprise/mainMenu.vue';
-import jibencontext from '@/layout/enterprise/jibencontext.vue';
-import foot from '@/layout/live/foot.vue';
-export default {
-  name: 'adviserList',
-  props: {
-    info: null, //站点信息
-    liebiaoList: null, //分类导航
-    userinfo: null, //基本信息\
-    form: null,
-  },
-  components: {
-    heads,
-    mainMenu, //分类导航
-    jibencontext, //基本信息
-    foot,
-  },
-  data: () => ({}),
-  created() {},
-  computed: {},
-  methods: {},
-};
-</script>
-
-<style lang="less" scoped>
-.w_1200 {
-  width: 80%;
-  margin: 0 auto;
-}
-
-.menu {
-  height: 70px;
-  overflow: hidden;
-}
-.main {
-  min-height: 740px;
-  overflow: hidden;
-
-  background: #e9edf6;
-  background-attachment: fixed;
-  background-size: cover;
-  background-position: center center;
-}
-.left {
-  min-height: 900px;
-  margin: 0 10px 0 0;
-  width: 20%;
-}
-
-.leftTop {
-  background: #fff;
-  height: 455px;
-  overflow: hidden;
-  margin: 0 0 10px 0;
-}
-.right {
-  width: 79%;
-  min-height: 1140px;
-  overflow: hidden;
-  background-color: #fff;
-}
-.foots {
-  margin: 10px 0 0 0;
-}
-</style>

+ 0 - 92
src/components/enterprise/enterprisexuqiu.vue

@@ -1,92 +0,0 @@
-<template>
-  <div id="adviserList">
-    <el-row>
-      <el-col :span="24" class="main">
-        <el-col :span="24" class="top">
-          <heads></heads>
-        </el-col>
-        <div class="w_1200">
-          <el-col :span="5" class="left">
-            <el-col :span="24" class="leftTop">
-              <mainMenu :liebiaoList="liebiaoList" v-on="$listeners"></mainMenu>
-            </el-col>
-          </el-col>
-          <el-col :span="19" class="right">
-            <contextfabu v-on="$listeners" :anniu="anniu" :demandForm="demandForm" :totaltype="totaltype" :columnList="columnList"></contextfabu>
-          </el-col>
-        </div>
-        <el-col :span="24" class="foots">
-          <foot></foot>
-        </el-col>
-      </el-col>
-    </el-row>
-  </div>
-</template>
-
-<script>
-import heads from '@/layout/enterprise/heads.vue';
-import mainMenu from '@/layout/enterprise/mainMenu.vue';
-import contextfabu from '@/layout/enterprise/contextfabu.vue';
-import foot from '@/layout/live/foot.vue';
-export default {
-  name: 'adviserList',
-  props: {
-    liebiaoList: null, //分类导航
-    demandForm: null, //需求发布
-    columnList: null, //类型列表
-    totaltype: null, //判断
-    anniu: null,
-  },
-  components: {
-    heads,
-    mainMenu, //分类导航
-    contextfabu, //列表
-    foot,
-  },
-  data: () => ({}),
-  created() {},
-  computed: {},
-  methods: {},
-};
-</script>
-
-<style lang="less" scoped>
-.w_1200 {
-  width: 80%;
-  margin: 0 auto;
-}
-
-.menu {
-  height: 70px;
-  overflow: hidden;
-}
-.main {
-  min-height: 1920px;
-  overflow: hidden;
-  background: #e9edf6;
-  background-attachment: fixed;
-  background-size: cover;
-  background-position: center center;
-}
-.left {
-  height: 900px;
-  margin: 0 10px 0 0;
-  width: 20%;
-}
-
-.leftTop {
-  background: #fff;
-  height: 455px;
-  overflow: hidden;
-  margin: 0 0 10px 0;
-}
-.right {
-  width: 79%;
-  min-height: 1720px;
-  overflow: hidden;
-  background-color: #fff;
-}
-.foots {
-  margin: 10px 0 0 0;
-}
-</style>

+ 0 - 90
src/components/enterprise/enterprisexx.vue

@@ -1,90 +0,0 @@
-<template>
-  <div id="adviserList">
-    <el-row>
-      <el-col :span="24" class="main">
-        <el-col :span="24" class="top">
-          <heads></heads>
-        </el-col>
-        <div class="w_1200">
-          <el-col :span="5" class="left">
-            <el-col :span="24" class="leftTop">
-              <mainMenu :liebiaoList="liebiaoList" v-on="$listeners"></mainMenu>
-            </el-col>
-          </el-col>
-          <el-col :span="19" class="right">
-            <contextxx></contextxx>
-          </el-col>
-        </div>
-        <el-col :span="24" class="foots">
-          <foot></foot>
-        </el-col>
-      </el-col>
-    </el-row>
-  </div>
-</template>
-
-<script>
-import heads from '@/layout/enterprise/heads.vue';
-import mainMenu from '@/layout/enterprise/mainMenu.vue';
-import contextxx from '@/layout/enterprise/contextxx.vue';
-import foot from '@/layout/live/foot.vue';
-export default {
-  name: 'adviserList',
-  props: {
-    info: null, //站点信息
-    liebiaoList: null, //分类导航
-  },
-  components: {
-    heads,
-    mainMenu, //分类导航
-    contextxx, //消息管理
-    foot,
-  },
-  data: () => ({}),
-  created() {},
-  computed: {},
-  methods: {},
-};
-</script>
-
-<style lang="less" scoped>
-.w_1200 {
-  width: 80%;
-  margin: 0 auto;
-}
-
-.menu {
-  height: 70px;
-  overflow: hidden;
-}
-.main {
-  min-height: 740px;
-  overflow: hidden;
-
-  background: #e9edf6;
-  background-attachment: fixed;
-  background-size: cover;
-  background-position: center center;
-}
-.left {
-  min-height: 900px;
-  margin: 0 10px 0 0;
-  width: 20%;
-}
-
-.leftTop {
-  background: #fff;
-  height: 455px;
-  overflow: hidden;
-  margin: 0 0 10px 0;
-}
-.right {
-  width: 79%;
-  height: 1140px;
-  overflow: hidden;
-  background-color: #fff;
-}
-.foots {
-  margin: 10px 0 0 0;
-}
-</style>

+ 0 - 96
src/components/enterprise/look.vue

@@ -1,96 +0,0 @@
-<template>
-  <div id="adviserList">
-    <el-row>
-      <el-col :span="24" class="main">
-        <el-col :span="24" class="top">
-          <heads></heads>
-        </el-col>
-        <div class="w_1200">
-          <el-col :span="5" class="left">
-            <el-col :span="24" class="leftTop">
-              <mainMenu :liebiaoList="liebiaoList" v-on="$listeners"></mainMenu>
-            </el-col>
-          </el-col>
-          <el-col :span="19" class="right">
-            <look v-on="$listeners" :resultTable="resultTable" :pageSize="pageSize" :total="total" :limit="limit"></look>
-          </el-col>
-        </div>
-        <el-col :span="24" class="foots">
-          <foot></foot>
-        </el-col>
-      </el-col>
-    </el-row>
-  </div>
-</template>
-
-<script>
-import heads from '@/layout/enterprise/heads.vue';
-import mainMenu from '@/layout/enterprise/mainMenu.vue';
-import look from '@/layout/enterprise/look.vue';
-import foot from '@/layout/live/foot.vue';
-
-export default {
-  name: 'adviserList',
-  props: {
-    info: null, //站点信息
-    liebiaoList: null, //分类导航
-    form: null,
-    resultTable: null,
-    limit: null,
-    total: null,
-    pageSize: null,
-  },
-  components: {
-    heads,
-    mainMenu, //分类导航
-    look, //右侧
-    foot,
-  },
-  data: () => ({}),
-  created() {},
-  computed: {},
-  methods: {},
-};
-</script>
-
-<style lang="less" scoped>
-.w_1200 {
-  width: 80%;
-  margin: 0 auto;
-}
-
-.menu {
-  height: 70px;
-  overflow: hidden;
-}
-.main {
-  min-height: 520px;
-  overflow: hidden;
-
-  background: #e9edf6;
-  background-attachment: fixed;
-  background-size: cover;
-  background-position: center center;
-}
-.left {
-  min-height: 520px;
-  margin: 0 10px 0 0;
-  width: 20%;
-}
-
-.leftTop {
-  background: #fff;
-  height: 455px;
-  overflow: hidden;
-  margin: 0 0 10px 0;
-}
-.right {
-  width: 79%;
-  min-height: 1520px;
-  overflow: hidden;
-  background-color: #fff;
-}
-.foots {
-  margin: 10px 0 0 0;
-}
-</style>

+ 0 - 92
src/components/enterprise/shenhe.vue

@@ -1,92 +0,0 @@
-<template>
-  <div id="adviserList">
-    <el-row>
-      <el-col :span="24" class="main">
-        <el-col :span="24" class="top">
-          <heads></heads>
-        </el-col>
-        <div class="w_1200">
-          <el-col :span="5" class="left">
-            <el-col :span="24" class="leftTop">
-              <mainMenu :liebiaoList="liebiaoList" v-on="$listeners"></mainMenu>
-            </el-col>
-          </el-col>
-          <el-col :span="19" class="right">
-            <shenhe v-on="$listeners" :options="options" :form="form" :liebiaoList="liebiaoList"></shenhe>
-          </el-col>
-        </div>
-        <el-col :span="24" class="foots">
-          <foot></foot>
-        </el-col>
-      </el-col>
-    </el-row>
-  </div>
-</template>
-
-<script>
-import heads from '@/layout/enterprise/heads.vue';
-import mainMenu from '@/layout/enterprise/mainMenu.vue';
-import shenhe from '@/layout/enterprise/shenhe.vue';
-import foot from '@/layout/live/foot.vue';
-export default {
-  name: 'adviserList',
-  props: {
-    info: null, //站点信息
-    liebiaoList: null, //分类导航
-    options: null,
-    form: null,
-  },
-  components: {
-    heads,
-    mainMenu, //分类导航
-    shenhe, //基本信息
-    foot,
-  },
-  data: () => ({}),
-  created() {},
-  computed: {},
-  methods: {},
-};
-</script>
-
-<style lang="less" scoped>
-.w_1200 {
-  width: 80%;
-  margin: 0 auto;
-}
-
-.menu {
-  height: 70px;
-  overflow: hidden;
-}
-.main {
-  min-height: 740px;
-  overflow: hidden;
-
-  background: #e9edf6;
-  background-attachment: fixed;
-  background-size: cover;
-  background-position: center center;
-}
-.left {
-  height: 520px;
-  margin: 0 10px 0 0;
-  width: 20%;
-}
-
-.leftTop {
-  background: #fff;
-  height: 455px;
-  overflow: hidden;
-  margin: 0 0 10px 0;
-}
-.right {
-  width: 79%;
-  height: 520px;
-  overflow: hidden;
-  background-color: #fff;
-}
-.foots {
-  margin: 10px 0 0 0;
-}
-</style>

+ 0 - 92
src/components/enterprise/xiugai.vue

@@ -1,92 +0,0 @@
-<template>
-  <div id="adviserList">
-    <el-row>
-      <el-col :span="24" class="main">
-        <el-col :span="24" class="top">
-          <heads></heads>
-        </el-col>
-        <div class="w_1200">
-          <el-col :span="5" class="left">
-            <el-col :span="24" class="leftTop">
-              <mainMenu :liebiaoList="liebiaoList" v-on="$listeners"></mainMenu>
-            </el-col>
-          </el-col>
-          <el-col :span="19" class="right">
-            <xiugai v-on="$listeners" :form="form"></xiugai>
-          </el-col>
-        </div>
-        <el-col :span="24" class="foots">
-          <foot></foot>
-        </el-col>
-      </el-col>
-    </el-row>
-  </div>
-</template>
-
-<script>
-import heads from '@/layout/enterprise/heads.vue';
-import mainMenu from '@/layout/enterprise/mainMenu.vue';
-import xiugai from '@/layout/enterprise/xiugai.vue';
-import foot from '@/layout/live/foot.vue';
-
-export default {
-  name: 'adviserList',
-  props: {
-    info: null, //站点信息
-    liebiaoList: null, //分类导航
-    form: null,
-  },
-  components: {
-    heads,
-    mainMenu, //分类导航
-    xiugai, //消息管理
-    foot,
-  },
-  data: () => ({}),
-  created() {},
-  computed: {},
-  methods: {},
-};
-</script>
-
-<style lang="less" scoped>
-.w_1200 {
-  width: 80%;
-  margin: 0 auto;
-}
-
-.menu {
-  height: 70px;
-  overflow: hidden;
-}
-.main {
-  min-height: 500px;
-  overflow: hidden;
-
-  background: #e9edf6;
-  background-attachment: fixed;
-  background-size: cover;
-  background-position: center center;
-}
-.left {
-  height: 520px;
-  margin: 0 10px 0 0;
-  width: 20%;
-}
-
-.leftTop {
-  background: #fff;
-  height: 455px;
-  overflow: hidden;
-  margin: 0 0 10px 0;
-}
-.right {
-  width: 79%;
-  min-height: 520px;
-  overflow: hidden;
-  background-color: #fff;
-}
-.foots {
-  margin: 10px 0 0 0;
-}
-</style>

+ 0 - 67
src/components/pages.vue

@@ -1,67 +0,0 @@
-<template>
-  <div id="pagination">
-    <el-row type="flex" align="middle" style="padding-top:1rem">
-      <el-col :span="24" :style="`text-align:${position};`">
-        <p>
-          <span class="newpage">
-            跟帖<span class="gentie">{{ total }}</span></span
-          >
-          <span
-            ><el-pagination
-              background
-              layout="prev, pager, next"
-              :total="total"
-              :page-size="limit"
-              :current-page.sync="currentPage"
-              @current-change="changePage"
-            >
-            </el-pagination
-          ></span>
-        </p>
-        <!-- 
-          :page-sizes="[5, 10, 15, 20, 50, 100]"
-          @size-change="sizeChange"
-         -->
-      </el-col>
-    </el-row>
-  </div>
-</template>
-
-<script>
-import _ from 'lodash';
-export default {
-  name: 'pagination',
-  props: {
-    position: { type: String, default: 'right' },
-    total: { type: Number, default: 0 },
-    limit: { type: Number, default: 10 },
-  },
-  components: {},
-  data: () => {
-    return {
-      currentPage: 1,
-    };
-  },
-  created() {},
-  methods: {
-    changePage(page) {
-      this.$emit('query', { skip: (page - 1) * this.limit, limit: this.limit });
-    },
-    sizeChange(limit) {
-      this.limit = limit;
-      this.$emit('query', { skip: 0, limit: this.limit });
-    },
-  },
-};
-</script>
-
-<style lang="less" scoped>
-.newpage {
-  width: 86%;
-  float: left;
-}
-.gentie {
-  color: red;
-  font-size: 20px;
-}
-</style>

+ 0 - 55
src/components/personnel/rencai.vue

@@ -1,55 +0,0 @@
-<template>
-  <div id="policy">
-    <el-row>
-      <el-col :span="24" class="main">
-        <div class="w_1200">
-          <el-col :span="19" class="rightcont">
-            <rightcontrencai :policyInfo="policyInfo"></rightcontrencai>
-          </el-col>
-        </div>
-      </el-col>
-    </el-row>
-  </div>
-</template>
-
-<script>
-import rightcontrencai from '@/layout/personnel/rightcontrencai.vue';
-
-export default {
-  name: 'policy',
-  props: {
-    policyInfo: null,
-    info: null, //站点信息
-  },
-  components: {
-    rightcontrencai, //右边栏
-  },
-  data: () => ({}),
-  created() {},
-  computed: {},
-  methods: {
-    clickList({ id }) {
-      console.log(id);
-    },
-  },
-};
-</script>
-
-<style lang="less" scoped>
-.w_1200 {
-  width: 80%;
-  margin: 0 auto;
-}
-
-.main {
-  min-height: 1600px;
-  overflow: hidden;
-  margin: 10px 0;
-}
-.main .rightcont {
-  width: 100%;
-  min-height: 1600px;
-  overflow: hidden;
-  background-color: #fff;
-}
-</style>

+ 0 - 73
src/components/personnel/rencailistDetail.vue

@@ -1,73 +0,0 @@
-<template>
-  <div id="policy">
-    <el-row>
-      <el-col :span="24" class="main">
-        <div class="w_1200">
-          <el-col :span="24" class="rightcont">
-            <listcontext v-on="$listeners" :contentList="contentList" :columnName="columnName" :total="total"></listcontext>
-          </el-col>
-        </div>
-      </el-col>
-    </el-row>
-  </div>
-</template>
-
-<script>
-import listcontext from '@/layout/personnel/listcontext.vue';
-import detali from '@/layout/supermarket/detali.vue';
-export default {
-  name: 'policy',
-  props: {
-    columnName: null, //栏目标题
-    contentList: null, //内容
-    total: null,
-    display: { type: String, default: 'list' },
-    policyInfo: null,
-  },
-  components: {
-    listcontext, //右边栏
-  },
-  data: () => ({}),
-  created() {},
-  computed: {},
-  methods: {
-    clickList({ id }) {
-      console.log(id);
-    },
-  },
-};
-</script>
-
-<style lang="less" scoped>
-.w_1200 {
-  width: 80%;
-  margin: 0 auto;
-}
-.top {
-  height: 40px;
-  overflow: hidden;
-  background-color: rgba(11, 58, 125, 0.8);
-}
-.logo {
-  height: 200px;
-  overflow: hidden;
-}
-.menu {
-  height: 70px;
-  overflow: hidden;
-}
-
-.main {
-  min-height: 500px;
-  overflow: hidden;
-  margin: 10px 0;
-}
-
-.main .rightcont {
-  float: left;
-  width: 100%;
-  min-height: 500px;
-  overflow: hidden;
-  background-color: #fff;
-}
-</style>

+ 0 - 54
src/components/qrcode.vue

@@ -1,54 +0,0 @@
-<template>
-  <div id="qrcode">
-    <img :src="dataUrl" />
-  </div>
-</template>
-
-<script>
-import Vue from 'vue';
-import QRCode from 'qrcode';
-export default {
-  name: 'qrcode',
-  props: {
-    qrcode: null,
-  },
-  components: {},
-  data: () => ({
-    dataUrl: null,
-    token: null,
-  }),
-  async mounted() {
-    await this.initQrcode();
-  },
-  created() {},
-  computed: {},
-  methods: {
-    async initQrcode() {
-      // 创建二维码
-      if (!this.qrcode) return;
-      let uri = `${Vue.config.weixin.baseUrl}/qrcode/${this.qrcode}/scan`;
-      if (uri.startsWith('/')) {
-        uri = `${location.protocol}//${location.host}${uri}`;
-      }
-      this.dataUrl = await QRCode.toDataURL(uri);
-      this.$stomp({
-        [`/exchange/qrcode.login/${this.qrcode}`]: this.onMessage,
-      });
-    },
-    onMessage(message) {
-      console.log('receive a message: ', message.body);
-      if (message.body == 'scaned') {
-        try {
-          this.$emit('toReturn', message);
-          console.log('扫码登录成功');
-        } catch (err) {
-          console.log('扫码登录失败');
-          console.error(err);
-        }
-      }
-    },
-  },
-};
-</script>
-
-<style lang="less" scoped></style>

+ 0 - 118
src/components/statistics/e-bar.vue

@@ -1,118 +0,0 @@
-<template>
-  <div id="e-bar">
-    <div :id="gid" class="" style="height:450px;"></div>
-  </div>
-</template>
-
-<script>
-import { mapState, createNamespacedHelpers } from 'vuex';
-import echarts from 'echarts/lib/echarts';
-import 'echarts/lib/chart/bar';
-import 'echarts/lib/component/title';
-import 'echarts/lib/component/legend';
-import 'echarts/lib/component/toolbox';
-import 'echarts/lib/component/markPoint';
-import 'echarts/lib/component/tooltip';
-export default {
-  name: 'e-bar',
-  props: {
-    data: { type: [Object, Array], default: () => [] },
-    axis: { type: Object, default: () => {} },
-    gid: { type: String, default: `${new Date().getTime()}` },
-    horizontal: { type: Boolean, default: true },
-  },
-  components: {},
-  data: function() {
-    return {
-      chart: null,
-      list: undefined,
-    };
-  },
-  created() {},
-  mounted() {
-    this.init();
-  },
-  methods: {
-    async init() {
-      let e = document.getElementById(this.gid);
-      if (!e) {
-        console.warn('没有找到指定渲染容器');
-        return;
-      }
-      if (!this.list) {
-        //未获得数据
-        return;
-      }
-      let { x, y, xAlias, yAlias } = this.axis;
-      let legend = this.list.map(i => i[x]);
-      this.chart = echarts.init(document.getElementById(this.gid));
-      let xAxis = {};
-      let yAxis = {};
-      let data = this.list.map(i => i[y]);
-      if (this.horizontal) {
-        xAxis = { data: legend };
-        yAxis = { type: y };
-      } else {
-        yAxis = { data: legend };
-        xAxis = { type: y };
-      }
-      const option = {
-        title: {},
-        tooltip: {
-          trigger: 'item',
-          formatter: '{a}<br/>{b} : {c} ',
-          axisPointer: {
-            type: 'shadow',
-          },
-        },
-        legend: {
-          data: [yAlias],
-        },
-        xAxis: xAxis,
-        yAxis: yAxis,
-        barMaxWidth: '30%',
-        series: [
-          {
-            name: yAlias,
-            type: 'bar',
-            data: data,
-            label: {
-              show: true,
-              position: 'top',
-              textStyle: {
-                color: '#939393',
-              },
-            },
-          },
-        ],
-      };
-      this.chart.setOption(option);
-    },
-  },
-  watch: {
-    data: {
-      handler(val) {
-        if (val.length > 0) this.$set(this, `list`, val);
-      },
-      immediate: true,
-      deep: true,
-    },
-    list: {
-      handler(val) {
-        if (val) this.$nextTick(() => this.init());
-      },
-    },
-  },
-  computed: {
-    ...mapState(['user']),
-    pageTitle() {
-      return `${this.$route.meta.title}`;
-    },
-  },
-  metaInfo() {
-    return { title: this.$route.meta.title };
-  },
-};
-</script>
-
-<style lang="less" scoped></style>

+ 0 - 136
src/components/statistics/e-pie.vue

@@ -1,136 +0,0 @@
-<template>
-  <div id="down-pie">
-    <div :id="gid" class="" style="height:450px;"></div>
-  </div>
-</template>
-
-<script>
-import { mapState, createNamespacedHelpers } from 'vuex';
-import echarts from 'echarts/lib/echarts';
-import 'echarts/lib/chart/pie';
-import 'echarts/lib/component/title';
-import 'echarts/lib/component/legend';
-import 'echarts/lib/component/toolbox';
-import 'echarts/lib/component/markPoint';
-import 'echarts/lib/component/tooltip';
-export default {
-  name: 'downPie',
-  props: {
-    data: { type: Array, default: () => [] },
-    axis: { type: Object, default: () => {} }, //{x:x轴字段名; xAlias:x轴名称; y:y轴字段名; yAlias:y轴名称}
-    gid: { type: String, default: `${new Date().getTime()}` },
-    isring: { type: Boolean, default: false },
-    tipTitle: { type: String, default: '' },
-  },
-  components: {},
-  data: () => {
-    return {
-      chart: null,
-      list: undefined,
-    };
-  },
-  mounted() {
-    this.init();
-  },
-  methods: {
-    async init() {
-      let e = document.getElementById(this.gid);
-      if (!e) {
-        console.warn('没有找到指定渲染容器');
-        return;
-      }
-      if (!this.list) {
-        //未获得数据
-        return;
-      }
-      let legend = this.list.map(i => i[this.axis.x]);
-      this.chart = echarts.init(document.getElementById(this.gid));
-      let radius;
-      let position;
-      let emphasis = {};
-      if (this.isring) {
-        position = 'center';
-        radius = ['40%', '75%'];
-        emphasis = {
-          label: {
-            show: this.isring,
-            fontSize: '20',
-            fontWeight: 'bold',
-            formatter: '{a}\n{b} : {c} ({d}%)',
-          },
-        };
-      } else {
-        position = 'outside';
-        radius = ['0', '75%'];
-      }
-      const option = {
-        title: {},
-        tooltip: { trigger: 'item', formatter: '{a}<br/>{b} : {c} ({d}%)' },
-        legend: {
-          data: legend,
-        },
-        series: [
-          {
-            name: this.tipTitle,
-            avoidLabelOverlap: !this.isring,
-            emphasis: emphasis,
-            label: {
-              show: !this.isring,
-              position: position,
-            },
-            type: 'pie',
-            radius: radius,
-            data: this.list,
-            animationType: 'scale',
-          },
-        ],
-        toolbox: {
-          show: true,
-          feature: {
-            dataView: { readOnly: false },
-            saveAsImage: {},
-          },
-        },
-      };
-      this.chart.setOption(option);
-    },
-  },
-  watch: {
-    data: {
-      handler(val) {
-        if (val.length > 0) this.$set(this, `list`, val);
-      },
-      immediate: true,
-      deep: true,
-    },
-    list: {
-      handler(val) {
-        if (val) this.$nextTick(() => this.init());
-      },
-    },
-  },
-  computed: {
-    ...mapState(['user']),
-    pageTitle() {
-      return `${this.$route.meta.title}`;
-    },
-  },
-  metaInfo() {
-    return { title: this.$route.meta.title };
-  },
-};
-</script>
-
-<style lang="less" scoped>
-.rightData {
-  padding: 0 30px;
-  height: 391px;
-  overflow: hidden;
-}
-/deep/.el-table td {
-  padding: 8px 0;
-}
-/deep/.el-table th {
-  padding: 8px 0;
-}
-</style>

+ 0 - 83
src/components/supermaket/supermarketlistDetail.vue

@@ -1,83 +0,0 @@
-<template>
-  <div id="policy">
-    <el-row>
-      <el-col :span="24" class="main">
-        <div class="w_1200">
-          <el-col :span="24" class="rightcont">
-            <listcontext v-on="$listeners" :contentList="contentList" :columnName="columnName" v-if="display === 'list'" :total="total"></listcontext>
-            <detali v-else :policyInfo="policyInfo" v-on="$listeners"> </detali>
-          </el-col>
-        </div>
-      </el-col>
-    </el-row>
-  </div>
-</template>
-
-<script>
-import listcontext from '@/layout/supermarket/listcontext.vue';
-import detali from '@/layout/supermarket/detali.vue';
-export default {
-  name: 'policy',
-  props: {
-    columnName: null, //栏目标题
-    contentList: null, //内容
-    total: null,
-    display: { type: String, default: 'list' },
-    policyInfo: null,
-  },
-  components: {
-    listcontext, //右边栏
-    detali,
-  },
-  data: () => ({}),
-  created() {},
-  computed: {},
-  methods: {
-    clickList({ id }) {
-      console.log(id);
-    },
-  },
-};
-</script>
-
-<style lang="less" scoped>
-.w_1200 {
-  width: 80%;
-  margin: 0 auto;
-}
-.top {
-  height: 40px;
-  overflow: hidden;
-  background-color: rgba(11, 58, 125, 0.8);
-}
-.logo {
-  height: 200px;
-  overflow: hidden;
-}
-.menu {
-  height: 70px;
-  overflow: hidden;
-}
-
-.main {
-  min-height: 600px;
-  overflow: hidden;
-  margin: 10px 0;
-}
-
-.main .rightcont {
-  float: left;
-  width: 100%;
-  min-height: 600px;
-  overflow: hidden;
-  background-color: #fff;
-}
-
-.main .link {
-  float: left;
-  width: 100%;
-  height: 100px;
-  overflow: hidden;
-  background-color: #fff;
-}
-</style>

+ 0 - 341
src/excel/Blob.js

@@ -1,341 +0,0 @@
-/* eslint-disable */
-
-/* Blob.js
-
-* A Blob implementation.
-
-* 2014-05-27
-
-*
-
-* By Eli Grey, http://eligrey.com
-
-* By Devin Samarin, https://github.com/eboyjr
-
-* License: X11/MIT
-
-*  See LICENSE.md
-
-*/
-
-/*global self, unescape */
-
-/*jslint bitwise: true, regexp: true, confusion: true, es5: true, vars: true, white: true,
-
-plusplus: true */
-
-/*! @source http://purl.eligrey.com/github/Blob.js/blob/master/Blob.js */
-
-(function (view) {
-
-  "use strict";
-
-  view.URL = view.URL || view.webkitURL;
-
-  if (view.Blob && view.URL) {
-
-    try {
-
-      new Blob;
-
-      return;
-
-    } catch (e) { }
-
-  }
-
-  // Internally we use a BlobBuilder implementation to base Blob off of
-
-  // in order to support older browsers that only have BlobBuilder
-
-  var BlobBuilder = view.BlobBuilder || view.WebKitBlobBuilder || view.MozBlobBuilder || (function (view) {
-
-    var
-
-      get_class = function (object) {
-
-        return Object.prototype.toString.call(object).match(/^\[object\s(.*)\]$/)[1];
-
-      }
-
-      , FakeBlobBuilder = function BlobBuilder() {
-
-        this.data = [];
-
-      }
-
-      , FakeBlob = function Blob(data, type, encoding) {
-
-        this.data = data;
-
-        this.size = data.length;
-
-        this.type = type;
-
-        this.encoding = encoding;
-
-      }
-
-      , FBB_proto = FakeBlobBuilder.prototype
-
-      , FB_proto = FakeBlob.prototype
-
-      , FileReaderSync = view.FileReaderSync
-
-      , FileException = function (type) {
-
-        this.code = this[this.name = type];
-
-      }
-
-      , file_ex_codes = (
-
-        "NOT_FOUND_ERR SECURITY_ERR ABORT_ERR NOT_READABLE_ERR ENCODING_ERR "
-
-        + "NO_MODIFICATION_ALLOWED_ERR INVALID_STATE_ERR SYNTAX_ERR"
-
-      ).split(" ")
-
-      , file_ex_code = file_ex_codes.length
-
-      , real_URL = view.URL || view.webkitURL || view
-
-      , real_create_object_URL = real_URL.createObjectURL
-
-      , real_revoke_object_URL = real_URL.revokeObjectURL
-
-      , URL = real_URL
-
-      , btoa = view.btoa
-
-      , atob = view.atob
-
-      , ArrayBuffer = view.ArrayBuffer
-
-      , Uint8Array = view.Uint8Array
-
-      ;
-
-    FakeBlob.fake = FB_proto.fake = true;
-
-    while (file_ex_code--) {
-
-      FileException.prototype[file_ex_codes[file_ex_code]] = file_ex_code + 1;
-
-    }
-
-    if (!real_URL.createObjectURL) {
-
-      URL = view.URL = {};
-
-    }
-
-    URL.createObjectURL = function (blob) {
-
-      var
-
-        type = blob.type
-
-        , data_URI_header
-
-        ;
-
-      if (type === null) {
-
-        type = "application/octet-stream";
-
-      }
-
-      if (blob instanceof FakeBlob) {
-
-        data_URI_header = "data:" + type;
-
-        if (blob.encoding === "base64") {
-
-          return data_URI_header + ";base64," + blob.data;
-
-        } else if (blob.encoding === "URI") {
-
-          return data_URI_header + "," + decodeURIComponent(blob.data);
-
-        } if (btoa) {
-
-          return data_URI_header + ";base64," + btoa(blob.data);
-
-        } else {
-
-          return data_URI_header + "," + encodeURIComponent(blob.data);
-
-        }
-
-      } else if (real_create_object_URL) {
-
-        return real_create_object_URL.call(real_URL, blob);
-
-      }
-
-    };
-
-    URL.revokeObjectURL = function (object_URL) {
-
-      if (object_URL.substring(0, 5) !== "data:" && real_revoke_object_URL) {
-
-        real_revoke_object_URL.call(real_URL, object_URL);
-
-      }
-
-    };
-
-    FBB_proto.append = function (data/*, endings*/) {
-
-      var bb = this.data;
-
-      // decode data to a binary string
-
-      if (Uint8Array && (data instanceof ArrayBuffer || data instanceof Uint8Array)) {
-
-        var
-
-          str = ""
-
-          , buf = new Uint8Array(data)
-
-          , i = 0
-
-          , buf_len = buf.length
-
-          ;
-
-        for (; i < buf_len; i++) {
-
-          str += String.fromCharCode(buf[i]);
-
-        }
-
-        bb.push(str);
-
-      } else if (get_class(data) === "Blob" || get_class(data) === "File") {
-
-        if (FileReaderSync) {
-
-          var fr = new FileReaderSync;
-
-          bb.push(fr.readAsBinaryString(data));
-
-        } else {
-
-          // async FileReader won't work as BlobBuilder is sync
-
-          throw new FileException("NOT_READABLE_ERR");
-
-        }
-
-      } else if (data instanceof FakeBlob) {
-
-        if (data.encoding === "base64" && atob) {
-
-          bb.push(atob(data.data));
-
-        } else if (data.encoding === "URI") {
-
-          bb.push(decodeURIComponent(data.data));
-
-        } else if (data.encoding === "raw") {
-
-          bb.push(data.data);
-
-        }
-
-      } else {
-
-        if (typeof data !== "string") {
-
-          data += ""; // convert unsupported types to strings
-
-        }
-
-        // decode UTF-16 to binary string
-
-        bb.push(unescape(encodeURIComponent(data)));
-
-      }
-
-    };
-
-    FBB_proto.getBlob = function (type) {
-
-      if (!arguments.length) {
-
-        type = null;
-
-      }
-
-      return new FakeBlob(this.data.join(""), type, "raw");
-
-    };
-
-    FBB_proto.toString = function () {
-
-      return "[object BlobBuilder]";
-
-    };
-
-    FB_proto.slice = function (start, end, type) {
-
-      var args = arguments.length;
-
-      if (args < 3) {
-
-        type = null;
-
-      }
-
-      return new FakeBlob(
-
-        this.data.slice(start, args > 1 ? end : this.data.length)
-
-        , type
-
-        , this.encoding
-
-      );
-
-    };
-
-    FB_proto.toString = function () {
-
-      return "[object Blob]";
-
-    };
-
-    FB_proto.close = function () {
-
-      this.size = this.data.length = 0;
-
-    };
-
-    return FakeBlobBuilder;
-
-  }(view));
-
-  view.Blob = function Blob(blobParts, options) {
-
-    var type = options ? (options.type || "") : "";
-
-    var builder = new BlobBuilder();
-
-    if (blobParts) {
-
-      for (var i = 0, len = blobParts.length; i < len; i++) {
-
-        builder.append(blobParts[i]);
-
-      }
-
-    }
-
-    return builder.getBlob(type);
-
-  };
-
-}(typeof self !== "undefined" && self || typeof window !== "undefined" && window || this.content || this));

+ 0 - 279
src/excel/Export2Excel.js

@@ -1,279 +0,0 @@
-/* eslint-disable */
-
-require('script-loader!file-saver');
-
-require('./Blob');
-
-require('script-loader!xlsx/dist/xlsx.core.min');
-
-function generateArray(table) {
-
-  var out = [];
-
-  var rows = table.querySelectorAll('tr');
-
-  var ranges = [];
-
-  for (var R = 0; R < rows.length; ++R) {
-
-    var outRow = [];
-
-    var row = rows[R];
-
-    var columns = row.querySelectorAll('td');
-
-    for (var C = 0; C < columns.length; ++C) {
-
-      var cell = columns[C];
-
-      var colspan = cell.getAttribute('colspan');
-
-      var rowspan = cell.getAttribute('rowspan');
-
-      var cellValue = cell.innerText;
-
-      if (cellValue !== "" && cellValue == +cellValue) cellValue = +cellValue;
-
-      //Skip ranges
-
-      ranges.forEach(function (range) {
-
-        if (R >= range.s.r && R <= range.e.r && outRow.length >= range.s.c && outRow.length <= range.e.c) {
-
-          for (var i = 0; i <= range.e.c - range.s.c; ++i) outRow.push(null);
-
-        }
-
-      });
-
-      //Handle Row Span
-
-      if (rowspan || colspan) {
-
-        rowspan = rowspan || 1;
-
-        colspan = colspan || 1;
-
-        ranges.push({ s: { r: R, c: outRow.length }, e: { r: R + rowspan - 1, c: outRow.length + colspan - 1 } });
-
-      }
-
-      ;
-
-      //Handle Value
-
-      outRow.push(cellValue !== "" ? cellValue : null);
-
-      //Handle Colspan
-
-      if (colspan) for (var k = 0; k < colspan - 1; ++k) outRow.push(null);
-
-    }
-
-    out.push(outRow);
-
-  }
-
-  return [out, ranges];
-
-};
-
-function datenum(v, date1904) {
-
-  if (date1904) v += 1462;
-
-  var epoch = Date.parse(v);
-
-  return (epoch - new Date(Date.UTC(1899, 11, 30))) / (24 * 60 * 60 * 1000);
-
-}
-
-function sheet_from_array_of_arrays(data, opts) {
-
-  var ws = {};
-
-  var range = { s: { c: 10000000, r: 10000000 }, e: { c: 0, r: 0 } };
-
-  for (var R = 0; R != data.length; ++R) {
-
-    for (var C = 0; C != data[R].length; ++C) {
-
-      if (range.s.r > R) range.s.r = R;
-
-      if (range.s.c > C) range.s.c = C;
-
-      if (range.e.r < R) range.e.r = R;
-
-      if (range.e.c < C) range.e.c = C;
-
-      var cell = { v: data[R][C] };
-
-      if (cell.v == null) continue;
-
-      var cell_ref = XLSX.utils.encode_cell({ c: C, r: R });
-
-      if (typeof cell.v === 'number') cell.t = 'n';
-
-      else if (typeof cell.v === 'boolean') cell.t = 'b';
-
-      else if (cell.v instanceof Date) {
-
-        cell.t = 'n';
-
-        cell.z = XLSX.SSF._table[14];
-
-        cell.v = datenum(cell.v);
-
-      }
-
-      else cell.t = 's';
-
-      ws[cell_ref] = cell;
-
-    }
-
-  }
-
-  if (range.s.c < 10000000) ws['!ref'] = XLSX.utils.encode_range(range);
-
-  return ws;
-
-}
-
-function Workbook() {
-
-  if (!(this instanceof Workbook)) return new Workbook();
-
-  this.SheetNames = [];
-
-  this.Sheets = {};
-
-}
-
-function s2ab(s) {
-
-  var buf = new ArrayBuffer(s.length);
-
-  var view = new Uint8Array(buf);
-
-  for (var i = 0; i != s.length; ++i) view[i] = s.charCodeAt(i) & 0xFF;
-
-  return buf;
-
-}
-
-export function export_table_to_excel(id) {
-
-  var theTable = document.getElementById(id);
-
-  console.log('a')
-
-  var oo = generateArray(theTable);
-
-  var ranges = oo[1];
-
-  /* original data */
-
-  var data = oo[0];
-
-  var ws_name = "SheetJS";
-
-  console.log(data);
-
-  var wb = new Workbook(), ws = sheet_from_array_of_arrays(data);
-
-  /* add ranges to worksheet */
-
-  // ws['!cols'] = ['apple', 'banan'];
-
-  ws['!merges'] = ranges;
-
-  /* add worksheet to workbook */
-
-  wb.SheetNames.push(ws_name);
-
-  wb.Sheets[ws_name] = ws;
-
-  var wbout = XLSX.write(wb, { bookType: 'xlsx', bookSST: false, type: 'binary' });
-
-  saveAs(new Blob([s2ab(wbout)], { type: "application/octet-stream" }), "test.xlsx")
-
-}
-
-function formatJson(jsonData) {
-
-  console.log(jsonData)
-
-}
-
-export function export_json_to_excel(th, jsonData, defaultTitle) {
-
-  /* original data */
-
-  var data = jsonData;
-
-  data.unshift(th);
-
-  var ws_name = "Sheet";
-
-  var wb = new Workbook(), ws = sheet_from_array_of_arrays(data);
-
-  /*设置worksheet每列的最大宽度*/
-
-  const colWidth = data.map(row => row.map(val => {
-
-    /*先判断是否为null/undefined*/
-
-    if (val == null) {
-
-      return { 'wch': 10 };
-
-    }
-
-    /*再判断是否为中文*/
-
-    else if (val.toString().charCodeAt(0) > 255) {
-
-      return { 'wch': val.toString().length * 2 + 5 };
-
-    } else {
-
-      return { 'wch': val.toString().length + 5 };
-
-    }
-
-  }))
-
-  /*以第一行为初始值*/
-
-  let result = colWidth[0];
-
-  for (let i = 1; i < colWidth.length; i++) {
-
-    for (let j = 0; j < colWidth[i].length; j++) {
-
-      if (result[j]['wch'] < colWidth[i][j]['wch']) {
-
-        result[j]['wch'] = colWidth[i][j]['wch'];
-
-      }
-
-    }
-
-  }
-
-  ws['!cols'] = result;
-
-  /* add worksheet to workbook */
-
-  wb.SheetNames.push(ws_name);
-
-  wb.Sheets[ws_name] = ws;
-
-  var wbout = XLSX.write(wb, { bookType: 'xlsx', bookSST: false, type: 'binary' });
-
-  var title = defaultTitle || '列表'
-
-  saveAs(new Blob([s2ab(wbout)], { type: "application/octet-stream" }), title + ".xlsx")
-
-}

+ 0 - 139
src/layout/direct/directDetail.vue

@@ -3,150 +3,11 @@
     <el-row>
       <el-col :span="24" class="main" v-if="directInfo.type == '0'">
         <techDetail :detailInfo="directInfo" :displayBtn="displayBtn"></techDetail>
-        <!-- <el-col :span="24" class="top">
-          <el-col :span="8" class="left">
-            <el-carousel trigger="click" height="250px" :autoplay="false">
-              <el-carousel-item v-for="(item, index) in directInfo.image" :key="index">
-                <el-image :src="item.url" style="width:100%;height:240px;"></el-image>
-              </el-carousel-item>
-            </el-carousel>
-          </el-col>
-          <el-col :span="16" class="right">
-            <el-col :span="24" class="name textOver">
-              {{ directInfo.name }}
-            </el-col>
-            <el-col :span="12" class="otherInfo textOver"> 所属领域:{{ directInfo.field }} </el-col>
-            <el-col :span="12" class="otherInfo textOver"> 合作方式:{{ directInfo.cooperation }} </el-col>
-            <el-col :span="12" class="otherInfo textOver"> 投资预算:{{ directInfo.budget }}万元 </el-col>
-            <el-col :span="12" class="otherInfo textOver"> 需求紧急程度:{{ directInfo.degreeurgency }} </el-col>
-            <el-col :span="12" class="otherInfo textOver"> 企业名称:{{ directInfo.company }} </el-col>
-            <el-col :span="12" class="otherInfo textOver"> 注册类型:{{ directInfo.companytype }} </el-col>
-            <el-col :span="12" class="otherInfo textOver"> 企业网址{{ directInfo.companyweb }} </el-col>
-            <el-col :span="12" class="otherInfo textOver"> 联系人:{{ directInfo.contacts }} </el-col>
-            <el-col :span="12" class="otherInfo textOver"> QQ/微信:{{ directInfo.qqwx }} </el-col>
-            <el-col :span="12" class="otherInfo textOver"> 电子邮箱:{{ directInfo.email }} </el-col>
-          </el-col>
-        </el-col>
-        <el-col :span="24" class="down">
-          <el-col :span="24" class="downInfo">
-            <h2>技术难题&难题说明:</h2>
-            <p>
-              {{ directInfo.requirementdesc || '暂无' }}
-            </p>
-          </el-col>
-          <el-col :span="24" class="downInfo">
-            <h2>预期技术目标描述:</h2>
-            <p>
-              {{ directInfo.expect || '暂无' }}
-            </p>
-          </el-col>
-          <el-col :span="24" class="downInfo">
-            <h2>需求现状及应对措施:</h2>
-            <p>
-              {{ directInfo.present || '暂无' }}
-            </p>
-          </el-col>
-        </el-col> -->
       </el-col>
       <el-col :span="24" class="main main2" v-else-if="directInfo.type == '1'">
-        <!-- <el-col :span="24" class="top">
-          <el-col :span="8" class="left">
-            <el-carousel trigger="click" height="250px" :autoplay="false">
-              <el-carousel-item v-for="(item, index) in directInfo.image" :key="index">
-                <el-image :src="item.url" style="width:100%;height:240px;"></el-image>
-              </el-carousel-item>
-            </el-carousel>
-          </el-col>
-          <el-col :span="16" class="right">
-            <el-col :span="24" class="name textOver">
-              {{ directInfo.name }}
-            </el-col>
-            <el-col :span="12" class="otherInfo textOver"> 所属领域:{{ directInfo.field }} </el-col>
-            <el-col :span="12" class="otherInfo textOver"> 合作方式:{{ directInfo.cooperation }} </el-col>
-            <el-col :span="12" class="otherInfo textOver"> 成果状态:{{ directInfo.achievestatus }} </el-col>
-            <el-col :span="12" class="otherInfo textOver"> 成果权属:{{ directInfo.achieveown }} </el-col>
-            <el-col :span="12" class="otherInfo textOver"> 成果来源:{{ directInfo.achievesource }} </el-col>
-            <el-col :span="12" class="otherInfo textOver"> 项目路演:{{ directInfo.roadshow }} </el-col>
-            <el-col :span="12" class="otherInfo textOver"> 意向价格:{{ directInfo.intentionprice }}万元 </el-col>
-            <el-col :span="12" class="otherInfo textOver"> 企业名称:{{ directInfo.company }} </el-col>
-            <el-col :span="12" class="otherInfo textOver"> 企业网址{{ directInfo.companyweb }} </el-col>
-            <el-col :span="12" class="otherInfo textOver"> 联系人:{{ directInfo.contacts }} </el-col>
-            <el-col :span="12" class="otherInfo textOver"> QQ/微信:{{ directInfo.qqwx }} </el-col>
-            <el-col :span="12" class="otherInfo textOver"> 电子邮箱:{{ directInfo.email }} </el-col>
-          </el-col>
-        </el-col>
-        <el-col :span="24" class="down">
-          <el-col :span="24" class="downInfo">
-            <h2>成果简介:</h2>
-            <p>
-              {{ directInfo.achievebrief }}
-            </p>
-          </el-col>
-          <el-col :span="24" class="downInfo">
-            <h2>技术特点:</h2>
-            <p>
-              {{ directInfo.features }}
-            </p>
-          </el-col>
-          <el-col :span="24" class="downInfo">
-            <h2>技术团队:</h2>
-            <p>
-              {{ directInfo.team }}
-            </p>
-          </el-col>
-          <el-col :span="24" class="downInfo">
-            <h2>商业预期:</h2>
-            <p>
-              {{ directInfo.expectations }}
-            </p>
-          </el-col>
-          <el-col :span="24" class="downInfo">
-            <h2>合作要求:</h2>
-            <p>
-              {{ directInfo.present }}
-            </p>
-          </el-col>
-        </el-col> -->
         <achiDetail :detailInfo="directInfo" :displayBtn="displayBtn"></achiDetail>
       </el-col>
       <el-col :span="24" class="main3" v-else>
-        <!-- <el-col :span="24" class="top">
-          <el-col :span="24" class="name">
-            {{ directInfo.name }}
-          </el-col>
-          <el-col :span="12" class="otherInfo">信息属性:{{ directInfo.messattribute }} </el-col>
-          <el-col :span="12" class="otherInfo">需求程度:{{ directInfo.demand }} </el-col>
-          <el-col :span="12" class="otherInfo">联系人:{{ directInfo.contacts }} </el-col>
-          <el-col :span="12" class="otherInfo">发布时间:{{ directInfo.meta | getDate }} </el-col>
-          <el-col :span="12" class="otherInfo">QQ/微信:{{ directInfo.qqwx }} </el-col>
-          <el-col :span="12" class="otherInfo">电子邮箱:{{ directInfo.email }} </el-col>
-        </el-col>
-        <el-col :span="24" class="down">
-          <el-col :span="24" class="downInfo">
-            <h2>信息描述:</h2>
-            <p>
-              {{ directInfo.informationdesc }}
-            </p>
-          </el-col>
-          <el-col :span="24" class="downInfo">
-            <h2>核心要素:</h2>
-            <p>
-              {{ directInfo.coreelements }}
-            </p>
-          </el-col>
-          <el-col :span="24" class="downInfo">
-            <h2>价格信息:</h2>
-            <p>
-              {{ directInfo.priceinfo }}
-            </p>
-          </el-col>
-          <el-col :span="24" class="downInfo">
-            <h2>商务预期:</h2>
-            <p>
-              {{ directInfo.businessexpect }}
-            </p>
-          </el-col>
-        </el-col> -->
         <busiDetail :detailInfo="directInfo" :displayBtn="displayBtn"></busiDetail>
       </el-col>
     </el-row>

+ 0 - 78
src/layout/direct/directVideo.vue

@@ -1,78 +0,0 @@
-<template>
-  <div class="video-js">
-    <div v-if="videoSrc === ''" class="no-video">
-      暂未播放视频
-    </div>
-    <video-player v-else class="video-player vjs-custom-skin" ref="videoPlayer" :playsinline="true" :options="playerOptions"> </video-player>
-  </div>
-</template>
-
-<script>
-import videojs from 'video.js';
-import 'video.js/dist/video-js.css';
-import 'vue-video-player/src/custom-theme.css';
-import { videoPlayer } from 'vue-video-player';
-import 'videojs-flash';
-import SWF_URL from 'videojs-swf/dist/video-js.swf';
-
-videojs.options.flash.swf = SWF_URL; // 设置flash路径,Video.js会在不支持html5的浏览中使用flash播放视频文件
-export default {
-  name: 'videojs',
-  components: {
-    videoPlayer,
-  },
-  data() {
-    return {
-      videoSrc: '',
-      playerOptions: {
-        live: true,
-        autoplay: true, // 如果true,浏览器准备好时开始播放
-        muted: false, // 默认情况下将会消除任何音频
-        loop: false, // 是否视频一结束就重新开始
-        preload: 'auto', // 建议浏览器在<video>加载元素后是否应该开始下载视频数据。auto浏览器选择最佳行为,立即开始加载视频(如果浏览器支持)
-        aspectRatio: '16:9', // 将播放器置于流畅模式,并在计算播放器的动态大小时使用该值。值应该代表一个比例 - 用冒号分隔的两个数字(例如"16:9"或"4:3")
-        fluid: true, // 当true时,Video.js player将拥有流体大小。换句话说,它将按比例缩放以适应其容器。
-        controlBar: {
-          timeDivider: false,
-          durationDisplay: false,
-          remainingTimeDisplay: false,
-          currentTimeDisplay: false, // 当前时间
-          volumeControl: false, // 声音控制键
-          playToggle: false, // 暂停和播放键
-          progressControl: false, // 进度条
-          fullscreenToggle: true, // 全屏按钮
-        },
-        techOrder: ['flash'], // 兼容顺序
-        flash: {
-          hls: {
-            withCredentials: false,
-          },
-          swf: SWF_URL,
-        },
-        sources: [
-          {
-            type: 'rtmp/flv',
-            src: '', // 视频地址-改变它的值播放的视频会改变
-          },
-        ],
-        notSupportedMessage: '此视频暂无法播放,请稍后再试', // 允许覆盖Video.js无法播放媒体源时显示的默认信息。
-      },
-    };
-  },
-};
-</script>
-
-<style scoped lang="less">
-.video-js {
-  width: 100%;
-  height: 100%;
-  .no-video {
-    display: flex;
-    height: 100%;
-    font-size: 14px;
-    text-align: center;
-    justify-content: center;
-    align-items: center;
-  }
-}
-</style>

+ 0 - 161
src/layout/enterprise/appointment.vue

@@ -1,161 +0,0 @@
-<template>
-  <div id="technical">
-    <el-row>
-      <el-col :span="24" class="main">
-        <el-col :span="24" class="mainTop"> <span>展会管理</span> <span>|</span></el-col>
-        <el-col :span="24" class="mainInfo">
-          <el-tabs v-model="activeName" @tab-click="handleClick">
-            <el-tab-pane label="下期直播" name="first">
-              <el-table :data="nextData" stripe style="width: 96%" border>
-                <el-table-column prop="title" label="对接会标题" align="center"> </el-table-column>
-                <el-table-column prop="start_time" label="开始时间" align="center" :show-overflow-tooltip="true"> </el-table-column>
-                <el-table-column prop="join_end" label="报名截止时间" align="center" :show-overflow-tooltip="true"> </el-table-column>
-                <el-table-column prop="sheng" label="省" align="center" :show-overflow-tooltip="true"> </el-table-column>
-                <el-table-column prop="shi" label="市" align="center" :show-overflow-tooltip="true"> </el-table-column>
-                <el-table-column prop="desc" label="简介" align="center" :show-overflow-tooltip="true"> </el-table-column>
-                <el-table-column label="操作" style="width:200px" align="center">
-                  <template slot-scope="scope">
-                    <el-button size="mini" type="text" @click.prevent="handleEdit(scope.row.id)"
-                      ><el-tooltip class="item" effect="dark" content="申请" placement="top-start"> <i class="el-icon-view"></i> </el-tooltip
-                    ></el-button>
-                  </template>
-                </el-table-column>
-              </el-table>
-              <el-col class="page" :span="24">
-                <page :total="nextTotal" position="right"></page>
-              </el-col>
-            </el-tab-pane>
-            <el-tab-pane label="已往直播" name="second">
-              <el-table :data="pastData" stripe style="width: 96%" border>
-                <el-table-column prop="title" label="对接会标题" align="center"> </el-table-column>
-                <el-table-column prop="start_time" label="开始时间" align="center" :show-overflow-tooltip="true"> </el-table-column>
-                <el-table-column prop="join_end" label="报名截止时间" align="center" :show-overflow-tooltip="true"> </el-table-column>
-                <el-table-column prop="sheng" label="省" align="center" :show-overflow-tooltip="true"> </el-table-column>
-                <el-table-column prop="shi" label="市" align="center" :show-overflow-tooltip="true"> </el-table-column>
-                <el-table-column prop="desc" label="简介" align="center" :show-overflow-tooltip="true"> </el-table-column>
-                <!-- <el-table-column label="操作" style="width:200px" align="center">
-                <template slot-scope="scope">
-                  <el-button size="mini" type="text" @click.prevent="handleEdit(scope.row.id)"
-                    ><el-tooltip class="item" effect="dark" content="申请" placement="top-start"> <i class="el-icon-edit"></i> </el-tooltip
-                  ></el-button>
-                </template>
-              </el-table-column> -->
-              </el-table>
-              <el-col class="page" :span="24">
-                <page :total="pastTotal" position="right"></page>
-              </el-col>
-            </el-tab-pane>
-          </el-tabs>
-        </el-col>
-      </el-col>
-    </el-row>
-    <el-dialog title="申请" :visible.sync="dialogFormVisible">
-      <el-form :model="form">
-        <el-form-item label="联系人" :label-width="formLabelWidth">
-          <el-input v-model="form.contact" autocomplete="off"></el-input>
-        </el-form-item>
-        <el-form-item label="联系电话" :label-width="formLabelWidth">
-          <el-input v-model="form.contact_tel" autocomplete="off"></el-input>
-        </el-form-item>
-        <el-form-item label="电子邮箱" :label-width="formLabelWidth">
-          <el-input v-model="form.email" autocomplete="off"></el-input>
-        </el-form-item>
-        <el-form-item label="单位名称" :label-width="formLabelWidth">
-          <el-input v-model="form.company" autocomplete="off"></el-input>
-        </el-form-item>
-      </el-form>
-      <div slot="footer" class="dialog-footer">
-        <el-button @click="dialogFormVisible = false">取 消</el-button>
-        <el-button type="primary" @click="submitBtn">确 定</el-button>
-      </div>
-    </el-dialog>
-  </div>
-</template>
-
-<script>
-import _ from 'lodash';
-import { mapState, createNamespacedHelpers } from 'vuex';
-import page from '@/components/pagination.vue';
-const { mapActions: apply } = createNamespacedHelpers('apply');
-export default {
-  name: 'technical',
-  props: {
-    nextData: null,
-    nextTotal: null,
-    pastData: null,
-    pastTotal: null,
-  },
-  components: {
-    page,
-  },
-  data: () => ({
-    activeName: 'first',
-    dialogFormVisible: false,
-    form: {},
-    formLabelWidth: '120px',
-    dock_id: '',
-  }),
-  created() {},
-
-  methods: {
-    ...apply({ applyCreate: 'create' }),
-    // tab
-    handleClick() {
-      console.log('tab');
-    },
-    // 申请对接会打开
-    handleEdit(id) {
-      this.dialogFormVisible = true;
-      this.$set(this, `dock_id`, id);
-    },
-    // 提交
-    async submitBtn() {
-      this.form.user_id = this.user.uid;
-      this.form.user_name = this.user.name;
-      this.form.role = this.user.role;
-      this.form.buyer = '0';
-      const res = await this.applyCreate({ id: this.dock_id, ...this.form });
-      if (res.errcode === 0) {
-        this.$message({
-          message: '申请参加对接会成功',
-          type: 'success',
-        });
-      }
-    },
-  },
-  computed: {
-    ...mapState(['user']),
-    pageTitle() {
-      return `${this.$route.meta.title}`;
-    },
-  },
-  metaInfo() {
-    return { title: this.$route.meta.title };
-  },
-};
-</script>
-
-<style lang="less" scoped>
-.mainTop {
-  font-size: 18px;
-  width: 96%;
-  height: 41px;
-  line-height: 35px;
-  border-bottom: 1px solid #e5e5e5;
-  position: relative;
-  bottom: 1px;
-  margin: 10px 20px;
-  font-weight: 600;
-  color: #22529a;
-}
-.mainTop span:last-child {
-  float: left;
-  cursor: pointer;
-}
-.mainInfo {
-  margin: 0 20px;
-}
-/deep/.el-dialog__footer {
-  text-align: center;
-}
-</style>

+ 0 - 370
src/layout/enterprise/context.vue

@@ -1,370 +0,0 @@
-<template>
-  <div id="recruitLists">
-    <el-row>
-      <el-col :span="24" class="leftTop"> <span>|</span> <span>事项管理</span> </el-col>
-      <el-col :span="24">
-        <el-tabs v-model="activeName" type="card" @tab-click="handleClick">
-          <el-row style="padding: 0 20px;">
-            <el-tabs v-model="activeNameFirst" @tab-click="handleClickFirst">
-              <el-tab-pane label="我的全部" name="fgrr">
-                <el-col :span="24" class="info">
-                  <el-col :span="24" v-for="(item, index) in dinggou3" :key="index">
-                    <el-col class="xqborder">
-                      <el-col :span="24" class="fbListTop">
-                        <el-col :span="20"> </el-col>
-                        <el-col :span="4">
-                          {{ item.meta && item.meta.createdAt ? new Date(item.meta.createdAt).toLocaleDateString() : '' || '' }}
-                        </el-col>
-                      </el-col>
-                      <el-col :span="24" class="fbListCenter">
-                        <el-col :span="6" class="fbListCenterC">
-                          <p class="textOver">产品:{{ item.product_name }}</p>
-                          <p>营销人名称:{{ item.market_username }}</p>
-                          <p>购买人名称:{{ item.username }}</p>
-                        </el-col>
-                        <el-col :span="6" class="fbListCenterTwo">
-                          <el-col :span="24">说明:{{ item.description }}</el-col>
-                        </el-col>
-                        <el-col :span="6" class="fbListCenterR">
-                          <el-col :span="24" class="bainji">
-                            <!-- <el-link :underline="false" @click="deteles(item)">删除</el-link> -->
-                          </el-col>
-                        </el-col>
-                      </el-col>
-                    </el-col>
-                  </el-col>
-                </el-col>
-                <el-col class="page" :span="24">
-                  <el-pagination
-                    @size-change="handleSizeChange"
-                    @current-change="handleCurrentChange3"
-                    :current-page="currentPage"
-                    background
-                    layout="total,  prev, pager, next, jumper"
-                    :total="total3"
-                    :page-size="pageSize"
-                  >
-                  </el-pagination>
-                </el-col>
-              </el-tab-pane>
-
-              <el-tab-pane label="我的洽谈" name="fgffadqdfa">
-                <el-col :span="24" class="info">
-                  <el-col :span="24" v-for="(item, index) in faqilist" :key="index">
-                    <el-col class="xqborder">
-                      <el-col :span="24" class="fbListTop">
-                        <el-col :span="21"> </el-col>
-                        <el-col :span="3">
-                          {{ item.meta && item.meta.createdAt ? new Date(item.meta.createdAt).toLocaleDateString() : '' || '' }}
-                        </el-col>
-                      </el-col>
-                      <el-col :span="24" class="fbListCenter">
-                        <el-col :span="6" class="fbListCenterC">
-                          <p class="textOver">产品:{{ item.product_name }}</p>
-                          <p>营销人名称:{{ item.market_username }}</p>
-                          <p>购买人名称:{{ item.username }}</p>
-                        </el-col>
-                        <el-col :span="6" class="fbListCenterTwo">
-                          <el-col :span="24">说明:{{ item.description }}</el-col>
-                        </el-col>
-                        <el-col :span="6" class="fbListCenterR">
-                          <el-col :span="24" class="bainji">
-                            <el-link :underline="false" @click="jiaoyisuccess(item)">同意交易</el-link>
-                            <!-- <el-link :underline="false" @click="deteles(item)">删除</el-link> -->
-                          </el-col>
-                        </el-col>
-                      </el-col>
-                    </el-col>
-                  </el-col>
-                </el-col>
-                <el-col class="page" :span="24">
-                  <el-pagination
-                    @size-change="handleSizeChange"
-                    @current-change="handleCurrentChangefaqi"
-                    :current-page="currentPage"
-                    background
-                    layout="total,  prev, pager, next, jumper"
-                    :total="totalfaqi"
-                    :page-size="pageSize"
-                  >
-                  </el-pagination>
-                </el-col>
-              </el-tab-pane>
-
-              <el-tab-pane label="我的意向" name="fgrrsss">
-                <el-col :span="24" class="info">
-                  <el-col :span="24" v-for="(item, index) in dinggou1" :key="index">
-                    <el-col class="xqborder">
-                      <el-col :span="24" class="fbListTop">
-                        <el-col :span="20"> </el-col>
-                        <el-col :span="4">
-                          {{ item.meta && item.meta.createdAt ? new Date(item.meta.createdAt).toLocaleDateString() : '' || '' }}
-                        </el-col>
-                      </el-col>
-                      <el-col :span="24" class="fbListCenter">
-                        <el-col :span="6" class="fbListCenterC">
-                          <p class="textOver">产品:{{ item.product_name }}</p>
-                          <p>营销人名称:{{ item.market_username }}</p>
-                          <p>购买人名称:{{ item.username }}</p>
-                        </el-col>
-                        <el-col :span="6" class="fbListCenterTwo">
-                          <el-col :span="24">说明:{{ item.description }}</el-col>
-                        </el-col>
-                        <el-col :span="6" class="fbListCenterR">
-                          <el-col :span="24" class="bainji">
-                            <el-link :underline="false" @click="success(item)">交易成功</el-link><br />
-                            <!-- <el-link :underline="false" @click="deteles(item)">删除</el-link> -->
-
-                            <!-- <el-link :underline="false" @click="shibai(item)">审核失败</el-link> -->
-                          </el-col>
-                        </el-col>
-                      </el-col>
-                    </el-col>
-                  </el-col>
-                </el-col>
-                <el-col class="page" :span="24">
-                  <el-pagination
-                    @size-change="handleSizeChange"
-                    @current-change="handleCurrentChange"
-                    :current-page="currentPage"
-                    background
-                    layout="total,  prev, pager, next, jumper"
-                    :total="total1"
-                    :page-size="pageSize"
-                  >
-                  </el-pagination>
-                </el-col>
-              </el-tab-pane>
-
-              <el-tab-pane label="我的交易" name="fgrraaa">
-                <el-col :span="24" class="info">
-                  <el-col :span="24" v-for="(item, index) in dinggou2" :key="index">
-                    <el-col class="xqborder">
-                      <el-col :span="24" class="fbListTop">
-                        <el-col :span="20"> </el-col>
-                        <el-col :span="4">
-                          {{ item.meta && item.meta.createdAt ? new Date(item.meta.createdAt).toLocaleDateString() : '' || '' }}
-                        </el-col>
-                      </el-col>
-                      <el-col :span="24" class="fbListCenter">
-                        <el-col :span="6" class="fbListCenterC">
-                          <p class="textOver">产品:{{ item.product_name }}</p>
-                          <p>营销人名称:{{ item.market_username }}</p>
-                          <p>购买人名称:{{ item.username }}</p>
-                        </el-col>
-                        <el-col :span="6" class="fbListCenterTwo">
-                          <el-col :span="24">说明:{{ item.description }}</el-col>
-                        </el-col>
-                        <el-col :span="6" class="fbListCenterR">
-                          <el-col :span="24" class="bainji">
-                            <!-- <el-link :underline="false" @click="deteles(item)">删除</el-link> -->
-                          </el-col>
-                        </el-col>
-                      </el-col>
-                    </el-col>
-                  </el-col>
-                </el-col>
-                <el-col class="page" :span="24">
-                  <el-pagination
-                    @size-change="handleSizeChange"
-                    @current-change="handleCurrentChange2"
-                    :current-page="currentPage"
-                    background
-                    layout="total,  prev, pager, next, jumper"
-                    :total="total2"
-                    :page-size="pageSize"
-                  >
-                  </el-pagination>
-                </el-col>
-              </el-tab-pane>
-            </el-tabs>
-          </el-row>
-        </el-tabs>
-      </el-col>
-    </el-row>
-  </div>
-</template>
-
-<script>
-export default {
-  name: 'recruitLists',
-  props: {
-    recruitData: null,
-    columnName: null,
-    total: null,
-    successlist: null,
-    shenheList: null,
-    tatalstatus2: null,
-    tatalstatus1: null,
-    dinggou2: null,
-    dinggou1: null,
-    dinggou3: null,
-    total1: null,
-    total2: null,
-    total3: null,
-    faqilist: null,
-    totalfaqi: null,
-
-    // gonggeiData: null,
-  },
-  components: {},
-  data: () => ({
-    currentPage: 0,
-    activeName: 'first',
-    activeNameFirst: 'fgffadqdfa',
-    pageSize: 3,
-  }),
-  created() {},
-  computed: {},
-  methods: {
-    deteles(item) {
-      this.$emit('deletes', { item });
-    },
-    messFabu() {
-      this.$router.push({ path: '/enterprise/enterprisexuqiu' });
-    },
-
-    success(item) {
-      this.$emit('success', { item });
-    },
-
-    shibai(item) {
-      this.$emit('shibai', { item });
-    },
-    jiaoyisuccess(item) {
-      this.$emit('jiaoyisuccess', { item });
-    },
-    handleClick(tab, event) {
-      console.log(tab, event);
-    },
-    handleClickFirst(tab, event) {
-      console.log(tab, event);
-    },
-    handleSizeChange() {},
-    handleCurrentChange(currentPage) {
-      console.log(currentPage);
-      this.$emit('handleCurrentChange', { skip: (currentPage - 1) * this.pageSize, limit: this.pageSize, currentPage });
-    },
-
-    handleCurrentChange2(currentPage) {
-      console.log(currentPage);
-      this.$emit('handleCurrentChange1', { skip: (currentPage - 1) * this.pageSize, limit: this.pageSize, currentPage });
-    },
-
-    handleCurrentChange3(currentPage) {
-      console.log(currentPage);
-      this.$emit('handleCurrentChange2', { skip: (currentPage - 1) * this.pageSize, limit: this.pageSize, currentPage });
-    },
-    handleCurrentChangefaqi(currentPage) {
-      console.log(currentPage);
-      this.$emit('handleCurrentChangefaqi', { skip: (currentPage - 1) * this.pageSize, limit: this.pageSize, currentPage });
-    },
-  },
-};
-</script>
-
-<style lang="less" scoped>
-.leftTop {
-  font-size: 18px;
-  width: 96%;
-  height: 41px;
-  line-height: 35px;
-  // border-bottom: 1px solid #e5e5e5;
-  position: relative;
-  bottom: 1px;
-  margin: 10px;
-  font-weight: 600;
-  color: #22529a;
-}
-p {
-  padding: 0;
-  margin: 0;
-}
-.info {
-  height: 650px;
-}
-.xqborder {
-  // width: 889px;
-  width: 100%;
-  height: 183px;
-  border: 1px solid #ccc;
-  margin-top: 20px;
-}
-.fbListTop {
-  width: 99.8%;
-  height: 43px;
-  margin-left: 1px;
-  background: #fafafa;
-  line-height: 43px;
-  text-indent: 10px;
-  font-size: 13px;
-  color: #888888;
-}
-
-.fbListCenterTwo {
-  width: 48%;
-  float: left;
-  margin-left: 10px;
-  margin-right: 10px;
-  background: #fafafa;
-  height: 100px;
-}
-.fbListCenter {
-  width: 100%;
-  height: 119px;
-  margin: 20px 0 0 12px;
-}
-.fimage {
-  width: 12%;
-  height: 119px;
-  float: left;
-}
-.fbListCenterC {
-  width: 22%;
-  border-right: 1px solid #ccc;
-  height: 100px;
-}
-.fbListCenterC p {
-  padding: 5px 0;
-}
-
-.fbListCenterR {
-  border-left: 1px solid #ccc;
-  width: 125px;
-  height: 100px;
-  float: left;
-}
-.listName {
-  width: 196px;
-  height: 30px;
-  font-size: 16px;
-  color: #555555;
-}
-.listMoney {
-  height: 30px;
-  font-size: 16px;
-  color: #fe0000;
-  width: 196px;
-}
-
-.bainji {
-  padding: 0 0 0 20px;
-}
-.page {
-  padding: 11px 0 0 0;
-  text-align: center;
-}
-
-/deep/.el-pagination {
-  padding: 41px 0 0 0;
-  white-space: nowrap;
-  padding: 2px 5px;
-  color: #303133;
-  font-weight: 700;
-}
-.fabuBtn {
-  position: absolute;
-  top: 65px;
-  right: 30px;
-}
-</style>

+ 0 - 465
src/layout/enterprise/contextedit.vue

@@ -1,465 +0,0 @@
-<template>
-  <div id="contextfabu">
-    <el-row>
-      <el-col :span="24" class="contextfabu">
-        <el-row class="demandForm">
-          <el-col></el-col>
-          <el-form ref="forms" :model="forms" label-width="120px">
-            <el-form-item label="用户名称">
-              <el-input v-model="forms.name" placeholder="请输入用户名称"></el-input>
-            </el-form-item>
-            <el-form-item label="登录密码">
-              <el-input v-model="forms.password" placeholder="请输入登录密码" show-password></el-input>
-            </el-form-item>
-            <el-form-item label="身份证号">
-              <el-input v-model="forms.cardnumber" placeholder="请输入身份证号" :minlength="18" :maxlength="18"></el-input>
-            </el-form-item>
-            <el-form-item label="手机号">
-              <el-input v-model="forms.phone" placeholder="请输入手机号" :minlength="11" :maxlength="11"></el-input>
-            </el-form-item>
-            <el-form-item label="邮箱">
-              <el-input v-model="forms.email" placeholder="请输入邮箱"></el-input>
-            </el-form-item>
-            <el-form-item label="地址">
-              <el-input v-model="forms.addr" placeholder="请输入地址"></el-input>
-            </el-form-item>
-            <el-form-item label="头像图片" prop="img_path">
-              <upload :limit="1" :data="forms.img_path" type="img_path" :url="'/files/imgpath/upload'" @upload="uploadSuccess"></upload>
-            </el-form-item>
-            <el-form-item label="用户类别">
-              <!-- <el-radio v-model="forms.role" label="1">管理员</el-radio> -->
-              <el-radio-group v-model="forms.role" @change="setIsQy">
-                <el-radio label="2">个人</el-radio>
-                <el-radio label="3">企业管理员</el-radio>
-              </el-radio-group>
-            </el-form-item>
-
-            <el-form-item label="身份证正面">
-              <upload :limit="1" :data="forms.cardfile_a" type="cardfile_a" :url="'/files/cardfilea/upload'" @upload="uploadSuccess"></upload>
-            </el-form-item>
-            <el-form-item label="身份证背面">
-              <upload :limit="1" :data="forms.cardfile_b" type="cardfile_b" :url="'/files/cardfileb/upload'" @upload="uploadSuccess"></upload>
-            </el-form-item>
-            <el-form-item label="组织机构图片" v-if="forms.role == '3'">
-              <upload :limit="1" :data="forms.img_qy" type="img_qy" :url="'/files/imgqy/upload'" @upload="uploadSuccess"></upload>
-            </el-form-item>
-            <el-form-item label="简介" placeholder="请输入简介">
-              <el-input type="textarea" v-model="forms.resume"></el-input>
-            </el-form-item>
-            <el-form-item label="专业领域" placeholder="请输入专业领域">
-              <el-input v-model="forms.major"></el-input>
-            </el-form-item>
-            <template v-if="forms.role == '3'">
-              <el-form-item label="机构类型" placeholder="请输入机构类型">
-                <el-input v-model="forms.institution_type"></el-input>
-              </el-form-item>
-              <el-form-item label="机构名称" placeholder="请输入机构名称">
-                <el-input v-model="forms.institution_name"></el-input>
-              </el-form-item>
-              <el-form-item label="机构代码" placeholder="请输入机构代码">
-                <el-input v-model="forms.institution_code"></el-input>
-              </el-form-item>
-              <el-form-item label="机构性质" placeholder="请输入机构性质">
-                <el-input v-model="forms.institution_nature"></el-input>
-              </el-form-item>
-            </template>
-            <el-form-item label="办公电话" placeholder="请输入办公电话">
-              <el-input v-model="forms.office_phone"></el-input>
-            </el-form-item>
-            <el-form-item label="所属行业" placeholder="请输入所属行业">
-              <el-input v-model="forms.profession"></el-input>
-            </el-form-item>
-            <el-col :span="24" class="loginSubmit"><el-button type="primary" @click="registerSubmit">注册</el-button></el-col>
-            <el-row class="demandBtn">
-              <el-button type="primary" @click="demandBtn()">产品发布</el-button>
-            </el-row>
-          </el-form>
-        </el-row>
-      </el-col>
-    </el-row>
-  </div>
-</template>
-
-<script>
-import _ from 'lodash';
-import upload from '@/components/upload.vue';
-export default {
-  name: 'contextfabu',
-  props: {
-    forms: null,
-    columnList: null,
-    totaltype: null,
-  },
-  components: {
-    upload,
-  },
-  data: () => ({
-    options: [
-      {
-        value: 'totaltype',
-        label: '产品类型',
-        disabled: true,
-      },
-      {
-        value: 'name',
-        label: '产品名称',
-        disabled: true,
-      },
-      {
-        value: 'contact_user',
-        label: '联系人',
-        disabled: true,
-      },
-
-      {
-        value: 'contact_tel',
-        label: '联系人电话',
-        disabled: true,
-      },
-
-      {
-        value: 'description',
-        label: '产品描述',
-      },
-      {
-        value: 'product_type_id',
-        label: '类型',
-      },
-      {
-        value: 'phase',
-        label: '研发阶段',
-      },
-      {
-        value: 'introduction',
-        label: '产品简介',
-        disabled: true,
-      },
-
-      {
-        value: 'price',
-        label: '产品单价',
-      },
-      {
-        value: 'priceunit',
-        label: '产品单位',
-      },
-
-      {
-        value: 'image',
-        label: '产品图片',
-      },
-      {
-        value: 'product_args',
-        label: '产品参数',
-      },
-      {
-        value: 'field',
-        label: '应用领域',
-      },
-
-      {
-        value: 'prospect',
-        label: '市场前景',
-      },
-      {
-        value: 'contract',
-        label: '电子合同',
-      },
-      {
-        value: 'gxtype',
-        label: '供给类型',
-      },
-      {
-        value: 'scope',
-        label: '服务范围',
-      },
-
-      {
-        value: 'property',
-        label: '知识产权',
-      },
-
-      {
-        value: 'business',
-        label: '交易方式',
-      },
-    ],
-
-    option2: [
-      {
-        value: 'totaltype',
-        label: '产品类型',
-        disabled: true,
-      },
-      {
-        value: 'name',
-        label: '产品名称',
-        disabled: true,
-      },
-      {
-        value: 'contact_user',
-        label: '联系人',
-        disabled: true,
-      },
-
-      {
-        value: 'contact_tel',
-        label: '联系人电话',
-        disabled: true,
-      },
-
-      {
-        value: 'description',
-        label: '产品描述',
-      },
-      {
-        value: 'product_type_id',
-        label: '类型',
-      },
-
-      {
-        value: 'introduction',
-        label: '产品简介',
-        disabled: true,
-      },
-
-      {
-        value: 'price',
-        label: '产品单价',
-      },
-      {
-        value: 'priceunit',
-        label: '产品单位',
-      },
-
-      {
-        value: 'image',
-        label: '产品图片',
-      },
-      {
-        value: 'product_args',
-        label: '产品参数',
-      },
-
-      {
-        value: 'contract',
-        label: '电子合同',
-      },
-      {
-        value: 'gxtype',
-        label: '供给类型',
-      },
-      {
-        value: 'scope',
-        label: '服务范围',
-      },
-
-      {
-        value: 'property',
-        label: '知识产权',
-      },
-
-      {
-        value: 'business',
-        label: '交易方式',
-      },
-    ],
-
-    option3: [
-      {
-        value: 'totaltype',
-        label: '产品类型',
-        disabled: true,
-      },
-      {
-        value: 'name',
-        label: '产品名称',
-        disabled: true,
-      },
-      {
-        value: 'contact_user',
-        label: '联系人',
-        disabled: true,
-      },
-
-      {
-        value: 'contact_tel',
-        label: '联系人电话',
-        disabled: true,
-      },
-
-      {
-        value: 'description',
-        label: '产品描述',
-      },
-      {
-        value: 'product_type_id',
-        label: '类型',
-      },
-
-      {
-        value: 'introduction',
-        label: '产品简介',
-        disabled: true,
-      },
-
-      {
-        value: 'price',
-        label: '产品单价',
-      },
-      {
-        value: 'priceunit',
-        label: '产品单位',
-      },
-
-      {
-        value: 'image',
-        label: '产品图片',
-      },
-
-      {
-        value: 'field',
-        label: '应用领域',
-      },
-
-      {
-        value: 'prospect',
-        label: '市场前景',
-      },
-      {
-        value: 'contract',
-        label: '电子合同',
-      },
-      {
-        value: 'gxtype',
-        label: '供给类型',
-      },
-      {
-        value: 'scope',
-        label: '服务范围',
-      },
-
-      {
-        value: 'property',
-        label: '知识产权',
-      },
-
-      {
-        value: 'business',
-        label: '交易方式',
-      },
-    ],
-    is_display: [],
-    value1: [],
-    value2: [],
-
-    activeName: 'first',
-    priceunit_list: [
-      {
-        name: '公斤',
-      },
-      {
-        name: '套',
-      },
-      {
-        name: '件',
-      },
-    ],
-    product_args: [],
-    selectlistRow: [],
-    rowNum: 1,
-    totaltype_list: [
-      { name: '科技需求', value: '0' },
-      { name: '技术成果', value: '1' },
-      { name: '商务服务', value: '2' },
-    ],
-  }),
-  created() {},
-
-  computed: {},
-  methods: {
-    handleClick(tab, event) {
-      console.log(tab, event);
-    },
-    demandBtn() {
-      console.log(this.demandForm);
-
-      this.$emit('demandSubmit', { data: this.demandForm, id: this.demandForm.id });
-    },
-    selectChild(product_type_id) {
-      let res = this.columnList.filter(fil => fil.id === product_type_id);
-      if (res.length > 0) {
-        console.log(res[0].name);
-        this.$set(this.demandForm, `product_type_name`, res[0].name);
-      }
-      this.$forceUpdate();
-    },
-    uploadSuccess({ type, data }) {
-      let arr = _.get(this.demandForm, type);
-      if (_.isArray(arr)) {
-        let datas = { name: data.name, url: data.uri };
-        this.demandForm[type].push({ name: data.name, url: data.uri });
-      } else {
-        let newArr = [{ name: data.name, url: data.uri }];
-        this.$set(this.demandForm, `${type}`, newArr);
-      }
-    },
-
-    // 获取表格选中时的数据
-    selectRow(val) {
-      this.selectlistRow = val;
-    },
-    addRow() {
-      var list = {
-        rowNum: this.rowNum,
-      };
-      // let tableData = this.emandForm.product_args;
-      this.product_args.unshift(list);
-      this.rowNum += 1;
-    },
-
-    uploadDelete(index) {
-      console.log(index);
-
-      this.demandForm.image.splice(index, 1);
-    },
-    selectType(item) {
-      this.$emit('changeType', item);
-      // this.$set(this, `totaltype`, item);
-      console.log(item);
-    },
-  },
-};
-</script>
-
-<style lang="less" scoped>
-/deep/.el-tabs--card > .el-tabs__header {
-  border-bottom: 1px solid #215299;
-}
-/deep/.el-tabs__item {
-  height: 50px;
-  line-height: 50px;
-  font-size: 16px;
-}
-/deep/.el-tabs__item.is-active {
-  color: #ffff;
-  background: #215299;
-}
-.demandForm {
-  padding: 0 20px;
-}
-.demandBtn {
-  text-align: center;
-}
-/deep/.demandBtn .el-button {
-  background-color: #ff7814;
-  border: none;
-}
-/deep/.el-table td {
-  padding: 0;
-}
-/deep/.el-table th {
-  padding: 0;
-  background-color: #f3f3f3;
-}
-</style>

+ 0 - 419
src/layout/enterprise/contextfabu.vue

@@ -1,419 +0,0 @@
-<template>
-  <div id="contextfabu">
-    <el-row>
-      <el-col :span="24" class="contextfabu">
-        <el-tabs v-model="activeName" type="card">
-          <el-tab-pane label="我的发布" name="first">
-            <el-row class="demandForm">
-              <el-form ref="form" :model="form" label-width="140px" :rules="rules">
-                <el-form-item label="产品类型" prop="totaltype">
-                  <el-select v-model="form.type" placeholder="请选择产品类型">
-                    <el-option label="科技需求" value="0"></el-option>
-                    <el-option label="技术成果" value="1"></el-option>
-                    <el-option label="商务服务" value="2"></el-option>
-                  </el-select>
-                </el-form-item>
-                <el-form-item label="名称">
-                  <el-input v-model="form.name" placeholder="请输入名称"></el-input>
-                </el-form-item>
-                <el-form-item label="联系人">
-                  <el-input v-model="form.contacts" placeholder="请输入联系人"></el-input>
-                </el-form-item>
-                <el-form-item label="联系电话">
-                  <el-input v-model="form.phone" placeholder="请输入联系电话"></el-input>
-                </el-form-item>
-                <el-form-item label="QQ/微信">
-                  <el-input v-model="form.qqwx" placeholder="请输入QQ/微信"></el-input>
-                </el-form-item>
-                <el-form-item label="电子邮箱">
-                  <el-input v-model="form.email" placeholder="请输入电子邮箱"></el-input>
-                </el-form-item>
-                <span v-if="form.type == '0' || form.type == '1'">
-                  <el-form-item label="所属领域">
-                    <el-select v-model="form.field" filterable>
-                      <el-option v-for="(item, index) in fieldList" :key="index" :value="item.name" :label="item.name"></el-option>
-                    </el-select>
-                  </el-form-item>
-                  <el-form-item label="合作方式">
-                    <el-select v-model="form.cooperation" filterable>
-                      <el-option v-for="(item, index) in cooperationList" :key="index" :value="item.name" :label="item.name"></el-option>
-                    </el-select>
-                  </el-form-item>
-                  <el-form-item label="企业名称">
-                    <el-input v-model="form.company" placeholder="请输入企业名称"></el-input>
-                  </el-form-item>
-                  <el-form-item label="企业简介">
-                    <el-input
-                      v-model="form.companybrief"
-                      type="textarea"
-                      maxlength="300"
-                      show-word-limit
-                      :autosize="{ minRows: 2, maxRows: 5 }"
-                      placeholder="请输入企业简介"
-                    ></el-input>
-                  </el-form-item>
-                  <el-form-item label="企业网站">
-                    <el-input v-model="form.companyweb" placeholder="请输入企业网站"></el-input>
-                  </el-form-item>
-                  <el-form-item label="合作条件及要求">
-                    <el-input
-                      v-model="form.condition"
-                      type="textarea"
-                      maxlength="300"
-                      show-word-limit
-                      :autosize="{ minRows: 2, maxRows: 5 }"
-                      placeholder="请输入合作条件及要求"
-                    ></el-input>
-                  </el-form-item>
-                  <el-form-item label="产品图片" prop="image">
-                    <upload
-                      :limit="6"
-                      :data="form.image"
-                      :uploadBtn="true"
-                      type="image"
-                      :url="`/files/image/upload`"
-                      @upload="uploadSuccess"
-                      @delete="uploadDelete"
-                    ></upload>
-                  </el-form-item>
-                </span>
-                <!-- 技术 -->
-                <span v-if="form.type == '0'">
-                  <el-form-item label="投资预算">
-                    <el-input v-model="form.budget" placeholder="请输入投资预算"></el-input>
-                  </el-form-item>
-                  <el-form-item label="注册类型">
-                    <el-input v-model="form.companytype" placeholder="请输入注册类型"></el-input>
-                  </el-form-item>
-                  <el-form-item label="统一社会信用代码">
-                    <el-input v-model="form.zzjgdm" placeholder="请输入统一社会信用代码"></el-input>
-                  </el-form-item>
-                  <el-form-item label="注册时间">
-                    <el-date-picker v-model="form.companydate" type="date" placeholder="请选择时间" format="yyyy-MM-dd" value-format="yyyy-MM-dd">
-                    </el-date-picker>
-                  </el-form-item>
-                  <el-form-item label="注册资金">
-                    <el-input v-model="form.companycapital" placeholder="请输入注册资金"></el-input>
-                  </el-form-item>
-                  <el-form-item label="企业法人">
-                    <el-input v-model="form.companyperson" placeholder="请输入企业法人"></el-input>
-                  </el-form-item>
-                  <el-form-item label="上年度企业总收入">
-                    <el-input v-model="form.sndqyzsr" placeholder="请输入上年度企业总收入"></el-input>
-                  </el-form-item>
-                  <el-form-item label="上年度研发费用">
-                    <el-input v-model="form.sndyffy" placeholder="请输入上年度研发费用"></el-input>
-                  </el-form-item>
-                  <el-form-item label="企业总人数">
-                    <el-input v-model="form.companytotal" placeholder="请输入企业总人数"></el-input>
-                  </el-form-item>
-                  <el-form-item label="专&兼职研发人数">
-                    <el-input v-model="form.zjzyfrs" placeholder="请输入专&兼职研发人数"></el-input>
-                  </el-form-item>
-                  <el-form-item label="需求紧急程度">
-                    <el-radio-group v-model="form.degreeurgency">
-                      <el-radio label="特急"></el-radio>
-                      <el-radio label="一般"></el-radio>
-                      <el-radio label="储备"></el-radio>
-                    </el-radio-group>
-                  </el-form-item>
-                  <el-form-item label="技术难题&需求说明">
-                    <el-input
-                      v-model="form.requirementdesc"
-                      type="textarea"
-                      maxlength="500"
-                      show-word-limit
-                      :autosize="{ minRows: 2, maxRows: 5 }"
-                      placeholder="请输入技术难题&需求说明"
-                    ></el-input>
-                  </el-form-item>
-                  <el-form-item label="预期技术目标描述">
-                    <el-input
-                      v-model="form.expect"
-                      type="textarea"
-                      maxlength="300"
-                      show-word-limit
-                      :autosize="{ minRows: 2, maxRows: 5 }"
-                      placeholder="请输入预期技术目标描述"
-                    ></el-input>
-                  </el-form-item>
-                  <el-form-item label="需求现状及应对措施">
-                    <el-input
-                      v-model="form.present"
-                      type="textarea"
-                      maxlength="300"
-                      show-word-limit
-                      :autosize="{ minRows: 2, maxRows: 5 }"
-                      placeholder="请输入需求现状及应对措施"
-                    ></el-input>
-                  </el-form-item>
-                  <el-form-item label="主要产品">
-                    <el-input
-                      v-model="form.mainproduct"
-                      type="textarea"
-                      maxlength="300"
-                      show-word-limit
-                      :autosize="{ minRows: 2, maxRows: 5 }"
-                      placeholder="请输入主要产品"
-                    ></el-input>
-                  </el-form-item>
-                  <el-form-item label="企业资质&荣誉">
-                    <el-input
-                      v-model="form.qualifications"
-                      type="textarea"
-                      maxlength="300"
-                      show-word-limit
-                      :autosize="{ minRows: 2, maxRows: 5 }"
-                      placeholder="请输入企业资质&荣誉"
-                    ></el-input>
-                  </el-form-item>
-                </span>
-                <!-- 产品 -->
-                <span v-else-if="form.type == '1'">
-                  <el-form-item label="成果状态">
-                    <el-select v-model="form.achievestatus" filterable>
-                      <el-option v-for="(item, index) in achievestatusList" :key="index" :value="item.name" :label="item.name"></el-option>
-                    </el-select>
-                  </el-form-item>
-                  <el-form-item label="成果权属">
-                    <el-input v-model="form.achieveown" placeholder="请输入成果权属"></el-input>
-                  </el-form-item>
-                  <el-form-item label="成果来源">
-                    <el-radio-group v-model="form.degreeurgency">
-                      <el-radio label="国家项目"></el-radio>
-                      <el-radio label="省级项目"></el-radio>
-                      <el-radio label="市级项目"></el-radio>
-                      <el-radio label="自选项目"></el-radio>
-                    </el-radio-group>
-                  </el-form-item>
-                  <el-form-item label="专利信息">
-                    <el-input v-model="form.patentinfo" placeholder="请输入专利信息"></el-input>
-                  </el-form-item>
-                  <el-form-item label="专利状态">
-                    <el-radio-group v-model="form.patentstatus">
-                      <el-radio label="已申请"></el-radio>
-                      <el-radio label="已授权"></el-radio>
-                    </el-radio-group>
-                  </el-form-item>
-                  <el-form-item label="项目路演">
-                    <el-input v-model="form.roadshow" placeholder="请输入项目路演"></el-input>
-                  </el-form-item>
-                  <el-form-item label="意向价格">
-                    <el-input v-model="form.intentionprice" placeholder="请输入意向价格"></el-input>
-                  </el-form-item>
-                  <el-form-item label="成果简介">
-                    <el-input
-                      v-model="form.achievebrief"
-                      type="textarea"
-                      maxlength="200"
-                      show-word-limit
-                      :autosize="{ minRows: 2, maxRows: 5 }"
-                      placeholder="请输入成果简介"
-                    ></el-input>
-                  </el-form-item>
-                  <el-form-item label="技术特点">
-                    <el-input
-                      v-model="form.features"
-                      type="textarea"
-                      maxlength="200"
-                      show-word-limit
-                      :autosize="{ minRows: 2, maxRows: 5 }"
-                      placeholder="请输入技术特点"
-                    ></el-input>
-                  </el-form-item>
-                  <el-form-item label="技术团队">
-                    <el-input
-                      v-model="form.team"
-                      type="textarea"
-                      maxlength="300"
-                      show-word-limit
-                      :autosize="{ minRows: 2, maxRows: 5 }"
-                      placeholder="请输入技术团队"
-                    ></el-input>
-                  </el-form-item>
-                  <el-form-item label="商业预期">
-                    <el-input
-                      v-model="form.expectations"
-                      type="textarea"
-                      maxlength="300"
-                      show-word-limit
-                      :autosize="{ minRows: 2, maxRows: 5 }"
-                      placeholder="请输入商业预期"
-                    ></el-input>
-                  </el-form-item>
-                </span>
-                <!-- 服务 -->
-                <span v-else-if="form.type == '2'">
-                  <el-form-item label="信息属性">
-                    <el-radio-group v-model="form.messattribute">
-                      <el-radio label="提供方"></el-radio>
-                      <el-radio label="需求方"></el-radio>
-                    </el-radio-group>
-                  </el-form-item>
-                  <el-form-item label="需求程度">
-                    <el-radio-group v-model="form.demand">
-                      <el-radio label="特急"></el-radio>
-                      <el-radio label="一般"></el-radio>
-                    </el-radio-group>
-                  </el-form-item>
-                  <el-form-item label="信息描述">
-                    <el-input
-                      v-model="form.informationdesc"
-                      type="textarea"
-                      maxlength="300"
-                      show-word-limit
-                      :autosize="{ minRows: 2, maxRows: 5 }"
-                      placeholder="请输入信息描述"
-                    ></el-input>
-                  </el-form-item>
-                  <el-form-item label="核心要素">
-                    <el-input
-                      v-model="form.coreelements"
-                      type="textarea"
-                      maxlength="200"
-                      show-word-limit
-                      :autosize="{ minRows: 2, maxRows: 5 }"
-                      placeholder="请输入核心要素"
-                    ></el-input>
-                  </el-form-item>
-                  <el-form-item label="价格信息">
-                    <el-input
-                      v-model="form.priceinfo"
-                      type="textarea"
-                      maxlength="100"
-                      show-word-limit
-                      :autosize="{ minRows: 2, maxRows: 5 }"
-                      placeholder="请输入价格信息"
-                    ></el-input>
-                  </el-form-item>
-                  <el-form-item label="商务预期">
-                    <el-input
-                      v-model="form.businessexpect"
-                      type="textarea"
-                      maxlength="200"
-                      show-word-limit
-                      :autosize="{ minRows: 2, maxRows: 5 }"
-                      placeholder="请输入商务预期"
-                    ></el-input>
-                  </el-form-item>
-                </span>
-                <el-row class="demandBtn">
-                  <el-button type="primary" @click="demandBtn()">保存草稿</el-button>
-                  <el-button type="primary" @click="demandBtns()">信息发布</el-button>
-                </el-row>
-              </el-form>
-            </el-row>
-          </el-tab-pane>
-        </el-tabs>
-      </el-col>
-    </el-row>
-  </div>
-</template>
-
-<script>
-import _ from 'lodash';
-import upload from '@/components/upload.vue';
-import { mapState, createNamespacedHelpers } from 'vuex';
-const { mapActions: markettype } = createNamespacedHelpers('markettype');
-export default {
-  name: 'contextfabu',
-  props: {
-    form: null,
-  },
-  components: {
-    upload,
-  },
-  data: () => ({
-    activeName: 'first',
-    // 验证
-    rules: {
-      name: [{ required: true, message: '请输入名称', trigger: 'blur' }],
-    },
-    // 所属领域
-    fieldList: [],
-    // 成果状态
-    achievestatusList: [],
-    // 合作方式
-    cooperationList: [],
-  }),
-  created() {
-    this.searchtype();
-  },
-  computed: {},
-  methods: {
-    ...markettype({ markettypeList: 'query' }),
-    // 查询字典表
-    async searchtype() {
-      // 所属领域;
-      let res = await this.markettypeList({ category: '01' });
-      if (this.$checkRes(res)) {
-        this.$set(this, `fieldList`, res.data);
-      }
-      // 成果状态;
-      res = await this.markettypeList({ category: '02' });
-      if (this.$checkRes(res)) {
-        this.$set(this, `achievestatusList`, res.data);
-      }
-      // 合作方式;
-      res = await this.markettypeList({ category: '03' });
-      if (this.$checkRes(res)) {
-        this.$set(this, `cooperationList`, res.data);
-      }
-    },
-    demandBtn() {
-      this.$emit('demandBtn', { data: this.form });
-    },
-    demandBtns() {
-      this.$emit('demandBtns', { data: this.form });
-    },
-    // 图片
-    uploadSuccess({ type, data }) {
-      let arr = _.get(this.form, type);
-      if (_.isArray(arr)) {
-        let datas = { name: data.name, url: data.uri };
-        this.form[type].push({ name: data.name, url: data.uri });
-      } else {
-        let newArr = [{ name: data.name, url: data.uri }];
-        this.$set(this.form, `${type}`, newArr);
-      }
-    },
-    // 删除图片
-    uploadDelete(index) {
-      this.form.image.splice(index, 1);
-    },
-  },
-};
-</script>
-
-<style lang="less" scoped>
-/deep/.el-tabs--card > .el-tabs__header {
-  border-bottom: 1px solid #215299;
-}
-/deep/.el-tabs__item {
-  height: 50px;
-  line-height: 50px;
-  font-size: 16px;
-}
-/deep/.el-tabs__item.is-active {
-  color: #ffff;
-  background: #215299;
-}
-.demandForm {
-  padding: 0 20px;
-}
-.demandBtn {
-  text-align: center;
-  padding: 0 0 20px 0;
-}
-/deep/.demandBtn .el-button {
-  background-color: #ff7814;
-  border: none;
-}
-/deep/.el-table td {
-  padding: 0;
-}
-/deep/.el-table th {
-  padding: 0;
-  background-color: #f3f3f3;
-}
-</style>

+ 0 - 395
src/layout/enterprise/contextfabuxx.vue

@@ -1,395 +0,0 @@
-<template>
-  <div id="recruitLists">
-    <el-row>
-      <el-col :span="24" class="leftTop"> <span>|</span> <span>我的发布</span> </el-col>
-      <el-col :span="24">
-        <el-tabs v-model="activeName" type="card" @tab-click="handleClick">
-          <el-row style="padding: 0 20px;">
-            <el-tabs v-model="activeNameFirst" @tab-click="handleClickFirst">
-              <el-tab-pane label="待发布" name="thirdasdasdath">
-                <el-col :span="24" class="info">
-                  <el-col :span="24" v-for="(item, index) in caogao" :key="index">
-                    <el-col class="xqborder">
-                      <el-col :span="24" class="fbListTop">
-                        <el-col :span="21"> {{ item.name }} </el-col>
-                        <el-col :span="3">
-                          {{ item.meta && item.meta.createdAt ? new Date(item.meta.createdAt).toLocaleDateString() : '' || '' }}
-                        </el-col>
-                      </el-col>
-                      <el-col :span="24" class="fbListCenter">
-                        <el-col :span="6" class="fimage">
-                          <el-col :span="24" v-for="(acm, index) in item.image" :key="index">
-                            <template v-if="index === 0">
-                              <el-image style="width:100px;height:100px" :src="acm.url"></el-image>
-                            </template>
-                          </el-col>
-                        </el-col>
-                        <el-col :span="6" class="fbListCenterC">
-                          <p class="textOver">产品:{{ item.name }}</p>
-                          <p>
-                            类别:{{
-                              item.totaltype === '0' ? '科技需求' : item.totaltype === '1' ? '技术成果' : item.totaltype === '2' ? '商务服务' : 'underdind'
-                            }}
-                          </p>
-                          <p class="listMoney">{{ item.price }}/{{ item.priceunit }}</p>
-                        </el-col>
-                        <el-col :span="6" class="fbListCenterTwo">
-                          <el-col :span="24">最新申请:</el-col>
-                        </el-col>
-                        <el-col :span="6" class="fbListCenterR">
-                          <el-col :span="24" class="bainji">
-                            <el-link :underline="false" @click="$router.push({ path: '/enterprise/enterprisexuqiu', query: { id: item.id } })">编辑</el-link>
-                            <br />
-                            <el-link :underline="false" @click="submitcaogao(item)">发布</el-link>
-                          </el-col>
-                        </el-col>
-                      </el-col>
-                    </el-col>
-                  </el-col>
-                </el-col>
-                <el-col class="page" :span="24">
-                  <el-pagination
-                    @size-change="handleSizeChange"
-                    @current-change="handleCurrentcaogao"
-                    :current-page="currentPage"
-                    background
-                    layout="total,  prev, pager, next, jumper"
-                    :total="tatalcaogao"
-                    :page-size="pageSize"
-                  >
-                  </el-pagination>
-                </el-col>
-              </el-tab-pane>
-              <el-tab-pane label="审核中" name="second">
-                <el-col :span="24" class="info">
-                  <el-col :span="24" v-for="(item, index) in shenheList" :key="index">
-                    <el-col class="xqborder">
-                      <el-col :span="24" class="fbListTop">
-                        <el-col :span="21"> {{ item.name }} </el-col>
-                        <el-col :span="3">
-                          {{ item.meta && item.meta.createdAt ? new Date(item.meta.createdAt).toLocaleDateString() : '' || '' }}
-                        </el-col>
-                      </el-col>
-                      <el-col :span="24" class="fbListCenter">
-                        <el-col :span="6" class="fimage">
-                          <el-col :span="24" v-for="(acm, index) in item.image" :key="index">
-                            <template v-if="index === 0">
-                              <el-image style="width:100px;height:100px" :src="acm.url"></el-image>
-                            </template>
-                          </el-col>
-                        </el-col>
-                        <el-col :span="6" class="fbListCenterC">
-                          <p class="textOver">产品:{{ item.name }}</p>
-                          <p>
-                            类别:{{
-                              item.totaltype === '0' ? '科技需求' : item.totaltype === '1' ? '技术成果' : item.totaltype === '2' ? '商务服务' : 'underdind'
-                            }}
-                          </p>
-                          <p class="listMoney">{{ item.price }}/{{ item.priceunit }}</p>
-                        </el-col>
-                        <el-col :span="6" class="fbListCenterTwo">
-                          <el-col :span="24">最新申请:</el-col>
-                        </el-col>
-                        <el-col :span="6" class="fbListCenterR">
-                          <el-col :span="24" class="bainji">
-                            <!-- <el-link :underline="false" @click="$router.push({ path: '/enterprise/enterprisexuqiu', query: { id: item.id } })">编辑</el-link -->
-                            <!-- ><br /> -->
-                            <el-link :underline="false" @click="handleDelete(item)">彻底删除</el-link>
-                          </el-col>
-                        </el-col>
-                      </el-col>
-                    </el-col>
-                  </el-col>
-                </el-col>
-                <el-col class="page" :span="24">
-                  <el-pagination
-                    @size-change="handleSizeChange"
-                    @current-change="handleCurrentChange1"
-                    :current-page="currentPage"
-                    background
-                    layout="total,  prev, pager, next, jumper"
-                    :total="tatalstatus1"
-                    :page-size="pageSize"
-                  >
-                  </el-pagination>
-                </el-col>
-              </el-tab-pane>
-              <el-tab-pane label="已发布" name="first">
-                <el-col :span="24" class="info">
-                  <el-col :span="24" v-for="(item, index) in recruitData" :key="index">
-                    <el-col class="xqborder">
-                      <el-col :span="24" class="fbListTop">
-                        <el-col :span="21"> {{ item.name }} </el-col>
-                        <el-col :span="3">
-                          {{ item.meta && item.meta.createdAt ? new Date(item.meta.createdAt).toLocaleDateString() : '' || '' }}
-                        </el-col>
-                      </el-col>
-                      <el-col :span="24" class="fbListCenter">
-                        <el-col :span="6" class="fimage">
-                          <el-col :span="24" v-for="(acm, index) in item.image" :key="index">
-                            <template v-if="index === 0">
-                              <el-image style="width:100px;height:100px" :src="acm.url"></el-image>
-                            </template>
-                          </el-col>
-                        </el-col>
-                        <el-col :span="6" class="fbListCenterC">
-                          <p class="textOver">产品:{{ item.name }}</p>
-                          <p>
-                            类别:{{
-                              item.totaltype === '0' ? '科技需求' : item.totaltype === '1' ? '技术成果' : item.totaltype === '2' ? '商务服务' : 'underdind'
-                            }}
-                          </p>
-                          <p class="listMoney">{{ item.price }}/{{ item.priceunit }}</p>
-                        </el-col>
-                        <el-col :span="6" class="fbListCenterTwo">
-                          <el-col :span="24">最新申请:</el-col>
-                        </el-col>
-                        <el-col :span="6" class="fbListCenterR">
-                          <el-col :span="24" class="bainji">
-                            <!-- <el-link :underline="false" @click="$router.push({ path: '/enterprise/enterprisexuqiu', query: { id: item.id } })">编辑</el-link
-                            ><br /> -->
-                            <!-- <el-link :underline="false" @click="handleDelete(item)">彻底删除</el-link> -->
-                            <!-- <el-link :underline="false" @click="$router.push({ path: '/enterprise/enterprisexuqiu', query: { id: item.id } })"
-                              >查看申请</el-link
-                            > -->
-                          </el-col>
-                        </el-col>
-                      </el-col>
-                    </el-col>
-                  </el-col>
-                </el-col>
-                <el-col class="page" :span="24">
-                  <el-pagination
-                    @size-change="handleSizeChange"
-                    @current-change="handleCurrentChange"
-                    :current-page="currentPage"
-                    background
-                    layout="total,  prev, pager, next, jumper"
-                    :total="total"
-                    :page-size="pageSize"
-                  >
-                  </el-pagination>
-                </el-col>
-              </el-tab-pane>
-            </el-tabs>
-          </el-row>
-        </el-tabs>
-        <el-link :underline="false" class="fabuBtn" @click="messFabu()">信息发布</el-link>
-      </el-col>
-    </el-row>
-  </div>
-</template>
-
-<script>
-export default {
-  name: 'recruitLists',
-  props: {
-    recruitData: null,
-    columnName: null,
-    total: null,
-    successlist: null,
-    shenheList: null,
-    tatalstatus2: null,
-    tatalstatus1: null,
-    Transactionlist: null,
-    jiaoyilist1: null,
-    jiaoyilist: null,
-    total4: null,
-    total5: null,
-    total6: null,
-    faqilist: null,
-    totalfaqi: null,
-    tatalcaogao: null,
-    caogao: null,
-    // gonggeiData: null,
-  },
-  components: {},
-  data: () => ({
-    currentPage: 0,
-    activeName: 'thirdasdasdath',
-    activeNameFirst: 'thirdasdasdath',
-    pageSize: 3,
-  }),
-  created() {},
-  computed: {},
-  methods: {
-    deteles(item) {
-      this.$emit('deteles', { item });
-    },
-    success(item) {
-      this.$emit('success', { item });
-    },
-    submitcaogao(item) {
-      this.$emit('submitcaogao', { item });
-    },
-    shibai(item) {
-      this.$emit('shibai', { item });
-    },
-    jiaoyisuccess(item) {
-      this.$emit('jiaoyisuccess', { item });
-    },
-    handleDelete(item) {
-      this.$emit('handleDelete', { item });
-    },
-    messFabu() {
-      this.$router.push({ path: '/enterprise/enterprisexuqiu' });
-    },
-    handleClick(tab, event) {
-      console.log(tab, event);
-    },
-    handleClickFirst(tab, event) {
-      console.log(tab, event);
-    },
-
-    handleSizeChange(pageSize) {
-      // this.$emit('handleSizeChange', pageSize);
-    },
-    handleCurrentChange(currentPage) {
-      console.log(currentPage);
-      this.$emit('handleCurrentChange', { skip: (currentPage - 1) * this.pageSize, limit: this.pageSize, currentPage });
-    },
-
-    handleCurrentChange1(currentPage) {
-      console.log(currentPage);
-      this.$emit('handleCurrentChange1', { skip: (currentPage - 1) * this.pageSize, limit: this.pageSize, currentPage });
-    },
-
-    handleCurrentChange2(currentPage) {
-      console.log(currentPage);
-      this.$emit('handleCurrentChange2', { skip: (currentPage - 1) * this.pageSize, limit: this.pageSize, currentPage });
-    },
-
-    handleCurrentChange4(currentPage) {
-      console.log(currentPage);
-      this.$emit('handleCurrentChange4', { skip: (currentPage - 1) * this.pageSize, limit: this.pageSize, currentPage });
-    },
-
-    handleCurrentChange5(currentPage) {
-      console.log(currentPage);
-      this.$emit('handleCurrentChange5', { skip: (currentPage - 1) * this.pageSize, limit: this.pageSize, currentPage });
-    },
-
-    handleCurrentChange6(currentPage) {
-      console.log(currentPage);
-      this.$emit('handleCurrentChange6', { skip: (currentPage - 1) * this.pageSize, limit: this.pageSize, currentPage });
-    },
-
-    handleCurrentChangefaqi(currentPage) {
-      console.log(currentPage);
-      this.$emit('handleCurrentChangefaqi', { skip: (currentPage - 1) * this.pageSize, limit: this.pageSize, currentPage });
-    },
-
-    handleCurrentcaogao(currentPage) {
-      console.log(currentPage);
-      this.$emit('handleCurrentcaogao', { skip: (currentPage - 1) * this.pageSize, limit: this.pageSize, currentPage });
-    },
-  },
-};
-</script>
-
-<style lang="less" scoped>
-.leftTop {
-  font-size: 18px;
-  width: 96%;
-  height: 41px;
-  line-height: 35px;
-  // border-bottom: 1px solid #e5e5e5;
-  position: relative;
-  bottom: 1px;
-  margin: 10px;
-  font-weight: 600;
-  color: #22529a;
-}
-p {
-  padding: 0;
-  margin: 0;
-}
-.info {
-  height: 650px;
-}
-.xqborder {
-  // width: 889px;
-  width: 100%;
-  height: 183px;
-  border: 1px solid #ccc;
-  margin-top: 20px;
-}
-.fbListTop {
-  width: 99.8%;
-  height: 43px;
-  margin-left: 1px;
-  background: #fafafa;
-  line-height: 43px;
-  text-indent: 10px;
-  font-size: 13px;
-  color: #888888;
-}
-
-.fbListCenterTwo {
-  width: 45%;
-  float: left;
-  margin-left: 10px;
-  margin-right: 10px;
-  background: #fafafa;
-  height: 100px;
-}
-.fbListCenter {
-  width: 100%;
-  height: 119px;
-  margin: 20px 0 0 12px;
-}
-.fimage {
-  width: 12%;
-  height: 119px;
-  float: left;
-}
-.fbListCenterC {
-  width: 22%;
-  border-right: 1px solid #ccc;
-  height: 100px;
-  padding-left: 20px;
-}
-.fbListCenterC p {
-  padding: 5px 0;
-}
-
-.fbListCenterR {
-  border-left: 1px solid #ccc;
-  width: 125px;
-  height: 100px;
-  float: left;
-}
-.listName {
-  width: 196px;
-  height: 30px;
-  font-size: 16px;
-  color: #555555;
-}
-.listMoney {
-  height: 30px;
-  font-size: 16px;
-  color: #fe0000;
-  width: 196px;
-}
-
-.bainji {
-  padding: 0 0 0 20px;
-}
-.page {
-  padding: 11px 0 0 0;
-  text-align: center;
-}
-
-/deep/.el-pagination {
-  padding: 41px 0 0 0;
-  white-space: nowrap;
-  padding: 2px 5px;
-  color: #303133;
-  font-weight: 700;
-}
-.fabuBtn {
-  position: absolute;
-  top: 65px;
-  right: 30px;
-}
-</style>

+ 0 - 87
src/layout/enterprise/contextxx.vue

@@ -1,87 +0,0 @@
-<template>
-  <div id="contextxx">
-    <template v-if="view == 'room'">
-      <rooms :list="list" @toChat="toChat"></rooms>
-    </template>
-    <template v-else>
-      <chat :room="room" @toRoom="toRoom"></chat>
-    </template>
-  </div>
-</template>
-
-<script>
-import _ from 'lodash';
-import rooms from './parts/room.vue';
-import chat from './parts/chat.vue';
-import { mapState, createNamespacedHelpers } from 'vuex';
-const { mapActions } = createNamespacedHelpers('personalroom');
-const { mapActions: personalChat } = createNamespacedHelpers('personalchat');
-export default {
-  name: 'contextxx',
-  props: {},
-  components: { rooms, chat },
-  data: () => {
-    return {
-      view: 'room',
-      list: [],
-      room: {},
-    };
-  },
-  created() {
-    this.search();
-  },
-  mounted() {
-    this.channel();
-  },
-  methods: {
-    ...mapActions(['query', 'fetch']),
-    ...personalChat({ getChatList: 'query' }),
-    async search() {
-      let res = await this.query({ receiver_id: this.user.uid });
-      if (this.$checkRes(res)) {
-        this.$set(this, `list`, res.data);
-        this.onMessage();
-      }
-    },
-    async toChat(data) {
-      let res = await this.fetch(data.id);
-      if (this.$checkRes(res)) {
-        this.$set(this, `room`, res.data);
-        this.view = 'chat';
-      }
-    },
-    toRoom() {
-      this.view = 'room';
-      this.onMessage();
-    },
-    channel() {
-      this.$stomp({
-        [`/exchange/chat_message/${this.user.uid}`]: this.onMessage,
-      });
-    },
-    async onMessage(message) {
-      let res = await this.getChatList({ status: 0, receiver_id: this.user.uid });
-      if (this.$checkRes(res)) {
-        let arr = this.list.map(i => {
-          i.needRead ? '' : (i.needRead = 0);
-          // let findRes = res.data.filter(f => i.sender_id == f.sender_id);
-          i.needRead = res.data.length || 0;
-          return i;
-        });
-        this.$set(this, `list`, arr);
-      }
-    },
-  },
-  computed: {
-    ...mapState(['user']),
-    pageTitle() {
-      return `${this.$route.meta.title}`;
-    },
-  },
-  metaInfo() {
-    return { title: this.$route.meta.title };
-  },
-};
-</script>
-
-<style lang="less" scoped></style>

+ 0 - 0
src/layout/enterprise/duijiecontext.vue


Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels