tableList copy.vue 65 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084
  1. <template>
  2. <div id="tableList">
  3. <div class="headerNavTool">
  4. <div class="leftIndexText">
  5. {{ navText.title }} <strong>{{ navText.index }}</strong>
  6. {{ navText.ch }}
  7. </div>
  8. <div class="rightBtnBox">
  9. <slot name="customize"></slot>
  10. <el-button
  11. size="medium"
  12. type="primary"
  13. @click="addClick"
  14. v-if="!navText.addHide"
  15. >添加</el-button
  16. >
  17. <el-button
  18. v-if="navText.backFatherBtn.status"
  19. size="medium"
  20. type="warning"
  21. @click="backFather"
  22. >{{ navText.backFatherBtn.title }}</el-button
  23. >
  24. <el-popover
  25. popper-class="slotPopper"
  26. placement="bottom-end"
  27. trigger="click"
  28. >
  29. <div class="popoverDis">
  30. <div class="checkboxHeader">
  31. <el-checkbox
  32. :indeterminate="isIndeterminate"
  33. v-model="checkAll"
  34. @change="handleCheckAllChange"
  35. >列展示</el-checkbox
  36. >
  37. <div class="initbtns" @click="initVue">重置</div>
  38. </div>
  39. <div
  40. style="height: 1px; width: 100%; background-color: #eaeefb"
  41. ></div>
  42. <el-checkbox-group
  43. class="checkboxGroup"
  44. v-model="checkedCities"
  45. @change="handleCheckedCitiesChange"
  46. >
  47. <div
  48. class="checkboxchild"
  49. v-for="(item, index) in cities"
  50. :key="index"
  51. >
  52. <el-checkbox
  53. :label="item"
  54. @change="checkboxChange(item, $event)"
  55. >{{ item }}</el-checkbox
  56. >
  57. <div class="icon-right">
  58. <i class="el-icon-upload2" @click="upMove(item, index)"></i>
  59. <i
  60. class="el-icon-download"
  61. @click="downMove(item, index)"
  62. ></i>
  63. </div>
  64. </div>
  65. </el-checkbox-group>
  66. </div>
  67. <el-button style="margin-left: 10px" size="medium" slot="reference"
  68. >自定义列</el-button
  69. >
  70. </el-popover>
  71. </div>
  72. </div>
  73. <el-table
  74. :data="tableData"
  75. stripe
  76. style="width: 100%"
  77. @select-all="selectAll"
  78. @select="select"
  79. :row-key="rowKey"
  80. :load="load"
  81. :cell-style="timeStyle"
  82. lazy
  83. :border="true"
  84. ref="pagerset"
  85. v-loading="loading"
  86. :header-cell-style="{
  87. 'background-color': '#eee',
  88. color: '#333',
  89. fontSize: '14px',
  90. }"
  91. :tree-props="{ children: 'children', hasChildren: 'hasChildren' }"
  92. >
  93. <el-table-column
  94. v-if="navText.choice"
  95. align="center"
  96. type="selection"
  97. width="55"
  98. header-align="center"
  99. fixed="left"
  100. >
  101. </el-table-column>
  102. <!-- v-if="navText.num" ↓ -->
  103. <el-table-column
  104. type="index"
  105. label="序号"
  106. width="70"
  107. align="center"
  108. header-align="center"
  109. >
  110. </el-table-column>
  111. <template v-for="(item, index) in tableSet">
  112. <el-table-column
  113. v-if="item.hidden"
  114. :width="item.width"
  115. :key="index"
  116. :label="item.label"
  117. align="center"
  118. :sortable="item.prop === 'sort' || item.sort"
  119. :sort-method="sortMethods"
  120. :show-overflow-tooltip="item.showTooltip ? false : true"
  121. header-align="center"
  122. :prop="item.prop"
  123. sort-by="sort"
  124. >
  125. <template slot-scope="scope">
  126. <div class="imgboxsq" v-if="item.scope === 'img'">
  127. <el-image
  128. class="el_images"
  129. lazy
  130. :src="$methodsTools.splitImgHost(scope.row[item.prop])"
  131. style="height: 100%"
  132. :preview-src-list="[
  133. $methodsTools.splitImgHost(scope.row[item.prop]),
  134. ]"
  135. alt="加载失败..."
  136. >
  137. </el-image>
  138. </div>
  139. <span v-else-if="item.scope === 'status'">{{
  140. Number(scope.row[item.prop]) === 1
  141. ? "启用"
  142. : Number(scope.row[item.prop]) === 0
  143. ? "关闭"
  144. : Number(scope.row[item.prop]) === -1
  145. ? "已删除"
  146. : "未知"
  147. }}</span>
  148. <span v-else-if="item.scope === 'hasTime'">{{
  149. Number(scope.row[item.prop]) === 1
  150. ? "有效"
  151. : Number(scope.row[item.prop]) === 0
  152. ? "无效"
  153. : "未知"
  154. }}</span>
  155. <span v-else-if="item.scope === 'statusZpFB'">{{
  156. Number(scope.row[item.prop]) === 1
  157. ? "未发布"
  158. : Number(scope.row[item.prop]) === 2
  159. ? "已发布"
  160. : Number(scope.row[item.prop]) === 0
  161. ? "停用"
  162. : Number(scope.row[item.prop]) === -1
  163. ? "已删除"
  164. : "未知"
  165. }}</span>
  166. <span v-else-if="item.scope === 'reStatus'">{{
  167. Number(scope.row[item.prop]) === 1
  168. ? "定时发布"
  169. : Number(scope.row[item.prop]) === 0
  170. ? "手动发布"
  171. : "未知"
  172. }}</span>
  173. <span v-else-if="item.scope === 'fabStatus'">{{
  174. Number(scope.row[item.prop]) === 1
  175. ? "发布"
  176. : Number(scope.row[item.prop]) === 0
  177. ? "未发布"
  178. : "未知"
  179. }}</span>
  180. <span v-else-if="item.scope === 'sectionTypes'">{{
  181. Number(scope.row[item.prop]) === 2
  182. ? "录播"
  183. : Number(scope.row[item.prop]) === 1
  184. ? "直播"
  185. : Number(scope.row[item.prop]) === 3
  186. ? "回放"
  187. : "未知"
  188. }}</span>
  189. <span v-else-if="item.scope === 'getShops'">
  190. {{
  191. scope.row["goodsCode"] +
  192. "-" +
  193. scope.row["goodsName"] +
  194. " (" +
  195. scope.row["educationName"] +
  196. "-" +
  197. scope.row["projectName"] +
  198. "-" +
  199. scope.row["businessName"] +
  200. ")"
  201. }}
  202. </span>
  203. <span
  204. v-else-if="
  205. item.scope === 'treeWatch' &&
  206. (scope.row['goodsType'] === 1 || scope.row['goodsType'] === 2)
  207. "
  208. style="color: blue"
  209. @click="
  210. scope.row['goodsType'] === 1
  211. ? diavios(scope.row['goodsId'])
  212. : diaviosTK(scope.row['goodsId'])
  213. "
  214. >结构树视图</span
  215. >
  216. <span v-else-if="item.scope === 'leftCh'">
  217. {{ item.ch }}{{ scope.row[item.prop] }}
  218. </span>
  219. <span
  220. v-else-if="item.scope === 'goodsIds'"
  221. class="editInfoSty"
  222. @click="editInfo(scope.row, 3)"
  223. >
  224. {{
  225. !scope.row[item.prop]
  226. ? 0
  227. : scope.row[item.prop].split(",").map(Number).length
  228. }}
  229. </span>
  230. <span
  231. v-else-if="item.scope === 'jumpPeolpe'"
  232. class="editInfoSty"
  233. @click="jumpPeolpe(scope.row, item.type)"
  234. >
  235. {{scope.row[item.prop]}}
  236. </span>
  237. <span v-else-if="item.scope === 'sectionTypesTTT'">{{
  238. Number(scope.row[item.prop]) === 1
  239. ? "录播"
  240. : Number(scope.row[item.prop]) === 2
  241. ? "直播"
  242. : Number(scope.row[item.prop]) === 3
  243. ? "回放"
  244. : ""
  245. }}</span>
  246. <span v-else-if="item.scope === 'ggType'">{{
  247. Number(scope.row[item.prop]) === 1
  248. ? "学习中心"
  249. : Number(scope.row[item.prop]) === 2
  250. ? "求职中心"
  251. : "未知"
  252. }}</span>
  253. <ul v-else-if="item.scope === 'mapTypesTeacher'" class="ulAuto">
  254. <template v-for="(itm, inds) in scope.row[item.prop]">
  255. <li :key="inds" v-if="inds < 2">
  256. {{ itm.educationName + "-" + itm.projectName
  257. }}{{ inds === 0 ? ", " : "" }}
  258. </li>
  259. </template>
  260. <el-popover
  261. :key="Math.random()"
  262. placement="right"
  263. trigger="click"
  264. >
  265. <ul>
  266. <li v-for="(itm, inds) in scope.row[item.prop]" :key="inds">
  267. {{ inds + 1 }}、
  268. {{ itm.educationName + "-" + itm.projectName }}
  269. </li>
  270. </ul>
  271. <el-button
  272. slot="reference"
  273. style="margin-left: 6px"
  274. type="text"
  275. v-if="scope.row[item.prop].length > 2"
  276. size="mini"
  277. >更多</el-button
  278. >
  279. </el-popover>
  280. </ul>
  281. <span v-else-if="item.scope === 'goodsInfos'">
  282. {{ scope.row[item.prop1] + "-" + scope.row[item.prop2] + "-"
  283. }}<span style="color: red">¥{{ scope.row[item.prop3] }}</span>
  284. </span>
  285. <div v-else-if="item.scope === 'applyInfos'">
  286. <div
  287. v-for="(items, indexs) in scope.row[item.prop]"
  288. :key="indexs"
  289. >
  290. <div>{{ items.siteAddress }}</div>
  291. <div
  292. v-for="(itemsxs, indexsxs) in items.examApplySiteTime"
  293. :key="indexsxs"
  294. >
  295. <div v-for="(ks, ds) in itemsxs.siteTime" :key="ds">
  296. {{ $methodsTools.onlyForma(itemsxs.examTime, false) }}
  297. {{ ks.startTime.replace("-", ":") }}-{{
  298. ks.endTime.replace("-", ":")
  299. }}
  300. </div>
  301. </div>
  302. </div>
  303. </div>
  304. <ul v-else-if="item.scope === 'moreGoodsList'" class="ulAuto">
  305. <template v-for="(itm, inds) in scope.row[item.prop]">
  306. <li :key="inds" v-if="inds < 1">
  307. {{ itm[item.prop1] + "-" + itm[item.prop2] + "-" }}
  308. <span style="color: red">¥{{ itm[item.prop3] }}</span>
  309. </li>
  310. </template>
  311. <el-popover
  312. :key="Math.random()"
  313. placement="right"
  314. trigger="click"
  315. >
  316. <ul>
  317. <li v-for="(itm, inds) in scope.row[item.prop]" :key="inds">
  318. {{ inds + 1 }}、
  319. {{ itm[item.prop1] + "-" + itm[item.prop2] + "-" }}
  320. <span style="color: red">¥{{ itm[item.prop3] }}</span>
  321. </li>
  322. </ul>
  323. <el-button
  324. slot="reference"
  325. style="margin-left: 6px"
  326. type="text"
  327. v-if="scope.row[item.prop].length >= 2"
  328. size="mini"
  329. >更多</el-button
  330. >
  331. </el-popover>
  332. </ul>
  333. <ul v-else-if="item.scope === 'mapTypes'" class="ulAuto">
  334. <template v-for="(itm, inds) in scope.row[item.prop]">
  335. <li :key="inds" v-if="inds === 0">
  336. {{ itm.educationName + "-" + itm.projectName }}
  337. </li>
  338. </template>
  339. <el-popover
  340. :key="Math.random()"
  341. placement="right"
  342. trigger="click"
  343. >
  344. <ul>
  345. <li v-for="(itm, inds) in scope.row[item.prop]" :key="inds">
  346. {{ inds + 1 }}、
  347. {{ itm.educationName + "-" + itm.projectName }}
  348. </li>
  349. </ul>
  350. <el-button
  351. slot="reference"
  352. style="margin-left: 6px"
  353. type="text"
  354. v-if="scope.row[item.prop].length > 1"
  355. size="mini"
  356. >更多</el-button
  357. >
  358. </el-popover>
  359. </ul>
  360. <ul v-else-if="item.scope === 'mapTypesBUS'" class="ulAuto">
  361. <template v-for="(itm, inds) in scope.row[item.prop]">
  362. <li :key="inds" v-if="inds === 0">
  363. {{
  364. itm.educationName +
  365. "-" +
  366. itm.projectName +
  367. "-" +
  368. itm.businessName
  369. }}
  370. </li>
  371. </template>
  372. <el-popover
  373. :key="Math.random()"
  374. placement="right"
  375. trigger="click"
  376. >
  377. <ul>
  378. <li v-for="(itm, inds) in scope.row[item.prop]" :key="inds">
  379. {{ inds + 1 }}、
  380. {{
  381. itm.educationName +
  382. "-" +
  383. itm.projectName +
  384. "-" +
  385. itm.businessName
  386. }}
  387. </li>
  388. </ul>
  389. <el-button
  390. slot="reference"
  391. style="margin-left: 6px"
  392. type="text"
  393. v-if="scope.row[item.prop].length > 1"
  394. size="mini"
  395. >更多</el-button
  396. >
  397. </el-popover>
  398. </ul>
  399. <div v-else-if="item.scope === 'splits'" class="dis_sdt">
  400. <ul>
  401. <template v-for="(itm, inds) in scope.row[item.prop]">
  402. <li :key="inds" v-if="inds < 2">
  403. {{ itm }}
  404. </li>
  405. </template>
  406. </ul>
  407. <el-popover
  408. :key="Math.random()"
  409. placement="right"
  410. trigger="click"
  411. >
  412. <ul>
  413. <li v-for="(itm, inds) in scope.row[item.prop]" :key="inds">
  414. {{ inds + 1 }}、
  415. {{ itm }}
  416. </li>
  417. </ul>
  418. <el-button
  419. slot="reference"
  420. style="margin-left: 6px"
  421. type="text"
  422. v-if="scope.row[item.prop].length > 2"
  423. size="mini"
  424. >更多</el-button
  425. >
  426. </el-popover>
  427. </div>
  428. <ul v-else-if="item.scope === 'classNums'" class="ulAutos">
  429. <li
  430. style="font-size: 12px; cursor: pointer; color: #1890ff"
  431. v-if="!scope.row[item.prop].length"
  432. >
  433. 班级({{ scope.row[item.prop].length }})
  434. </li>
  435. <el-popover
  436. :key="Math.random()"
  437. placement="right"
  438. trigger="click"
  439. >
  440. <ul>
  441. <li
  442. v-for="(itm, inds) in scope.row[item.prop]"
  443. :key="inds"
  444. class="jumpClass"
  445. @click="jumpClass(itm)"
  446. >
  447. {{ inds + 1 }}、
  448. {{ itm.gradeName }}
  449. </li>
  450. </ul>
  451. <el-button
  452. v-if="scope.row[item.prop].length"
  453. slot="reference"
  454. type="text"
  455. size="mini"
  456. >班级({{ scope.row[item.prop].length }})</el-button
  457. >
  458. </el-popover>
  459. </ul>
  460. <div v-else-if="item.scope === 'goodsList'" class="ulAuto">
  461. <ul>
  462. <template v-for="(itm, inds) in scope.row[item.prop]">
  463. <li :key="inds" v-if="inds === 0">
  464. {{ itm.goodsName }}
  465. </li>
  466. </template>
  467. </ul>
  468. <el-popover
  469. :key="Math.random()"
  470. placement="right"
  471. trigger="click"
  472. >
  473. <ul>
  474. <li v-for="(itm, inds) in scope.row[item.prop]" :key="inds">
  475. {{ inds + 1 }}、
  476. {{ itm.goodsName }}
  477. </li>
  478. </ul>
  479. <el-button
  480. slot="reference"
  481. style="margin-left: 6px"
  482. type="text"
  483. v-if="scope.row[item.prop].length > 1"
  484. size="mini"
  485. >更多</el-button
  486. >
  487. </el-popover>
  488. </div>
  489. <div v-else-if="item.scope === 'aboutChapter'" class="ulAuto">
  490. <ul>
  491. <template v-for="(itm, inds) in scope.row[item.prop]">
  492. <li
  493. class="jumpStys"
  494. :key="inds"
  495. v-if="inds === 0"
  496. @click="jumpPages(itm, item.int)"
  497. >
  498. {{ itm[item.prop1] }}
  499. </li>
  500. </template>
  501. </ul>
  502. <el-popover
  503. :key="Math.random()"
  504. placement="right"
  505. trigger="click"
  506. >
  507. <ul>
  508. <li
  509. v-for="(itm, inds) in scope.row[item.prop]"
  510. :key="inds"
  511. class="jumpStys"
  512. @click="jumpPages(itm, item.int)"
  513. >
  514. {{ inds + 1 }}、
  515. {{ itm[item.prop1] }}
  516. </li>
  517. </ul>
  518. <el-button
  519. slot="reference"
  520. style="margin-left: 6px"
  521. type="text"
  522. v-if="scope.row[item.prop].length > 1"
  523. size="mini"
  524. >更多</el-button
  525. >
  526. </el-popover>
  527. </div>
  528. <ul v-else-if="item.scope === 'mapTypesMores'" class="ulAuto">
  529. <template v-for="(itm, inds) in scope.row[item.prop]">
  530. <li :key="inds" v-if="inds === 0">
  531. {{
  532. itm.educationName +
  533. "-" +
  534. itm.projectName +
  535. "-" +
  536. itm.businessName +
  537. "-" +
  538. itm.subjectName
  539. }}
  540. </li>
  541. </template>
  542. <el-popover
  543. :key="Math.random()"
  544. placement="right"
  545. trigger="click"
  546. >
  547. <ul>
  548. <li v-for="(itm, inds) in scope.row[item.prop]" :key="inds">
  549. {{ inds + 1 }}、
  550. {{
  551. itm.educationName +
  552. "-" +
  553. itm.projectName +
  554. "-" +
  555. itm.businessName +
  556. "-" +
  557. itm.subjectName
  558. }}
  559. </li>
  560. </ul>
  561. <el-button
  562. slot="reference"
  563. style="margin-left: 6px"
  564. type="text"
  565. v-if="scope.row[item.prop].length > 1"
  566. size="mini"
  567. >更多</el-button
  568. >
  569. </el-popover>
  570. </ul>
  571. <span v-else-if="item.scope === 'statusRe'">{{
  572. Number(scope.row[item.prop]) === 0
  573. ? "已删除"
  574. : Number(scope.row[item.prop]) === 1 &&
  575. Number(scope.row["reStatus"]) === 1
  576. ? "待发布"
  577. : Number(scope.row[item.prop]) === 1 &&
  578. Number(scope.row["reStatus"]) === 0
  579. ? "未发布"
  580. : Number(scope.row[item.prop]) === 2
  581. ? "已撤回"
  582. : Number(scope.row[item.prop]) === 3
  583. ? "已发布"
  584. : Number(scope.row[item.prop]) === 4
  585. ? "已到期"
  586. : "未知"
  587. }}</span>
  588. <span v-else-if="item.scope === 'TimeVoBtn'">
  589. <el-popover :key="Math.random()" placement="left" trigger="click">
  590. <div
  591. v-for="(items, indexs) in scope.row[item.prop]"
  592. :key="indexs"
  593. style="margin-bottom: 6px"
  594. >
  595. {{ $methodsTools.onlyForma(items.startTime) }} ~
  596. {{ $methodsTools.onlyForma(items.endTime) }}
  597. </div>
  598. <el-button slot="reference" size="mini">查看</el-button>
  599. </el-popover>
  600. </span>
  601. <div v-else-if="item.scope === 'video'">
  602. <i
  603. v-if="scope.row[item.prop][item.prop1] !== null"
  604. class="el-icon-video-play cvideo"
  605. @click="
  606. openVideo(
  607. $methodsTools.splitImgHost(scope.row[item.prop][item.prop1])
  608. )
  609. "
  610. ></i>
  611. </div>
  612. <div
  613. v-else-if="item.scope === 'PDF'"
  614. style="display: flex; align-items: center"
  615. >
  616. <a
  617. v-if="scope.row[item.prop][item.prop1] !== null"
  618. :href="
  619. $methodsTools.splitImgHost(scope.row[item.prop][item.prop1])
  620. "
  621. target="_blank"
  622. style="
  623. display: block;
  624. width: 35px;
  625. height: 45px;
  626. margin-right: 10px;
  627. "
  628. >
  629. <img class="imgHover" src="@/assets/images/pdf@3x.png" alt="" />
  630. </a>
  631. <div>{{ scope.row[item.prop][item.prop2] }}</div>
  632. </div>
  633. <span v-else-if="item.scope === 'Salary'">
  634. {{ scope.row[item.prop1] === 1 ? "月薪" : "年薪" }}
  635. {{
  636. scope.row[item.prop2] === scope.row[item.prop3]
  637. ? scope.row[item.prop2]
  638. : scope.row[item.prop2] + "~" + scope.row[item.prop3]
  639. }}
  640. </span>
  641. <div v-else-if="item.scope === 'changAdress'">
  642. <div>{{ scope.row[item.prop1] }}</div>
  643. <div>
  644. {{ $methodsTools.onlyForma(scope.row[item.prop2], false) }}
  645. <span
  646. >{{
  647. scope.row[item.prop3]
  648. ? scope.row[item.prop3].replace("-", ":")
  649. : scope.row[item.prop3]
  650. }}-{{
  651. scope.row[item.prop4]
  652. ? scope.row[item.prop4].replace("-", ":")
  653. : scope.row[item.prop4]
  654. }}</span
  655. >
  656. </div>
  657. </div>
  658. <span v-else-if="item.scope === 'activityType'">{{
  659. Number(scope.row[item.prop]) === 0
  660. ? "优惠券"
  661. : Number(scope.row[item.prop]) === 1
  662. ? "折扣券"
  663. : Number(scope.row[item.prop]) === 2
  664. ? "线上直播"
  665. : Number(scope.row[item.prop]) === 3
  666. ? "定价"
  667. : Number(scope.row[item.prop]) === 4
  668. ? "优惠"
  669. : Number(scope.row[item.prop]) === 5
  670. ? "折扣"
  671. : Number(scope.row[item.prop]) === 6
  672. ? "线下活动"
  673. : "未知"
  674. }}</span>
  675. <span v-else-if="item.scope === 'activityRemarks'">{{
  676. Number(scope.row[item.prop]) === 0
  677. ? "金额:¥" + scope.row["price"]
  678. : Number(scope.row[item.prop]) === 1
  679. ? "折扣:" + scope.row["price"] + "折"
  680. : Number(scope.row[item.prop]) === 2
  681. ? "直播内容:" + scope.row["liveContent"]
  682. : Number(scope.row[item.prop]) === 3
  683. ? "商品金额:¥" + scope.row["price"]
  684. : Number(scope.row[item.prop]) === 4
  685. ? "优惠金额:¥" + scope.row["price"]
  686. : Number(scope.row[item.prop]) === 5
  687. ? "商品折扣:" + scope.row["price"] + "折"
  688. : Number(scope.row[item.prop]) === 6
  689. ? "活动地点:" + scope.row["liveAdress"]
  690. : "未知"
  691. }}</span>
  692. <span v-else-if="item.scope === 'isUrgent'">{{
  693. scope.row[item.prop] === 0
  694. ? "不是"
  695. : scope.row[item.prop] === 1
  696. ? "是"
  697. : "未知"
  698. }}</span>
  699. <span v-else-if="item.scope === 'gfStatus'">{{
  700. scope.row[item.prop] === 0
  701. ? "否"
  702. : scope.row[item.prop] === 1
  703. ? "是"
  704. : "未知"
  705. }}</span>
  706. <span v-else-if="item.scope === 'refundPrice'">
  707. {{
  708. scope.row["goodsRealPrice"] && scope.row["goodsReceived"]
  709. ? Number(scope.row["goodsRealPrice"]) -
  710. Number(scope.row["goodsReceived"]) +
  711. "元"
  712. : ""
  713. }}
  714. </span>
  715. <span v-else-if="item.scope === 'peopleNum'">{{
  716. scope.row[item.prop] === 0 ? "不限制" : scope.row[item.prop]
  717. }}</span>
  718. <span v-else-if="item.scope === 'address'"
  719. >{{
  720. scope.row[item.prop1] +
  721. scope.row[item.prop2] +
  722. scope.row[item.prop3]
  723. }}{{ scope.row[item.prop4] ? scope.row[item.prop4] : "" }}</span
  724. >
  725. <span v-else-if="item.scope === 'statusActivity'">{{
  726. Number(scope.row[item.prop]) === 0
  727. ? "已删除"
  728. : Number(scope.row[item.prop]) === 1
  729. ? "已结束"
  730. : Number(scope.row[item.prop]) === 2
  731. ? "已撤回"
  732. : Number(scope.row[item.prop]) === 3
  733. ? "已开始"
  734. : Number(scope.row[item.prop]) === 4
  735. ? "未开始"
  736. : "未知"
  737. }}</span>
  738. <span v-else-if="item.scope === 'sex'">
  739. {{
  740. scope.row[item.prop] == 1
  741. ? "男"
  742. : scope.row[item.prop] == 2
  743. ? "女"
  744. : "未知"
  745. }}
  746. </span>
  747. <span v-else-if="item.scope === 'statusFB'">{{
  748. scope.row[item.prop] === 0
  749. ? "删除"
  750. : scope.row[item.prop] === 1
  751. ? "发布"
  752. : scope.row[item.prop] === 2
  753. ? "撤回"
  754. : scope.row[item.prop] === 3
  755. ? "未发布"
  756. : "未知"
  757. }}</span>
  758. <span v-else-if="item.scope === 'typeStatus'">{{
  759. scope.row[item.prop] === 0
  760. ? "报名指引"
  761. : scope.row[item.prop] === 1
  762. ? "打印准考证"
  763. : scope.row[item.prop] === 2
  764. ? "成绩查询指引"
  765. : "未知"
  766. }}</span>
  767. <span v-else-if="item.scope === 'typeId'">{{
  768. scope.row[item.prop] === 1
  769. ? "普通练习"
  770. : scope.row[item.prop] === 2
  771. ? "押题试卷"
  772. : scope.row[item.prop] === 3
  773. ? "真题试卷"
  774. : "未知"
  775. }}</span>
  776. <span v-else-if="item.scope === 'taskType'">{{
  777. scope.row[item.prop] === 0
  778. ? "每日签到"
  779. : scope.row[item.prop] === 1
  780. ? "完善信息"
  781. : scope.row[item.prop] === 2
  782. ? "邀请好友"
  783. : scope.row[item.prop] === 3
  784. ? "每日分享"
  785. : scope.row[item.prop] === 4
  786. ? "视频学习"
  787. : scope.row[item.prop] === 5
  788. ? "模拟考试"
  789. : "未知"
  790. }}</span>
  791. <span v-else-if="item.scope === 'releaseType'">{{
  792. scope.row[item.prop] === 0
  793. ? "手动发布"
  794. : scope.row[item.prop] === 1
  795. ? "定时发布"
  796. : "未知"
  797. }}</span>
  798. <span v-else-if="item.scope === 'releaseStatus'">{{
  799. scope.row[item.prop] === 0
  800. ? "删除"
  801. : scope.row[item.prop] === 1
  802. ? "待发布"
  803. : scope.row[item.prop] === 2
  804. ? "撤回"
  805. : scope.row[item.prop] === 3
  806. ? "发布成功"
  807. : scope.row[item.prop] === 4
  808. ? "未发布"
  809. : scope.row[item.prop] === 5
  810. ? "已结束"
  811. : "未知"
  812. }}</span>
  813. <div v-else-if="item.scope === 'knowledge'" class="overSty">
  814. <el-button
  815. type="success"
  816. size="small"
  817. v-for="(items, ks) in scope.row[item.prop]"
  818. :key="ks"
  819. >
  820. {{ items.knowledgeName }}
  821. </el-button>
  822. </div>
  823. <span v-else-if="item.scope === 'numberAll'">{{
  824. scope.row[item.prop1] + scope.row[item.prop2]
  825. }}</span>
  826. <span v-else-if="item.scope === 'moreLists'">{{
  827. scope.row[item.prop1] + " ~ " + scope.row[item.prop2]
  828. }}</span>
  829. <span v-else-if="item.scope === 'resultType'">
  830. {{ scope.row[item.prop1] }}
  831. <span
  832. :style="
  833. scope.row[item.prop2] === 1
  834. ? 'color:purple'
  835. : scope.row[item.prop2] === 0
  836. ? 'color:red;'
  837. : ''
  838. "
  839. >
  840. {{
  841. scope.row[item.prop2] === 1
  842. ? "通过"
  843. : scope.row[item.prop2] === 0
  844. ? "不通过"
  845. : ""
  846. }}
  847. </span>
  848. </span>
  849. <span v-else-if="item.scope === 'TimeLists'"
  850. >{{
  851. $methodsTools.onlyForma(scope.row[item.prop1], item.Diszing)
  852. }}
  853. {{
  854. $methodsTools.onlyForma(scope.row[item.prop2], item.Diszing)
  855. }}</span
  856. >
  857. <span v-else-if="item.scope === 'aTimeList'">{{
  858. scope.row[item.prop] === null
  859. ? "--"
  860. : $methodsTools.onlyForma(scope.row[item.prop])
  861. }}</span>
  862. <div v-else-if="item.scope === 'inputs'">
  863. <el-input-number
  864. style="width: 50px"
  865. size="small"
  866. :controls="false"
  867. v-model="scope.row[item.prop]"
  868. controls-position="right"
  869. :min="0"
  870. ></el-input-number>
  871. </div>
  872. <span v-else-if="item.scope === 'topic'">{{
  873. scope.row[item.prop] === 1
  874. ? "单选题"
  875. : scope.row[item.prop] === 2
  876. ? "多选题"
  877. : scope.row[item.prop] === 3
  878. ? "判断题"
  879. : scope.row[item.prop] === 4
  880. ? "案例题"
  881. : scope.row[item.prop] === 5
  882. ? "简答题"
  883. : "未知"
  884. }}</span>
  885. <span v-else-if="item.scope === 'typeStatusName'">{{
  886. scope.row[item.prop] === 1
  887. ? "扫码支付"
  888. : scope.row[item.prop] === 2
  889. ? "刷卡支付"
  890. : scope.row[item.prop] === 3
  891. ? "现金支付"
  892. : scope.row[item.prop] === 4
  893. ? "转账"
  894. : "未知"
  895. }}</span>
  896. <span v-else-if="item.scope === 'teachers'">
  897. <span v-for="(itm, indm) in scope.row[item.prop]" :key="indm"
  898. >{{ itm.nickName
  899. }}{{
  900. indm !== scope.row[item.prop].length - 1 ? "," : ""
  901. }}</span
  902. >
  903. </span>
  904. <span v-else-if="item.scope === 'streamType'">{{
  905. scope.row[item.prop] === 1
  906. ? "正式"
  907. : scope.row[item.prop] === 2
  908. ? "测试"
  909. : "未知"
  910. }}</span>
  911. <span
  912. v-else-if="item.scope === 'statusPeriod'"
  913. :style="scope.row[item.prop] === 0 ? 'color:red' : ''"
  914. >
  915. {{
  916. scope.row[item.prop] === 0
  917. ? "未通过"
  918. : scope.row[item.prop] === 1
  919. ? "已通过"
  920. : scope.row[item.prop] === 2
  921. ? "待审核"
  922. : ""
  923. }}
  924. </span>
  925. <div v-else-if="item.scope === 'changeCLS'">
  926. <div v-if="scope.row[item.prop] === 1" style="color: red">
  927. 有变更
  928. <span style="marign-left:6px;color:blue;cursor: pointer;" @click="isShowBoxsFun(scope.row)">查看</span>
  929. </div>
  930. <span v-else> 正常 </span>
  931. </div>
  932. <span
  933. v-else-if="item.scope === 'finishStatus'"
  934. :style="scope.row[item.prop] === 0 ? 'color:red' : ''"
  935. >
  936. {{
  937. scope.row[item.prop] === 0
  938. ? "未结业"
  939. : scope.row[item.prop] === 1
  940. ? "结业"
  941. : ""
  942. }}
  943. </span>
  944. <span v-else-if="item.scope === 'computer'">
  945. {{ scope.row[item.prop1] + "/" + scope.row[item.prop2] }}
  946. {{
  947. scope.row[item.prop1] == 0 && scope.row[item.prop2] == 0
  948. ? "0%"
  949. : (scope.row[item.prop1] / scope.row[item.prop2]) * 100 + "%"
  950. }}
  951. </span>
  952. <span v-else-if="item.scope === 'statusOrder'">{{
  953. scope.row[item.prop] === -2
  954. ? "超时关闭"
  955. : scope.row[item.prop] === -1
  956. ? "手动关闭"
  957. : scope.row[item.prop] === 0
  958. ? "待付款"
  959. : scope.row[item.prop] === 1
  960. ? "已付款"
  961. : scope.row[item.prop] === 3
  962. ? "成功"
  963. : "未知"
  964. }}</span>
  965. <span v-else-if="item.scope === 'cType'">
  966. <el-tag
  967. type="success"
  968. v-if="
  969. compType(scope.row[item.prop], scope.row['requestMethod']) ===
  970. '新增'
  971. "
  972. >
  973. {{
  974. compType(scope.row[item.prop], scope.row["requestMethod"])
  975. }}</el-tag
  976. >
  977. <el-tag
  978. v-if="
  979. compType(scope.row[item.prop], scope.row['requestMethod']) ===
  980. '修改'
  981. "
  982. >
  983. {{
  984. compType(scope.row[item.prop], scope.row["requestMethod"])
  985. }}</el-tag
  986. >
  987. <el-tag
  988. type="warning"
  989. v-if="
  990. compType(scope.row[item.prop], scope.row['requestMethod']) ===
  991. '查询'
  992. "
  993. >
  994. {{
  995. compType(scope.row[item.prop], scope.row["requestMethod"])
  996. }}</el-tag
  997. >
  998. </span>
  999. <span v-else-if="item.scope === 'time'">{{
  1000. numTime(scope.row[item.prop])
  1001. }}</span>
  1002. <span v-else-if="item.scope === 'timeBtn'"
  1003. >{{ numTime(scope.row[item.prop]) }}
  1004. <el-button type="text" @click="getxq(scope.row)">详情</el-button>
  1005. </span>
  1006. <span
  1007. class="editInfoSty"
  1008. v-else-if="item.scope === 'editInfo'"
  1009. @click="editInfo(scope.row)"
  1010. >{{ scope.row[item.prop] }}
  1011. </span>
  1012. <span
  1013. class="editInfoSty"
  1014. v-else-if="item.scope === 'editInfoMore'"
  1015. @click="editInfo(scope.row)"
  1016. >{{ scope.row[item.prop1] }} - {{ scope.row[item.prop2] }}
  1017. </span>
  1018. <span v-else-if="item.scope === 'InfoMore'"
  1019. >{{ scope.row[item.prop1] }} - {{ scope.row[item.prop2] }}
  1020. </span>
  1021. <el-button
  1022. v-else-if="item.scope === 'aboutTrees'"
  1023. slot="reference"
  1024. @click="activesBoxszing(scope.row[item.prop])"
  1025. >查看</el-button
  1026. >
  1027. <div
  1028. class="editInfoSty"
  1029. v-else-if="item.scope === 'editInfoHTML'"
  1030. @click="editInfo(scope.row)"
  1031. >
  1032. {{ getSimpleText(scope.row[item.prop]) }}
  1033. </div>
  1034. <span v-else-if="item.scope === 'minute'">{{
  1035. numTimeminute(scope.row[item.prop])
  1036. }}</span>
  1037. <span
  1038. v-else-if="item.scope === 'jumpPage'"
  1039. @click="jumpPage(scope.row)"
  1040. style="color: #409eff; cursor: pointer"
  1041. >{{ scope.row[item.prop] }}</span
  1042. >
  1043. <span v-else-if="item.scope === 'objType'">
  1044. {{
  1045. scope.row[item.objProp].length
  1046. ? scope.row[item.objProp][0][item.prop]
  1047. : ""
  1048. }}
  1049. </span>
  1050. <span v-else-if="item.scope === 'isOKs'" style="color: red"
  1051. >审核通过</span
  1052. >
  1053. <span v-else-if="item.scope === 'classTypes'">
  1054. {{
  1055. scope.row[item.prop] === 1
  1056. ? "已开班:" + scope.row[item.prop1]
  1057. : scope.row[item.prop] === 0
  1058. ? "未开班"
  1059. : ""
  1060. }}
  1061. </span>
  1062. <span v-else-if="item.scope === 'classTimeTypes'">
  1063. {{
  1064. scope.row[item.prop] === 1
  1065. ? "即刻"
  1066. : scope.row[item.prop] === 2
  1067. ? "待定"
  1068. : scope.row[item.prop] === 3
  1069. ? $methodsTools.onlyForma(scope.row[item.prop1])
  1070. : "未知"
  1071. }}
  1072. </span>
  1073. <div v-else-if="item.scope === 'objTypeYW'">
  1074. <span v-if="scope.row[item.objProp].length">
  1075. {{ scope.row[item.objProp][0][item.prop1] }}-{{
  1076. scope.row[item.objProp][0][item.prop2]
  1077. }}-{{ scope.row[item.objProp][0][item.prop3] }}
  1078. </span>
  1079. </div>
  1080. <div v-else-if="item.scope === 'againStudent'">
  1081. <span :style="scope.row[item.prop] ? 'color:blue' : ''">{{
  1082. scope.row[item.prop]
  1083. }}</span>
  1084. <span style="color: red;margin-left:10px;" v-if="scope.row[item.prop]"
  1085. >已重修{{ scope.row[item.prop1] }}节</span
  1086. >
  1087. </div>
  1088. <span v-else-if="item.scope === 'eduTypes'">
  1089. {{
  1090. scope.row[item.prop1] +
  1091. "-" +
  1092. scope.row[item.prop2] +
  1093. "-" +
  1094. scope.row[item.prop3]
  1095. }}{{ scope.row[item.prop4] ? "-" + scope.row[item.prop4] : "" }}
  1096. </span>
  1097. <span
  1098. v-else-if="item.scope === 'sendStatus'"
  1099. :style="scope.row[item.prop] === 0 ? 'color:red;' : ''"
  1100. >
  1101. {{
  1102. scope.row[item.prop] === 1
  1103. ? "发送成功"
  1104. : scope.row[item.prop] === 0
  1105. ? "发送失败"
  1106. : "--"
  1107. }}
  1108. </span>
  1109. <span v-else-if="item.scope === 'peopleNums'">
  1110. {{ scope.row[item.prop1] }} / {{ scope.row[item.prop2] }}
  1111. </span>
  1112. <span
  1113. v-else-if="item.scope === 'jumpPageLabel'"
  1114. @click="jumpPageLabel(scope.row)"
  1115. style="color: #409eff; cursor: pointer"
  1116. >{{ scope.row[item.prop] }}</span
  1117. >
  1118. <span v-else-if="item.scope === 'urlStatus'">
  1119. {{
  1120. scope.row[item.prop] === 1
  1121. ? scope.row[item.prop1]
  1122. : scope.row[item.prop] === 2
  1123. ? scope.row[item.prop2]
  1124. : scope.row[item.prop] === 3
  1125. ? scope.row[item.prop3]
  1126. : ""
  1127. }}
  1128. </span>
  1129. <div v-else-if="item.scope === 'morePeople'">
  1130. <span
  1131. v-for="(itm, idm) in scope.row[item.prop]
  1132. .split(',')
  1133. .map(Number)"
  1134. :key="idm"
  1135. >
  1136. {{ itm === 1 ? "非补考学员" : itm === 2 ? "补考学员" : "" }}
  1137. </span>
  1138. </div>
  1139. <span
  1140. v-else-if="item.scope === 'jumpPageLabelProfess'"
  1141. @click="jumpPageLabelProfess(scope.row)"
  1142. style="color: #409eff; cursor: pointer"
  1143. >{{ scope.row[item.prop] }}</span
  1144. >
  1145. <span
  1146. v-else-if="item.scope === 'infoJump'"
  1147. @click="jumpinfoJump(scope.row)"
  1148. style="color: #409eff; cursor: pointer"
  1149. >详情</span
  1150. >
  1151. <span v-else-if="item.scope === 'ptai'">{{
  1152. scope.row[item.prop] == 1 ? "微信小程序" : "未知"
  1153. }}</span>
  1154. <span v-else-if="item.scope === 'diffTime'"
  1155. >{{
  1156. scope.row["sectionType"] === 2
  1157. ? scope.row[item.prop1]
  1158. : scope.row[item.prop2]
  1159. }}分钟</span
  1160. >
  1161. <div v-else-if="item.scope === 'isOptions'">
  1162. <template v-for="(itemt, indext) in item.options">
  1163. <span
  1164. :key="indext"
  1165. v-if="itemt.value === scope.row[item.prop]"
  1166. :style="itemt.style ? itemt.style : ''"
  1167. >{{ itemt.label }}</span
  1168. >
  1169. </template>
  1170. </div>
  1171. <div v-else-if="item.scope === 'isOptionsDZYQ'">
  1172. <template v-for="(itemt, indext) in item.options">
  1173. <span
  1174. :key="indext"
  1175. v-if="itemt.value === scope.row[item.prop]"
  1176. :style="itemt.style ? itemt.style : ''"
  1177. >{{
  1178. scope.row["subscribeStatus"] === 1 ? itemt.label : ""
  1179. }}</span
  1180. >
  1181. </template>
  1182. </div>
  1183. <span v-else
  1184. >{{ scope.row[item.prop] }}
  1185. {{
  1186. (scope.row[item.prop] || scope.row[item.prop] === 0) && item.ch
  1187. ? item.ch
  1188. : ""
  1189. }}</span
  1190. >
  1191. </template>
  1192. </el-table-column>
  1193. </template>
  1194. <el-table-column
  1195. label="官方信息推送状态"
  1196. align="center"
  1197. width="180px"
  1198. v-if="navText.gftsStatus"
  1199. >
  1200. <template slot-scope="scope">
  1201. {{
  1202. scope.row.officialStatus === 1
  1203. ? `是(${scope.row.officialNum})`
  1204. : scope.row.officialStatus === 0
  1205. ? "否"
  1206. : ""
  1207. }}
  1208. </template>
  1209. </el-table-column>
  1210. <el-table-column
  1211. label="官方学时推送状态"
  1212. align="center"
  1213. width="180px"
  1214. v-if="navText.gfxsStatus"
  1215. >
  1216. <template slot-scope="scope">
  1217. {{
  1218. scope.row.periodPlush === 1
  1219. ? `是(${scope.row.plushNum})`
  1220. : scope.row.periodPlush === 0
  1221. ? "否"
  1222. : ""
  1223. }}
  1224. </template>
  1225. </el-table-column>
  1226. <el-table-column
  1227. label="官方学习账号开通状态"
  1228. align="center"
  1229. width="180px"
  1230. v-if="navText.gfUserStatus"
  1231. >
  1232. <template slot-scope="scope">
  1233. {{
  1234. scope.row.learnStatus === 1
  1235. ? "是"
  1236. : scope.row.learnStatus === 0
  1237. ? "否"
  1238. : ""
  1239. }}
  1240. </template>
  1241. </el-table-column>
  1242. <el-table-column
  1243. label="操作"
  1244. align="center"
  1245. fixed="right"
  1246. :width="navText.changeWidth ? navText.changeWidth : '180px'"
  1247. v-if="!navText.tableHide"
  1248. >
  1249. <template slot-scope="scope">
  1250. <slot name="btn" :scope="scope"></slot>
  1251. </template>
  1252. </el-table-column>
  1253. </el-table>
  1254. <el-dialog
  1255. :visible.sync="diaBox"
  1256. width="500px"
  1257. :show-close="false"
  1258. :destroy-on-close="true"
  1259. >
  1260. <div slot="title" class="hearders">
  1261. <div class="leftTitle">详情</div>
  1262. <div class="rightBoxs">
  1263. <img
  1264. src="@/assets/images/Close@2x.png"
  1265. alt=""
  1266. @click="closeBeforefs"
  1267. />
  1268. </div>
  1269. </div>
  1270. <el-row class="contentBox" :gutter="30">
  1271. <div style="width: 100%; height: 100%">
  1272. <video
  1273. controls
  1274. preload
  1275. style="width: 100%; height: 100%"
  1276. :src="$methodsTools.splitImgHost(videoUrls)"
  1277. ></video>
  1278. </div>
  1279. </el-row>
  1280. <div slot="footer" class="dialog-footer">
  1281. <el-button @click="closeBeforefs">关闭</el-button>
  1282. </div>
  1283. </el-dialog>
  1284. <el-dialog
  1285. :visible.sync="dialogVisible"
  1286. width="560px"
  1287. :show-close="false"
  1288. :close-on-click-modal="false"
  1289. >
  1290. <div slot="title" class="hearders">
  1291. <div class="leftTitle">课程树形图</div>
  1292. <div class="rightBoxs">
  1293. <img src="@/assets/images/Close@2x.png" alt="" @click="closes" />
  1294. </div>
  1295. </div>
  1296. <div>
  1297. <el-tree
  1298. :key="Math.random()"
  1299. :props="props"
  1300. :load="loadNode"
  1301. lazy
  1302. ></el-tree>
  1303. </div>
  1304. <span slot="footer" class="dialog-footer">
  1305. <el-button @click="closes">取 消</el-button>
  1306. </span>
  1307. </el-dialog>
  1308. <el-dialog
  1309. :visible.sync="diaviosOpen"
  1310. width="560px"
  1311. :show-close="false"
  1312. :close-on-click-modal="false"
  1313. >
  1314. <div slot="title" class="hearders">
  1315. <div class="leftTitle">商品树形图</div>
  1316. <div class="rightBoxs">
  1317. <img
  1318. src="@/assets/images/Close@2x.png"
  1319. alt=""
  1320. @click="diaviosOpen = false"
  1321. />
  1322. </div>
  1323. </div>
  1324. <div>
  1325. <el-tree
  1326. :key="Math.random()"
  1327. :props="props1"
  1328. :load="loadNode1"
  1329. lazy
  1330. ></el-tree>
  1331. </div>
  1332. <span slot="footer" class="dialog-footer">
  1333. <el-button @click="diaviosOpen = false">取 消</el-button>
  1334. </span>
  1335. </el-dialog>
  1336. <el-dialog
  1337. :visible.sync="isShowBoxs"
  1338. width="400px"
  1339. :show-close="false"
  1340. :close-on-click-modal="false"
  1341. >
  1342. <div slot="title" class="hearders">
  1343. <div class="leftTitle">资料变更详情</div>
  1344. <div class="rightBoxs">
  1345. <img
  1346. src="@/assets/images/Close@2x.png"
  1347. alt=""
  1348. @click="isShowBoxs = false"
  1349. />
  1350. </div>
  1351. </div>
  1352. <div style="max-height:400px;overflow:auto;">
  1353. <ul>
  1354. <li v-for="(items,indexs) in listBoxsGET" :key="indexs" style="margin-bottom:30px;">
  1355. <p>{{$methodsTools.onlyForma(items.createTime)}}</p>
  1356. <p style="padding-left:14px;color:#999;">姓名:{{items.realname}}</p>
  1357. <p style="padding-left:14px;color:#999;">身份证号码:{{items.idCard}}</p>
  1358. </li>
  1359. </ul>
  1360. </div>
  1361. <span slot="footer" class="dialog-footer">
  1362. <el-button @click="isShowBoxs = false">取 消</el-button>
  1363. </span>
  1364. </el-dialog>
  1365. <el-dialog
  1366. :visible.sync="diaviosTKOpen"
  1367. width="560px"
  1368. :show-close="false"
  1369. :close-on-click-modal="false"
  1370. >
  1371. <div slot="title" class="hearders">
  1372. <div class="leftTitle">商品树形图</div>
  1373. <div class="rightBoxs">
  1374. <img
  1375. src="@/assets/images/Close@2x.png"
  1376. alt=""
  1377. @click="diaviosTKOpen = false"
  1378. />
  1379. </div>
  1380. </div>
  1381. <div>
  1382. <el-tree
  1383. :key="Math.random()"
  1384. :props="props2"
  1385. :load="loadNode2"
  1386. lazy
  1387. ></el-tree>
  1388. </div>
  1389. <span slot="footer" class="dialog-footer">
  1390. <el-button @click="diaviosTKOpen = false">取 消</el-button>
  1391. </span>
  1392. </el-dialog>
  1393. </div>
  1394. </template>
  1395. <script>
  1396. export default {
  1397. props: ["tableSets", "tableData", "navText", "rowKey", "loading"],
  1398. data: function () {
  1399. return {
  1400. diaviosOpen: false,
  1401. diaviosTKOpen: false,
  1402. dialogVisible: false,
  1403. tableSet: this.tableSets,
  1404. allCheckData: [], //表格多选
  1405. checkAll: true,
  1406. checkedCities: [], //自定义列 选中数组
  1407. cities: [], //自定义列 总数组
  1408. isIndeterminate: false,
  1409. videoUrls: "",
  1410. diaBox: false,
  1411. isShowBoxs:false,
  1412. listBoxsGET:[],
  1413. props: {
  1414. label(data, node) {
  1415. return data.menuName || data.name;
  1416. },
  1417. isLeaf(data, node) {
  1418. return data.hasChildren ? false : true;
  1419. },
  1420. },
  1421. props1: {
  1422. label(data, node) {
  1423. return data.courseName || data.menuName || data.name;
  1424. },
  1425. isLeaf(data, node) {
  1426. return data.hasChildren ? false : true;
  1427. },
  1428. },
  1429. props2: {
  1430. label(data, node) {
  1431. return data.examName || data.menuName || data.name;
  1432. },
  1433. isLeaf(data, node) {
  1434. return data.hasChildren ? false : true;
  1435. },
  1436. },
  1437. treeDatas: [],
  1438. treeDatas1: [],
  1439. treeDatas2: [],
  1440. };
  1441. },
  1442. computed: {
  1443. numTime: function () {
  1444. return function (res) {
  1445. return Number(res / 3600).toFixed(2);
  1446. };
  1447. },
  1448. numTimeminute: function () {
  1449. return function (res) {
  1450. return Number(res / 60).toFixed(2);
  1451. };
  1452. },
  1453. compType: function () {
  1454. return function (res, data) {
  1455. if (data === "POST") {
  1456. if (res.indexOf("edit") !== -1 || res.indexOf("update") !== -1) {
  1457. return "修改";
  1458. } else {
  1459. return "新增";
  1460. }
  1461. } else if (data === "GET") {
  1462. return "查询";
  1463. }
  1464. };
  1465. },
  1466. },
  1467. created() {
  1468. this.inittableSet = JSON.stringify(this.tableSet);
  1469. this.initTR();
  1470. },
  1471. mounted() {},
  1472. methods: {
  1473. isShowBoxsFun(item){
  1474. this.$api.inquireuserUpdateListsy({userId:item.userId}).then(res => {
  1475. this.listBoxsGET = res.rows
  1476. this.isShowBoxs = true
  1477. this.$api.editgradestudentuserUpdate({userId:item.userId,status:1}).then(result => {})
  1478. })
  1479. },
  1480. sortMethods(a, b) {
  1481. return a.classGradeUserGoodsVoList.length >
  1482. b.classGradeUserGoodsVoList.length
  1483. ? -1
  1484. : 1;
  1485. },
  1486. // int: 1 节列表-关联章 2 章列表-关联模块 3 模块列表-关联课程 4 课程列表-关联商品 5 题目列表-关联试卷 6 试卷列表-关联商品 7 章卷列表-关联商品 8 模块列表-关联商品
  1487. jumpPages(v, int) {
  1488. if (int === 1) {
  1489. this.$router.push({
  1490. path: "/resource/videoManagement/chapterEdit",
  1491. query: {
  1492. id: v.chapterId,
  1493. },
  1494. });
  1495. }
  1496. if (int === 2) {
  1497. this.$router.push({
  1498. path: "/resource/videoManagement/moduleManagementEdit",
  1499. query: {
  1500. id: v.moduleId,
  1501. },
  1502. });
  1503. }
  1504. if (int === 3) {
  1505. this.$router.push({
  1506. path: "/resource/videoManagement/editCourse",
  1507. query: {
  1508. id: v.courseId,
  1509. },
  1510. });
  1511. }
  1512. if (int === 4) {
  1513. this.$router.push({
  1514. path: "/Marketing/commodityManageMentEdit",
  1515. query: {
  1516. id: v.goodsId,
  1517. },
  1518. });
  1519. }
  1520. if (int === 5) {
  1521. this.$router.push({
  1522. path: "/resource/bankManagement/editPaper",
  1523. query: {
  1524. id: v.examId,
  1525. },
  1526. });
  1527. }
  1528. if (int === 6) {
  1529. this.$router.push({
  1530. path: "/Marketing/commodityManageMentEdit",
  1531. query: {
  1532. id: v.goodsId,
  1533. },
  1534. });
  1535. }
  1536. if (int === 7) {
  1537. this.$router.push({
  1538. path: "/Marketing/commodityManageMentEdit",
  1539. query: {
  1540. id: v.goodsId,
  1541. },
  1542. });
  1543. }
  1544. if (int === 8) {
  1545. this.$router.push({
  1546. path: "/Marketing/commodityManageMentEdit",
  1547. query: {
  1548. id: v.goodsId,
  1549. },
  1550. });
  1551. }
  1552. },
  1553. jumpClass(v) {
  1554. this.$router.push({
  1555. path: "/education/classManageMent/studentMenu",
  1556. query: {
  1557. id: v.gradeId,
  1558. goodsId: v.id,
  1559. },
  1560. });
  1561. },
  1562. getSimpleText(html) {
  1563. var re1 = new RegExp("<.+?>", "g"); //匹配html标签的正则表达式,"g"是搜索匹配多个符合的内容
  1564. var msg = html.replace(re1, ""); //执行替换成空字符
  1565. return msg;
  1566. },
  1567. //树形图关闭
  1568. closes() {
  1569. this.dialogVisible = false;
  1570. },
  1571. activesBoxszing(ids) {
  1572. this.$api.inquireCoursemenuListS({ courseId: ids }).then((res) => {
  1573. res.rows.forEach((item) => {
  1574. item.TypeId = item.type + "-" + item.menuId;
  1575. });
  1576. this.treeDatas = res.rows;
  1577. this.dialogVisible = true;
  1578. });
  1579. },
  1580. loadNode(node, resolve) {
  1581. if (node.level === 0) {
  1582. this.treeDatas.forEach((item) => {
  1583. if (item.type === 1) {
  1584. item.hasChildren = true;
  1585. }
  1586. if (item.type === 2) {
  1587. item.hasChildren = true;
  1588. }
  1589. if (item.type === 3) {
  1590. item.hasChildren = false;
  1591. }
  1592. });
  1593. return resolve(this.treeDatas);
  1594. } else {
  1595. if (node.data.type === 1) {
  1596. this.$api
  1597. .inquireCourseListmodulechapter(node.data.courseId)
  1598. .then((res) => {
  1599. res.data.forEach((item) => {
  1600. item.TypeId = 2 + "-" + item.chapterId;
  1601. item.hasChildren = true;
  1602. item.menuId = item.chapterId;
  1603. item.type = 2;
  1604. });
  1605. return resolve(res.data);
  1606. });
  1607. }
  1608. if (node.data.type === 2) {
  1609. this.$api
  1610. .inquireCoursechaptersectionlist(node.data.menuId)
  1611. .then((res) => {
  1612. res.data.forEach((item) => {
  1613. item.TypeId = 3 + "-" + item.sectionId;
  1614. item.type = 3;
  1615. });
  1616. return resolve(res.data);
  1617. });
  1618. }
  1619. if (node.data.type === 3) {
  1620. return resolve([]);
  1621. }
  1622. }
  1623. },
  1624. diavios(ids) {
  1625. this.$api.obtainCourseSgoodsId(ids).then((res) => {
  1626. res.rows.forEach((item) => {
  1627. item.TypeId = "0-" + item.courseId;
  1628. item.type = 0;
  1629. item.hasChildren = true;
  1630. });
  1631. this.treeDatas1 = res.rows;
  1632. this.diaviosOpen = true;
  1633. });
  1634. },
  1635. loadNode1(node, resolve) {
  1636. if (node.level === 0) {
  1637. return resolve(this.treeDatas1);
  1638. } else {
  1639. if (node.data.type === 0) {
  1640. this.$api
  1641. .inquireCoursemenuListS({ courseId: node.data.courseId })
  1642. .then((res) => {
  1643. res.rows.forEach((item) => {
  1644. item.TypeId = 1 + "-" + item.menuId;
  1645. item.hasChildren = item.type === 3 ? false : true;
  1646. item.menuId = item.menuId;
  1647. });
  1648. return resolve(res.rows);
  1649. });
  1650. }
  1651. if (node.data.type === 1) {
  1652. this.$api
  1653. .inquireCourseListmodulechapter(node.data.courseId)
  1654. .then((res) => {
  1655. res.data.forEach((item) => {
  1656. item.TypeId = 2 + "-" + item.chapterId;
  1657. item.hasChildren = true;
  1658. item.menuId = item.chapterId;
  1659. item.type = 2;
  1660. });
  1661. return resolve(res.data);
  1662. });
  1663. }
  1664. if (node.data.type === 2) {
  1665. this.$api
  1666. .inquireCoursechaptersectionlist(node.data.menuId)
  1667. .then((res) => {
  1668. res.data.forEach((item) => {
  1669. item.TypeId = 3 + "-" + item.sectionId;
  1670. item.type = 3;
  1671. });
  1672. return resolve(res.data);
  1673. });
  1674. }
  1675. if (node.data.type === 3) {
  1676. return resolve([]);
  1677. }
  1678. }
  1679. },
  1680. diaviosTK(ids) {
  1681. this.$api.inquireGoodsbanklist({ goodsId: ids }).then((res) => {
  1682. res.data.forEach((item) => {
  1683. item.TypeId = item.type + "-" + item.majorId;
  1684. item.hasChildren = item.type === 3 ? false : true;
  1685. });
  1686. this.treeDatas2 = res.data;
  1687. this.diaviosTKOpen = true;
  1688. });
  1689. },
  1690. loadNode2(node, resolve) {
  1691. if (node.level === 0) {
  1692. return resolve(this.treeDatas2);
  1693. } else {
  1694. if (node.data.type === 1) {
  1695. this.$api
  1696. .inquireBankchapterModule({ moduleExamId: node.data.majorId })
  1697. .then((res) => {
  1698. res.data.forEach((item) => {
  1699. item.TypeId = 2 + "-" + item.chapterExamId;
  1700. item.menuId = item.chapterExamId;
  1701. item.type = 2;
  1702. });
  1703. return resolve(res.data);
  1704. });
  1705. }
  1706. if (node.data.type === 2) {
  1707. this.$api
  1708. .inquirebankchapterexamList({
  1709. chapterExamId: node.data.majorId,
  1710. })
  1711. .then((res) => {
  1712. res.data.forEach((item) => {
  1713. item.TypeId = 3 + "-" + item.examId;
  1714. item.type = 3;
  1715. });
  1716. return resolve(res.data);
  1717. });
  1718. }
  1719. if (node.data.type === 3) {
  1720. return resolve([]);
  1721. }
  1722. }
  1723. },
  1724. timeStyle(column) {
  1725. if (column.columnIndex === 0 && this.navText.firstColLeft) {
  1726. return "text-align:left!important; padding-left: 40px;";
  1727. }
  1728. },
  1729. //初始化
  1730. initTR() {
  1731. this.cities = [];
  1732. this.checkedCities = [];
  1733. this.checkAll = true;
  1734. this.isIndeterminate = false;
  1735. this.tableSet.forEach((item, index) => {
  1736. this.cities.push(item.label);
  1737. if (item.hidden) {
  1738. this.checkedCities.push(item.label);
  1739. }
  1740. });
  1741. if (this.checkedCities.length === 0) {
  1742. this.isIndeterminate = false;
  1743. } else if (this.checkedCities.length === this.cities.length) {
  1744. this.isIndeterminate = false;
  1745. this.checkAll = true;
  1746. } else {
  1747. this.isIndeterminate = true;
  1748. this.checkAll = false;
  1749. }
  1750. },
  1751. //自定义列全选按钮触发
  1752. handleCheckAllChange(val) {
  1753. console.log(val,123)
  1754. this.checkedCities = val ? this.cities : [];
  1755. this.isIndeterminate = false;
  1756. if (val) {
  1757. this.tableSet.forEach((item, index) => {
  1758. item.hidden = true;
  1759. });
  1760. } else {
  1761. this.tableSet.forEach((item, index) => {
  1762. item.hidden = false;
  1763. });
  1764. }
  1765. },
  1766. // 勾选自定义列子选项
  1767. handleCheckedCitiesChange(value) {
  1768. let checkedCount = value.length;
  1769. this.checkAll = checkedCount === this.cities.length;
  1770. this.isIndeterminate =
  1771. checkedCount > 0 && checkedCount < this.cities.length;
  1772. },
  1773. checkboxChange(v, e) {
  1774. this.tableSet.forEach((item) => {
  1775. if (item.label === v) {
  1776. item.hidden = e;
  1777. }
  1778. });
  1779. },
  1780. // 下移
  1781. downMove(option, index) {
  1782. if (index !== this.tableSet.length - 1) {
  1783. this.tableSet[index] = this.tableSet.splice(
  1784. index + 1,
  1785. 1,
  1786. this.tableSet[index]
  1787. )[0];
  1788. this.cities[index] = this.cities.splice(
  1789. index + 1,
  1790. 1,
  1791. this.cities[index]
  1792. )[0];
  1793. } else {
  1794. this.tableSet.unshift(this.tableSet.splice(index, 1)[0]);
  1795. this.cities.unshift(this.cities.splice(index, 1)[0]);
  1796. }
  1797. },
  1798. // 上移
  1799. upMove(option, index) {
  1800. if (index != 0) {
  1801. this.tableSet[index] = this.tableSet.splice(
  1802. index - 1,
  1803. 1,
  1804. this.tableSet[index]
  1805. )[0];
  1806. this.cities[index] = this.cities.splice(
  1807. index - 1,
  1808. 1,
  1809. this.cities[index]
  1810. )[0];
  1811. } else {
  1812. this.tableSet.push(this.tableSet.shift());
  1813. this.cities.push(this.cities.shift());
  1814. }
  1815. },
  1816. //跳转页面
  1817. jumpPage(options) {
  1818. this.$router.push({
  1819. path: "dictData",
  1820. query: {
  1821. dictId: options.dictId,
  1822. dictType: options.dictType,
  1823. },
  1824. });
  1825. },
  1826. //跳转页面
  1827. jumpPageLabel(options) {
  1828. this.$router.push({
  1829. path: "labelInfos",
  1830. query: {
  1831. id: options.id,
  1832. },
  1833. });
  1834. }, //跳转页面
  1835. jumpPageLabelProfess(options) {
  1836. this.$router.push({
  1837. path: "labelInfos",
  1838. query: {
  1839. id: options.labelId,
  1840. },
  1841. });
  1842. },
  1843. jumpinfoJump(options) {
  1844. this.$router.push({
  1845. path: "beneficiaryInfos",
  1846. query: {
  1847. id: options.payeeId,
  1848. },
  1849. });
  1850. },
  1851. //新增按钮
  1852. addClick() {
  1853. this.$emit("addClick");
  1854. },
  1855. //将选中值传回调用组件
  1856. backFather() {
  1857. this.$emit("emitData", this.allCheckData);
  1858. },
  1859. edit() {},
  1860. selectAll(value) {
  1861. this.allCheckData = value;
  1862. },
  1863. select(value) {
  1864. this.allCheckData = value;
  1865. },
  1866. //自定义列重置
  1867. initVue() {
  1868. // this.$emit("initTableset");
  1869. this.tableSet = JSON.parse(this.inittableSet);
  1870. this.initTR();
  1871. },
  1872. load(tree, treeNode, resolve) {
  1873. this.$emit("load", tree, treeNode, resolve);
  1874. },
  1875. editInfo(option, int) {
  1876. if (int === 3) {
  1877. this.$emit("aboutGoods", option);
  1878. } else {
  1879. this.$emit("editInfo", option);
  1880. }
  1881. },
  1882. jumpPeolpe(item,type){
  1883. if(type === 1){
  1884. this.$router.push({
  1885. path: "applicationData",
  1886. query: {
  1887. id: item.applyId,
  1888. type:type
  1889. },
  1890. });
  1891. }
  1892. if(type === 2){
  1893. this.$router.push({
  1894. path: "applicationData",
  1895. query: {
  1896. id: item.beforeId,
  1897. type:type
  1898. },
  1899. });
  1900. }
  1901. },
  1902. getxq(option) {
  1903. this.$emit("getxq", option.userId);
  1904. },
  1905. openVideo(url) {
  1906. this.videoUrls = url;
  1907. this.diaBox = true;
  1908. },
  1909. closeBeforefs() {
  1910. this.diaBox = false;
  1911. },
  1912. },
  1913. };
  1914. </script>
  1915. <style lang="less">
  1916. .overSty {
  1917. white-space: nowrap;
  1918. overflow-x: auto;
  1919. &::-webkit-scrollbar {
  1920. width: 14px;
  1921. height: 14px;
  1922. }
  1923. &::-webkit-scrollbar-track,
  1924. &::-webkit-scrollbar-thumb {
  1925. border-radius: 999px;
  1926. border: 5px solid transparent;
  1927. }
  1928. &::-webkit-scrollbar-track {
  1929. box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2) inset;
  1930. }
  1931. &::-webkit-scrollbar-thumb {
  1932. min-height: 20px;
  1933. background-clip: content-box;
  1934. box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.2) inset;
  1935. }
  1936. &::-webkit-scrollbar-corner {
  1937. background: transparent;
  1938. }
  1939. }
  1940. .slotPopper {
  1941. padding: 0px !important;
  1942. }
  1943. </style>
  1944. <style lang="less" scoped>
  1945. #tableList {
  1946. padding: 0px 16px 16px;
  1947. border-radius: 8px;
  1948. box-shadow: 0px 0px 9px 1px rgba(28, 41, 90, 0.1);
  1949. background: #ffffff;
  1950. .headerNavTool {
  1951. height: 72px;
  1952. display: flex;
  1953. justify-content: space-between;
  1954. align-items: center;
  1955. .rightBtnBox {
  1956. display: flex;
  1957. align-items: center;
  1958. }
  1959. }
  1960. }
  1961. .popoverDis {
  1962. display: flex;
  1963. flex-direction: column;
  1964. align-items: flex-start;
  1965. font-size: 14px;
  1966. .checkboxHeader {
  1967. height: 40px;
  1968. display: flex;
  1969. align-items: center;
  1970. justify-content: space-between;
  1971. padding-left: 13px;
  1972. padding-right: 15px;
  1973. width: 100%;
  1974. .initbtns {
  1975. color: #47a6ff;
  1976. cursor: pointer;
  1977. }
  1978. }
  1979. .checkboxGroup {
  1980. display: flex;
  1981. flex-direction: column;
  1982. width: 100%;
  1983. .checkboxchild {
  1984. width: 100%;
  1985. justify-content: space-between;
  1986. height: 40px;
  1987. display: flex;
  1988. align-items: center;
  1989. padding: 0px 15px 0px 13px;
  1990. transition: all 0.4s;
  1991. &:hover {
  1992. background-color: #ecf5ff;
  1993. }
  1994. &:hover .icon-right {
  1995. display: flex;
  1996. }
  1997. .icon-right {
  1998. display: flex;
  1999. align-items: center;
  2000. width: 30px;
  2001. height: 30px;
  2002. color: #666;
  2003. font-size: 14px;
  2004. display: none;
  2005. i {
  2006. cursor: pointer;
  2007. margin: 0px 3px;
  2008. &:hover {
  2009. color: #47a6ff;
  2010. }
  2011. }
  2012. }
  2013. }
  2014. }
  2015. }
  2016. /deep/.el-checkbox__input.is-checked + .el-checkbox__label {
  2017. color: #666;
  2018. }
  2019. .imgboxsq {
  2020. margin: 0 auto;
  2021. height: 60px;
  2022. max-height: 60px;
  2023. .el_images {
  2024. /deep/.el-image__inner {
  2025. width: auto;
  2026. }
  2027. }
  2028. }
  2029. .imgHover {
  2030. width: 100%;
  2031. height: 100%;
  2032. cursor: pointer;
  2033. }
  2034. .cvideo {
  2035. transition: all 0.2s;
  2036. color: #333;
  2037. cursor: pointer;
  2038. font-size: 30px;
  2039. }
  2040. .cvideo:hover {
  2041. color: #47a6ff;
  2042. }
  2043. .editInfoSty {
  2044. cursor: pointer;
  2045. color: blue;
  2046. }
  2047. .ulAuto {
  2048. display: flex;
  2049. justify-content: center;
  2050. align-items: center;
  2051. }
  2052. .ulAutos {
  2053. display: flex;
  2054. align-items: center;
  2055. justify-content: center;
  2056. }
  2057. .dis_sdt {
  2058. display: flex;
  2059. align-items: flex-end;
  2060. ul {
  2061. margin: 0px;
  2062. li {
  2063. text-align: left;
  2064. }
  2065. }
  2066. }
  2067. .jumpClass {
  2068. color: #333;
  2069. cursor: pointer;
  2070. }
  2071. .jumpStys {
  2072. color: blue;
  2073. cursor: pointer;
  2074. }
  2075. </style>