tableList.vue 65 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104
  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 class="max-heightStyles">
  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
  929. style="marign-left: 6px; color: blue; cursor: pointer"
  930. @click="isShowBoxsFun(scope.row)"
  931. >查看</span
  932. >
  933. </div>
  934. <span v-else> 正常 </span>
  935. </div>
  936. <span
  937. v-else-if="item.scope === 'finishStatus'"
  938. :style="scope.row[item.prop] === 0 ? 'color:red' : ''"
  939. >
  940. {{
  941. scope.row[item.prop] === 0
  942. ? "未结业"
  943. : scope.row[item.prop] === 1
  944. ? "结业"
  945. : ""
  946. }}
  947. </span>
  948. <span v-else-if="item.scope === 'computer'">
  949. {{ scope.row[item.prop1] + "/" + scope.row[item.prop2] }}
  950. {{
  951. scope.row[item.prop1] == 0 && scope.row[item.prop2] == 0
  952. ? "0%"
  953. : (scope.row[item.prop1] / scope.row[item.prop2]) * 100 + "%"
  954. }}
  955. </span>
  956. <span v-else-if="item.scope === 'statusOrder'">{{
  957. scope.row[item.prop] === -2
  958. ? "超时关闭"
  959. : scope.row[item.prop] === -1
  960. ? "手动关闭"
  961. : scope.row[item.prop] === 0
  962. ? "待付款"
  963. : scope.row[item.prop] === 1
  964. ? "已付款"
  965. : scope.row[item.prop] === 3
  966. ? "成功"
  967. : "未知"
  968. }}</span>
  969. <span v-else-if="item.scope === 'cType'">
  970. <el-tag
  971. type="success"
  972. v-if="
  973. compType(scope.row[item.prop], scope.row['requestMethod']) ===
  974. '新增'
  975. "
  976. >
  977. {{
  978. compType(scope.row[item.prop], scope.row["requestMethod"])
  979. }}</el-tag
  980. >
  981. <el-tag
  982. v-if="
  983. compType(scope.row[item.prop], scope.row['requestMethod']) ===
  984. '修改'
  985. "
  986. >
  987. {{
  988. compType(scope.row[item.prop], scope.row["requestMethod"])
  989. }}</el-tag
  990. >
  991. <el-tag
  992. type="warning"
  993. v-if="
  994. compType(scope.row[item.prop], scope.row['requestMethod']) ===
  995. '查询'
  996. "
  997. >
  998. {{
  999. compType(scope.row[item.prop], scope.row["requestMethod"])
  1000. }}</el-tag
  1001. >
  1002. </span>
  1003. <span v-else-if="item.scope === 'time'">{{
  1004. numTime(scope.row[item.prop])
  1005. }}</span>
  1006. <span v-else-if="item.scope === 'timeBtn'"
  1007. >{{ numTime(scope.row[item.prop]) }}
  1008. <el-button type="text" @click="getxq(scope.row)">详情</el-button>
  1009. </span>
  1010. <span
  1011. class="editInfoSty"
  1012. v-else-if="item.scope === 'editInfo'"
  1013. @click="editInfo(scope.row)"
  1014. >{{ scope.row[item.prop] }}
  1015. </span>
  1016. <span
  1017. class="editInfoSty"
  1018. v-else-if="item.scope === 'editInfoMore'"
  1019. @click="editInfo(scope.row)"
  1020. >{{ scope.row[item.prop1] }} - {{ scope.row[item.prop2] }}
  1021. </span>
  1022. <span v-else-if="item.scope === 'InfoMore'"
  1023. >{{ scope.row[item.prop1] }} - {{ scope.row[item.prop2] }}
  1024. </span>
  1025. <el-button
  1026. v-else-if="item.scope === 'aboutTrees'"
  1027. slot="reference"
  1028. @click="activesBoxszing(scope.row[item.prop])"
  1029. >查看</el-button
  1030. >
  1031. <div
  1032. class="editInfoSty"
  1033. v-else-if="item.scope === 'editInfoHTML'"
  1034. @click="editInfo(scope.row)"
  1035. >
  1036. {{ getSimpleText(scope.row[item.prop]) }}
  1037. </div>
  1038. <span v-else-if="item.scope === 'minute'">{{
  1039. numTimeminute(scope.row[item.prop])
  1040. }}</span>
  1041. <span
  1042. v-else-if="item.scope === 'jumpPage'"
  1043. @click="jumpPage(scope.row)"
  1044. style="color: #409eff; cursor: pointer"
  1045. >{{ scope.row[item.prop] }}</span
  1046. >
  1047. <span v-else-if="item.scope === 'objType'">
  1048. {{
  1049. scope.row[item.objProp].length
  1050. ? scope.row[item.objProp][0][item.prop]
  1051. : ""
  1052. }}
  1053. </span>
  1054. <span v-else-if="item.scope === 'isOKs'" style="color: red"
  1055. >审核通过</span
  1056. >
  1057. <span v-else-if="item.scope === 'classTypes'">
  1058. {{
  1059. scope.row[item.prop] === 1
  1060. ? "已开班:" + scope.row[item.prop1]
  1061. : scope.row[item.prop] === 0
  1062. ? "未开班"
  1063. : ""
  1064. }}
  1065. </span>
  1066. <span v-else-if="item.scope === 'classTimeTypes'">
  1067. {{
  1068. scope.row[item.prop] === 1
  1069. ? "即刻"
  1070. : scope.row[item.prop] === 2
  1071. ? "待定"
  1072. : scope.row[item.prop] === 3
  1073. ? $methodsTools.onlyForma(scope.row[item.prop1])
  1074. : "未知"
  1075. }}
  1076. </span>
  1077. <div v-else-if="item.scope === 'objTypeYW'">
  1078. <span v-if="scope.row[item.objProp].length">
  1079. {{ scope.row[item.objProp][0][item.prop1] }}-{{
  1080. scope.row[item.objProp][0][item.prop2]
  1081. }}-{{ scope.row[item.objProp][0][item.prop3] }}
  1082. </span>
  1083. </div>
  1084. <div v-else-if="item.scope === 'againStudent'">
  1085. <span :style="scope.row[item.prop] ? 'color:blue' : ''">{{
  1086. scope.row[item.prop]
  1087. }}</span>
  1088. <span
  1089. style="color: red; margin-left: 10px"
  1090. v-if="scope.row[item.prop]"
  1091. >已重修{{ scope.row[item.prop1] }}节</span
  1092. >
  1093. </div>
  1094. <span v-else-if="item.scope === 'eduTypes'">
  1095. {{
  1096. scope.row[item.prop1] +
  1097. "-" +
  1098. scope.row[item.prop2] +
  1099. "-" +
  1100. scope.row[item.prop3]
  1101. }}{{ scope.row[item.prop4] ? "-" + scope.row[item.prop4] : "" }}
  1102. </span>
  1103. <span
  1104. v-else-if="item.scope === 'sendStatus'"
  1105. :style="scope.row[item.prop] === 0 ? 'color:red;' : ''"
  1106. >
  1107. {{
  1108. scope.row[item.prop] === 1
  1109. ? "发送成功"
  1110. : scope.row[item.prop] === 0
  1111. ? "发送失败"
  1112. : "--"
  1113. }}
  1114. </span>
  1115. <span v-else-if="item.scope === 'peopleNums'">
  1116. {{ scope.row[item.prop1] }} / {{ scope.row[item.prop2] }}
  1117. </span>
  1118. <span
  1119. v-else-if="item.scope === 'jumpPageLabel'"
  1120. @click="jumpPageLabel(scope.row)"
  1121. style="color: #409eff; cursor: pointer"
  1122. >{{ scope.row[item.prop] }}</span
  1123. >
  1124. <span v-else-if="item.scope === 'urlStatus'">
  1125. {{
  1126. scope.row[item.prop] === 1
  1127. ? scope.row[item.prop1]
  1128. : scope.row[item.prop] === 2
  1129. ? scope.row[item.prop2]
  1130. : scope.row[item.prop] === 3
  1131. ? scope.row[item.prop3]
  1132. : ""
  1133. }}
  1134. </span>
  1135. <div v-else-if="item.scope === 'morePeople'">
  1136. <span
  1137. v-for="(itm, idm) in scope.row[item.prop]
  1138. .split(',')
  1139. .map(Number)"
  1140. :key="idm"
  1141. >
  1142. {{ itm === 1 ? "非补考学员" : itm === 2 ? "补考学员" : "" }}
  1143. </span>
  1144. </div>
  1145. <span
  1146. v-else-if="item.scope === 'jumpPageLabelProfess'"
  1147. @click="jumpPageLabelProfess(scope.row)"
  1148. style="color: #409eff; cursor: pointer"
  1149. >{{ scope.row[item.prop] }}</span
  1150. >
  1151. <span
  1152. v-else-if="item.scope === 'infoJump'"
  1153. @click="jumpinfoJump(scope.row)"
  1154. style="color: #409eff; cursor: pointer"
  1155. >详情</span
  1156. >
  1157. <span v-else-if="item.scope === 'ptai'">{{
  1158. scope.row[item.prop] == 1 ? "微信小程序" : "未知"
  1159. }}</span>
  1160. <span v-else-if="item.scope === 'diffTime'"
  1161. >{{
  1162. scope.row["sectionType"] === 2
  1163. ? scope.row[item.prop1]
  1164. : scope.row[item.prop2]
  1165. }}分钟</span
  1166. >
  1167. <div v-else-if="item.scope === 'isOptions'">
  1168. <template v-for="(itemt, indext) in item.options">
  1169. <span
  1170. :key="indext"
  1171. v-if="itemt.value === scope.row[item.prop]"
  1172. :style="itemt.style ? itemt.style : ''"
  1173. >{{ itemt.label }}</span
  1174. >
  1175. </template>
  1176. </div>
  1177. <div v-else-if="item.scope === 'isOptionsDZYQ'">
  1178. <template v-for="(itemt, indext) in item.options">
  1179. <span
  1180. :key="indext"
  1181. v-if="itemt.value === scope.row[item.prop]"
  1182. :style="itemt.style ? itemt.style : ''"
  1183. >{{
  1184. scope.row["subscribeStatus"] === 1 ? itemt.label : ""
  1185. }}</span
  1186. >
  1187. </template>
  1188. </div>
  1189. <span v-else
  1190. >{{ scope.row[item.prop] }}
  1191. {{
  1192. (scope.row[item.prop] || scope.row[item.prop] === 0) && item.ch
  1193. ? item.ch
  1194. : ""
  1195. }}</span
  1196. >
  1197. </template>
  1198. </el-table-column>
  1199. </template>
  1200. <el-table-column
  1201. label="官方信息推送状态"
  1202. align="center"
  1203. width="180px"
  1204. v-if="navText.gftsStatus"
  1205. >
  1206. <template slot-scope="scope">
  1207. {{
  1208. scope.row.officialStatus === 1
  1209. ? `是(${scope.row.officialNum})`
  1210. : scope.row.officialStatus === 0
  1211. ? "否"
  1212. : ""
  1213. }}
  1214. </template>
  1215. </el-table-column>
  1216. <el-table-column
  1217. label="官方学时推送状态"
  1218. align="center"
  1219. width="180px"
  1220. v-if="navText.gfxsStatus"
  1221. >
  1222. <template slot-scope="scope">
  1223. {{
  1224. scope.row.periodPlush === 1
  1225. ? `是(${scope.row.plushNum})`
  1226. : scope.row.periodPlush === 0
  1227. ? "否"
  1228. : ""
  1229. }}
  1230. </template>
  1231. </el-table-column>
  1232. <el-table-column
  1233. label="官方学习账号开通状态"
  1234. align="center"
  1235. width="180px"
  1236. v-if="navText.gfUserStatus"
  1237. >
  1238. <template slot-scope="scope">
  1239. {{
  1240. scope.row.learnStatus === 1
  1241. ? "是"
  1242. : scope.row.learnStatus === 0
  1243. ? "否"
  1244. : ""
  1245. }}
  1246. </template>
  1247. </el-table-column>
  1248. <el-table-column
  1249. label="操作"
  1250. align="center"
  1251. fixed="right"
  1252. :width="navText.changeWidth ? navText.changeWidth : '180px'"
  1253. v-if="!navText.tableHide"
  1254. >
  1255. <template slot-scope="scope">
  1256. <slot name="btn" :scope="scope"></slot>
  1257. </template>
  1258. </el-table-column>
  1259. </el-table>
  1260. <el-dialog
  1261. :visible.sync="diaBox"
  1262. width="500px"
  1263. :show-close="false"
  1264. :destroy-on-close="true"
  1265. >
  1266. <div slot="title" class="hearders">
  1267. <div class="leftTitle">详情</div>
  1268. <div class="rightBoxs">
  1269. <img
  1270. src="@/assets/images/Close@2x.png"
  1271. alt=""
  1272. @click="closeBeforefs"
  1273. />
  1274. </div>
  1275. </div>
  1276. <el-row class="contentBox" :gutter="30">
  1277. <div style="width: 100%; height: 100%">
  1278. <video
  1279. controls
  1280. preload
  1281. style="width: 100%; height: 100%"
  1282. :src="$methodsTools.splitImgHost(videoUrls)"
  1283. ></video>
  1284. </div>
  1285. </el-row>
  1286. <div slot="footer" class="dialog-footer">
  1287. <el-button @click="closeBeforefs">关闭</el-button>
  1288. </div>
  1289. </el-dialog>
  1290. <el-dialog
  1291. :visible.sync="dialogVisible"
  1292. width="560px"
  1293. :show-close="false"
  1294. :close-on-click-modal="false"
  1295. >
  1296. <div slot="title" class="hearders">
  1297. <div class="leftTitle">课程树形图</div>
  1298. <div class="rightBoxs">
  1299. <img src="@/assets/images/Close@2x.png" alt="" @click="closes" />
  1300. </div>
  1301. </div>
  1302. <div>
  1303. <el-tree
  1304. :key="Math.random()"
  1305. :props="props"
  1306. :load="loadNode"
  1307. lazy
  1308. ></el-tree>
  1309. </div>
  1310. <span slot="footer" class="dialog-footer">
  1311. <el-button @click="closes">取 消</el-button>
  1312. </span>
  1313. </el-dialog>
  1314. <el-dialog
  1315. :visible.sync="diaviosOpen"
  1316. width="560px"
  1317. :show-close="false"
  1318. :close-on-click-modal="false"
  1319. >
  1320. <div slot="title" class="hearders">
  1321. <div class="leftTitle">商品树形图</div>
  1322. <div class="rightBoxs">
  1323. <img
  1324. src="@/assets/images/Close@2x.png"
  1325. alt=""
  1326. @click="diaviosOpen = false"
  1327. />
  1328. </div>
  1329. </div>
  1330. <div>
  1331. <el-tree
  1332. :key="Math.random()"
  1333. :props="props1"
  1334. :load="loadNode1"
  1335. lazy
  1336. ></el-tree>
  1337. </div>
  1338. <span slot="footer" class="dialog-footer">
  1339. <el-button @click="diaviosOpen = false">取 消</el-button>
  1340. </span>
  1341. </el-dialog>
  1342. <el-dialog
  1343. :visible.sync="isShowBoxs"
  1344. width="400px"
  1345. :show-close="false"
  1346. :close-on-click-modal="false"
  1347. >
  1348. <div slot="title" class="hearders">
  1349. <div class="leftTitle">资料变更详情</div>
  1350. <div class="rightBoxs">
  1351. <img
  1352. src="@/assets/images/Close@2x.png"
  1353. alt=""
  1354. @click="isShowBoxs = false"
  1355. />
  1356. </div>
  1357. </div>
  1358. <div style="max-height: 400px; overflow: auto">
  1359. <ul>
  1360. <li
  1361. v-for="(items, indexs) in listBoxsGET"
  1362. :key="indexs"
  1363. style="margin-bottom: 30px"
  1364. >
  1365. <p>{{ $methodsTools.onlyForma(items.createTime) }}</p>
  1366. <p style="padding-left: 14px; color: #999">
  1367. 姓名:{{ items.realname }}
  1368. </p>
  1369. <p style="padding-left: 14px; color: #999">
  1370. 身份证号码:{{ items.idCard }}
  1371. </p>
  1372. </li>
  1373. </ul>
  1374. </div>
  1375. <span slot="footer" class="dialog-footer">
  1376. <el-button @click="isShowBoxs = false">取 消</el-button>
  1377. </span>
  1378. </el-dialog>
  1379. <el-dialog
  1380. :visible.sync="diaviosTKOpen"
  1381. width="560px"
  1382. :show-close="false"
  1383. :close-on-click-modal="false"
  1384. >
  1385. <div slot="title" class="hearders">
  1386. <div class="leftTitle">商品树形图</div>
  1387. <div class="rightBoxs">
  1388. <img
  1389. src="@/assets/images/Close@2x.png"
  1390. alt=""
  1391. @click="diaviosTKOpen = false"
  1392. />
  1393. </div>
  1394. </div>
  1395. <div>
  1396. <el-tree
  1397. :key="Math.random()"
  1398. :props="props2"
  1399. :load="loadNode2"
  1400. lazy
  1401. ></el-tree>
  1402. </div>
  1403. <span slot="footer" class="dialog-footer">
  1404. <el-button @click="diaviosTKOpen = false">取 消</el-button>
  1405. </span>
  1406. </el-dialog>
  1407. </div>
  1408. </template>
  1409. <script>
  1410. export default {
  1411. props: ["tableSets", "tableData", "navText", "rowKey", "loading"],
  1412. data: function () {
  1413. return {
  1414. diaviosOpen: false,
  1415. diaviosTKOpen: false,
  1416. dialogVisible: false,
  1417. tableSet: this.tableSets,
  1418. allCheckData: [], //表格多选
  1419. checkAll: true,
  1420. checkedCities: [], //自定义列 选中数组
  1421. cities: [], //自定义列 总数组
  1422. isIndeterminate: false,
  1423. videoUrls: "",
  1424. diaBox: false,
  1425. isShowBoxs: false,
  1426. listBoxsGET: [],
  1427. props: {
  1428. label(data, node) {
  1429. return data.menuName || data.name;
  1430. },
  1431. isLeaf(data, node) {
  1432. return data.hasChildren ? false : true;
  1433. },
  1434. },
  1435. props1: {
  1436. label(data, node) {
  1437. return data.courseName || data.menuName || data.name;
  1438. },
  1439. isLeaf(data, node) {
  1440. return data.hasChildren ? false : true;
  1441. },
  1442. },
  1443. props2: {
  1444. label(data, node) {
  1445. return data.examName || data.menuName || data.name;
  1446. },
  1447. isLeaf(data, node) {
  1448. return data.hasChildren ? false : true;
  1449. },
  1450. },
  1451. treeDatas: [],
  1452. treeDatas1: [],
  1453. treeDatas2: [],
  1454. };
  1455. },
  1456. computed: {
  1457. numTime: function () {
  1458. return function (res) {
  1459. return Number(res / 3600).toFixed(2);
  1460. };
  1461. },
  1462. numTimeminute: function () {
  1463. return function (res) {
  1464. return Number(res / 60).toFixed(2);
  1465. };
  1466. },
  1467. compType: function () {
  1468. return function (res, data) {
  1469. if (data === "POST") {
  1470. if (res.indexOf("edit") !== -1 || res.indexOf("update") !== -1) {
  1471. return "修改";
  1472. } else {
  1473. return "新增";
  1474. }
  1475. } else if (data === "GET") {
  1476. return "查询";
  1477. }
  1478. };
  1479. },
  1480. },
  1481. created() {
  1482. this.inittableSet = JSON.stringify(this.tableSet);
  1483. this.initTR();
  1484. },
  1485. mounted() {},
  1486. methods: {
  1487. isShowBoxsFun(item) {
  1488. this.$api.inquireuserUpdateListsy({ userId: item.userId }).then((res) => {
  1489. this.listBoxsGET = res.rows;
  1490. this.isShowBoxs = true;
  1491. this.$api
  1492. .editgradestudentuserUpdate({ userId: item.userId, status: 1 })
  1493. .then((result) => {});
  1494. });
  1495. },
  1496. sortMethods(a, b) {
  1497. return a.classGradeUserGoodsVoList.length >
  1498. b.classGradeUserGoodsVoList.length
  1499. ? -1
  1500. : 1;
  1501. },
  1502. // int: 1 节列表-关联章 2 章列表-关联模块 3 模块列表-关联课程 4 课程列表-关联商品 5 题目列表-关联试卷 6 试卷列表-关联商品 7 章卷列表-关联商品 8 模块列表-关联商品
  1503. jumpPages(v, int) {
  1504. if (int === 1) {
  1505. this.$router.push({
  1506. path: "/resource/videoManagement/chapterEdit",
  1507. query: {
  1508. id: v.chapterId,
  1509. },
  1510. });
  1511. }
  1512. if (int === 2) {
  1513. this.$router.push({
  1514. path: "/resource/videoManagement/moduleManagementEdit",
  1515. query: {
  1516. id: v.moduleId,
  1517. },
  1518. });
  1519. }
  1520. if (int === 3) {
  1521. this.$router.push({
  1522. path: "/resource/videoManagement/editCourse",
  1523. query: {
  1524. id: v.courseId,
  1525. },
  1526. });
  1527. }
  1528. if (int === 4) {
  1529. this.$router.push({
  1530. path: "/Marketing/commodityManageMentEdit",
  1531. query: {
  1532. id: v.goodsId,
  1533. },
  1534. });
  1535. }
  1536. if (int === 5) {
  1537. this.$router.push({
  1538. path: "/resource/bankManagement/editPaper",
  1539. query: {
  1540. id: v.examId,
  1541. },
  1542. });
  1543. }
  1544. if (int === 6) {
  1545. this.$router.push({
  1546. path: "/Marketing/commodityManageMentEdit",
  1547. query: {
  1548. id: v.goodsId,
  1549. },
  1550. });
  1551. }
  1552. if (int === 7) {
  1553. this.$router.push({
  1554. path: "/Marketing/commodityManageMentEdit",
  1555. query: {
  1556. id: v.goodsId,
  1557. },
  1558. });
  1559. }
  1560. if (int === 8) {
  1561. this.$router.push({
  1562. path: "/Marketing/commodityManageMentEdit",
  1563. query: {
  1564. id: v.goodsId,
  1565. },
  1566. });
  1567. }
  1568. },
  1569. jumpClass(v) {
  1570. this.$router.push({
  1571. path: "/education/classManageMent/studentMenu",
  1572. query: {
  1573. id: v.gradeId,
  1574. goodsId: v.id,
  1575. },
  1576. });
  1577. },
  1578. getSimpleText(html) {
  1579. var re1 = new RegExp("<.+?>", "g"); //匹配html标签的正则表达式,"g"是搜索匹配多个符合的内容
  1580. var msg = html.replace(re1, ""); //执行替换成空字符
  1581. return msg;
  1582. },
  1583. //树形图关闭
  1584. closes() {
  1585. this.dialogVisible = false;
  1586. },
  1587. activesBoxszing(ids) {
  1588. this.$api.inquireCoursemenuListS({ courseId: ids }).then((res) => {
  1589. res.rows.forEach((item) => {
  1590. item.TypeId = item.type + "-" + item.menuId;
  1591. });
  1592. this.treeDatas = res.rows;
  1593. this.dialogVisible = true;
  1594. });
  1595. },
  1596. loadNode(node, resolve) {
  1597. if (node.level === 0) {
  1598. this.treeDatas.forEach((item) => {
  1599. if (item.type === 1) {
  1600. item.hasChildren = true;
  1601. }
  1602. if (item.type === 2) {
  1603. item.hasChildren = true;
  1604. }
  1605. if (item.type === 3) {
  1606. item.hasChildren = false;
  1607. }
  1608. });
  1609. return resolve(this.treeDatas);
  1610. } else {
  1611. if (node.data.type === 1) {
  1612. this.$api
  1613. .inquireCourseListmodulechapter(node.data.menuId)
  1614. .then((res) => {
  1615. res.data.forEach((item) => {
  1616. item.TypeId = 2 + "-" + item.chapterId;
  1617. item.hasChildren = true;
  1618. item.menuId = item.chapterId;
  1619. item.type = 2;
  1620. });
  1621. return resolve(res.data);
  1622. });
  1623. }
  1624. if (node.data.type === 2) {
  1625. this.$api
  1626. .inquireCoursechaptersectionlist(node.data.menuId)
  1627. .then((res) => {
  1628. res.data.forEach((item) => {
  1629. item.TypeId = 3 + "-" + item.sectionId;
  1630. item.type = 3;
  1631. });
  1632. return resolve(res.data);
  1633. });
  1634. }
  1635. if (node.data.type === 3) {
  1636. return resolve([]);
  1637. }
  1638. }
  1639. },
  1640. diavios(ids) {
  1641. this.$api.obtainCourseSgoodsId(ids).then((res) => {
  1642. res.rows.forEach((item) => {
  1643. item.TypeId = "0-" + item.courseId;
  1644. item.type = 0;
  1645. item.hasChildren = true;
  1646. });
  1647. this.treeDatas1 = res.rows;
  1648. this.diaviosOpen = true;
  1649. });
  1650. },
  1651. loadNode1(node, resolve) {
  1652. if (node.level === 0) {
  1653. return resolve(this.treeDatas1);
  1654. } else {
  1655. if (node.data.type === 0) {
  1656. this.$api
  1657. .inquireCoursemenuListS({ courseId: node.data.courseId })
  1658. .then((res) => {
  1659. res.rows.forEach((item) => {
  1660. item.TypeId = 1 + "-" + item.menuId;
  1661. item.hasChildren = item.type === 3 ? false : true;
  1662. item.menuId = item.menuId;
  1663. });
  1664. return resolve(res.rows);
  1665. });
  1666. }
  1667. if (node.data.type === 1) {
  1668. this.$api
  1669. .inquireCourseListmodulechapter(node.data.courseId)
  1670. .then((res) => {
  1671. res.data.forEach((item) => {
  1672. item.TypeId = 2 + "-" + item.chapterId;
  1673. item.hasChildren = true;
  1674. item.menuId = item.chapterId;
  1675. item.type = 2;
  1676. });
  1677. return resolve(res.data);
  1678. });
  1679. }
  1680. if (node.data.type === 2) {
  1681. this.$api
  1682. .inquireCoursechaptersectionlist(node.data.menuId)
  1683. .then((res) => {
  1684. res.data.forEach((item) => {
  1685. item.TypeId = 3 + "-" + item.sectionId;
  1686. item.type = 3;
  1687. });
  1688. return resolve(res.data);
  1689. });
  1690. }
  1691. if (node.data.type === 3) {
  1692. return resolve([]);
  1693. }
  1694. }
  1695. },
  1696. diaviosTK(ids) {
  1697. this.$api.inquireGoodsbanklist({ goodsId: ids }).then((res) => {
  1698. res.data.forEach((item) => {
  1699. item.TypeId = item.type + "-" + item.majorId;
  1700. item.hasChildren = item.type === 3 ? false : true;
  1701. });
  1702. this.treeDatas2 = res.data;
  1703. this.diaviosTKOpen = true;
  1704. });
  1705. },
  1706. loadNode2(node, resolve) {
  1707. if (node.level === 0) {
  1708. return resolve(this.treeDatas2);
  1709. } else {
  1710. if (node.data.type === 1) {
  1711. this.$api
  1712. .inquireBankchapterModule({ moduleExamId: node.data.majorId })
  1713. .then((res) => {
  1714. res.data.forEach((item) => {
  1715. item.TypeId = 2 + "-" + item.chapterExamId;
  1716. item.menuId = item.chapterExamId;
  1717. item.type = 2;
  1718. });
  1719. return resolve(res.data);
  1720. });
  1721. }
  1722. if (node.data.type === 2) {
  1723. this.$api
  1724. .inquirebankchapterexamList({
  1725. chapterExamId: node.data.majorId,
  1726. })
  1727. .then((res) => {
  1728. res.data.forEach((item) => {
  1729. item.TypeId = 3 + "-" + item.examId;
  1730. item.type = 3;
  1731. });
  1732. return resolve(res.data);
  1733. });
  1734. }
  1735. if (node.data.type === 3) {
  1736. return resolve([]);
  1737. }
  1738. }
  1739. },
  1740. timeStyle(column) {
  1741. if (column.columnIndex === 0 && this.navText.firstColLeft) {
  1742. return "text-align:left!important; padding-left: 40px;";
  1743. }
  1744. },
  1745. //初始化
  1746. initTR() {
  1747. this.cities = [];
  1748. this.checkedCities = [];
  1749. this.checkAll = true;
  1750. this.isIndeterminate = false;
  1751. this.tableSet.forEach((item, index) => {
  1752. this.cities.push(item.label);
  1753. if (item.hidden) {
  1754. this.checkedCities.push(item.label);
  1755. }
  1756. });
  1757. if (this.checkedCities.length === 0) {
  1758. this.isIndeterminate = false;
  1759. } else if (this.checkedCities.length === this.cities.length) {
  1760. this.isIndeterminate = false;
  1761. this.checkAll = true;
  1762. } else {
  1763. this.isIndeterminate = true;
  1764. this.checkAll = false;
  1765. }
  1766. },
  1767. //自定义列全选按钮触发
  1768. handleCheckAllChange(val) {
  1769. console.log(val, 123);
  1770. this.checkedCities = val ? this.cities : [];
  1771. this.isIndeterminate = false;
  1772. if (val) {
  1773. this.tableSet.forEach((item, index) => {
  1774. item.hidden = true;
  1775. });
  1776. } else {
  1777. this.tableSet.forEach((item, index) => {
  1778. item.hidden = false;
  1779. });
  1780. }
  1781. },
  1782. // 勾选自定义列子选项
  1783. handleCheckedCitiesChange(value) {
  1784. let checkedCount = value.length;
  1785. this.checkAll = checkedCount === this.cities.length;
  1786. this.isIndeterminate =
  1787. checkedCount > 0 && checkedCount < this.cities.length;
  1788. },
  1789. checkboxChange(v, e) {
  1790. this.tableSet.forEach((item) => {
  1791. if (item.label === v) {
  1792. item.hidden = e;
  1793. }
  1794. });
  1795. },
  1796. //自定义列重置
  1797. initVue() {
  1798. // this.$emit("initTableset");
  1799. this.tableSet = JSON.parse(this.inittableSet);
  1800. this.initTR();
  1801. },
  1802. // 下移
  1803. downMove(option, index) {
  1804. if (index !== this.tableSet.length - 1) {
  1805. this.tableSet[index] = this.tableSet.splice(
  1806. index + 1,
  1807. 1,
  1808. this.tableSet[index]
  1809. )[0];
  1810. this.cities[index] = this.cities.splice(
  1811. index + 1,
  1812. 1,
  1813. this.cities[index]
  1814. )[0];
  1815. } else {
  1816. this.tableSet.unshift(this.tableSet.splice(index, 1)[0]);
  1817. this.cities.unshift(this.cities.splice(index, 1)[0]);
  1818. }
  1819. },
  1820. // 上移
  1821. upMove(option, index) {
  1822. if (index != 0) {
  1823. this.tableSet[index] = this.tableSet.splice(
  1824. index - 1,
  1825. 1,
  1826. this.tableSet[index]
  1827. )[0];
  1828. this.cities[index] = this.cities.splice(
  1829. index - 1,
  1830. 1,
  1831. this.cities[index]
  1832. )[0];
  1833. } else {
  1834. this.tableSet.push(this.tableSet.shift());
  1835. this.cities.push(this.cities.shift());
  1836. }
  1837. },
  1838. //跳转页面
  1839. jumpPage(options) {
  1840. this.$router.push({
  1841. path: "dictData",
  1842. query: {
  1843. dictId: options.dictId,
  1844. dictType: options.dictType,
  1845. },
  1846. });
  1847. },
  1848. //跳转页面
  1849. jumpPageLabel(options) {
  1850. this.$router.push({
  1851. path: "labelInfos",
  1852. query: {
  1853. id: options.id,
  1854. },
  1855. });
  1856. }, //跳转页面
  1857. jumpPageLabelProfess(options) {
  1858. this.$router.push({
  1859. path: "labelInfos",
  1860. query: {
  1861. id: options.labelId,
  1862. },
  1863. });
  1864. },
  1865. jumpinfoJump(options) {
  1866. this.$router.push({
  1867. path: "beneficiaryInfos",
  1868. query: {
  1869. id: options.payeeId,
  1870. },
  1871. });
  1872. },
  1873. //新增按钮
  1874. addClick() {
  1875. this.$emit("addClick");
  1876. },
  1877. //将选中值传回调用组件
  1878. backFather() {
  1879. this.$emit("emitData", this.allCheckData);
  1880. },
  1881. edit() {},
  1882. selectAll(value) {
  1883. this.allCheckData = value;
  1884. },
  1885. select(value) {
  1886. this.allCheckData = value;
  1887. },
  1888. load(tree, treeNode, resolve) {
  1889. this.$emit("load", tree, treeNode, resolve);
  1890. },
  1891. editInfo(option, int) {
  1892. if (int === 3) {
  1893. this.$emit("aboutGoods", option);
  1894. } else {
  1895. this.$emit("editInfo", option);
  1896. }
  1897. },
  1898. jumpPeolpe(item, type) {
  1899. if (type === 1) {
  1900. this.$router.push({
  1901. path: "applicationData",
  1902. query: {
  1903. id: item.applyId,
  1904. type: type,
  1905. },
  1906. });
  1907. }
  1908. if (type === 2) {
  1909. this.$router.push({
  1910. path: "applicationData",
  1911. query: {
  1912. id: item.beforeId,
  1913. type: type,
  1914. },
  1915. });
  1916. }
  1917. },
  1918. getxq(option) {
  1919. this.$emit("getxq", option.userId);
  1920. },
  1921. openVideo(url) {
  1922. this.videoUrls = url;
  1923. this.diaBox = true;
  1924. },
  1925. closeBeforefs() {
  1926. this.diaBox = false;
  1927. },
  1928. },
  1929. };
  1930. </script>
  1931. <style lang="less">
  1932. .max-heightStyles{
  1933. max-height: 500px;
  1934. overflow-y: auto;
  1935. }
  1936. .overSty {
  1937. white-space: nowrap;
  1938. overflow-x: auto;
  1939. &::-webkit-scrollbar {
  1940. width: 14px;
  1941. height: 14px;
  1942. }
  1943. &::-webkit-scrollbar-track,
  1944. &::-webkit-scrollbar-thumb {
  1945. border-radius: 999px;
  1946. border: 5px solid transparent;
  1947. }
  1948. &::-webkit-scrollbar-track {
  1949. box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2) inset;
  1950. }
  1951. &::-webkit-scrollbar-thumb {
  1952. min-height: 20px;
  1953. background-clip: content-box;
  1954. box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.2) inset;
  1955. }
  1956. &::-webkit-scrollbar-corner {
  1957. background: transparent;
  1958. }
  1959. }
  1960. .slotPopper {
  1961. padding: 0px !important;
  1962. }
  1963. </style>
  1964. <style lang="less" scoped>
  1965. #tableList {
  1966. padding: 0px 16px 16px;
  1967. border-radius: 8px;
  1968. box-shadow: 0px 0px 9px 1px rgba(28, 41, 90, 0.1);
  1969. background: #ffffff;
  1970. .headerNavTool {
  1971. height: 72px;
  1972. display: flex;
  1973. justify-content: space-between;
  1974. align-items: center;
  1975. .rightBtnBox {
  1976. display: flex;
  1977. align-items: center;
  1978. }
  1979. }
  1980. }
  1981. .popoverDis {
  1982. display: flex;
  1983. flex-direction: column;
  1984. align-items: flex-start;
  1985. font-size: 14px;
  1986. .checkboxHeader {
  1987. height: 40px;
  1988. display: flex;
  1989. align-items: center;
  1990. justify-content: space-between;
  1991. padding-left: 13px;
  1992. padding-right: 15px;
  1993. width: 100%;
  1994. .initbtns {
  1995. color: #47a6ff;
  1996. cursor: pointer;
  1997. }
  1998. }
  1999. .checkboxGroup {
  2000. display: flex;
  2001. flex-direction: column;
  2002. width: 100%;
  2003. .checkboxchild {
  2004. width: 100%;
  2005. justify-content: space-between;
  2006. height: 40px;
  2007. display: flex;
  2008. align-items: center;
  2009. padding: 0px 15px 0px 13px;
  2010. transition: all 0.4s;
  2011. &:hover {
  2012. background-color: #ecf5ff;
  2013. }
  2014. &:hover .icon-right {
  2015. display: flex;
  2016. }
  2017. .icon-right {
  2018. display: flex;
  2019. align-items: center;
  2020. width: 30px;
  2021. height: 30px;
  2022. color: #666;
  2023. font-size: 14px;
  2024. display: none;
  2025. i {
  2026. cursor: pointer;
  2027. margin: 0px 3px;
  2028. &:hover {
  2029. color: #47a6ff;
  2030. }
  2031. }
  2032. }
  2033. }
  2034. }
  2035. }
  2036. /deep/.el-checkbox__input.is-checked + .el-checkbox__label {
  2037. color: #666;
  2038. }
  2039. .imgboxsq {
  2040. margin: 0 auto;
  2041. height: 60px;
  2042. max-height: 60px;
  2043. .el_images {
  2044. /deep/.el-image__inner {
  2045. width: auto;
  2046. }
  2047. }
  2048. }
  2049. .imgHover {
  2050. width: 100%;
  2051. height: 100%;
  2052. cursor: pointer;
  2053. }
  2054. .cvideo {
  2055. transition: all 0.2s;
  2056. color: #333;
  2057. cursor: pointer;
  2058. font-size: 30px;
  2059. }
  2060. .cvideo:hover {
  2061. color: #47a6ff;
  2062. }
  2063. .editInfoSty {
  2064. cursor: pointer;
  2065. color: blue;
  2066. }
  2067. .ulAuto {
  2068. display: flex;
  2069. justify-content: center;
  2070. align-items: center;
  2071. }
  2072. .ulAutos {
  2073. display: flex;
  2074. align-items: center;
  2075. justify-content: center;
  2076. }
  2077. .dis_sdt {
  2078. display: flex;
  2079. align-items: flex-end;
  2080. ul {
  2081. margin: 0px;
  2082. li {
  2083. text-align: left;
  2084. }
  2085. }
  2086. }
  2087. .jumpClass {
  2088. color: #333;
  2089. cursor: pointer;
  2090. }
  2091. .jumpStys {
  2092. color: blue;
  2093. cursor: pointer;
  2094. }
  2095. </style>