shengChanCaiGou.vue 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. <template>
  2. <div class="client-platform-page client-exam-page">
  3. <!-- 广告 -->
  4. <div class="client-banner-box">
  5. <div
  6. :style="{backgroundImage: `url(${bannerList[0].pic || require(`~/static/images/client/train/train-banner-background.png`)})`}"
  7. class="client-platform-banner"></div>
  8. <h3>生产采购</h3>
  9. <p>理论讲解、实战剖析,指导团队落地实战</p>
  10. <span><i></i> 生产部门、采购部门</span>
  11. </div>
  12. <div class="client-container">
  13. <!-- 岗位职责 -->
  14. <gangweiList label="岗位职责" :list="gangwei" :pc-num="4" :h5-num="2" :pc-margin="150" :h5-margin="0"></gangweiList>
  15. </div>
  16. <!-- 部分课程列表 -->
  17. <div class="platform-course-list">
  18. <h4>部分课程列表</h4>
  19. <mtaTable :data="tableData" :config="tableConfig" @shi-kan="shiKan"></mtaTable>
  20. <div class="btns-group">
  21. <a class="client-default-Btn">
  22. <freeTrialBtn myType="kaoshi"/>
  23. </a>
  24. <onlineInformationBtn class="client-default-Btn"/>
  25. </div>
  26. </div>
  27. <videoDialog :source="curVideo" :visible.sync="visible"></videoDialog>
  28. </div>
  29. </template>
  30. <script>
  31. import mtaTable from "~/components/common/mtaTable";
  32. import videoDialog from "~/components/common/videoDialog";
  33. import freeTrialBtn from "~/components/common/freeTrialBtn";
  34. import onlineInformationBtn from "~/components/common/onlineInformationBtn";
  35. import gangweiList from "@/components/common/layout/desComp/gangweiList";
  36. import {BannerImgs, shengchancaigou} from "~/defaultConfig";
  37. /**
  38. * @ 产品与服务 -> 课程资源 -> 生产采购
  39. */
  40. export default {
  41. name: "professionalQuality",
  42. layout: 'templateB',
  43. async asyncData({$axios}) {
  44. const arr = [
  45. $axios.$post(`/home/banner/list`, {'code': BannerImgs.shengcancaigou}),
  46. ]
  47. const [res1] = await Promise.all(arr);
  48. return {
  49. bannerList: res1.data.data || [],
  50. }
  51. },
  52. components: {
  53. mtaTable, videoDialog,
  54. freeTrialBtn, onlineInformationBtn, gangweiList
  55. },
  56. head() {
  57. return {
  58. title: '在线考试平台_在线考试软件_试卷软件系统',
  59. meta: [
  60. {
  61. name: 'keywords',
  62. content: '考试平台,试卷系统,试卷软件'
  63. },
  64. {
  65. name: 'description',
  66. content: '麦塔考试系统具有良好高并发性和访问安全部署、严格的考试监控防作弊功能、PC移动支持多终端,随时随地考试、丰富的考试管理功能。'
  67. }
  68. ],
  69. }
  70. },
  71. data() {
  72. return {
  73. tableConfig: [
  74. {
  75. label: '课程名称',
  76. key: 'name'
  77. },
  78. {
  79. label: '使用行业',
  80. key: 'hangye'
  81. },
  82. {
  83. label: '使用人群',
  84. key: 'renqun'
  85. }
  86. ],
  87. tableData: [
  88. {
  89. name: '人际沟通: 如何更好地表达自己',
  90. shikanUrl: 'https://1111',
  91. hangye: '全行业',
  92. renqun: '职场新人'
  93. },
  94. {
  95. name: '如何向领导汇报行业',
  96. shikanUrl: '',
  97. hangye: '全行业',
  98. renqun: '职场新人'
  99. },
  100. {
  101. name: '职场生活游刃有余',
  102. shikanUrl: '',
  103. hangye: '全行业',
  104. renqun: '职场新人'
  105. },
  106. {
  107. name: '个人形象管理',
  108. shikanUrl: '',
  109. hangye: '全行业',
  110. renqun: '职场新人'
  111. },
  112. {
  113. name: '高效沟通',
  114. shikanUrl: '',
  115. hangye: '全行业',
  116. renqun: '职场新人'
  117. },
  118. {
  119. name: '如何向领导汇报行业',
  120. shikanUrl: '',
  121. hangye: '全行业',
  122. renqun: '职场新人'
  123. },
  124. {
  125. name: '如何向领导汇报行业',
  126. shikanUrl: '',
  127. hangye: '全行业',
  128. renqun: '职场新人'
  129. },
  130. {
  131. name: '如何向领导汇报行业',
  132. shikanUrl: '',
  133. hangye: '全行业',
  134. renqun: '职场新人'
  135. },
  136. ],
  137. curVideo: '',
  138. visible: false,
  139. }
  140. },
  141. computed: {
  142. gangwei() {
  143. return shengchancaigou
  144. }
  145. },
  146. methods: {
  147. shiKan({url}) {
  148. this.visible = true;
  149. this.curVideo = url;
  150. }
  151. }
  152. }
  153. </script>
  154. <style lang="scss" scoped>
  155. .client-exam-page {
  156. margin-top: 70px;
  157. }
  158. .client-banner-box {
  159. height: 200px;
  160. background: green;
  161. text-align: center;
  162. color: #fff;
  163. }
  164. .btns-group {
  165. display: flex;
  166. text-align: center;
  167. .client-default-Btn {
  168. width: 120px;
  169. margin-right: 20px;
  170. }
  171. }
  172. </style>