tableList.vue 83 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754
  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. :reserve-selection="navText.openCheckMore"
  96. align="center"
  97. type="selection"
  98. width="55"
  99. header-align="center"
  100. fixed="left"
  101. >
  102. </el-table-column>
  103. <!-- v-if="navText.num" ↓ -->
  104. <el-table-column
  105. v-if="navText.dontNum ? false : true"
  106. type="index"
  107. label="序号"
  108. width="70"
  109. align="center"
  110. header-align="center"
  111. >
  112. </el-table-column>
  113. <af-table-column
  114. v-for="(item, index) in compTableSet(tableSet)"
  115. :width="item.width"
  116. :label="item.label"
  117. :align="item.dontCenter ? 'left' : '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. :key="index"
  125. >
  126. <template slot-scope="scope">
  127. <div class="imgboxsq" v-if="item.scope === 'img'">
  128. <img
  129. style="height: 60px; width: 60px"
  130. v-if="!scope.row[item.prop]"
  131. src="@/assets/404_images/wuyuxaog.png"
  132. alt=""
  133. />
  134. <el-image
  135. v-else
  136. class="el_images"
  137. lazy
  138. :src="$methodsTools.splitImgHost(scope.row[item.prop])"
  139. style="height: 100%; width: 100%"
  140. :preview-src-list="[
  141. $methodsTools.splitImgHost(scope.row[item.prop]),
  142. ]"
  143. alt="加载失败"
  144. >
  145. </el-image>
  146. </div>
  147. <span v-else-if="item.scope === 'status'">{{
  148. Number(scope.row[item.prop]) === 1
  149. ? "启用"
  150. : Number(scope.row[item.prop]) === 0
  151. ? "关闭"
  152. : Number(scope.row[item.prop]) === -1
  153. ? "已删除"
  154. : "未知"
  155. }}</span>
  156. <span v-else-if="item.scope === 'hasTime'">{{
  157. Number(scope.row[item.prop]) === 1
  158. ? "有效"
  159. : Number(scope.row[item.prop]) === 0
  160. ? "无效"
  161. : "未知"
  162. }}</span>
  163. <span v-else-if="item.scope === 'statusZpFB'">{{
  164. Number(scope.row[item.prop]) === 1
  165. ? "未发布"
  166. : Number(scope.row[item.prop]) === 2
  167. ? "已发布"
  168. : Number(scope.row[item.prop]) === 0
  169. ? "停用"
  170. : Number(scope.row[item.prop]) === -1
  171. ? "已删除"
  172. : "未知"
  173. }}</span>
  174. <span v-else-if="item.scope === 'reStatus'">{{
  175. Number(scope.row[item.prop]) === 1
  176. ? "定时发布"
  177. : Number(scope.row[item.prop]) === 0
  178. ? "手动发布"
  179. : "未知"
  180. }}</span>
  181. <span v-else-if="item.scope === 'fabStatus'">{{
  182. Number(scope.row[item.prop]) === 1
  183. ? "发布"
  184. : Number(scope.row[item.prop]) === 0
  185. ? "未发布"
  186. : "未知"
  187. }}</span>
  188. <span v-else-if="item.scope === 'sectionTypes'">{{
  189. Number(scope.row[item.prop]) === 2
  190. ? "录播"
  191. : Number(scope.row[item.prop]) === 1
  192. ? "直播"
  193. : Number(scope.row[item.prop]) === 3
  194. ? "回放"
  195. : "未知"
  196. }}</span>
  197. <span v-else-if="item.scope === 'getShops'">
  198. {{
  199. scope.row["goodsCode"] +
  200. "-" +
  201. scope.row["goodsName"] +
  202. " (" +
  203. scope.row["educationName"] +
  204. "-" +
  205. scope.row["projectName"] +
  206. "-" +
  207. scope.row["businessName"] +
  208. ")"
  209. }}
  210. </span>
  211. <span
  212. v-else-if="
  213. item.scope === 'treeWatch' &&
  214. (scope.row['goodsType'] === 1 || scope.row['goodsType'] === 2)
  215. "
  216. style="color: blue"
  217. @click="
  218. scope.row['goodsType'] === 1
  219. ? diavios(scope.row['goodsId'])
  220. : diaviosTK(scope.row['goodsId'])
  221. "
  222. >结构树视图</span
  223. >
  224. <span v-else-if="item.scope === 'leftCh'">
  225. {{ item.ch }}{{ scope.row[item.prop] }}
  226. </span>
  227. <span
  228. v-else-if="item.scope === 'goodsIds'"
  229. class="editInfoSty"
  230. @click="editInfo(scope.row, 3)"
  231. >
  232. {{
  233. !scope.row[item.prop]
  234. ? 0
  235. : scope.row[item.prop].split(",").map(Number).length
  236. }}
  237. </span>
  238. <span
  239. v-else-if="item.scope === 'aboutClassNum'"
  240. style="color: blue; cursor: pointer"
  241. @click="openClassNumDio(scope.row['goodsId'], scope.row[item.prop])"
  242. >
  243. {{ scope.row[item.prop] }}
  244. </span>
  245. <span
  246. v-else-if="item.scope === 'AjumpPeolpe'"
  247. class="editInfoSty"
  248. @click="jumpPeolpe(scope.row, item.type)"
  249. >
  250. {{ `${scope.row[item.prop]}` }}
  251. </span>
  252. <span
  253. v-else-if="item.scope === 'jumpPeolpe'"
  254. class="editInfoSty"
  255. @click="jumpPeolpe(scope.row, item.type)"
  256. >
  257. {{ `${scope.row[item.prop]} / ${scope.row[item.prop1]}` }}
  258. </span>
  259. <span v-else-if="item.scope === 'sectionTypesTTT'">{{
  260. Number(scope.row[item.prop]) === 1
  261. ? "录播"
  262. : Number(scope.row[item.prop]) === 2
  263. ? "直播"
  264. : Number(scope.row[item.prop]) === 3
  265. ? "回放"
  266. : ""
  267. }}</span>
  268. <span v-else-if="item.scope === 'liveAndUrl'">{{
  269. scope.row[item.prop] == 2
  270. ? scope.row[item.prop2]
  271. : scope.row[item.prop1]
  272. }}</span>
  273. <span v-else-if="item.scope === 'ggType'">{{
  274. Number(scope.row[item.prop]) === 1
  275. ? "学习中心"
  276. : Number(scope.row[item.prop]) === 2
  277. ? "求职中心"
  278. : "未知"
  279. }}</span>
  280. <ul v-else-if="item.scope === 'mapTypesTeacher'" class="ulAuto">
  281. <template v-for="(itm, inds) in scope.row[item.prop]">
  282. <li :key="inds" v-if="inds < 2">
  283. {{ `${itm.educationName}-${itm.projectName}`
  284. }}{{ inds === 0 ? ", " : "" }}
  285. </li>
  286. </template>
  287. <el-popover :key="Math.random()" placement="right" trigger="click">
  288. <ul>
  289. <li v-for="(itm, inds) in scope.row[item.prop]" :key="inds">
  290. {{ inds + 1 }}、
  291. {{ itm.educationName + "-" + itm.projectName }}
  292. </li>
  293. </ul>
  294. <el-button
  295. slot="reference"
  296. style="margin-left: 6px"
  297. type="text"
  298. v-if="scope.row[item.prop].length > 2"
  299. size="mini"
  300. >更多</el-button
  301. >
  302. </el-popover>
  303. </ul>
  304. <span v-else-if="item.scope === 'goodsInfos'">
  305. {{ scope.row[item.prop1] + "-" + scope.row[item.prop2] + "-"
  306. }}<span style="color: red">¥{{ scope.row[item.prop3] }}</span>
  307. </span>
  308. <div v-else-if="item.scope === 'applyInfos'">
  309. <div v-for="(items, indexs) in scope.row[item.prop]" :key="indexs">
  310. <div>{{ items.siteAddress }}</div>
  311. <div
  312. v-for="(itemsxs, indexsxs) in items.examApplySiteTime"
  313. :key="indexsxs"
  314. >
  315. <div v-for="(ks, ds) in itemsxs.siteTime" :key="ds">
  316. {{ $methodsTools.onlyForma(itemsxs.examTime, false) }}
  317. {{ ks.startTime.replace("-", ":") }}-{{
  318. ks.endTime.replace("-", ":")
  319. }}
  320. </div>
  321. </div>
  322. </div>
  323. </div>
  324. <ul v-else-if="item.scope === 'moreGoodsList'" class="ulAuto">
  325. <template v-for="(itm, inds) in scope.row[item.prop]">
  326. <li :key="inds" v-if="inds < 1">
  327. {{ itm[item.prop1] + "-" + itm[item.prop2] + "-" }}
  328. <span style="color: red">¥{{ itm[item.prop3] }}</span>
  329. </li>
  330. </template>
  331. <el-popover :key="Math.random()" placement="right" trigger="click">
  332. <ul>
  333. <li v-for="(itm, inds) in scope.row[item.prop]" :key="inds">
  334. {{ inds + 1 }}、
  335. {{ itm[item.prop1] + "-" + itm[item.prop2] + "-" }}
  336. <span style="color: red">¥{{ itm[item.prop3] }}</span>
  337. </li>
  338. </ul>
  339. <el-button
  340. slot="reference"
  341. style="margin-left: 6px"
  342. type="text"
  343. v-if="scope.row[item.prop].length >= 2"
  344. size="mini"
  345. >更多</el-button
  346. >
  347. </el-popover>
  348. </ul>
  349. <ul v-else-if="item.scope === 'mapTypes'" class="ulAuto">
  350. <template v-for="(itm, inds) in scope.row[item.prop]">
  351. <li :key="inds" v-if="inds === 0">
  352. {{ itm.educationName + "-" + itm.projectName }}
  353. </li>
  354. </template>
  355. <el-popover :key="Math.random()" placement="right" trigger="click">
  356. <ul>
  357. <li v-for="(itm, inds) in scope.row[item.prop]" :key="inds">
  358. {{ inds + 1 }}、
  359. {{ itm.educationName + "-" + itm.projectName }}
  360. </li>
  361. </ul>
  362. <el-button
  363. slot="reference"
  364. style="margin-left: 6px"
  365. type="text"
  366. v-if="scope.row[item.prop].length > 1"
  367. size="mini"
  368. >更多</el-button
  369. >
  370. </el-popover>
  371. </ul>
  372. <ul v-else-if="item.scope === 'mapTypesBUS'" class="ulAuto">
  373. <template v-for="(itm, inds) in scope.row[item.prop]">
  374. <li :key="inds" v-if="inds === 0">
  375. {{
  376. itm.educationName +
  377. "-" +
  378. itm.projectName +
  379. "-" +
  380. itm.businessName
  381. }}
  382. </li>
  383. </template>
  384. <el-popover :key="Math.random()" placement="right" trigger="click">
  385. <ul>
  386. <li v-for="(itm, inds) in scope.row[item.prop]" :key="inds">
  387. {{ inds + 1 }}、
  388. {{
  389. itm.educationName +
  390. "-" +
  391. itm.projectName +
  392. "-" +
  393. itm.businessName
  394. }}
  395. </li>
  396. </ul>
  397. <el-button
  398. slot="reference"
  399. style="margin-left: 6px"
  400. type="text"
  401. v-if="scope.row[item.prop].length > 1"
  402. size="mini"
  403. >更多</el-button
  404. >
  405. </el-popover>
  406. </ul>
  407. <div v-else-if="item.scope === 'splits'" class="dis_sdt">
  408. <ul>
  409. <template v-for="(itm, inds) in scope.row[item.prop]">
  410. <li :key="inds" v-if="inds < 2">
  411. {{ itm }}
  412. </li>
  413. </template>
  414. </ul>
  415. <el-popover :key="Math.random()" placement="right" trigger="click">
  416. <ul>
  417. <li v-for="(itm, inds) in scope.row[item.prop]" :key="inds">
  418. {{ inds + 1 }}、
  419. {{ itm }}
  420. </li>
  421. </ul>
  422. <el-button
  423. slot="reference"
  424. style="margin-left: 6px"
  425. type="text"
  426. v-if="scope.row[item.prop].length > 2"
  427. size="mini"
  428. >更多</el-button
  429. >
  430. </el-popover>
  431. </div>
  432. <ul v-else-if="item.scope === 'classNums'" class="ulAutos">
  433. <li
  434. style="font-size: 12px; cursor: pointer; color: #1890ff"
  435. v-if="!scope.row[item.prop].length"
  436. >
  437. 班级({{ scope.row[item.prop].length }})
  438. </li>
  439. <el-popover :key="Math.random()" placement="right" trigger="click">
  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 :key="Math.random()" placement="right" trigger="click">
  469. <ul>
  470. <li v-for="(itm, inds) in scope.row[item.prop]" :key="inds">
  471. {{ inds + 1 }}、
  472. {{ itm.goodsName }}
  473. </li>
  474. </ul>
  475. <el-button
  476. slot="reference"
  477. style="margin-left: 6px"
  478. type="text"
  479. v-if="scope.row[item.prop].length > 1"
  480. size="mini"
  481. >更多</el-button
  482. >
  483. </el-popover>
  484. </div>
  485. <div v-else-if="item.scope === 'aboutChapter'" class="ulAuto">
  486. <ul>
  487. <template v-for="(itm, inds) in scope.row[item.prop]">
  488. <li
  489. class="jumpStys"
  490. :key="inds"
  491. v-if="inds === 0"
  492. @click="jumpPages(itm, item.int)"
  493. >
  494. {{ itm[item.prop1] }}
  495. </li>
  496. </template>
  497. </ul>
  498. <el-popover :key="Math.random()" placement="right" trigger="click">
  499. <ul>
  500. <li
  501. v-for="(itm, inds) in scope.row[item.prop]"
  502. :key="inds"
  503. class="jumpStys"
  504. @click="jumpPages(itm, item.int)"
  505. >
  506. {{ inds + 1 }}、
  507. {{ itm[item.prop1] }}
  508. </li>
  509. </ul>
  510. <el-button
  511. slot="reference"
  512. style="margin-left: 6px"
  513. type="text"
  514. v-if="scope.row[item.prop].length > 1"
  515. size="mini"
  516. >更多</el-button
  517. >
  518. </el-popover>
  519. </div>
  520. <ul v-else-if="item.scope === 'mapTypesMores'" class="ulAuto">
  521. <template v-for="(itm, inds) in scope.row[item.prop]">
  522. <li :key="inds" v-if="inds === 0">
  523. {{
  524. itm.educationName +
  525. "-" +
  526. itm.projectName +
  527. "-" +
  528. itm.businessName +
  529. "-" +
  530. itm.subjectName
  531. }}
  532. </li>
  533. </template>
  534. <el-popover :key="Math.random()" placement="right" trigger="click">
  535. <ul style="overflow: auto; max-height: 500px">
  536. <li v-for="(itm, inds) in scope.row[item.prop]" :key="inds">
  537. {{ inds + 1 }}、
  538. {{
  539. itm.educationName +
  540. "-" +
  541. itm.projectName +
  542. "-" +
  543. itm.businessName +
  544. "-" +
  545. itm.subjectName
  546. }}
  547. </li>
  548. </ul>
  549. <el-button
  550. slot="reference"
  551. style="margin-left: 6px"
  552. type="text"
  553. v-if="scope.row[item.prop].length > 1"
  554. size="mini"
  555. >更多</el-button
  556. >
  557. </el-popover>
  558. </ul>
  559. <span v-else-if="item.scope === 'statusRe'">{{
  560. Number(scope.row[item.prop]) === 0
  561. ? "已删除"
  562. : Number(scope.row[item.prop]) === 1 &&
  563. Number(scope.row["reStatus"]) === 1
  564. ? "待发布"
  565. : Number(scope.row[item.prop]) === 1 &&
  566. Number(scope.row["reStatus"]) === 0
  567. ? "未发布"
  568. : Number(scope.row[item.prop]) === 2
  569. ? "已撤回"
  570. : Number(scope.row[item.prop]) === 3
  571. ? "已发布"
  572. : Number(scope.row[item.prop]) === 4
  573. ? "已到期"
  574. : "未知"
  575. }}</span>
  576. <div v-else-if="item.scope === 'htmlInfo'">
  577. <bankMsg ref="bankMsg" :bankMsg="scope.row" />
  578. </div>
  579. <span v-else-if="item.scope === 'TimeVoBtn'">
  580. <el-popover :key="Math.random()" placement="left" trigger="click">
  581. <div
  582. v-for="(items, indexs) in scope.row[item.prop]"
  583. :key="indexs"
  584. style="margin-bottom: 6px"
  585. >
  586. {{ $methodsTools.onlyForma(items.startTime) }} ~
  587. {{ $methodsTools.onlyForma(items.endTime) }}
  588. </div>
  589. <el-button slot="reference" size="mini">查看</el-button>
  590. </el-popover>
  591. </span>
  592. <div v-else-if="item.scope === 'video'">
  593. <i
  594. v-if="scope.row[item.prop][item.prop1] !== null"
  595. class="el-icon-video-play cvideo"
  596. @click="
  597. openVideo(
  598. $methodsTools.splitImgHost(scope.row[item.prop][item.prop1])
  599. )
  600. "
  601. ></i>
  602. </div>
  603. <div
  604. v-else-if="item.scope === 'PDF'"
  605. style="display: flex; align-items: center"
  606. >
  607. <a
  608. v-if="scope.row[item.prop][item.prop1] !== null"
  609. :href="
  610. $methodsTools.splitImgHost(scope.row[item.prop][item.prop1])
  611. "
  612. target="_blank"
  613. style="
  614. display: block;
  615. width: 35px;
  616. height: 45px;
  617. margin-right: 10px;
  618. "
  619. >
  620. <img class="imgHover" src="@/assets/images/pdf@3x.png" alt="" />
  621. </a>
  622. <div>{{ scope.row[item.prop][item.prop2] }}</div>
  623. </div>
  624. <span v-else-if="item.scope === 'Salary'">
  625. {{ scope.row[item.prop1] === 1 ? "月薪" : "年薪" }}
  626. {{
  627. scope.row[item.prop2] === scope.row[item.prop3]
  628. ? scope.row[item.prop2]
  629. : scope.row[item.prop2] + "~" + scope.row[item.prop3]
  630. }}
  631. </span>
  632. <div v-else-if="item.scope === 'changAdress'">
  633. <div>{{ scope.row[item.prop1] }}</div>
  634. <div>
  635. {{ $methodsTools.onlyForma(scope.row[item.prop2], false) }}
  636. <span
  637. >{{ scope.row[item.prop3] }}-{{ scope.row[item.prop4] }}</span
  638. >
  639. </div>
  640. </div>
  641. <span v-else-if="item.scope === 'activityType'">{{
  642. Number(scope.row[item.prop]) === 0
  643. ? "优惠券"
  644. : Number(scope.row[item.prop]) === 1
  645. ? "折扣券"
  646. : Number(scope.row[item.prop]) === 2
  647. ? "线上直播"
  648. : Number(scope.row[item.prop]) === 3
  649. ? "定价"
  650. : Number(scope.row[item.prop]) === 4
  651. ? "优惠"
  652. : Number(scope.row[item.prop]) === 5
  653. ? "折扣"
  654. : Number(scope.row[item.prop]) === 6
  655. ? "线下活动"
  656. : "未知"
  657. }}</span>
  658. <span v-else-if="item.scope === 'activityRemarks'">{{
  659. Number(scope.row[item.prop]) === 0
  660. ? "金额:¥" + scope.row["price"]
  661. : Number(scope.row[item.prop]) === 1
  662. ? "折扣:" + scope.row["price"] + "折"
  663. : Number(scope.row[item.prop]) === 2
  664. ? "直播内容:" + scope.row["liveContent"]
  665. : Number(scope.row[item.prop]) === 3
  666. ? "商品金额:¥" + scope.row["price"]
  667. : Number(scope.row[item.prop]) === 4
  668. ? "优惠金额:¥" + scope.row["price"]
  669. : Number(scope.row[item.prop]) === 5
  670. ? "商品折扣:" + scope.row["price"] + "折"
  671. : Number(scope.row[item.prop]) === 6
  672. ? "活动地点:" + scope.row["liveAdress"]
  673. : "未知"
  674. }}</span>
  675. <span v-else-if="item.scope === 'isUrgent'">{{
  676. scope.row[item.prop] === 0
  677. ? "不是"
  678. : scope.row[item.prop] === 1
  679. ? "是"
  680. : "未知"
  681. }}</span>
  682. <span v-else-if="item.scope === 'convert'">{{
  683. $methodsTools.secondToDate(scope.row[item.prop], false)
  684. }}</span>
  685. <div v-else-if="item.scope === 'studentServicePeriod'">
  686. <span v-if="scope.row[item.prop1] === 1"
  687. >{{ scope.row[item.prop2] }}年</span
  688. >
  689. <span v-if="scope.row[item.prop1] === 2"
  690. >{{ scope.row[item.prop2] }}月</span
  691. >
  692. <span v-if="scope.row[item.prop1] === 3"
  693. >{{ scope.row[item.prop2] }}日</span
  694. >
  695. <span v-if="scope.row[item.prop1] === 4">
  696. {{ $methodsTools.onlyForma(scope.row[item.prop3]) }}
  697. {{ scope.row[item.prop3] && scope.row[item.prop4] ? "至" : "" }}
  698. {{ $methodsTools.onlyForma(scope.row[item.prop4]) }}
  699. </span>
  700. </div>
  701. <span v-else-if="item.scope === 'gfStatus'">{{
  702. scope.row[item.prop] === 0
  703. ? "否"
  704. : scope.row[item.prop] === 1
  705. ? "是"
  706. : "未知"
  707. }}</span>
  708. <span v-else-if="item.scope === 'refundPrice'">
  709. {{
  710. scope.row["goodsRealPrice"] >= 0 &&
  711. scope.row["goodsReceived"] >= 0
  712. ? Number(scope.row["goodsRealPrice"]) -
  713. Number(scope.row["goodsReceived"]) +
  714. "元"
  715. : ""
  716. }}
  717. </span>
  718. <div v-else-if="item.scope === 'periodStatusShow'">
  719. {{
  720. scope.row[item.prop] === 2
  721. ? "同意,待退款"
  722. : scope.row[item.prop] === 3
  723. ? "同意,已退款"
  724. : "待审核"
  725. }}
  726. </div>
  727. <span v-else-if="item.scope === 'peopleNum'">{{
  728. scope.row[item.prop] === 0 ? "不限制" : scope.row[item.prop]
  729. }}</span>
  730. <span v-else-if="item.scope === 'address'"
  731. >{{
  732. scope.row[item.prop1] +
  733. scope.row[item.prop2] +
  734. scope.row[item.prop3]
  735. }}{{ scope.row[item.prop4] ? scope.row[item.prop4] : "" }}</span
  736. >
  737. <span v-else-if="item.scope === 'statusActivity'">{{
  738. Number(scope.row[item.prop]) === 0
  739. ? "已删除"
  740. : Number(scope.row[item.prop]) === 1
  741. ? "已结束"
  742. : Number(scope.row[item.prop]) === 2
  743. ? "已撤回"
  744. : Number(scope.row[item.prop]) === 3
  745. ? "已开始"
  746. : Number(scope.row[item.prop]) === 4
  747. ? "未开始"
  748. : "未知"
  749. }}</span>
  750. <span v-else-if="item.scope === 'sex'">
  751. {{
  752. scope.row[item.prop] == 1
  753. ? "男"
  754. : scope.row[item.prop] == 2
  755. ? "女"
  756. : "未知"
  757. }}
  758. </span>
  759. <span v-else-if="item.scope === 'statusFB'">{{
  760. scope.row[item.prop] === 0
  761. ? "删除"
  762. : scope.row[item.prop] === 1
  763. ? "发布"
  764. : scope.row[item.prop] === 2
  765. ? "撤回"
  766. : scope.row[item.prop] === 3
  767. ? "未发布"
  768. : "未知"
  769. }}</span>
  770. <span v-else-if="item.scope === 'typeStatus'">{{
  771. scope.row[item.prop] === 0
  772. ? "报名指引"
  773. : scope.row[item.prop] === 1
  774. ? "打印准考证"
  775. : scope.row[item.prop] === 2
  776. ? "成绩查询指引"
  777. : "未知"
  778. }}</span>
  779. <span v-else-if="item.scope === 'typeId'">{{
  780. scope.row[item.prop] === 1
  781. ? "普通练习"
  782. : scope.row[item.prop] === 2
  783. ? "押题试卷"
  784. : scope.row[item.prop] === 3
  785. ? "真题试卷"
  786. : "未知"
  787. }}</span>
  788. <span v-else-if="item.scope === 'taskType'">{{
  789. scope.row[item.prop] === 0
  790. ? "每日签到"
  791. : scope.row[item.prop] === 1
  792. ? "完善信息"
  793. : scope.row[item.prop] === 2
  794. ? "邀请好友"
  795. : scope.row[item.prop] === 3
  796. ? "每日分享"
  797. : scope.row[item.prop] === 4
  798. ? "视频学习"
  799. : scope.row[item.prop] === 5
  800. ? "模拟考试"
  801. : "未知"
  802. }}</span>
  803. <span v-else-if="item.scope === 'releaseType'">{{
  804. scope.row[item.prop] === 0
  805. ? "手动发布"
  806. : scope.row[item.prop] === 1
  807. ? "定时发布"
  808. : "未知"
  809. }}</span>
  810. <span v-else-if="item.scope === 'releaseStatus'">{{
  811. scope.row[item.prop] === 0
  812. ? "删除"
  813. : scope.row[item.prop] === 1
  814. ? "待发布"
  815. : scope.row[item.prop] === 2
  816. ? "撤回"
  817. : scope.row[item.prop] === 3
  818. ? "发布成功"
  819. : scope.row[item.prop] === 4
  820. ? "未发布"
  821. : scope.row[item.prop] === 5
  822. ? "已结束"
  823. : "未知"
  824. }}</span>
  825. <div v-else-if="item.scope === 'knowledge'" class="overSty">
  826. <el-button
  827. type="success"
  828. size="small"
  829. v-for="(items, ks) in scope.row[item.prop]"
  830. :key="ks"
  831. >
  832. {{ items.knowledgeName }}
  833. </el-button>
  834. </div>
  835. <span v-else-if="item.scope === 'numberAll'">{{
  836. scope.row[item.prop1] + scope.row[item.prop2]
  837. }}</span>
  838. <span v-else-if="item.scope === 'moreLists'">{{
  839. scope.row[item.prop1] + " ~ " + scope.row[item.prop2]
  840. }}</span>
  841. <span v-else-if="item.scope === 'resultType'">
  842. {{ scope.row[item.prop1] }}
  843. <span
  844. :style="
  845. scope.row[item.prop2] === 1
  846. ? 'color:purple'
  847. : scope.row[item.prop2] === 0
  848. ? 'color:red;'
  849. : ''
  850. "
  851. >
  852. {{
  853. scope.row[item.prop2] === 1
  854. ? "通过"
  855. : scope.row[item.prop2] === 0
  856. ? "不通过"
  857. : ""
  858. }}
  859. </span>
  860. </span>
  861. <span v-else-if="item.scope === 'TimeLists'"
  862. >{{ $methodsTools.onlyForma(scope.row[item.prop1], item.Diszing) }}
  863. {{
  864. $methodsTools.onlyForma(scope.row[item.prop2], item.Diszing)
  865. }}</span
  866. >
  867. <span v-else-if="item.scope === 'aTimeList'">{{
  868. scope.row[item.prop] === null
  869. ? "--"
  870. : $methodsTools.onlyForma(scope.row[item.prop])
  871. }}</span>
  872. <div v-else-if="item.scope === 'inputs'">
  873. <el-input-number
  874. style="width: 50px"
  875. size="small"
  876. :controls="false"
  877. v-model="scope.row[item.prop]"
  878. controls-position="right"
  879. :min="0"
  880. ></el-input-number>
  881. </div>
  882. <span v-else-if="item.scope === 'topic'">{{
  883. scope.row[item.prop] === 1
  884. ? "单选题"
  885. : scope.row[item.prop] === 2
  886. ? "多选题"
  887. : scope.row[item.prop] === 3
  888. ? "判断题"
  889. : scope.row[item.prop] === 4
  890. ? "案例题"
  891. : scope.row[item.prop] === 5
  892. ? "简答题"
  893. : "未知"
  894. }}</span>
  895. <span v-else-if="item.scope === 'typeStatusName'">{{
  896. scope.row[item.prop] === 1
  897. ? "扫码支付"
  898. : scope.row[item.prop] === 2
  899. ? "刷卡支付"
  900. : scope.row[item.prop] === 3
  901. ? "现金支付"
  902. : scope.row[item.prop] === 4
  903. ? "转账"
  904. : "未知"
  905. }}</span>
  906. <span v-else-if="item.scope === 'teachers'">
  907. <span v-for="(itm, indm) in scope.row[item.prop]" :key="indm"
  908. >{{ itm.nickName
  909. }}{{ indm !== scope.row[item.prop].length - 1 ? "," : "" }}</span
  910. >
  911. </span>
  912. <span v-else-if="item.scope === 'streamType'">{{
  913. scope.row[item.prop] === 1
  914. ? "正式"
  915. : scope.row[item.prop] === 2
  916. ? "测试"
  917. : "未知"
  918. }}</span>
  919. <span
  920. v-else-if="item.scope === 'statusPeriods'"
  921. :style="scope.row[item.prop] === 1 ? 'color:red' : ''"
  922. >
  923. {{
  924. scope.row[item.prop] === -1
  925. ? "不可审核"
  926. : scope.row[item.prop] === 2
  927. ? "待审核"
  928. : scope.row[item.prop] === 0
  929. ? "未通过"
  930. : scope.row[item.prop] === 1
  931. ? "通过"
  932. : scope.row[item.prop] === 3
  933. ? "审核中"
  934. : ""
  935. }}
  936. </span>
  937. <span
  938. v-else-if="item.scope === 'statusPeriod'"
  939. :style="scope.row[item.prop] === 2 ? 'color:red' : ''"
  940. >
  941. {{
  942. scope.row[item.prop] === -1
  943. ? "不可审核"
  944. : scope.row[item.prop] === 2
  945. ? "待审核"
  946. : scope.row[item.prop] === 0
  947. ? "未通过"
  948. : scope.row[item.prop] === 1
  949. ? "通过"
  950. : scope.row[item.prop] === 3
  951. ? "审核中"
  952. : ""
  953. }}
  954. </span>
  955. <div v-else-if="item.scope === 'changeCLS'">
  956. <div
  957. v-if="!scope.row['interfacePushId'] && !scope.row['periodPlush']"
  958. >
  959. <div v-if="scope.row[item.prop] === 1" style="color: red">
  960. 有变更<span
  961. style="margin-left: 6px; color: blue; cursor: pointer"
  962. @click="isShowBoxsFun(scope.row)"
  963. >查看</span
  964. >
  965. </div>
  966. <span v-else> 正常 </span>
  967. </div>
  968. <template v-else>
  969. <div
  970. v-if="
  971. scope.row['interfacePushId'] === 1 &&
  972. !scope.row['periodPlush']
  973. "
  974. >
  975. <div v-if="scope.row[item.prop] === 1">
  976. <div
  977. v-if="
  978. scope.row['officialStatusTime'] &&
  979. scope.row['userUpdates'][0].createTime <
  980. scope.row['officialStatusTime']
  981. "
  982. >
  983. 正常
  984. </div>
  985. <div v-else style="color: red">
  986. 有变更<span
  987. style="margin-left: 6px; color: blue; cursor: pointer"
  988. @click="isShowBoxsFun(scope.row)"
  989. >查看</span
  990. >
  991. </div>
  992. </div>
  993. <span v-else> 正常 </span>
  994. </div>
  995. <div
  996. v-if="
  997. scope.row['interfacePushId'] === 1 &&
  998. scope.row['periodPlush'] === 1
  999. "
  1000. >
  1001. <div v-if="scope.row[item.prop] === 1">
  1002. <div
  1003. v-if="
  1004. scope.row['officialStatusTime'] &&
  1005. scope.row['userUpdates'][0].createTime <
  1006. scope.row['officialStatusTime']
  1007. "
  1008. >
  1009. 正常
  1010. </div>
  1011. <div v-else style="color: purple">
  1012. 有变更<span
  1013. style="margin-left: 6px; color: blue; cursor: pointer"
  1014. @click="isShowBoxsFun(scope.row)"
  1015. >查看</span
  1016. >
  1017. </div>
  1018. </div>
  1019. <span v-else> 正常 </span>
  1020. </div>
  1021. </template>
  1022. </div>
  1023. <div v-else-if="item.scope === 'rebuy'">
  1024. <span>{{ scope.row[item.prop] === 1 ? "是" : "" }}</span>
  1025. <span
  1026. v-if="scope.row[item.prop] === 1"
  1027. style="margin-left: 6px; color: blue; cursor: pointer"
  1028. @click="isShowRebuy(scope.row)"
  1029. >查看</span
  1030. >
  1031. </div>
  1032. <span
  1033. v-else-if="item.scope === 'finishStatus'"
  1034. :style="scope.row[item.prop] === 0 ? 'color:red' : ''"
  1035. >
  1036. {{
  1037. scope.row[item.prop] === 0
  1038. ? "未结业"
  1039. : scope.row[item.prop] === 1
  1040. ? "结业"
  1041. : ""
  1042. }}
  1043. </span>
  1044. <span v-else-if="item.scope === 'computer'">
  1045. {{ scope.row[item.prop1] + "/" + scope.row[item.prop2] }}
  1046. {{
  1047. scope.row[item.prop1] == 0 && scope.row[item.prop2] == 0
  1048. ? "0%"
  1049. : (
  1050. (scope.row[item.prop1] / scope.row[item.prop2]) *
  1051. 100
  1052. ).toFixed(2) + "%"
  1053. }}
  1054. </span>
  1055. <div v-else-if="item.scope === 'payGoodsList'">
  1056. <span
  1057. style="margin-right: 6px"
  1058. class="goodsListStyle"
  1059. @click="openGoodsListBoxs(scope.row, 1)"
  1060. >视频({{
  1061. scope.row[item.prop1] ? scope.row[item.prop1] : 0
  1062. }})</span
  1063. >
  1064. <span
  1065. class="goodsListStyle"
  1066. @click="openGoodsListBoxs(scope.row, 2)"
  1067. >题库({{
  1068. scope.row[item.prop2] ? scope.row[item.prop2] : 0
  1069. }})</span
  1070. >
  1071. </div>
  1072. <span v-else-if="item.scope === 'statusOrder'">{{
  1073. scope.row[item.prop] === -2
  1074. ? "超时关闭"
  1075. : scope.row[item.prop] === -1
  1076. ? "手动关闭"
  1077. : scope.row[item.prop] === 0
  1078. ? "待付款"
  1079. : scope.row[item.prop] === 1
  1080. ? "已付款"
  1081. : scope.row[item.prop] === 3
  1082. ? "成功"
  1083. : "未知"
  1084. }}</span>
  1085. <span v-else-if="item.scope === 'cType'">
  1086. <el-tag
  1087. type="success"
  1088. v-if="
  1089. compType(scope.row[item.prop], scope.row['requestMethod']) ===
  1090. '新增'
  1091. "
  1092. >
  1093. {{
  1094. compType(scope.row[item.prop], scope.row["requestMethod"])
  1095. }}</el-tag
  1096. >
  1097. <el-tag
  1098. v-if="
  1099. compType(scope.row[item.prop], scope.row['requestMethod']) ===
  1100. '修改'
  1101. "
  1102. >
  1103. {{
  1104. compType(scope.row[item.prop], scope.row["requestMethod"])
  1105. }}</el-tag
  1106. >
  1107. <el-tag
  1108. type="warning"
  1109. v-if="
  1110. compType(scope.row[item.prop], scope.row['requestMethod']) ===
  1111. '查询'
  1112. "
  1113. >
  1114. {{
  1115. compType(scope.row[item.prop], scope.row["requestMethod"])
  1116. }}</el-tag
  1117. >
  1118. </span>
  1119. <span v-else-if="item.scope === 'time'">{{
  1120. numTime(scope.row[item.prop])
  1121. }}</span>
  1122. <span v-else-if="item.scope === 'timeBtn'"
  1123. >{{ numTime(scope.row[item.prop]) }}
  1124. <el-button type="text" @click="getxq(scope.row)">详情</el-button>
  1125. </span>
  1126. <span
  1127. class="editInfoSty"
  1128. v-else-if="item.scope === 'editInfo'"
  1129. @click="editInfo(scope.row)"
  1130. >{{ scope.row[item.prop] }}
  1131. </span>
  1132. <span
  1133. class="editInfoSty"
  1134. v-else-if="item.scope === 'editInfoMore'"
  1135. @click="editInfo(scope.row)"
  1136. >{{ scope.row[item.prop1] }} - {{ scope.row[item.prop2] }}
  1137. </span>
  1138. <span v-else-if="item.scope === 'InfoMore'"
  1139. >{{ scope.row[item.prop1] }} - {{ scope.row[item.prop2] }}
  1140. </span>
  1141. <div v-else-if="item.scope === 'realAndIdcard'">
  1142. {{ scope.row[item.prop1] }}<br />{{ scope.row[item.prop2] }}
  1143. </div>
  1144. <el-button
  1145. v-else-if="item.scope === 'aboutTrees'"
  1146. slot="reference"
  1147. @click="activesBoxszing(scope.row[item.prop])"
  1148. >查看</el-button
  1149. >
  1150. <div
  1151. class="editInfoSty"
  1152. v-else-if="item.scope === 'editInfoHTML'"
  1153. @click="editInfo(scope.row)"
  1154. >
  1155. {{ getSimpleText(scope.row[item.prop]) }}
  1156. </div>
  1157. <div v-else-if="item.scope === 'editInfoHTMLs'">
  1158. {{ getSimpleText(scope.row[item.prop]) }}
  1159. </div>
  1160. <span v-else-if="item.scope === 'minute'">{{
  1161. numTimeminute(scope.row[item.prop])
  1162. }}</span>
  1163. <span
  1164. v-else-if="item.scope === 'jumpPage'"
  1165. @click="jumpPage(scope.row)"
  1166. style="color: #409eff; cursor: pointer"
  1167. >{{ scope.row[item.prop] }}</span
  1168. >
  1169. <span v-else-if="item.scope === 'objType'">
  1170. {{
  1171. scope.row[item.objProp].length
  1172. ? scope.row[item.objProp][0][item.prop]
  1173. : ""
  1174. }}
  1175. </span>
  1176. <span v-else-if="item.scope === 'isOKs'" style="color: red"
  1177. >审核通过</span
  1178. >
  1179. <span v-else-if="item.scope === 'classTypes'">
  1180. {{
  1181. scope.row[item.prop] === 1
  1182. ? `已开班:${scope.row[item.prop1]}`
  1183. : scope.row[item.prop] === 0
  1184. ? "未开班"
  1185. : ""
  1186. }}
  1187. </span>
  1188. <span v-else-if="item.scope === 'classTimeTypes'">
  1189. {{
  1190. scope.row[item.prop] === 1
  1191. ? "即刻"
  1192. : scope.row[item.prop] === 2
  1193. ? "待定"
  1194. : scope.row[item.prop] === 3
  1195. ? $methodsTools.onlyForma(scope.row[item.prop1])
  1196. : "未知"
  1197. }}
  1198. </span>
  1199. <div v-else-if="item.scope === 'objTypeYW'">
  1200. <span v-if="scope.row[item.objProp].length">
  1201. {{ scope.row[item.objProp][0][item.prop1] }}-{{
  1202. scope.row[item.objProp][0][item.prop2]
  1203. }}-{{ scope.row[item.objProp][0][item.prop3] }}
  1204. </span>
  1205. </div>
  1206. <div v-else-if="item.scope === 'againStudent'">
  1207. <span :style="scope.row[item.prop] ? 'color:blue' : ''">{{
  1208. scope.row[item.prop]
  1209. }}</span>
  1210. <span
  1211. style="color: red; margin-left: 10px"
  1212. v-if="scope.row[item.prop]"
  1213. >已重修{{ scope.row[item.prop1] }}节</span
  1214. >
  1215. </div>
  1216. <span v-else-if="item.scope === 'eduTypes'">
  1217. {{
  1218. scope.row[item.prop1] +
  1219. "-" +
  1220. scope.row[item.prop2] +
  1221. "-" +
  1222. scope.row[item.prop3]
  1223. }}{{ scope.row[item.prop4] ? "-" + scope.row[item.prop4] : "" }}
  1224. </span>
  1225. <span v-else-if="item.scope === 'outStandingAmount'">
  1226. ¥{{ (scope.row[item.prop1] - scope.row[item.prop2]).toFixed(2) }}
  1227. </span>
  1228. <span
  1229. v-else-if="item.scope === 'sendStatus'"
  1230. :style="scope.row[item.prop] === 0 ? 'color:red;' : ''"
  1231. >
  1232. {{
  1233. scope.row[item.prop] === 1
  1234. ? "发送成功"
  1235. : scope.row[item.prop] === 0
  1236. ? "发送失败"
  1237. : "--"
  1238. }}
  1239. </span>
  1240. <span v-else-if="item.scope === 'peopleNums'">
  1241. {{ scope.row[item.prop1] }} / {{ scope.row[item.prop2] }}
  1242. </span>
  1243. <span
  1244. v-else-if="item.scope === 'jumpPageLabel'"
  1245. @click="jumpPageLabel(scope.row)"
  1246. style="color: #409eff; cursor: pointer"
  1247. >{{ scope.row[item.prop] }}</span
  1248. >
  1249. <span v-else-if="item.scope === 'urlStatus'">
  1250. {{
  1251. scope.row[item.prop] === 1
  1252. ? scope.row[item.prop1]
  1253. : scope.row[item.prop] === 2
  1254. ? scope.row[item.prop2]
  1255. : scope.row[item.prop] === 3
  1256. ? scope.row[item.prop3]
  1257. : ""
  1258. }}
  1259. </span>
  1260. <div v-else-if="item.scope === 'morePeople'">
  1261. <span
  1262. v-for="(itm, idm) in scope.row[item.prop].split(',').map(Number)"
  1263. :key="idm"
  1264. >
  1265. {{ itm === 1 ? "非补考学员" : itm === 2 ? "补考学员" : "" }}
  1266. </span>
  1267. </div>
  1268. <span
  1269. v-else-if="item.scope === 'jumpPageLabelProfess'"
  1270. @click="jumpPageLabelProfess(scope.row)"
  1271. style="color: #409eff; cursor: pointer"
  1272. >{{ scope.row[item.prop] }}</span
  1273. >
  1274. <span
  1275. v-else-if="item.scope === 'infoJump'"
  1276. @click="jumpinfoJump(scope.row)"
  1277. style="color: #409eff; cursor: pointer"
  1278. >详情</span
  1279. >
  1280. <span v-else-if="item.scope === 'ptai'">{{
  1281. scope.row[item.prop] == 1 ? "微信小程序" : "未知"
  1282. }}</span>
  1283. <span v-else-if="item.scope === 'diffTime'"
  1284. >{{
  1285. scope.row["sectionType"] === 2
  1286. ? scope.row[item.prop1]
  1287. : scope.row[item.prop2]
  1288. }}分钟</span
  1289. >
  1290. <div v-else-if="item.scope === 'isOptions'">
  1291. <template v-for="(itemt, indext) in item.options">
  1292. <span
  1293. :key="indext"
  1294. v-if="itemt.value === scope.row[item.prop]"
  1295. :style="itemt.style ? itemt.style : ''"
  1296. >{{ itemt.label }}
  1297. <el-button
  1298. type="text"
  1299. v-if="itemt.click"
  1300. @click="backFunc(scope.row)"
  1301. >查看</el-button
  1302. ></span
  1303. >
  1304. </template>
  1305. </div>
  1306. <div v-else-if="item.scope === 'orderGoodsStatus'">
  1307. {{
  1308. scope.row[item.prop] === -1
  1309. ? "关闭"
  1310. : scope.row[item.prop] === 0
  1311. ? "待支付"
  1312. : scope.row[item.prop] === 1
  1313. ? `已支付(¥${scope.row["goodsReceived"]})`
  1314. : scope.row[item.prop] === 2
  1315. ? `已退款(¥${scope.row["goodsReceived"]})`
  1316. : ""
  1317. }}
  1318. </div>
  1319. <div v-else-if="item.scope === 'isOptionsDZYQ'">
  1320. <template v-for="(itemt, indext) in item.options">
  1321. <span
  1322. :key="indext"
  1323. v-if="itemt.value === scope.row[item.prop]"
  1324. :style="itemt.style ? itemt.style : ''"
  1325. >{{
  1326. scope.row["subscribeStatus"] === 1 ? itemt.label : ""
  1327. }}</span
  1328. >
  1329. </template>
  1330. </div>
  1331. <ul v-else-if="item.scope === 'orderSnList'">
  1332. <li v-for="(ty, index) in scope.row[item.prop]" :key="index">
  1333. <span v-if="ty">
  1334. {{ ty.goodsName + " - " + ty.orderSn }}
  1335. </span>
  1336. </li>
  1337. </ul>
  1338. <div v-else-if="item.scope === 'priceRed'" style="color: red">
  1339. ¥{{ scope.row[item.prop] ? scope.row[item.prop] : 0 }}
  1340. </div>
  1341. <span v-else
  1342. >{{ scope.row[item.prop] }}
  1343. {{
  1344. (scope.row[item.prop] || scope.row[item.prop] === 0) && item.ch
  1345. ? item.ch
  1346. : ""
  1347. }}</span
  1348. >
  1349. </template>
  1350. </af-table-column>
  1351. <el-table-column
  1352. label="官方信息推送状态"
  1353. align="center"
  1354. width="180px"
  1355. v-if="navText.gftsStatus"
  1356. >
  1357. <template slot-scope="scope">
  1358. {{
  1359. scope.row.officialStatus === 1
  1360. ? `是(${scope.row.officialStatusNum})`
  1361. : "否"
  1362. }}
  1363. </template>
  1364. </el-table-column>
  1365. <el-table-column
  1366. label="官方学时推送状态"
  1367. align="center"
  1368. width="180px"
  1369. v-if="navText.gfxsStatus"
  1370. >
  1371. <template slot-scope="scope">
  1372. {{
  1373. scope.row.periodPlush === 1
  1374. ? `是(${scope.row.periodStatusNum})`
  1375. : "否"
  1376. }}
  1377. </template>
  1378. </el-table-column>
  1379. <el-table-column
  1380. label="官方学习账号开通状态"
  1381. align="center"
  1382. width="180px"
  1383. v-if="navText.gfUserStatus"
  1384. >
  1385. <template slot-scope="scope">
  1386. {{ scope.row.learnStatus === 1 ? "是" : "否" }}
  1387. </template>
  1388. </el-table-column>
  1389. <el-table-column
  1390. label="操作"
  1391. align="center"
  1392. fixed="right"
  1393. :width="navText.changeWidth ? navText.changeWidth : '180px'"
  1394. v-if="!navText.tableHide"
  1395. >
  1396. <template slot-scope="scope">
  1397. <slot name="btn" :scope="scope"></slot>
  1398. </template>
  1399. </el-table-column>
  1400. </el-table>
  1401. <el-dialog
  1402. :visible.sync="diaBox"
  1403. width="500px"
  1404. :show-close="false"
  1405. :destroy-on-close="true"
  1406. >
  1407. <div slot="title" class="hearders">
  1408. <div class="leftTitle">详情</div>
  1409. <div class="rightBoxs">
  1410. <img
  1411. src="@/assets/images/Close@2x.png"
  1412. alt=""
  1413. @click="closeBeforefs"
  1414. />
  1415. </div>
  1416. </div>
  1417. <el-row class="contentBox" :gutter="30">
  1418. <div style="width: 100%; height: 100%">
  1419. <video
  1420. controls
  1421. preload
  1422. style="width: 100%; height: 100%"
  1423. :src="$methodsTools.splitImgHost(videoUrls)"
  1424. ></video>
  1425. </div>
  1426. </el-row>
  1427. <div slot="footer" class="dialog-footer">
  1428. <el-button @click="closeBeforefs">关闭</el-button>
  1429. </div>
  1430. </el-dialog>
  1431. <el-dialog
  1432. :visible.sync="dialogVisible"
  1433. width="560px"
  1434. :show-close="false"
  1435. :close-on-click-modal="false"
  1436. >
  1437. <div slot="title" class="hearders">
  1438. <div class="leftTitle">课程树形图</div>
  1439. <div class="rightBoxs">
  1440. <img src="@/assets/images/Close@2x.png" alt="" @click="closes" />
  1441. </div>
  1442. </div>
  1443. <div>
  1444. <el-tree
  1445. :key="Math.random()"
  1446. :props="props"
  1447. :load="loadNode"
  1448. lazy
  1449. ></el-tree>
  1450. </div>
  1451. <span slot="footer" class="dialog-footer">
  1452. <el-button @click="closes">取 消</el-button>
  1453. </span>
  1454. </el-dialog>
  1455. <el-dialog
  1456. :visible.sync="diaviosOpen"
  1457. width="560px"
  1458. :show-close="false"
  1459. :close-on-click-modal="false"
  1460. >
  1461. <div slot="title" class="hearders">
  1462. <div class="leftTitle">商品树形图</div>
  1463. <div class="rightBoxs">
  1464. <img
  1465. src="@/assets/images/Close@2x.png"
  1466. alt=""
  1467. @click="diaviosOpen = false"
  1468. />
  1469. </div>
  1470. </div>
  1471. <div>
  1472. <el-tree
  1473. default-expand-all
  1474. :key="Math.random()"
  1475. :props="props1"
  1476. :load="loadNode1"
  1477. lazy
  1478. ></el-tree>
  1479. </div>
  1480. <span slot="footer" class="dialog-footer">
  1481. <el-button @click="diaviosOpen = false">取 消</el-button>
  1482. </span>
  1483. </el-dialog>
  1484. <el-dialog
  1485. :visible.sync="isShowBoxs"
  1486. width="400px"
  1487. :show-close="false"
  1488. :close-on-click-modal="false"
  1489. >
  1490. <div slot="title" class="hearders">
  1491. <div class="leftTitle">资料变更详情</div>
  1492. <div class="rightBoxs">
  1493. <img
  1494. src="@/assets/images/Close@2x.png"
  1495. alt=""
  1496. @click="isShowBoxs = false"
  1497. />
  1498. </div>
  1499. </div>
  1500. <div style="max-height: 400px; overflow: auto">
  1501. <ul>
  1502. <li
  1503. v-for="(items, indexs) in listBoxsGET"
  1504. :key="indexs"
  1505. style="margin-bottom: 30px"
  1506. >
  1507. <p>{{ $methodsTools.onlyForma(items.createTime) }}</p>
  1508. <p style="padding-left: 14px; color: #999">
  1509. 姓名:{{ items.realname }}
  1510. </p>
  1511. <p style="padding-left: 14px; color: #999">
  1512. 身份证号码:{{ items.idCard }}
  1513. </p>
  1514. <p style="padding-left: 14px; color: #999">
  1515. 绑定手机号码:{{ items.telphone }}
  1516. </p>
  1517. </li>
  1518. </ul>
  1519. </div>
  1520. <span slot="footer" class="dialog-footer">
  1521. <el-button @click="isShowBoxs = false">取 消</el-button>
  1522. </span>
  1523. </el-dialog>
  1524. <el-dialog
  1525. :visible.sync="isShowBoxRebuy"
  1526. width="600px"
  1527. :show-close="false"
  1528. :close-on-click-modal="false"
  1529. >
  1530. <div slot="title" class="hearders">
  1531. <div class="leftTitle">复购-学时冲突提示</div>
  1532. <div class="rightBoxs">
  1533. <img
  1534. src="@/assets/images/Close@2x.png"
  1535. alt=""
  1536. @click="isShowBoxRebuy = false"
  1537. />
  1538. </div>
  1539. </div>
  1540. <div style="max-height: 400px; overflow: auto">
  1541. <ul>
  1542. <li
  1543. v-for="(item, index) in rebuyInfos"
  1544. :key="index"
  1545. style="margin-bottom: 10px"
  1546. >
  1547. 学员曾购买过此商品【<span style="color: red"
  1548. >{{ item.orderSn }} - {{ item.goodsName }}</span
  1549. >】,所在班级【{{
  1550. item.gradeName
  1551. }}】的【官方学时推送状态为:是】,如为重复申报学时请及时联系学员并关闭订单。
  1552. </li>
  1553. </ul>
  1554. </div>
  1555. <span slot="footer" class="dialog-footer">
  1556. <el-button @click="isShowBoxRebuy = false">取 消</el-button>
  1557. </span>
  1558. </el-dialog>
  1559. <el-dialog
  1560. :visible.sync="diaviosTKOpen"
  1561. width="560px"
  1562. :show-close="false"
  1563. :close-on-click-modal="false"
  1564. >
  1565. <div slot="title" class="hearders">
  1566. <div class="leftTitle">商品树形图</div>
  1567. <div class="rightBoxs">
  1568. <img
  1569. src="@/assets/images/Close@2x.png"
  1570. alt=""
  1571. @click="diaviosTKOpen = false"
  1572. />
  1573. </div>
  1574. </div>
  1575. <div>
  1576. <el-tree
  1577. default-expand-all
  1578. :key="Math.random()"
  1579. :props="props2"
  1580. :load="loadNode2"
  1581. lazy
  1582. ></el-tree>
  1583. </div>
  1584. <span slot="footer" class="dialog-footer">
  1585. <el-button @click="diaviosTKOpen = false">取 消</el-button>
  1586. </span>
  1587. </el-dialog>
  1588. <el-dialog
  1589. :visible.sync="goosListBoxs"
  1590. width="560px"
  1591. :show-close="false"
  1592. :close-on-click-modal="false"
  1593. >
  1594. <div slot="title" class="hearders">
  1595. <div class="leftTitle">所购商品</div>
  1596. <div class="rightBoxs">
  1597. <img
  1598. src="@/assets/images/Close@2x.png"
  1599. alt=""
  1600. @click="goosListBoxs = false"
  1601. />
  1602. </div>
  1603. </div>
  1604. <div>
  1605. <div class="zdyBoxStyle">
  1606. <div
  1607. class="zdyBtnstyle"
  1608. style="margin-right: 20px"
  1609. :class="goodsActiveIndex === 1 ? 'goodsActiveStyle' : ''"
  1610. @click="getGoodsAboutList(1)"
  1611. >
  1612. 视频商品
  1613. </div>
  1614. <div
  1615. class="zdyBtnstyle"
  1616. :class="goodsActiveIndex === 2 ? 'goodsActiveStyle' : ''"
  1617. @click="getGoodsAboutList(2)"
  1618. >
  1619. 题库商品
  1620. </div>
  1621. </div>
  1622. <ul class="overBoxs" v-if="goodsList.length">
  1623. <li v-for="(item, index) in goodsList" :key="index" class="liSYTS">
  1624. <div style="margin-bottom: 10px">
  1625. 支付时间:{{ $methodsTools.onlyForma(item.createTime) }}
  1626. </div>
  1627. <div style="margin-bottom: 10px">商品编码:{{ item.code }}</div>
  1628. <div>商品名称:{{ item.goodsName }}</div>
  1629. </li>
  1630. </ul>
  1631. <div v-else style="text-align: center; margin-top: 20px">
  1632. 暂无相关商品
  1633. </div>
  1634. </div>
  1635. <span slot="footer" class="dialog-footer">
  1636. <el-button @click="goosListBoxs = false">取 消</el-button>
  1637. </span>
  1638. </el-dialog>
  1639. </div>
  1640. </template>
  1641. <script>
  1642. import bankMsg from "./bankMsg";
  1643. export default {
  1644. components: { bankMsg },
  1645. props: ["tableSets", "tableData", "navText", "rowKey", "loading"],
  1646. data: function () {
  1647. return {
  1648. diaviosOpen: false,
  1649. diaviosTKOpen: false,
  1650. dialogVisible: false,
  1651. goosListBoxs: false,
  1652. goodsActiveIndex: 1,
  1653. goodsList: [],
  1654. rebuyInfos: [],
  1655. tableSet: this.tableSets,
  1656. allCheckData: [], //表格多选
  1657. checkAll: true,
  1658. checkedCities: [], //自定义列 选中数组
  1659. cities: [], //自定义列 总数组
  1660. isIndeterminate: false,
  1661. videoUrls: "",
  1662. diaBox: false,
  1663. isShowBoxs: false,
  1664. isShowBoxRebuy: false,
  1665. listBoxsGET: [],
  1666. props: {
  1667. label(data, node) {
  1668. return data.menuName || data.name;
  1669. },
  1670. isLeaf(data, node) {
  1671. return data.hasChildren ? false : true;
  1672. },
  1673. },
  1674. props1: {
  1675. label(data, node) {
  1676. return data.courseName || data.menuName || data.name;
  1677. },
  1678. isLeaf(data, node) {
  1679. return data.hasChildren ? false : true;
  1680. },
  1681. },
  1682. props2: {
  1683. label(data, node) {
  1684. return data.examName || data.menuName || data.name;
  1685. },
  1686. isLeaf(data, node) {
  1687. return data.hasChildren ? false : true;
  1688. },
  1689. },
  1690. treeDatas: [],
  1691. treeDatas1: [],
  1692. treeDatas2: [],
  1693. };
  1694. },
  1695. computed: {
  1696. compTableSet: function () {
  1697. return function (options) {
  1698. var arrays = options.filter((item) => {
  1699. return item.hidden;
  1700. });
  1701. return arrays;
  1702. };
  1703. },
  1704. numTime: function () {
  1705. return function (res) {
  1706. return Number(res / 3600).toFixed(2);
  1707. };
  1708. },
  1709. numTimeminute: function () {
  1710. return function (res) {
  1711. return Number(res / 60).toFixed(2);
  1712. };
  1713. },
  1714. compType: function () {
  1715. return function (res, data) {
  1716. if (data === "POST") {
  1717. if (res.indexOf("edit") !== -1 || res.indexOf("update") !== -1) {
  1718. return "修改";
  1719. } else {
  1720. return "新增";
  1721. }
  1722. } else if (data === "GET") {
  1723. return "查询";
  1724. }
  1725. };
  1726. },
  1727. },
  1728. created() {
  1729. this.inittableSet = JSON.stringify(this.tableSet);
  1730. this.initTR();
  1731. },
  1732. methods: {
  1733. backFunc(row) {
  1734. this.$emit("backFunc", row);
  1735. },
  1736. /**
  1737. * 清除多选框
  1738. */
  1739. clearMoreActive() {
  1740. this.allCheckData = [];
  1741. this.$refs.pagerset.clearSelection();
  1742. },
  1743. /**
  1744. * @param {Array} 学员数据— 学员管理-所购商品
  1745. */
  1746. openGoodsListBoxs(option, int) {
  1747. this.goosListBoxs = true;
  1748. this.copyUserInfo = option;
  1749. this.$api
  1750. .inquireOrderList({ goodsType: int, userId: option.userId })
  1751. .then((res) => {
  1752. this.goodsActiveIndex = int;
  1753. this.goodsList = res.rows;
  1754. });
  1755. },
  1756. /**
  1757. * 点击商品类型切换请求新数据
  1758. */
  1759. getGoodsAboutList(int) {
  1760. this.$api
  1761. .inquireOrderList({ goodsType: int, userId: this.copyUserInfo.userId })
  1762. .then((res) => {
  1763. this.goodsActiveIndex = int;
  1764. this.goodsList = res.rows;
  1765. });
  1766. },
  1767. isShowBoxsFun(item) {
  1768. this.$api.inquireuserUpdateListsy({ userId: item.userId }).then((res) => {
  1769. this.listBoxsGET = res.rows;
  1770. this.isShowBoxs = true;
  1771. // this.$api
  1772. // .editgradestudentuserUpdate({ userId: item.userId, status: 1 })
  1773. // .then((result) => {});
  1774. });
  1775. },
  1776. /**
  1777. * 查看复购信息
  1778. */
  1779. isShowRebuy(item) {
  1780. this.$api
  1781. .inquireOrderRebuyInfo({
  1782. orderGoodsId: item.orderGoodsId,
  1783. userId: item.userId,
  1784. goodsId: item.goodsId,
  1785. })
  1786. .then((res) => {
  1787. this.rebuyInfos = res.rows;
  1788. this.isShowBoxRebuy = true;
  1789. });
  1790. },
  1791. sortMethods(a, b) {
  1792. if (a.classGradeUserGoodsVoList && b.classGradeUserGoodsVoList) {
  1793. return a.classGradeUserGoodsVoList.length >
  1794. b.classGradeUserGoodsVoList.length
  1795. ? -1
  1796. : 1;
  1797. } else {
  1798. return a.sort > b.sort ? -1 : 1;
  1799. }
  1800. },
  1801. /**
  1802. *
  1803. * @param {Number} id 商品ID
  1804. * @remards 关联班级数量触发事件
  1805. */
  1806. openClassNumDio(id, num) {
  1807. if (!num) {
  1808. this.$message.warning("暂无关联班级");
  1809. return;
  1810. }
  1811. this.$emit("openClassNum", id);
  1812. },
  1813. /**
  1814. * int: 1 节列表-关联章 2 章列表-关联模块 3 模块列表-关联课程 4 课程列表-关联商品 5 题目列表-关联试卷 6 试卷列表-关联商品 7 章卷列表-关联商品 8 模块列表-关联商品
  1815. */
  1816. jumpPages(v, int) {
  1817. if (int === 1) {
  1818. const jump = () => {
  1819. this.$router.push({
  1820. path: "/resource/videoManagement/chapterEdit",
  1821. query: {
  1822. id: v.chapterId,
  1823. },
  1824. });
  1825. };
  1826. const statusPage = this.$store.state.tagsView.visitedViews.some(
  1827. (item) => {
  1828. return item.name == "ChapterEdit";
  1829. }
  1830. );
  1831. if (statusPage) {
  1832. this.$store
  1833. .dispatch("tagsView/delCachedView", {
  1834. name: "ChapterEdit",
  1835. })
  1836. .then((res) => {
  1837. jump();
  1838. });
  1839. } else {
  1840. jump();
  1841. }
  1842. }
  1843. if (int === 2) {
  1844. const jump = () => {
  1845. this.$router.push({
  1846. path: "/resource/videoManagement/moduleManagementEdit",
  1847. query: {
  1848. id: v.moduleId,
  1849. },
  1850. });
  1851. };
  1852. const statusPage = this.$store.state.tagsView.visitedViews.some(
  1853. (item) => {
  1854. return item.name == "ModuleManagementEdit";
  1855. }
  1856. );
  1857. if (statusPage) {
  1858. this.$store
  1859. .dispatch("tagsView/delCachedView", {
  1860. name: "ModuleManagementEdit",
  1861. })
  1862. .then((res) => {
  1863. jump();
  1864. });
  1865. } else {
  1866. jump();
  1867. }
  1868. }
  1869. if (int === 3) {
  1870. const jump = () => {
  1871. this.$router.push({
  1872. path: "/resource/videoManagement/editCourse",
  1873. query: {
  1874. id: v.courseId,
  1875. },
  1876. });
  1877. };
  1878. const statusPage = this.$store.state.tagsView.visitedViews.some(
  1879. (item) => {
  1880. return item.name == "EditCourse";
  1881. }
  1882. );
  1883. if (statusPage) {
  1884. this.$store
  1885. .dispatch("tagsView/delCachedView", {
  1886. name: "EditCourse",
  1887. })
  1888. .then((res) => {
  1889. jump();
  1890. });
  1891. } else {
  1892. jump();
  1893. }
  1894. }
  1895. if (int === 4) {
  1896. const jump = () => {
  1897. this.$router.push({
  1898. path: "/Marketing/goods/commodityManageMentEdit",
  1899. query: {
  1900. id: v.goodsId,
  1901. },
  1902. });
  1903. };
  1904. const statusPage = this.$store.state.tagsView.visitedViews.some(
  1905. (item) => {
  1906. return item.name == "CommodityManageMentEdit";
  1907. }
  1908. );
  1909. if (statusPage) {
  1910. this.$store
  1911. .dispatch("tagsView/delCachedView", {
  1912. name: "CommodityManageMentEdit",
  1913. })
  1914. .then((res) => {
  1915. jump();
  1916. });
  1917. } else {
  1918. jump();
  1919. }
  1920. }
  1921. if (int === 5) {
  1922. const jump = () => {
  1923. this.$router.push({
  1924. path: "/resource/bankManagement/editPaper",
  1925. query: {
  1926. id: v.examId,
  1927. },
  1928. });
  1929. };
  1930. const statusPage = this.$store.state.tagsView.visitedViews.some(
  1931. (item) => {
  1932. return item.name == "EditPaper";
  1933. }
  1934. );
  1935. if (statusPage) {
  1936. this.$store
  1937. .dispatch("tagsView/delCachedView", {
  1938. name: "EditPaper",
  1939. })
  1940. .then((res) => {
  1941. jump();
  1942. });
  1943. } else {
  1944. jump();
  1945. }
  1946. }
  1947. if (int === 6) {
  1948. const jump = () => {
  1949. this.$router.push({
  1950. path: "/Marketing/goods/commodityManageMentEdit",
  1951. query: {
  1952. id: v.goodsId,
  1953. },
  1954. });
  1955. };
  1956. const statusPage = this.$store.state.tagsView.visitedViews.some(
  1957. (item) => {
  1958. return item.name == "CommodityManageMentEdit";
  1959. }
  1960. );
  1961. if (statusPage) {
  1962. this.$store
  1963. .dispatch("tagsView/delCachedView", {
  1964. name: "CommodityManageMentEdit",
  1965. })
  1966. .then((res) => {
  1967. jump();
  1968. });
  1969. } else {
  1970. jump();
  1971. }
  1972. }
  1973. if (int === 7) {
  1974. const jump = () => {
  1975. this.$router.push({
  1976. path: "/Marketing/goods/commodityManageMentEdit",
  1977. query: {
  1978. id: v.goodsId,
  1979. },
  1980. });
  1981. };
  1982. const statusPage = this.$store.state.tagsView.visitedViews.some(
  1983. (item) => {
  1984. return item.name == "CommodityManageMentEdit";
  1985. }
  1986. );
  1987. if (statusPage) {
  1988. this.$store
  1989. .dispatch("tagsView/delCachedView", {
  1990. name: "CommodityManageMentEdit",
  1991. })
  1992. .then((res) => {
  1993. jump();
  1994. });
  1995. } else {
  1996. jump();
  1997. }
  1998. }
  1999. if (int === 8) {
  2000. const jump = () => {
  2001. this.$router.push({
  2002. path: "/Marketing/goods/commodityManageMentEdit",
  2003. query: {
  2004. id: v.goodsId,
  2005. },
  2006. });
  2007. };
  2008. const statusPage = this.$store.state.tagsView.visitedViews.some(
  2009. (item) => {
  2010. return item.name == "CommodityManageMentEdit";
  2011. }
  2012. );
  2013. if (statusPage) {
  2014. this.$store
  2015. .dispatch("tagsView/delCachedView", {
  2016. name: "CommodityManageMentEdit",
  2017. })
  2018. .then((res) => {
  2019. jump();
  2020. });
  2021. } else {
  2022. jump();
  2023. }
  2024. }
  2025. },
  2026. jumpClass(v) {
  2027. const jump = () => {
  2028. this.$router.push({
  2029. path: "/education/classManageMent/studentMenu",
  2030. query: {
  2031. id: v.gradeId,
  2032. goodsId: v.id,
  2033. },
  2034. });
  2035. };
  2036. const statusPage = this.$store.state.tagsView.visitedViews.some(
  2037. (item) => {
  2038. return item.name == "StudentMenu";
  2039. }
  2040. );
  2041. if (statusPage) {
  2042. this.$store
  2043. .dispatch("tagsView/delCachedView", {
  2044. name: "StudentMenu",
  2045. })
  2046. .then((res) => {
  2047. jump();
  2048. });
  2049. } else {
  2050. jump();
  2051. }
  2052. },
  2053. getSimpleText(html) {
  2054. var re1 = new RegExp("<.+?>", "g"); //匹配html标签的正则表达式,"g"是搜索匹配多个符合的内容
  2055. var msg = html.replace(re1, ""); //执行替换成空字符
  2056. return msg;
  2057. },
  2058. //树形图关闭
  2059. closes() {
  2060. this.dialogVisible = false;
  2061. },
  2062. activesBoxszing(ids) {
  2063. this.$api.inquireCoursemenuListS({ courseId: ids }).then((res) => {
  2064. res.rows.forEach((item) => {
  2065. item.TypeId = item.type + "-" + item.menuId;
  2066. });
  2067. this.treeDatas = res.rows;
  2068. this.dialogVisible = true;
  2069. });
  2070. },
  2071. loadNode(node, resolve) {
  2072. if (node.level === 0) {
  2073. this.treeDatas.forEach((item) => {
  2074. if (item.type === 1) {
  2075. item.hasChildren = true;
  2076. }
  2077. if (item.type === 2) {
  2078. item.hasChildren = true;
  2079. }
  2080. if (item.type === 3) {
  2081. item.hasChildren = false;
  2082. }
  2083. });
  2084. return resolve(this.treeDatas);
  2085. } else {
  2086. if (node.data.type === 1) {
  2087. this.$api
  2088. .inquireCourseListmodulechapter(node.data.menuId)
  2089. .then((res) => {
  2090. res.data.forEach((item) => {
  2091. item.TypeId = 2 + "-" + item.chapterId;
  2092. item.hasChildren = true;
  2093. item.menuId = item.chapterId;
  2094. item.type = 2;
  2095. });
  2096. return resolve(res.data);
  2097. });
  2098. }
  2099. if (node.data.type === 2) {
  2100. this.$api
  2101. .inquireCoursechaptersectionlist(node.data.menuId)
  2102. .then((res) => {
  2103. res.data.forEach((item) => {
  2104. item.TypeId = 3 + "-" + item.sectionId;
  2105. item.type = 3;
  2106. });
  2107. return resolve(res.data);
  2108. });
  2109. }
  2110. if (node.data.type === 3) {
  2111. return resolve([]);
  2112. }
  2113. }
  2114. },
  2115. diavios(ids) {
  2116. this.$api.obtainCourseSgoodsId(ids).then((res) => {
  2117. res.rows.forEach((item) => {
  2118. item.TypeId = "0-" + item.courseId;
  2119. item.type = 0;
  2120. item.hasChildren = true;
  2121. });
  2122. this.treeDatas1 = res.rows;
  2123. this.diaviosOpen = true;
  2124. });
  2125. },
  2126. loadNode1(node, resolve) {
  2127. if (node.level === 0) {
  2128. return resolve(this.treeDatas1);
  2129. } else {
  2130. if (node.data.type === 0) {
  2131. this.$api
  2132. .inquireCoursemenuListS({ courseId: node.data.courseId })
  2133. .then((res) => {
  2134. res.rows.forEach((item) => {
  2135. item.TypeId = 1 + "-" + item.menuId;
  2136. item.hasChildren = item.type === 3 ? false : true;
  2137. item.menuId = item.menuId;
  2138. });
  2139. return resolve(res.rows);
  2140. });
  2141. }
  2142. if (node.data.type === 1) {
  2143. this.$api
  2144. .inquireCourseListmodulechapter(node.data.menuId)
  2145. .then((res) => {
  2146. res.data.forEach((item) => {
  2147. item.TypeId = 2 + "-" + item.chapterId;
  2148. item.hasChildren = true;
  2149. item.menuId = item.chapterId;
  2150. item.type = 2;
  2151. });
  2152. return resolve(res.data);
  2153. });
  2154. }
  2155. if (node.data.type === 2) {
  2156. this.$api
  2157. .inquireCoursechaptersectionlist(node.data.menuId)
  2158. .then((res) => {
  2159. res.data.forEach((item) => {
  2160. item.TypeId = 3 + "-" + item.sectionId;
  2161. item.type = 3;
  2162. });
  2163. return resolve(res.data);
  2164. });
  2165. }
  2166. if (node.data.type === 3) {
  2167. return resolve([]);
  2168. }
  2169. }
  2170. },
  2171. diaviosTK(ids) {
  2172. this.$api.inquireGoodsbanklist({ goodsId: ids }).then((res) => {
  2173. res.data.forEach((item) => {
  2174. item.TypeId = item.type + "-" + item.majorId;
  2175. item.hasChildren = item.type === 3 ? false : true;
  2176. });
  2177. this.treeDatas2 = res.data;
  2178. this.diaviosTKOpen = true;
  2179. });
  2180. },
  2181. loadNode2(node, resolve) {
  2182. if (node.level === 0) {
  2183. return resolve(this.treeDatas2);
  2184. } else {
  2185. if (node.data.type === 1) {
  2186. this.$api
  2187. .inquireBankchapterModule({ moduleExamId: node.data.majorId })
  2188. .then((res) => {
  2189. res.data.forEach((item) => {
  2190. item.TypeId = 2 + "-" + item.chapterExamId;
  2191. item.menuId = item.chapterExamId;
  2192. item.type = 2;
  2193. });
  2194. return resolve(res.data);
  2195. });
  2196. }
  2197. if (node.data.type === 2) {
  2198. this.$api
  2199. .inquirebankchapterexamList({
  2200. chapterExamId: node.data.majorId,
  2201. })
  2202. .then((res) => {
  2203. res.data.forEach((item) => {
  2204. item.TypeId = 3 + "-" + item.examId;
  2205. item.type = 3;
  2206. });
  2207. return resolve(res.data);
  2208. });
  2209. }
  2210. if (node.data.type === 3) {
  2211. return resolve([]);
  2212. }
  2213. }
  2214. },
  2215. timeStyle(column) {
  2216. if (column.columnIndex === 0 && this.navText.firstColLeft) {
  2217. return "text-align:left!important; padding-left: 40px;";
  2218. }
  2219. },
  2220. //初始化
  2221. initTR() {
  2222. this.cities = [];
  2223. this.checkedCities = [];
  2224. this.checkAll = true;
  2225. this.isIndeterminate = false;
  2226. this.tableSet.forEach((item, index) => {
  2227. this.cities.push(item.label);
  2228. if (item.hidden) {
  2229. this.checkedCities.push(item.label);
  2230. }
  2231. });
  2232. this.tableSet = [];
  2233. this.$nextTick(() => {
  2234. this.tableSet = JSON.parse(this.inittableSet);
  2235. });
  2236. if (this.checkedCities.length === 0) {
  2237. this.isIndeterminate = false;
  2238. } else if (this.checkedCities.length === this.cities.length) {
  2239. this.isIndeterminate = false;
  2240. this.checkAll = true;
  2241. } else {
  2242. this.isIndeterminate = true;
  2243. this.checkAll = false;
  2244. }
  2245. },
  2246. //自定义列全选按钮触发
  2247. handleCheckAllChange(val) {
  2248. this.checkedCities = val ? this.cities : [];
  2249. this.isIndeterminate = false;
  2250. if (val) {
  2251. this.tableSet = [];
  2252. this.$nextTick(() => {
  2253. this.tableSet = JSON.parse(this.inittableSet);
  2254. });
  2255. } else {
  2256. this.tableSet.forEach((item, index) => {
  2257. item.hidden = false;
  2258. });
  2259. }
  2260. },
  2261. // 勾选自定义列子选项
  2262. handleCheckedCitiesChange(value) {
  2263. var copyTable = JSON.parse(JSON.stringify(this.tableSet));
  2264. let checkedCount = value.length;
  2265. this.checkAll = checkedCount === this.cities.length;
  2266. this.isIndeterminate =
  2267. checkedCount > 0 && checkedCount < this.cities.length;
  2268. this.tableSet = [];
  2269. this.$nextTick(() => {
  2270. this.tableSet = copyTable;
  2271. });
  2272. },
  2273. checkboxChange(v, e) {
  2274. var copyTable = JSON.parse(JSON.stringify(this.tableSet));
  2275. copyTable.forEach((item) => {
  2276. if (item.label === v) {
  2277. item.hidden = e;
  2278. }
  2279. });
  2280. this.tableSet = [];
  2281. this.$nextTick(() => {
  2282. this.tableSet = copyTable;
  2283. });
  2284. },
  2285. //自定义列重置
  2286. initVue() {
  2287. // this.$emit("initTableset");
  2288. this.tableSet = JSON.parse(this.inittableSet);
  2289. this.initTR();
  2290. },
  2291. // 下移
  2292. downMove(option, index) {
  2293. if (index !== this.tableSet.length - 1) {
  2294. this.tableSet[index] = this.tableSet.splice(
  2295. index + 1,
  2296. 1,
  2297. this.tableSet[index]
  2298. )[0];
  2299. this.cities[index] = this.cities.splice(
  2300. index + 1,
  2301. 1,
  2302. this.cities[index]
  2303. )[0];
  2304. } else {
  2305. this.tableSet.unshift(this.tableSet.splice(index, 1)[0]);
  2306. this.cities.unshift(this.cities.splice(index, 1)[0]);
  2307. }
  2308. var copyTable = JSON.parse(JSON.stringify(this.tableSet));
  2309. this.tableSet = [];
  2310. this.$nextTick(() => {
  2311. this.tableSet = copyTable;
  2312. });
  2313. },
  2314. // 上移
  2315. upMove(option, index) {
  2316. if (index != 0) {
  2317. this.tableSet[index] = this.tableSet.splice(
  2318. index - 1,
  2319. 1,
  2320. this.tableSet[index]
  2321. )[0];
  2322. this.cities[index] = this.cities.splice(
  2323. index - 1,
  2324. 1,
  2325. this.cities[index]
  2326. )[0];
  2327. } else {
  2328. this.tableSet.push(this.tableSet.shift());
  2329. this.cities.push(this.cities.shift());
  2330. }
  2331. var copyTable = JSON.parse(JSON.stringify(this.tableSet));
  2332. this.tableSet = [];
  2333. this.$nextTick(() => {
  2334. this.tableSet = copyTable;
  2335. });
  2336. },
  2337. //跳转页面
  2338. jumpPage(options) {
  2339. const jump = () => {
  2340. this.$router.push({
  2341. path: "dictData",
  2342. query: {
  2343. dictId: options.dictId,
  2344. dictType: options.dictType,
  2345. },
  2346. });
  2347. };
  2348. const statusPage = this.$store.state.tagsView.visitedViews.some(
  2349. (item) => {
  2350. return item.name == "DictData";
  2351. }
  2352. );
  2353. if (statusPage) {
  2354. this.$store
  2355. .dispatch("tagsView/delCachedView", {
  2356. name: "DictData",
  2357. })
  2358. .then((res) => {
  2359. jump();
  2360. });
  2361. } else {
  2362. jump();
  2363. }
  2364. },
  2365. //跳转页面
  2366. jumpPageLabel(options) {
  2367. const jump = () => {
  2368. this.$router.push({
  2369. path: "labelInfos",
  2370. query: {
  2371. id: options.id,
  2372. },
  2373. });
  2374. };
  2375. const statusPage = this.$store.state.tagsView.visitedViews.some(
  2376. (item) => {
  2377. return item.name == "LabelInfos";
  2378. }
  2379. );
  2380. if (statusPage) {
  2381. this.$store
  2382. .dispatch("tagsView/delCachedView", {
  2383. name: "LabelInfos",
  2384. })
  2385. .then((res) => {
  2386. jump();
  2387. });
  2388. } else {
  2389. jump();
  2390. }
  2391. }, //跳转页面
  2392. jumpPageLabelProfess(options) {
  2393. const jump = () => {
  2394. this.$router.push({
  2395. path: "labelInfos",
  2396. query: {
  2397. id: options.labelId,
  2398. },
  2399. });
  2400. };
  2401. const statusPage = this.$store.state.tagsView.visitedViews.some(
  2402. (item) => {
  2403. return item.name == "LabelInfos";
  2404. }
  2405. );
  2406. if (statusPage) {
  2407. this.$store
  2408. .dispatch("tagsView/delCachedView", {
  2409. name: "LabelInfos",
  2410. })
  2411. .then((res) => {
  2412. jump();
  2413. });
  2414. } else {
  2415. jump();
  2416. }
  2417. },
  2418. jumpinfoJump(options) {
  2419. const jump = () => {
  2420. this.$router.push({
  2421. path: "beneficiaryInfos",
  2422. query: {
  2423. id: options.payeeId,
  2424. },
  2425. });
  2426. };
  2427. const statusPage = this.$store.state.tagsView.visitedViews.some(
  2428. (item) => {
  2429. return item.name == "BeneficiaryInfos";
  2430. }
  2431. );
  2432. if (statusPage) {
  2433. this.$store
  2434. .dispatch("tagsView/delCachedView", {
  2435. name: "BeneficiaryInfos",
  2436. })
  2437. .then((res) => {
  2438. jump();
  2439. });
  2440. } else {
  2441. jump();
  2442. }
  2443. },
  2444. //新增按钮
  2445. addClick() {
  2446. this.$emit("addClick");
  2447. },
  2448. //将选中值传回调用组件
  2449. backFather() {
  2450. this.$emit("emitData", this.allCheckData);
  2451. },
  2452. edit() {},
  2453. selectAll(value) {
  2454. this.allCheckData = value;
  2455. },
  2456. select(value) {
  2457. this.allCheckData = value;
  2458. },
  2459. load(tree, treeNode, resolve) {
  2460. this.$emit("load", tree, treeNode, resolve);
  2461. },
  2462. editInfo(option, int) {
  2463. if (int === 3) {
  2464. this.$emit("aboutGoods", option);
  2465. } else {
  2466. this.$emit("editInfo", option);
  2467. }
  2468. },
  2469. jumpPeolpe(item, type) {
  2470. if (type === 1) {
  2471. const jump = () => {
  2472. this.$router.push({
  2473. path: "applicationData",
  2474. query: {
  2475. id: item.applyId,
  2476. type: type,
  2477. },
  2478. });
  2479. };
  2480. const statusPage = this.$store.state.tagsView.visitedViews.some(
  2481. (item) => {
  2482. return item.name == "ApplicationData";
  2483. }
  2484. );
  2485. if (statusPage) {
  2486. this.$store
  2487. .dispatch("tagsView/delCachedView", {
  2488. name: "ApplicationData",
  2489. })
  2490. .then((res) => {
  2491. jump();
  2492. });
  2493. } else {
  2494. jump();
  2495. }
  2496. }
  2497. if (type === 2) {
  2498. const jump = () => {
  2499. this.$router.push({
  2500. path: "applicationData",
  2501. query: {
  2502. id: item.beforeId,
  2503. type: type,
  2504. },
  2505. });
  2506. };
  2507. const statusPage = this.$store.state.tagsView.visitedViews.some(
  2508. (item) => {
  2509. return item.name == "ApplicationData";
  2510. }
  2511. );
  2512. if (statusPage) {
  2513. this.$store
  2514. .dispatch("tagsView/delCachedView", {
  2515. name: "ApplicationData",
  2516. })
  2517. .then((res) => {
  2518. jump();
  2519. });
  2520. } else {
  2521. jump();
  2522. }
  2523. }
  2524. },
  2525. getxq(option) {
  2526. this.$emit("getxq", option.userId);
  2527. },
  2528. openVideo(url) {
  2529. this.videoUrls = url;
  2530. this.diaBox = true;
  2531. },
  2532. closeBeforefs() {
  2533. this.diaBox = false;
  2534. },
  2535. },
  2536. };
  2537. </script>
  2538. <style lang="less">
  2539. .el-table .cell.el-tooltip {
  2540. transition: all 0.3s;
  2541. }
  2542. .max-heightStyles {
  2543. max-height: 500px;
  2544. overflow-y: auto;
  2545. }
  2546. .overSty {
  2547. white-space: nowrap;
  2548. overflow-x: auto;
  2549. &::-webkit-scrollbar {
  2550. width: 14px;
  2551. height: 14px;
  2552. }
  2553. &::-webkit-scrollbar-track,
  2554. &::-webkit-scrollbar-thumb {
  2555. border-radius: 999px;
  2556. border: 5px solid transparent;
  2557. }
  2558. &::-webkit-scrollbar-track {
  2559. box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2) inset;
  2560. }
  2561. &::-webkit-scrollbar-thumb {
  2562. min-height: 20px;
  2563. background-clip: content-box;
  2564. box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.2) inset;
  2565. }
  2566. &::-webkit-scrollbar-corner {
  2567. background: transparent;
  2568. }
  2569. }
  2570. .slotPopper {
  2571. padding: 0px !important;
  2572. }
  2573. </style>
  2574. <style lang="less" scoped>
  2575. #tableList {
  2576. padding: 0px 16px 16px;
  2577. border-radius: 8px;
  2578. box-shadow: 0px 0px 9px 1px rgba(28, 41, 90, 0.1);
  2579. background: #ffffff;
  2580. .headerNavTool {
  2581. height: 72px;
  2582. display: flex;
  2583. justify-content: space-between;
  2584. align-items: center;
  2585. .rightBtnBox {
  2586. display: flex;
  2587. align-items: center;
  2588. }
  2589. }
  2590. }
  2591. .goodsListStyle {
  2592. cursor: pointer;
  2593. color: blue;
  2594. }
  2595. .popoverDis {
  2596. display: flex;
  2597. flex-direction: column;
  2598. align-items: flex-start;
  2599. font-size: 14px;
  2600. .checkboxHeader {
  2601. height: 40px;
  2602. display: flex;
  2603. align-items: center;
  2604. justify-content: space-between;
  2605. padding-left: 13px;
  2606. padding-right: 15px;
  2607. width: 100%;
  2608. .initbtns {
  2609. color: #47a6ff;
  2610. cursor: pointer;
  2611. }
  2612. }
  2613. .checkboxGroup {
  2614. display: flex;
  2615. flex-direction: column;
  2616. width: 100%;
  2617. .checkboxchild {
  2618. width: 100%;
  2619. justify-content: space-between;
  2620. height: 40px;
  2621. display: flex;
  2622. align-items: center;
  2623. padding: 0px 15px 0px 13px;
  2624. transition: all 0.4s;
  2625. &:hover {
  2626. background-color: #ecf5ff;
  2627. }
  2628. &:hover .icon-right {
  2629. display: flex;
  2630. }
  2631. .icon-right {
  2632. display: flex;
  2633. align-items: center;
  2634. width: 30px;
  2635. height: 30px;
  2636. color: #666;
  2637. font-size: 14px;
  2638. display: none;
  2639. i {
  2640. cursor: pointer;
  2641. margin: 0px 3px;
  2642. &:hover {
  2643. color: #47a6ff;
  2644. }
  2645. }
  2646. }
  2647. }
  2648. }
  2649. }
  2650. /deep/.el-checkbox__input.is-checked + .el-checkbox__label {
  2651. color: #666;
  2652. }
  2653. .imgboxsq {
  2654. margin: 0 auto;
  2655. height: 60px;
  2656. max-height: 60px;
  2657. .el_images {
  2658. /deep/.el-image__inner {
  2659. width: auto;
  2660. }
  2661. }
  2662. }
  2663. .imgHover {
  2664. width: 100%;
  2665. height: 100%;
  2666. cursor: pointer;
  2667. }
  2668. .cvideo {
  2669. transition: all 0.2s;
  2670. color: #333;
  2671. cursor: pointer;
  2672. font-size: 30px;
  2673. }
  2674. .cvideo:hover {
  2675. color: #47a6ff;
  2676. }
  2677. .editInfoSty {
  2678. cursor: pointer;
  2679. color: blue;
  2680. }
  2681. .ulAuto {
  2682. display: flex;
  2683. justify-content: center;
  2684. align-items: center;
  2685. & > ul {
  2686. margin: 0px;
  2687. }
  2688. }
  2689. .ulAutos {
  2690. display: flex;
  2691. align-items: center;
  2692. justify-content: center;
  2693. }
  2694. .el-popover > ul {
  2695. margin: 0px;
  2696. }
  2697. .dis_sdt {
  2698. display: flex;
  2699. align-items: flex-end;
  2700. ul {
  2701. margin: 0px;
  2702. li {
  2703. text-align: left;
  2704. }
  2705. }
  2706. }
  2707. .jumpClass {
  2708. color: #333;
  2709. cursor: pointer;
  2710. }
  2711. .jumpStys {
  2712. color: blue;
  2713. cursor: pointer;
  2714. }
  2715. .zdyBoxStyle {
  2716. display: flex;
  2717. align-items: center;
  2718. justify-content: center;
  2719. .zdyBtnstyle {
  2720. padding: 4px 16px;
  2721. border-radius: 4px;
  2722. border: 1px solid #666;
  2723. color: #666;
  2724. cursor: pointer;
  2725. }
  2726. .goodsActiveStyle {
  2727. color: #fff;
  2728. background-color: #409eff;
  2729. border-color: #409eff;
  2730. }
  2731. }
  2732. .liSYTS {
  2733. padding: 10px;
  2734. margin-bottom: 16px;
  2735. background: #eee;
  2736. width: 96%;
  2737. }
  2738. .overBoxs {
  2739. max-height: 500px;
  2740. overflow-y: auto;
  2741. }
  2742. </style>