shengChanCaiGou.vue 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  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. </div>
  9. <!-- 岗位职责 -->
  10. <gangweiList label="岗位职责" :list="gangwei" :pc-num="4" :h5-num="2"></gangweiList>
  11. <!-- 部分课程列表 -->
  12. <div class="platform-course-list client-container">
  13. <h4>部分课程列表</h4>
  14. <mtaTable :data="tableData" :config="tableConfig" @shi-kan="shiKan"></mtaTable>
  15. <div class="btn-groups center">
  16. <applyBtn class="btn-item" @active-pc="onApplyBtnActive" @active-h5="onApplyBtnActiveH5"/>
  17. <onlineInformationBtn/>
  18. </div>
  19. </div>
  20. <videoDialog :source="curVideo" :visible.sync="visible"></videoDialog>
  21. <!-- 申请方案 -->
  22. <applicationDialog :visible.sync="telDl"></applicationDialog>
  23. </div>
  24. </template>
  25. <script>
  26. import mtaTable from "~/components/common/mtaTable";
  27. import videoDialog from "~/components/common/videoDialog";
  28. import freeTrialBtn from "~/components/common/freeTrialBtn";
  29. import onlineInformationBtn from "~/components/common/onlineInformationBtn";
  30. import gangweiList from "@/components/common/layout/desComp/gangweiList";
  31. import {BannerImgs, shengchancaigou} from "~/defaultConfig";
  32. import applicationDialog from "~/components/common/applicationDialog";
  33. import applyBtn from "~/components/common/applyBtn";
  34. /**
  35. * @ 产品与服务 -> 课程资源 -> 生产采购
  36. */
  37. export default {
  38. name: "professionalQuality",
  39. layout: 'templateB',
  40. async asyncData({$axios}) {
  41. const arr = [
  42. $axios.$post(`/home/banner/list`, {'code': BannerImgs.shengcancaigou}),
  43. ]
  44. const [res1] = await Promise.all(arr);
  45. return {
  46. bannerList: res1.data.data || [],
  47. }
  48. },
  49. components: {
  50. mtaTable, videoDialog, applicationDialog, applyBtn,
  51. freeTrialBtn, onlineInformationBtn, gangweiList
  52. },
  53. head() {
  54. return {
  55. title: '在线考试平台_在线考试软件_试卷软件系统',
  56. meta: [
  57. {
  58. name: 'keywords',
  59. content: '考试平台,试卷系统,试卷软件'
  60. },
  61. {
  62. name: 'description',
  63. content: '青谷考试系统具有良好高并发性和访问安全部署、严格的考试监控防作弊功能、PC移动支持多终端,随时随地考试、丰富的考试管理功能。'
  64. }
  65. ],
  66. }
  67. },
  68. data() {
  69. return {
  70. tableConfig: [
  71. {
  72. label: '课程名称',
  73. key: 'name'
  74. },
  75. {
  76. label: '使用行业',
  77. key: 'hangye'
  78. },
  79. {
  80. label: '使用人群',
  81. key: 'renqun'
  82. }
  83. ],
  84. tableData: [
  85. {
  86. name: '企业中常见的质量管理问题',
  87. shikanUrl: 'https://spdb.mtavip.com/b5881822ee4644cb842dccd9993f8c8b/6c0cffcc55e348e48e56b3b75f10fa9f-d8b032061a1306cf1c52a43031edb9cd-fd.mp4',
  88. hangye: '全行业',
  89. renqun: '质量主管'
  90. },
  91. {
  92. name: '安全生产职业适应性管理',
  93. shikanUrl: '',
  94. hangye: '全行业',
  95. renqun: '安全生产主管'
  96. },
  97. {
  98. name: '安全生产中的过程管理',
  99. shikanUrl: '',
  100. hangye: '全行业',
  101. renqun: '安全生产主管'
  102. },
  103. {
  104. name: '7S管理',
  105. shikanUrl: '',
  106. hangye: '全行业',
  107. renqun: '生产主管'
  108. },
  109. {
  110. name: '生产现场实战管理',
  111. shikanUrl: '',
  112. hangye: '全行业',
  113. renqun: '生产主管'
  114. },
  115. {
  116. name: '供应商管理实战技能',
  117. shikanUrl: '',
  118. hangye: '全行业',
  119. renqun: '采购经理'
  120. },
  121. {
  122. name: '企业采购招标管理',
  123. shikanUrl: '',
  124. hangye: '全行业',
  125. renqun: '采购经理'
  126. },
  127. {
  128. name: '班组长的挫折管理',
  129. shikanUrl: '',
  130. hangye: '全行业',
  131. renqun: '班组长'
  132. },
  133. {
  134. name: '工作调配与进度跟催',
  135. shikanUrl: '',
  136. hangye: '全行业',
  137. renqun: '班组长'
  138. },
  139. ],
  140. curVideo: '',
  141. visible: false,
  142. telDl: false,
  143. }
  144. },
  145. computed: {
  146. gangwei() {
  147. return shengchancaigou
  148. }
  149. },
  150. methods: {
  151. shiKan({url}) {
  152. this.visible = true;
  153. this.curVideo = url;
  154. },
  155. onApplyBtnActive() {
  156. this.telDl = true;
  157. },
  158. onApplyBtnActiveH5() {
  159. this.$router.push({name: 'CourseDevelopPhone', query: {redirectUrl: '/product/shengChangCaiGou',}});
  160. },
  161. }
  162. }
  163. </script>
  164. <style lang="scss" scoped>
  165. .platform-course-list {
  166. h4 {
  167. font-size: 30px;
  168. font-weight: 800;
  169. color: #333;
  170. text-align: center;
  171. margin-bottom: 68px;
  172. }
  173. }
  174. @media (max-width: 768px) {
  175. .platform-course-list {
  176. h4 {
  177. font-size: 18px;
  178. font-weight: 800;
  179. color: #333;
  180. text-align: center;
  181. margin-bottom: 10%;
  182. margin-top: 15%;
  183. }
  184. }
  185. .client-nengli-box {
  186. margin-bottom: 5%;
  187. }
  188. }
  189. </style>