tableList.vue 85 KB

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