tableList.vue 65 KB

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