userDetail1.vue 114 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901
  1. <template>
  2. <div>
  3. <div style="display: inline-block;font-size:18px;margin-bottom: 15px;">
  4. <a href="#" @click="prev" style="text-decoration:none;font-size: 14px;">
  5. <icon-svg name="jiantou" style="width: 1.2em;height: 1.2em;position: relative;top: 0.3em;"></icon-svg>
  6. 返回
  7. </a>
  8. <span style="display: inline-block;margin: 0 15px;color: #D9D9D9;">|</span>
  9. <span>用户详情</span>
  10. </div>
  11. <el-tabs v-model="activeName" @tab-click="handleClick">
  12. <el-tab-pane label="用户详情" name="first">
  13. <div class="detailtabel">
  14. <div class="table_main">
  15. <table>
  16. <tbody>
  17. <tr>
  18. <th>本月下单数量</th>
  19. <td>{{ tablenum.orderMonth ? `${tablenum.orderMonth}单` : '0单' }}</td>
  20. <th>本月充值金额</th>
  21. <td>{{ tablenum.topUpMonth ? `${tablenum.topUpMonth}元` : '0元' }}</td>
  22. <th>骑手收入</th>
  23. <td class="border-rt">
  24. {{ tablenum.riderMoney ? `${tablenum.riderMoney}元` : '0元' }}
  25. </td>
  26. <!-- <th>本月邀请数量</th>
  27. <td class = "border-rt">{{ tablenum.inviteCount ? `${tablenum.inviteCount}人` : '0人' }}</td> -->
  28. </tr>
  29. <!-- <tr>
  30. <th>本月派单数量</th>
  31. <td>{{ tablenum.helpTakeCount ? `${tablenum.helpTakeCount}笔` : '0笔' }}</td>
  32. <th>本月提现金额</th>
  33. <td>{{ tablenum.cashOutMoney ? `${tablenum.cashOutMoney}元` : '0元' }}</td>
  34. <th>openId</th>
  35. <td class = "border-rt">{{ tableData.openId ? tableData.openId : '未绑定' }}</td>
  36. </tr> -->
  37. <tr>
  38. <th>本月接单数量</th>
  39. <td>{{ tablenum.joinOrderMonth ? `${tablenum.joinOrderMonth}单` : '0单' }}</td>
  40. <!-- <th>用户状态</th>
  41. <td>
  42. <span v-if="tableData.status == 1 ">正常</span>
  43. <span v-if="tableData.status == 2 " style="color: #f56c6c;">禁用</span>
  44. <el-button size="mini" type="danger" style="color: #4f9dec;background: #fff;border: none;"
  45. :disabled="!isAuth('userList:updateStatus')" @click="stateChange(tableData.userId)">更改状态
  46. </el-button>
  47. </td> -->
  48. <th>余额</th>
  49. <td style="color: rgb(245, 108, 108)">
  50. {{ tablemoney.money ? `${tablemoney.money}元` : '0元' }}
  51. <el-button size="mini" type="danger" style="color: #4f9dec;background: #fff;border: none;"
  52. :disabled="!isAuth('userList:updateMoney')" @click="rechargenone(tableData.userId,1)">修改余额
  53. </el-button>
  54. </td>
  55. <th>本月提现金额</th>
  56. <td class="border-rt">
  57. {{ tableData.cashMoney ? `${tablenum.cashMoney}元` : '0元'}}
  58. </td>
  59. </tr>
  60. <tr>
  61. <th>创建时间</th>
  62. <td>{{tableData.createTime}}</td>
  63. <th>积分</th>
  64. <td style="color: rgb(245, 108, 108)">
  65. {{ tablemoney.integralNum ? `${tablemoney.integralNum}分` : '0分' }}
  66. <el-button size="mini" type="danger" style="color: #4f9dec;background: #fff;border: none;"
  67. :disabled="!isAuth('userList:updateMoney')" @click="updateJf(tableData.userId)">修改积分
  68. </el-button>
  69. </td>
  70. <th>骑手保证金</th>
  71. <td class="border-rt">
  72. {{ tablemoney.cashDeposit ? `${tablemoney.cashDeposit}元` : '0元' }}
  73. <el-button size="mini" type="danger" style="color: #4f9dec;background: #fff;border: none;"
  74. :disabled="!isAuth('userList:updateMoney')" @click="rechargenone(tableData.userId,2)">修改
  75. </el-button>
  76. </td>
  77. </tr>
  78. <tr>
  79. <th>骑手余额</th>
  80. <td>
  81. {{ tablemoney.balance ? `${tablemoney.balance}元` : '0元' }}
  82. <el-button size="mini" type="danger" style="color: #4f9dec;background: #fff;border: none;"
  83. :disabled="!isAuth('userList:updateMoney')" @click="rechargenone(tableData.userId,3)">修改
  84. </el-button>
  85. </td>
  86. <th>邀请码</th>
  87. <td>{{ tablenum.invitationCode}}</td>
  88. <th>收款二维码</th>
  89. <td class="border-rt">
  90. <el-popover placement="top-start" title="" trigger="hover">
  91. <img style="width: 50px; height: 50px" :src="tablemoney.cashQrCode" alt=""
  92. slot="reference">
  93. <img style="width: 300px; height: 300px" :src="tablemoney.cashQrCode" alt="">
  94. </el-popover>
  95. </td>
  96. </tr>
  97. <tr>
  98. <th>用户状态</th>
  99. <td>
  100. <span v-if="tableData.status == 1 ">正常</span>
  101. <span v-if="tableData.status == 2 " style="color: #f56c6c;">禁用</span>
  102. <el-button size="mini" type="danger" style="color: #4f9dec;background: #fff;border: none;"
  103. :disabled="!isAuth('userList:updateStatus')" @click="stateChange(tableData.userId)">更改状态
  104. </el-button>
  105. </td>
  106. <th>邀请人邀请码</th>
  107. <td>{{ tablenum.inviterCode }}</td>
  108. <th></th>
  109. <td class="border-rt"></td>
  110. </tr>
  111. <tr>
  112. <th>openId</th>
  113. <td>{{ tableData.openId ? tableData.openId : '未绑定' }}</td>
  114. <th>手机号</th>
  115. <td>{{ tableData.phone ? tableData.phone : '未绑定' }}</td>
  116. <th>图像</th>
  117. <td class="border-rt">
  118. <img
  119. :src="tableData.avatar ? tableData.avatar : 'https://www.daweilinli.com/sqx_fast/logo.png'"
  120. width="80" height="80" />
  121. </td>
  122. </tr>
  123. <tr>
  124. <th>微信名称</th>
  125. <td>{{ tableData.userName }}</td>
  126. <th>支付宝账号</th>
  127. <td>{{ tableData.zhiFuBao ? tableData.zhiFuBao : '未绑定' }}</td>
  128. <th>支付宝姓名</th>
  129. <td class="border-rt">{{ tableData.zhiFuBaoName ? tableData.zhiFuBaoName : '未绑定' }}</td>
  130. </tr>
  131. <tr>
  132. <th>是否是骑手</th>
  133. <td>
  134. <span>{{tableData.userType==2?'是':'否'}}</span>
  135. </td>
  136. <th>是否实名</th>
  137. <td>
  138. <span>{{tableData.checkCertification==1?'是':'否'}}</span>
  139. </td>
  140. <th>是否是新用户</th>
  141. <td class="border-rt">
  142. <span>{{tableData.newUserFlag==1?'是':'否'}}</span>
  143. </td>
  144. </tr>
  145. <tr>
  146. <th>骑手openId</th>
  147. <td>
  148. <span>{{tableData.riderOpenId}}</span>
  149. </td>
  150. <th>骑手微信openId</th>
  151. <td>
  152. <span>{{tableData.riderWxOpenId}}</span>
  153. </td>
  154. <th>保证金订单号</th>
  155. <td class="border-rt">
  156. <span>{{tableData.checkNumber}}</span>
  157. </td>
  158. </tr>
  159. <tr>
  160. <th>渠道来源</th>
  161. <td>{{tableData.platform}}</td>
  162. <th>身份证号</th>
  163. <td>{{tableData.identityCardNumber}}</td>
  164. <th>更新时间</th>
  165. <td class="border-rt"> {{tableData.updateTime}}</td>
  166. </tr>
  167. <tr>
  168. <th>身份证正面照</th>
  169. <td>
  170. <img :src="tableData.identityCardFront" width="80" height="80" />
  171. </td>
  172. <th>身份证背面照</th>
  173. <td>
  174. <img :src="tableData.identityCardVerso" width="80" height="80" />
  175. </td>
  176. <th>手持身份证照</th>
  177. <td class="border-rt">
  178. <img :src="tableData.selfIdentityCard" width="80" height="80" />
  179. </td>
  180. </tr>
  181. <tr>
  182. <th class="border-bt">是否是店铺管理员</th>
  183. <td class="border-bt">
  184. {{tableData.shopAdminFlag==1?'是':'否'}}
  185. </td>
  186. <th class="border-bt">是否是会员</th>
  187. <td class="border-bt">{{tableData.isVip==1?'是':'否'}}</td>
  188. <th class="border-bt">会员到期时间</th>
  189. <td class="border-bt border-rt">
  190. {{tableData.vipExpirationTime}}
  191. </td>
  192. </tr>
  193. </tbody>
  194. </table>
  195. </div>
  196. </div>
  197. </el-tab-pane>
  198. <!-- <el-tab-pane label = "用户消息" name = "third">
  199. <el-table v-loading = "tableDataLoading" :data = "userData.list">
  200. <el-table-column prop = "id" label = "编号" width = "80">
  201. </el-table-column>
  202. <el-table-column prop = "userName" label = "用户名称">
  203. </el-table-column>
  204. <el-table-column prop = "title" label = "消息标题">
  205. </el-table-column>
  206. <el-table-column prop = "content" label = "消息内容" width = "280">
  207. </el-table-column>
  208. <el-table-column prop = "createAt" label = "创建时间" width = "150">
  209. </el-table-column>
  210. </el-table>
  211. <div style = "text-align: center;margin-top: 10px;">
  212. <el-pagination @size-change = "handleSizeChange1" @current-change = "handleCurrentChange1" :page-sizes = "[10, 20, 30, 50, 100]"
  213. :page-size = "limit" :current-page = "page" layout = "total,sizes, prev, pager, next"
  214. :total = "userData.totalCount">
  215. </el-pagination>
  216. </div>
  217. </el-tab-pane>-->
  218. <!-- <el-tab-pane label="任务消息" name="fifth">
  219. <el-table
  220. v-loading="tableDataLoading"
  221. :data="userData.list">
  222. <el-table-column
  223. prop="id"
  224. label="编号"
  225. width="80">
  226. </el-table-column>
  227. <el-table-column
  228. prop="userName"
  229. label="用户名称">
  230. </el-table-column>
  231. <el-table-column
  232. prop="title"
  233. label="消息标题">
  234. </el-table-column>
  235. <el-table-column
  236. prop="content"
  237. label="消息内容"
  238. width="280">
  239. </el-table-column>
  240. <el-table-column
  241. prop="createAt"
  242. label="创建时间"
  243. width="150">
  244. </el-table-column>
  245. </el-table>
  246. <div style="text-align: center;margin-top: 10px;">
  247. <el-pagination
  248. @size-change="handleSizeChange1"
  249. @current-change="handleCurrentChange1"
  250. :page-sizes="[10, 20, 30,50,100]"
  251. :page-size="limit"
  252. :current-page="page"
  253. layout="total,sizes, prev, pager, next"
  254. :total="userData.totalCount">
  255. </el-pagination>
  256. </div>
  257. </el-tab-pane> -->
  258. <!-- <el-tab-pane label="提现记录" name="sixth">
  259. <el-table
  260. v-loading="tableDataLoading"
  261. :data="withdrawData.list">
  262. <el-table-column
  263. prop="id"
  264. label="编号"
  265. width="80">
  266. </el-table-column>
  267. <el-table-column
  268. prop="zhifubao"
  269. label="支付宝账号">
  270. </el-table-column>
  271. <el-table-column
  272. prop="zhifubaoName"
  273. label="支付宝名称">
  274. </el-table-column>
  275. <el-table-column
  276. prop="money"
  277. label="提现金额">
  278. <template slot-scope="scope">
  279. <span style="color: #f56c6c;">{{scope.row.money}}</span>
  280. </template>
  281. </el-table-column>
  282. <el-table-column
  283. prop="orderNumber"
  284. label="付款编号">
  285. </el-table-column>
  286. <el-table-column
  287. prop="createAt"
  288. label="创建时间">
  289. </el-table-column>
  290. <el-table-column
  291. prop="outAt"
  292. label="结束时间">
  293. </el-table-column>
  294. <el-table-column
  295. fixed='right'
  296. prop="state"
  297. label="状态"
  298. width="100">
  299. <template slot-scope="scope">
  300. <span style="color: #4f9dec;" v-if="scope.row.state === 1 ">提现成功</span>
  301. <span style="color: #4f9dec;" v-if="scope.row.state === -1 ">已退款</span>
  302. </template>
  303. </el-table-column>
  304. </el-table>
  305. <div style="text-align: center;margin-top: 10px;">
  306. <el-pagination
  307. @size-change="handleSizeChange2"
  308. @current-change="handleCurrentChange2"
  309. :page-sizes="[10, 20, 30,50,100]"
  310. :page-size="limit"
  311. :current-page="page"
  312. layout="total,sizes, prev, pager, next"
  313. :total="walletData.totalCount">
  314. </el-pagination>
  315. </div>
  316. </el-tab-pane>-->
  317. <el-tab-pane label="钱包明细" name="eighth">
  318. <el-table v-loading="tableDataLoading" :data="walletData.records">
  319. <el-table-column prop="id" label="编号" width="100">
  320. </el-table-column>
  321. <el-table-column prop="title" label="标题">
  322. </el-table-column>
  323. <el-table-column prop="content" label="内容">
  324. </el-table-column>
  325. <el-table-column prop="money" label="金额" width="100">
  326. <template slot-scope="scope">
  327. <span style="color: #f56c6c;" v-if="scope.row.type==2">- {{ scope.row.money }}</span>
  328. <span style="color: #008200;" v-if="scope.row.type==1">+ {{ scope.row.money }}</span>
  329. </template>
  330. </el-table-column>
  331. <el-table-column prop="createTime" label="创建时间" width="180">
  332. </el-table-column>
  333. </el-table>
  334. <div style="text-align: center;margin-top: 10px;">
  335. <el-pagination @size-change="handleSizeChange3" @current-change="handleCurrentChange3"
  336. :page-sizes="[10, 20, 30,50,100]" :page-size="limit" :current-page="page"
  337. layout="total,sizes, prev, pager, next" :total="walletData.total">
  338. </el-pagination>
  339. </div>
  340. </el-tab-pane>
  341. <el-tab-pane label="充值明细" name="seventh">
  342. <div style="display: inline-block;">
  343. <span>开始时间:</span>
  344. <el-date-picker style="width: 200px;margin-left: 10px;" v-model="startTime" align="right" type="datetime"
  345. default-time="00:00:00" placeholder="选择开始时间">
  346. </el-date-picker>&nbsp;&nbsp;&nbsp;
  347. <span>截止时间:</span>
  348. <el-date-picker style="width: 200px;margin-left: 10px;" v-model="endTime" align="right" type="datetime"
  349. default-time="23:59:59" placeholder="选择截止时间">
  350. </el-date-picker>
  351. <el-button style="margin-left:15px;" size="mini" type="primary" icon="document" @click="timeDate2">查询
  352. </el-button>
  353. </div>
  354. <el-table v-loading="tableDataLoading" :data="rechargeData.list">
  355. <el-table-column prop="id" label="编号" width="50">
  356. </el-table-column>
  357. <el-table-column prop="orderId" label="充值订单号" width="200">
  358. </el-table-column>
  359. <el-table-column prop="money" label="充值金额">
  360. </el-table-column>
  361. <el-table-column prop="userId" label="会员编号">
  362. </el-table-column>
  363. <!-- <el-table-column label = "分类">
  364. <template slot-scope = "scope">
  365. <span style = "color: #4f9dec;cursor: pointer;" v-if = "scope.row.classify == 1">微信</span>
  366. <span style = "color: #4f9dec;cursor: pointer;" v-if = "scope.row.classify == 2">支付宝</span>
  367. </template>
  368. </el-table-column> -->
  369. <el-table-column label="状态">
  370. <template slot-scope="scope">
  371. <span style="color: #4f9dec;cursor: pointer;" v-if="scope.row.state == 0">待支付</span>
  372. <span style="color: #4f9dec;cursor: pointer;" v-if="scope.row.state == 1">支付成功</span>
  373. <span style="color: #4f9dec;cursor: pointer;" v-if="scope.row.state == 2">支付失败</span>
  374. </template>
  375. </el-table-column>
  376. <el-table-column prop="createTime" label="创建时间" width="170">
  377. </el-table-column>
  378. <el-table-column prop="payTime" label="支付时间" width="170">
  379. </el-table-column>
  380. </el-table>
  381. <div style="text-align: center;margin-top: 10px;">
  382. <el-pagination @size-change="handleSizeChange4" @current-change="handleCurrentChange4"
  383. :page-sizes="[10, 20, 30,50,100]" :page-size="limit" :current-page="page"
  384. layout="total,sizes, prev, pager, next" :total="rechargeData.totalCount">
  385. </el-pagination>
  386. </div>
  387. </el-tab-pane>
  388. <el-tab-pane label="积分明细" name="jifen">
  389. <el-table v-loading="tableDataLoading" :data="jifenData.list">
  390. <el-table-column prop="id" label="编号" width="100">
  391. </el-table-column>
  392. <!-- <el-table-column prop = "title" label = "标题" width = "120">
  393. </el-table-column> -->
  394. <el-table-column prop="content" label="内容">
  395. </el-table-column>
  396. <el-table-column prop="num" label="金额" width="100">
  397. <template slot-scope="scope">
  398. <span style="color: #006600;" v-if="scope.row.type==1">+ {{ scope.row.num }}</span>
  399. <span style="color: #f56c6c;" v-if="scope.row.type==2">- {{ scope.row.num }}</span>
  400. </template>
  401. </el-table-column>
  402. <el-table-column prop="createTime" label="创建时间" width="180">
  403. </el-table-column>
  404. </el-table>
  405. <div style="text-align: center;margin-top: 10px;">
  406. <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange"
  407. :page-sizes="[10, 20, 30,50,100]" :page-size="limit" :current-page="page"
  408. layout="total,sizes, prev, pager, next" :total="jifenData.totalCount">
  409. </el-pagination>
  410. </div>
  411. </el-tab-pane>
  412. <el-tab-pane label="我的订单" name="tenth">
  413. <el-table v-loading="tableDataLoading" :data="takeData.list">
  414. <el-table-column prop="orderId" label="编号" width="80">
  415. </el-table-column>
  416. <el-table-column prop="orderNumber" label="订单编号" width="150">
  417. </el-table-column>
  418. <el-table-column prop="phone" label="手机号"></el-table-column>
  419. <el-table-column prop="shopName" label="商铺信息" width="300">
  420. <template slot-scope="scope">
  421. <div>店铺名称:{{scope.row.shopName}}</div>
  422. <div>店铺电话:{{scope.row.shopPhone}}</div>
  423. <div>店铺地址:{{scope.row.detailedAddress}}</div>
  424. </template>
  425. </el-table-column>
  426. <el-table-column prop="orderType" label="订单类型">
  427. <template slot-scope="scope">
  428. <div>{{scope.row.orderType==1?'到店取餐':'外卖配送'}}</div>
  429. </template>
  430. </el-table-column>
  431. <el-table-column prop="content" label="内容" width="300">
  432. <template slot-scope="scope">
  433. <div>
  434. <div v-for="(item,index) in scope.row.orderGoodsList" :key="index">
  435. <span>{{index+1}}.
  436. 商品名:{{item.goodsName}},</span><span>数量:{{item.goodsNum}},</span><span>规格:{{item.skuMessage}}</span>
  437. </div>
  438. </div>
  439. </template>
  440. </el-table-column>
  441. <el-table-column prop="riderNickName" label="骑手昵称" width="120">
  442. <template slot-scope="scope">
  443. <div style="color: #4f9dec;cursor: pointer;" @click="updates(scope.row.riderUserId)">{{scope.row.riderNickName}}</div>
  444. </template>
  445. </el-table-column>
  446. <el-table-column prop="riderPhone" label="骑手电话" width="200"></el-table-column>
  447. <!-- <el-table-column prop="payMoney" label="支付金额" width="100"></el-table-column> -->
  448. <el-table-column prop="goodsPriceZ" label="商品总价" width="100">
  449. </el-table-column>
  450. <el-table-column prop="couponMoney" label="优惠金额" width="100">
  451. <template slot-scope="scope">
  452. <div>
  453. <div>
  454. <span>{{scope.row.couponMoney?scope.row.couponMoney:'0'}}</span>
  455. </div>
  456. </div>
  457. </template>
  458. </el-table-column>
  459. <el-table-column prop="packMoney" label="打包费" width="100"></el-table-column>
  460. <el-table-column prop="errandMoney" label="跑腿费" width="100"></el-table-column>
  461. <el-table-column prop="payMoney" label="支付金额" width="100"></el-table-column>
  462. <el-table-column prop="remark" label="订单备注" width="150">
  463. </el-table-column>
  464. <el-table-column prop="payTime" label="支付时间"></el-table-column>
  465. <el-table-column prop="orderCode" label="取餐号" width="100"></el-table-column>
  466. <el-table-column fixed="right" prop="status" label="状态" width="100">
  467. <!-- <template slot-scope="scope">
  468. <span style="color: #4f9dec;" v-if="scope.row.status === 0 ">待结算</span>
  469. <span style="color: #4f9dec;" v-if="scope.row.status === 1 ">待支付</span>
  470. <span style="color: #4f9dec;" v-if="scope.row.status === 3 ">待取餐</span>
  471. <span style="color: #4f9dec;" v-if="scope.row.status === 4 ">已完成</span>
  472. <span style="color: #4f9dec;" v-if="scope.row.status === 5 ">已取消</span>
  473. <span style="color: #4f9dec;" v-if="scope.row.status === 6 ">制作中</span>
  474. </template> -->
  475. <template slot-scope="scope">
  476. <span style="color: #4f9dec;" v-if="scope.row.status === 0 ">待结算</span>
  477. <span style="color: #4f9dec;" v-if="scope.row.status === 1 ">待支付</span>
  478. <span style="color: #4f9dec;" v-if="scope.row.status === 3 ">
  479. {{scope.row.orderType==1?'待取餐':'待配送'}}
  480. </span>
  481. <span style="color: #4f9dec;" v-if="scope.row.status === 4 ">已完成</span>
  482. <span style="color: #999;" v-if="scope.row.status === 5 ">已取消</span>
  483. <span style="color: #999;" v-if="scope.row.status === 6 ">制作中</span>
  484. <span style="color: #999;" v-if="scope.row.status === 7 ">商家待接单</span>
  485. <span style="color: #999;" v-if="scope.row.status === 8 ">商家已拒单</span>
  486. </template>
  487. </el-table-column>
  488. </el-table>
  489. <div style="text-align: center;margin-top: 10px;">
  490. <el-pagination @size-change="handleSizeChange6" @current-change="handleCurrentChange6"
  491. :page-sizes="[10, 20, 30,50,100]" :page-size="limit" :current-page="page"
  492. layout="total,sizes, prev, pager, next" :total="takeData.totalCount">
  493. </el-pagination>
  494. </div>
  495. </el-tab-pane>
  496. <el-tab-pane label="我的消息" name="message">
  497. <!-- <div style = "float: right;margin-right:2%;">
  498. <el-button style = "margin: 10px 0;" size = "mini" type = "primary" icon = "document" @click = "magNotice">消息推送</el-button>
  499. </div> -->
  500. <el-table v-loading="tableDataLoading" :data="userData.list">
  501. <el-table-column fixed prop="id" label="编号" width="80">
  502. </el-table-column>
  503. <!-- <el-table-column prop="userName" label="用户名称">
  504. </el-table-column> -->
  505. <el-table-column prop="title" label="消息标题">
  506. </el-table-column>
  507. <el-table-column prop="content" label="消息内容" width="280">
  508. </el-table-column>
  509. <el-table-column prop="createAt" label="创建时间">
  510. </el-table-column>
  511. </el-table>
  512. <div style="text-align: center;margin-top: 10px;">
  513. <el-pagination @size-change="handleSizeChange1" @current-change="handleCurrentChange1"
  514. :page-sizes="[10, 20, 30,50,100]" :page-size="limit" :current-page="page"
  515. layout="total,sizes, prev, pager, next" :total="userData.totalCount">
  516. </el-pagination>
  517. </div>
  518. <!-- 消息推送 -->
  519. <el-dialog title="消息推送" :visible.sync="dialogFormVisible" center>
  520. <div style="margin-bottom: 10px;">
  521. <span style="width: 200px;display: inline-block;text-align: right;">消息标题:</span>
  522. <el-input style="width: 50%;" v-model="title" placeholder="请输入消息标题"></el-input>
  523. </div>
  524. <div style="margin-bottom: 10px;">
  525. <span
  526. style="width: 200px;display: inline-block;text-align: right;position: relative;top: -65px;">消息内容:</span>
  527. <el-input style="width: 50%;" type="textarea" rows="4" v-model="content" placeholder="请输入消息内容"></el-input>
  528. </div>
  529. <div slot="footer" class="dialog-footer">
  530. <el-button @click="dialogFormVisible = false">取 消</el-button>
  531. <el-button type="primary" @click="magNoticeTo()">确 定</el-button>
  532. </div>
  533. </el-dialog>
  534. </el-tab-pane>
  535. <el-tab-pane label="我的优惠券" name="youhuiquan">
  536. <el-table v-loading="tableDataLoading" :data="youhuiquanData.list">
  537. <el-table-column prop="id" label="编号" width="80">
  538. </el-table-column>
  539. <el-table-column prop="couponName" label="优惠券名称">
  540. </el-table-column>
  541. <el-table-column prop="couponPicture" label="图片">
  542. <template slot-scope="scope">
  543. <img :src="scope.row.couponPicture" alt="" width="40" height="40">
  544. </template>
  545. </el-table-column>
  546. <el-table-column prop="money" label="优惠券金额">
  547. </el-table-column>
  548. <el-table-column prop="minMoney" label="最低消费">
  549. </el-table-column>
  550. <el-table-column prop="needIntegral" label="兑换积分">
  551. </el-table-column>
  552. <el-table-column prop="createTime" label="领取时间">
  553. </el-table-column>
  554. <el-table-column prop="expirationTime" label="过期时间">
  555. </el-table-column>
  556. <el-table-column prop="expirationTime" label="状态">
  557. <template slot-scope="scope">
  558. <span v-if="scope.row.status==0">待使用</span>
  559. <span v-else-if="scope.row.status==1">已使用</span>
  560. <span v-else-if="scope.row.status==2">已失效</span>
  561. </template>
  562. </el-table-column>
  563. </el-table>
  564. <div style="text-align: center;margin-top: 10px;">
  565. <el-pagination @size-change="handleSizeChange7" @current-change="handleCurrentChange7"
  566. :page-sizes="[10, 20, 30, 40]" :page-size="limit" :current-page="page"
  567. layout="total,sizes, prev, pager, next" :total="youhuiquanData.totalCount">
  568. </el-pagination>
  569. </div>
  570. </el-tab-pane>
  571. <el-tab-pane label="我的地址" name="dizhi">
  572. <div style="display: inline-block;">
  573. <el-button style="margin-left:15px;" size="mini" type="primary" icon="document" @click="adddates(0)">添加
  574. </el-button>
  575. </div>
  576. <el-table v-loading="tableDataLoading" :data="dizhiData.list">
  577. <el-table-column prop="addressId" label="编号" width="80">
  578. </el-table-column>
  579. <el-table-column prop="userName" label="用户姓名" width="100">
  580. </el-table-column>
  581. <el-table-column prop="userPhone" label="用户电话" width="120">
  582. </el-table-column>
  583. <el-table-column prop="money" label="详细地址">
  584. <template slot-scope="scope">
  585. <span>{{scope.row.address}}({{scope.row.addressDetail}})</span>
  586. </template>
  587. </el-table-column>
  588. <el-table-column prop="minMoney" label="是否默认" width="80">
  589. <template slot-scope="scope">
  590. <span v-if="scope.row.addressDefault==0">否</span>
  591. <span v-else-if="scope.row.addressDefault==1">是</span>
  592. </template>
  593. </el-table-column>
  594. <el-table-column prop="createTime" label="创建时间" width="150">
  595. </el-table-column>
  596. <el-table-column label="操作" width="220">
  597. <template slot-scope="scope">
  598. <el-button size="mini" type="primary" @click="adddates(scope.row)">
  599. 编辑
  600. </el-button>
  601. <el-button size="mini" type="danger" @click="deleteStair(scope.row)">删除
  602. </el-button>
  603. </template>
  604. </el-table-column>
  605. </el-table>
  606. <div style="text-align: center;margin-top: 10px;">
  607. <el-pagination @size-change="handleSizeChange8" @current-change="handleCurrentChange8"
  608. :page-sizes="[10, 20, 30, 40]" :page-size="limit" :current-page="page"
  609. layout="total,sizes, prev, pager, next" :total="dizhiData.totalCount">
  610. </el-pagination>
  611. </div>
  612. </el-tab-pane>
  613. <el-tab-pane label="我的发布" name="fadan">
  614. <div>
  615. <!-- <div style="position: relative;display: inline-block;">
  616. <span>标题名称:</span>
  617. <el-input style="width: 200px;" @keydown.enter.native="phoneSelect" placeholder="请输入标题名称"
  618. v-model="search">
  619. </el-input>&nbsp;&nbsp;
  620. </div> -->
  621. <!-- <el-button style="margin:10px;" size="mini" type="primary" icon="document" @click="phoneSelect">查询
  622. </el-button>
  623. <el-button style="margin:10px;" size="mini" type="primary" icon="document" @click="cleans2">重置
  624. </el-button> -->
  625. </div>
  626. <el-table v-loading="tableDataLoading" :data="fadanData.list">
  627. <el-table-column fixed prop="id" label="编号" width="80" fixed="left">
  628. <template slot-scope="scope">
  629. <div>{{scope.$index +1}}</div>
  630. </template>
  631. </el-table-column>
  632. <el-table-column prop="shipAddressDetail" label="任务类型" width="200">
  633. <template slot-scope="scope">
  634. <div v-if="scope.row.indentType=='1'">帮我送</div>
  635. <div v-if="scope.row.indentType=='2'">帮我取</div>
  636. <div v-if="scope.row.indentType=='3'">同城帮买</div>
  637. <div v-if="scope.row.indentType=='4'">同城服务</div>
  638. <div v-if="scope.row.indentType=='5'">同城外卖</div>
  639. </template>
  640. </el-table-column>
  641. <el-table-column prop="productDetails" label="帮买物品" width="150">
  642. </el-table-column>
  643. <el-table-column prop="deilveryAddressDetail" label="地址" width="300">
  644. <template slot-scope="scope">
  645. <div>
  646. <span v-if="scope.row.indentType=='1'||scope.row.indentType=='2'">取货地址:</span>
  647. <span v-if="scope.row.indentType=='3'">帮买地址:</span>
  648. <div v-if="scope.row.indentType!='5'">
  649. {{scope.row.shopProvince}}{{scope.row.shopCity}}{{scope.row.shopDistrict}}{{scope.row.shopAddressDetail}}
  650. </div>
  651. <div v-if="scope.row.indentType=='1'||scope.row.indentType=='2'">
  652. <div>联系人:{{scope.row.shopName}} {{scope.row.shopPhone}}</div>
  653. </div>
  654. <div v-if="scope.row.indentType=='5'">
  655. <div>取货商铺:{{scope.row.shopName}} {{scope.row.shopPhone}}</div>
  656. <div>
  657. <span>商铺地址:</span>
  658. {{scope.row.shopProvince}}{{scope.row.shopCity}}{{scope.row.shopDistrict}}{{scope.row.shopAddressDetail}}
  659. </div>
  660. </div>
  661. </div>
  662. <br />
  663. <div v-if="scope.row.userName">
  664. <div><span>收货地址:</span>
  665. {{scope.row.userProvince}}{{scope.row.userCity}}{{scope.row.userDistrict}}{{scope.row.userAddressDetail}}
  666. </div>
  667. <div>联系人:{{scope.row.userName}} {{scope.row.userPhone}}</div>
  668. </div>
  669. </template>
  670. </el-table-column>
  671. <el-table-column prop="riderNickName" label="骑手昵称" width="120">
  672. <template slot-scope="scope">
  673. <div style="color: #4f9dec;cursor: pointer;" @click="updates(scope.row.riderUserId)">{{scope.row.riderNickName}}</div>
  674. </template>
  675. </el-table-column>
  676. <el-table-column prop="riderPhone" label="骑手电话" width="200"></el-table-column>
  677. <el-table-column prop="serviceDetails" label="服务详情"></el-table-column>
  678. <el-table-column prop="serviceType" label="服务类型"></el-table-column>
  679. <!-- <el-table-column prop="tool" label="是否自备配件"></el-table-column> -->
  680. <el-table-column prop="buyType" label="购买时间">
  681. </el-table-column>
  682. <el-table-column prop="prepayMoney" label="预估商品费用">
  683. </el-table-column>
  684. <el-table-column prop="redPacketAmount" label="红包">
  685. </el-table-column>
  686. <el-table-column prop="tip" label="小费">
  687. </el-table-column>
  688. <el-table-column prop="itemCode" label="收货码">
  689. </el-table-column>
  690. <el-table-column prop="remarks" label="备注" width="200">
  691. </el-table-column>
  692. <el-table-column prop="riderMoney" label="跑腿费">
  693. </el-table-column>
  694. <el-table-column prop="createTime" label="创建时间" width="160">
  695. </el-table-column>
  696. <el-table-column prop="state" label="状态" fixed="right" width="160">
  697. <template slot-scope="scope">
  698. <div v-if="scope.row.indentState=='0'">未支付</div>
  699. <div v-if="scope.row.indentState=='1'">未支付</div>
  700. <div v-if="scope.row.indentState=='2'">已支付</div>
  701. <div v-if="scope.row.indentState=='3'">骑手已接单</div>
  702. <div v-if="scope.row.indentState=='4'">骑手已取货/购买</div>
  703. <!-- <div v-if="scope.row.indentState=='5'">已送达</div> -->
  704. <div v-if="scope.row.indentState=='6'">订单已完成</div>
  705. <!-- <div v-if="scope.row.indentState=='7'">已完成</div> -->
  706. <div v-if="scope.row.indentState=='8'">用户取消订单</div>
  707. <div v-if="scope.row.indentState=='9'">骑手取消订单</div>
  708. <div v-if="scope.row.indentState=='10'">已下架</div>
  709. </template>
  710. </el-table-column>
  711. </el-table>
  712. <div style="text-align: center;margin-top: 10px;">
  713. <el-pagination @size-change="handleSizeChange1" @current-change="handleCurrentChange1"
  714. :page-sizes="[10, 15, 20]" :page-size="limit" :current-page="page"
  715. layout="total,sizes, prev, pager, next,jumper" :total="fadanData.totalCount">
  716. </el-pagination>
  717. </div>
  718. </el-tab-pane>
  719. <el-tab-pane label="我的接单" name="jiedan">
  720. <div>
  721. <!-- <div style="position: relative;display: inline-block;">
  722. <span>标题名称:</span>
  723. <el-input style="width: 200px;" @keydown.enter.native="phoneSelect" placeholder="请输入标题名称"
  724. v-model="search">
  725. </el-input>&nbsp;&nbsp;
  726. </div>
  727. <el-button style="margin:10px;" size="mini" type="primary" icon="document" @click="phoneSelect">查询
  728. </el-button>
  729. <el-button style="margin:10px;" size="mini" type="primary" icon="document" @click="cleans2">重置
  730. </el-button> -->
  731. </div>
  732. <el-table v-loading="tableDataLoading" :data="userDataJ.list">
  733. <el-table-column fixed prop="id" label="编号" width="80" fixed="left">
  734. <template slot-scope="scope">
  735. <div>{{scope.$index +1}}</div>
  736. </template>
  737. </el-table-column>
  738. <el-table-column prop="indentType" label="任务类型" width="200">
  739. <template slot-scope="scope">
  740. <div v-if="scope.row.indentType=='1'">帮我送</div>
  741. <div v-if="scope.row.indentType=='2'">帮我取</div>
  742. <div v-if="scope.row.indentType=='3'">同城帮买</div>
  743. <div v-if="scope.row.indentType=='4'">同城服务</div>
  744. <div v-if="scope.row.indentType=='5'">同城外卖</div>
  745. </template>
  746. </el-table-column>
  747. <el-table-column prop="productDetails" label="物品/服务" width="150">
  748. <template slot-scope="scope">
  749. <div v-if="scope.row.indentType=='1'">帮送物品:{{scope.row.remarks}}</div>
  750. <div v-if="scope.row.indentType=='2'">帮取物品:{{scope.row.remarks}}</div>
  751. <div v-if="scope.row.indentType=='3'">帮买物品:{{scope.row.productDetails}}</div>
  752. <div v-if="scope.row.indentType=='4'">服务详情:{{scope.row.serviceDetails}}</div>
  753. <div v-if="scope.row.indentType=='5'">外卖详情:{{scope.row.serviceDetails}}</div>
  754. </template>
  755. </el-table-column>
  756. <el-table-column prop="deilveryAddressDetail" label="地址" width="300">
  757. <template slot-scope="scope">
  758. <div>
  759. <span v-if="scope.row.indentType=='1'||scope.row.indentType=='2'">取货地址:</span>
  760. <span v-if="scope.row.indentType=='3'">帮买地址:</span>
  761. <div v-if="scope.row.indentType!='5'">
  762. {{scope.row.shopProvince}}{{scope.row.shopCity}}{{scope.row.shopDistrict}}{{scope.row.shopAddressDetail}}
  763. </div>
  764. <div v-if="scope.row.indentType=='1'||scope.row.indentType=='2'">
  765. <div>联系人:{{scope.row.shopName}} {{scope.row.shopPhone}}</div>
  766. </div>
  767. <div v-if="scope.row.indentType=='5'">
  768. <div>取货商铺:{{scope.row.shopName}} {{scope.row.shopPhone}}</div>
  769. <div>
  770. <span>商铺地址:</span>
  771. {{scope.row.shopProvince}}{{scope.row.shopCity}}{{scope.row.shopDistrict}}{{scope.row.shopAddressDetail}}
  772. </div>
  773. </div>
  774. </div>
  775. <br />
  776. <div v-if="scope.row.userName">
  777. <div><span>收货地址:</span>
  778. {{scope.row.userProvince}}{{scope.row.userCity}}{{scope.row.userDistrict}}{{scope.row.userAddressDetail}}
  779. </div>
  780. <div>联系人:{{scope.row.userName}} {{scope.row.userPhone}}</div>
  781. </div>
  782. </template>
  783. </el-table-column>
  784. <!-- <el-table-column prop="serviceDetails" label="服务详情"></el-table-column> -->
  785. <el-table-column prop="serviceType" label="服务类型"></el-table-column>
  786. <!-- <el-table-column prop="tool" label="是否自备配件"></el-table-column> -->
  787. <el-table-column prop="buyType" label="帮买方式">
  788. <template slot-scope="scope">
  789. <div v-if="scope.row.buyType=='0'">就近帮买</div>
  790. <div v-if="scope.row.buyType=='1'">指定地点帮买</div>
  791. </template>
  792. </el-table-column>
  793. <el-table-column prop="prepayMoney" label="预估商品费用">
  794. </el-table-column>
  795. <el-table-column prop="redPacketAmount" label="红包">
  796. </el-table-column>
  797. <el-table-column prop="tip" label="小费">
  798. </el-table-column>
  799. <el-table-column prop="errandMoney" label="跑腿费">
  800. </el-table-column>
  801. <el-table-column prop="platformMoney" label="平台收入">
  802. </el-table-column>
  803. <el-table-column prop="riderMoney" label="总费用">
  804. </el-table-column>
  805. <el-table-column prop="itemCode" label="收货码">
  806. </el-table-column>
  807. <el-table-column prop="remarks" label="备注" width="200">
  808. </el-table-column>
  809. <el-table-column prop="createTime" label="创建时间" width="160">
  810. </el-table-column>
  811. <el-table-column prop="state" label="状态" fixed="right" width="160">
  812. <template slot-scope="scope">
  813. <div v-if="scope.row.indentState=='0'">未支付</div>
  814. <div v-if="scope.row.indentState=='1'">未支付</div>
  815. <div v-if="scope.row.indentState=='2'">已支付</div>
  816. <div v-if="scope.row.indentState=='3'">骑手已接单</div>
  817. <div v-if="scope.row.indentState=='4'">骑手已取货/购买</div>
  818. <!-- <div v-if="scope.row.indentState=='5'">已送达</div> -->
  819. <div v-if="scope.row.indentState=='6'">订单已完成</div>
  820. <!-- <div v-if="scope.row.indentState=='7'">已完成</div> -->
  821. <div v-if="scope.row.indentState=='8'">用户取消订单</div>
  822. <div v-if="scope.row.indentState=='9'">骑手取消订单</div>
  823. <div v-if="scope.row.indentState=='10'">已下架</div>
  824. </template>
  825. </el-table-column>
  826. </el-table>
  827. <div style="text-align: center;margin-top: 10px;">
  828. <el-pagination @size-change="handleSizeChange9" @current-change="handleCurrentChange9"
  829. :page-sizes="[10, 15, 20]" :page-size="limit" :current-page="page"
  830. layout="total,sizes, prev, pager, next,jumper" :total="userDataJ.totalCount">
  831. </el-pagination>
  832. </div>
  833. </el-tab-pane>
  834. <el-tab-pane label="我的申诉" name="ninth">
  835. <div style="margin-right:2%;">
  836. <span>状态:</span>
  837. <el-select v-model="complaintState" style="width:150px;margin-left: 10px;" @change="animeDat(complaintState)">
  838. <el-option v-for="item in statesnum" :key="item.value" :label="item.label" :value="item.value">
  839. </el-option>
  840. </el-select>&nbsp;&nbsp;&nbsp;&nbsp;
  841. <div style="position: relative;display: inline-block;">
  842. <span>订单编号:</span>
  843. <el-input style="width: 200px;" @keydown.enter.native="select" placeholder="请输入订单编号" v-model="indentNumber">
  844. </el-input>&nbsp;&nbsp;
  845. </div>
  846. <el-button style="margin-left:15px;" size="mini" type="primary" icon="document" @click="select">查询
  847. </el-button>
  848. <el-button style="margin-left:15px;" size="mini" type="primary" icon="document" @click="cleans">重置
  849. </el-button>
  850. </div>
  851. <el-table v-loading="tableDataLoading" :data="sendData.list">
  852. <el-table-column fixed prop="illegalId" label="编号" width="80">
  853. <!-- <template slot-scope="scope">
  854. <span>{{scope.$index+1}}</span>
  855. </template> -->
  856. </el-table-column>
  857. <el-table-column prop="indentNumber" label="订单号" width="200" align="center">
  858. </el-table-column>
  859. <el-table-column prop="illegal" label="投诉类型" width="150">
  860. <!-- <template slot-scope="scope">
  861. <div v-if="scope.row.complaintType=='1'">取消订单</div>
  862. <div v-if="scope.row.complaintType=='2'">拒绝系统推单</div>
  863. <div v-if="scope.row.complaintType=='3'">残损违规</div>
  864. </template> -->
  865. </el-table-column>
  866. <el-table-column prop="wrongExplain" label="违规说明"></el-table-column>
  867. <el-table-column prop="resultHanding" label="处理结果" width="120" align="center">
  868. </el-table-column>
  869. <el-table-column prop="complaintTime" label="投诉时间" width="100"></el-table-column>
  870. <!-- <el-table-column prop="appealType" label="申诉类型" width="100">
  871. <template slot-scope="scope">
  872. <div v-if="scope.row.appealType=='1'">取消订单</div>
  873. <div v-if="scope.row.appealType=='2'">拒绝系统推单</div>
  874. <div v-if="scope.row.appealType=='3'">残损违规</div>
  875. </template>
  876. </el-table-column> -->
  877. <el-table-column prop="appealMessage" label="申诉理由" align="center">
  878. </el-table-column>
  879. <el-table-column prop="appealTime" label="申诉时间" width="100"></el-table-column>
  880. <el-table-column prop="complaintState" label="申诉状态" width="100">
  881. <template slot-scope="scope">
  882. <span v-if="scope.row.complaintState=='1'">可申诉</span>
  883. <span v-if="scope.row.complaintState=='2'">申诉中</span>
  884. <span v-if="scope.row.complaintState=='3'">申诉未通过</span>
  885. <!-- <span v-if="scope.row.complaintState=='4'">申诉未通过</span> -->
  886. <span v-if="scope.row.complaintState=='4'">申诉通过</span>
  887. </template>
  888. </el-table-column>
  889. </el-table>
  890. <div style="text-align: center;margin-top: 10px;">
  891. <el-pagination @size-change="handleSizeChange5" @current-change="handleCurrentChange5"
  892. :page-sizes="[10, 15, 20]" :page-size="limit" :current-page="page"
  893. layout="total,sizes, prev, pager, next,jumper" :total="sendData.totalCount">
  894. </el-pagination>
  895. </div>
  896. </el-tab-pane>
  897. <el-tab-pane label="跑腿收益统计" name="shouyi">
  898. <div>
  899. <span>时间类型:</span>
  900. <el-select v-model="flag" style="width:150px;margin-left: 10px;" @change="orderfenxi">
  901. <el-option v-for="item in flags" :key="item.value" :label="item.label" :value="item.value">
  902. </el-option>
  903. </el-select>&nbsp;&nbsp;&nbsp;
  904. <el-date-picker style="width: 200px;margin-left: 10px;" v-model="info.stockDate" align="right" type="datetime"
  905. format="yyyy-MM-dd" value-format="yyyy-MM-dd" placeholder="选择开始时间" @change="animeOrder">
  906. </el-date-picker>
  907. </div>
  908. <div>
  909. <el-row>
  910. <el-col :span="6" class="cards">
  911. <div class="box">
  912. <div class="box_num">
  913. <div class="box_color">收益统计</div>
  914. <div class="text_color">
  915. <span>{{tableData2.incomeday ? tableData2.incomeday : 0}}</span>元
  916. </div>
  917. </div>
  918. </div>
  919. </el-col>
  920. <el-col :span="6" class="cards">
  921. <div class="box">
  922. <div class="box_num">
  923. <div class="box_color">订单数量</div>
  924. <div class="text_color">
  925. <span>{{tableData2.indentCount ? tableData2.indentCount : 0}}</span>单
  926. </div>
  927. </div>
  928. </div>
  929. </el-col>
  930. </el-row>
  931. </div>
  932. <el-table v-loading="tableDataLoading" :data="tableData3.list">
  933. <el-table-column fixed prop="indentId" label="编号" width="80" fixed="left">
  934. <!-- <template slot-scope="scope">
  935. <div>{{scope.$index +1}}</div>
  936. </template> -->
  937. </el-table-column>
  938. <el-table-column prop="shipAddressDetail" label="任务类型" width="200">
  939. <template slot-scope="scope">
  940. <div v-if="scope.row.indentType=='1'">帮我送</div>
  941. <div v-if="scope.row.indentType=='2'">帮我取</div>
  942. <div v-if="scope.row.indentType=='3'">同城帮买</div>
  943. <div v-if="scope.row.indentType=='4'">同城服务</div>
  944. <div v-if="scope.row.indentType=='5'">同城外卖</div>
  945. </template>
  946. </el-table-column>
  947. <el-table-column prop="deilveryAddressDetail" label="地址" width="300">
  948. <template slot-scope="scope">
  949. <div>
  950. <span v-if="scope.row.indentType=='1'||scope.row.indentType=='2'">取货地址:</span>
  951. <span v-if="scope.row.indentType=='3'">帮买地址:</span>
  952. <div v-if="scope.row.indentType!='5'">
  953. {{scope.row.shopProvince}}{{scope.row.shopCity}}{{scope.row.shopDistrict}}{{scope.row.shopAddressDetail}}
  954. </div>
  955. <div v-if="scope.row.indentType=='1'||scope.row.indentType=='2'">
  956. <div>联系人:{{scope.row.shopName}} {{scope.row.shopPhone}}</div>
  957. </div>
  958. <div v-if="scope.row.indentType=='5'">
  959. <div>取货商铺:{{scope.row.shopName}} {{scope.row.shopPhone}}</div>
  960. <div>
  961. <span>商铺地址:</span>
  962. {{scope.row.shopProvince}}{{scope.row.shopCity}}{{scope.row.shopDistrict}}{{scope.row.shopAddressDetail}}
  963. </div>
  964. </div>
  965. </div>
  966. <br />
  967. <div v-if="scope.row.userName">
  968. <div><span>收货地址:</span>
  969. {{scope.row.userProvince}}{{scope.row.userCity}}{{scope.row.userDistrict}}{{scope.row.userAddressDetail}}
  970. </div>
  971. <div>联系人:{{scope.row.userName}} {{scope.row.userPhone}}</div>
  972. </div>
  973. </template>
  974. </el-table-column>
  975. <el-table-column prop="redPacketAmount" label="红包">
  976. <template slot-scope="scope">
  977. <span>{{scope.row.redPacketAmount?scope.row.redPacketAmount:'0'}}</span>
  978. </template>
  979. </el-table-column>
  980. <el-table-column prop="tip" label="小费">
  981. <template slot-scope="scope">
  982. <span>{{scope.row.tip?scope.row.tip:'0'}}</span>
  983. </template>
  984. </el-table-column>
  985. <el-table-column prop="itemCode" label="收货码">
  986. </el-table-column>
  987. <el-table-column prop="remarks" label="备注" width="200">
  988. </el-table-column>
  989. <el-table-column prop="riderMoney" label="收益(跑腿费+小费)" width="180" align="center">
  990. </el-table-column>
  991. <el-table-column prop="createTime" label="创建时间" width="180">
  992. </el-table-column>
  993. <el-table-column prop="state" label="状态" fixed="right">
  994. <template slot-scope="scope">
  995. <div v-if="scope.row.indentState=='0'">未支付</div>
  996. <div v-if="scope.row.indentState=='1'">未支付</div>
  997. <div v-if="scope.row.indentState=='2'">已支付</div>
  998. <div v-if="scope.row.indentState=='3'">骑手已接单</div>
  999. <div v-if="scope.row.indentState=='4'">骑手已取货/购买</div>
  1000. <!-- <div v-if="scope.row.indentState=='5'">已送达</div> -->
  1001. <div v-if="scope.row.indentState=='6'">订单已完成</div>
  1002. <!-- <div v-if="scope.row.indentState=='7'">已完成</div> -->
  1003. <div v-if="scope.row.indentState=='8'">用户取消订单</div>
  1004. <div v-if="scope.row.indentState=='9'">骑手取消订单</div>
  1005. <div v-if="scope.row.indentState=='10'">已下架</div>
  1006. </template>
  1007. </el-table-column>
  1008. </el-table>
  1009. <div style="text-align: center;margin-top: 10px;">
  1010. <el-pagination @size-change="handleSizeChange10" @current-change="handleCurrentChange10"
  1011. :page-sizes="[10, 15, 20]" :page-size="limit" :current-page="page"
  1012. layout="total,sizes, prev, pager, next,jumper" :total="tableData3.totalCount">
  1013. </el-pagination>
  1014. </div>
  1015. </el-tab-pane>
  1016. <el-tab-pane label="保证金管理" name="qishoushouyi">
  1017. <el-table v-loading="tableDataLoading" :data="baozhengjinData.list">
  1018. <el-table-column type="selection">
  1019. </el-table-column>
  1020. <el-table-column fixed prop="id" label="编号" width="80">
  1021. </el-table-column>
  1022. <!-- <el-table-column prop = "nickName" label = "用户昵称" width = "120">
  1023. <template slot-scope="scope">
  1024. <div style="color: #4f9dec;cursor: pointer;" @click="updates(scope.row)">{{scope.row.nickName?scope.row.nickName:'未绑定'}}</div>
  1025. </template>
  1026. </el-table-column> -->
  1027. <el-table-column prop="money" label="保证金" width="100">
  1028. <template slot-scope="scope">
  1029. <span style="color: #f56c6c;" v-if="scope.row.type==2">- {{ scope.row.money }}</span>
  1030. <span style="color: #008200;" v-if="scope.row.type==1">+ {{ scope.row.money }}</span>
  1031. </template>
  1032. </el-table-column>
  1033. <!-- <el-table-column prop="phone" label="手机号" width="150">
  1034. <template slot-scope="scope">
  1035. <span>{{scope.row.phone ? scope.row.phone : '暂无'}}</span>
  1036. </template>
  1037. </el-table-column> -->
  1038. <el-table-column prop="title" label="标题">
  1039. </el-table-column>
  1040. <el-table-column prop="content" label="内容">
  1041. </el-table-column>
  1042. <el-table-column prop="createTime" label="创建时间" width="150">
  1043. </el-table-column>
  1044. <el-table-column prop="type" label="状态" width="100" fixed="right">
  1045. <template slot-scope="scope">
  1046. <span v-if="scope.row.type == 1">已交保证金</span>
  1047. <span v-if="scope.row.type == 2">已退保证金</span>
  1048. </template>
  1049. </el-table-column>
  1050. </el-table>
  1051. <div style="text-align: center;margin-top: 10px;">
  1052. <el-pagination @size-change="handleSizeChange11" @current-change="handleCurrentChange11"
  1053. :page-sizes="[10, 15, 20]" :page-size="limit" :current-page="page"
  1054. layout="total,sizes, prev, pager, next,jumper" :total="baozhengjinData.totalCount">
  1055. </el-pagination>
  1056. </div>
  1057. </el-tab-pane>
  1058. <el-tab-pane label="骑手聊天记录" name="qsltjl">
  1059. <el-table v-loading="tableDataLoading" :data="liaotianData.list">
  1060. <el-table-column prop="ordersId" label="编号" width="80">
  1061. </el-table-column>
  1062. <el-table-column prop="shopName" label="商户名称">
  1063. </el-table-column>
  1064. <el-table-column prop="title" label="用户头像">
  1065. <template slot-scope="scope">
  1066. <div >
  1067. <el-popover placement="top-start" title="" trigger="hover">
  1068. <img style="width: 50px; height: 50px" :src="scope.row.shopCover" alt="" slot="reference">
  1069. <img style="width: 200px; height: 200px" :src="scope.row.shopCover" alt="">
  1070. </el-popover>
  1071. </div>
  1072. </template>
  1073. </el-table-column>
  1074. <el-table-column prop="content" label="信息内容" width="280">
  1075. <template slot-scope="scope">
  1076. <div v-if="scope.row.messageType==1">{{scope.row.content}}</div>
  1077. <div v-if="scope.row.messageType==2">
  1078. <el-popover placement="top-start" title="" trigger="hover">
  1079. <img style="width: 50px; height: 50px" :src="scope.row.content" alt="" slot="reference">
  1080. <img style="width: 200px; height: 200px" :src="scope.row.content" alt="">
  1081. </el-popover>
  1082. </div>
  1083. <div v-if="scope.row.messageType==3">
  1084. <audio :src="scope.row.content" type="audio/wav" controls="controls"></audio>
  1085. </div>
  1086. <div v-if="scope.row.messageType==4">
  1087. <el-popover placement="top-start" title="" trigger="hover">
  1088. <img style="width: 50px; height: 50px"
  1089. :src="'https://www.daweilinli.com/emoji/'+scope.row.content" alt="" slot="reference">
  1090. <img style="width: 200px; height: 200px"
  1091. :src="'https://www.daweilinli.com/emoji/'+scope.row.content" alt="">
  1092. </el-popover>
  1093. </div>
  1094. </template>
  1095. </el-table-column>
  1096. <el-table-column prop="createTime" label="创建时间" width="150">
  1097. </el-table-column>
  1098. <el-table-column fixed='right' label="操作" width="150">
  1099. <template slot-scope="scope">
  1100. <el-button size="mini" type="primary" @click="complainDetails(scope.row)">聊天内容
  1101. </el-button>
  1102. </template>
  1103. </el-table-column>
  1104. </el-table>
  1105. <div style="text-align: center;margin-top: 10px;">
  1106. <el-pagination @size-change="handleSizeChange13" @current-change="handleCurrentChange13"
  1107. :page-sizes="[10, 20, 30, 50, 100]" :page-size="limit" :current-page="page"
  1108. layout="total,sizes, prev, pager, next,jumper" :total="liaotianData.totalCount">
  1109. </el-pagination>
  1110. </div>
  1111. </el-tab-pane>
  1112. <el-tab-pane label="用户聊天记录" name="yhltjl">
  1113. <el-table v-loading="tableDataLoading" :data="liaotianData.list">
  1114. <el-table-column prop="ordersId" label="编号" width="80">
  1115. </el-table-column>
  1116. <el-table-column prop="shopName" label="商户名称">
  1117. </el-table-column>
  1118. <el-table-column prop="title" label="用户头像">
  1119. <template slot-scope="scope">
  1120. <div >
  1121. <el-popover placement="top-start" title="" trigger="hover">
  1122. <img style="width: 50px; height: 50px" :src="scope.row.shopCover" alt="" slot="reference">
  1123. <img style="width: 200px; height: 200px" :src="scope.row.shopCover" alt="">
  1124. </el-popover>
  1125. </div>
  1126. </template>
  1127. </el-table-column>
  1128. <el-table-column prop="content" label="信息内容" width="280">
  1129. <template slot-scope="scope">
  1130. <div v-if="scope.row.messageType==1">{{scope.row.content}}</div>
  1131. <div v-if="scope.row.messageType==2">
  1132. <el-popover placement="top-start" title="" trigger="hover">
  1133. <img style="width: 50px; height: 50px" :src="scope.row.content" alt="" slot="reference">
  1134. <img style="width: 200px; height: 200px" :src="scope.row.content" alt="">
  1135. </el-popover>
  1136. </div>
  1137. <div v-if="scope.row.messageType==3">
  1138. <audio :src="scope.row.content" type="audio/wav" controls="controls"></audio>
  1139. </div>
  1140. <div v-if="scope.row.messageType==4">
  1141. <el-popover placement="top-start" title="" trigger="hover">
  1142. <img style="width: 50px; height: 50px"
  1143. :src="'https://www.daweilinli.com/emoji/'+scope.row.content" alt="" slot="reference">
  1144. <img style="width: 200px; height: 200px"
  1145. :src="'https://www.daweilinli.com/emoji/'+scope.row.content" alt="">
  1146. </el-popover>
  1147. </div>
  1148. </template>
  1149. </el-table-column>
  1150. <el-table-column prop="createTime" label="创建时间" width="150">
  1151. </el-table-column>
  1152. <el-table-column fixed='right' label="操作" width="150">
  1153. <template slot-scope="scope">
  1154. <el-button size="mini" type="primary" @click="complainDetails(scope.row)">聊天内容
  1155. </el-button>
  1156. </template>
  1157. </el-table-column>
  1158. </el-table>
  1159. <div style="text-align: center;margin-top: 10px;">
  1160. <el-pagination @size-change="handleSizeChange14" @current-change="handleCurrentChange14"
  1161. :page-sizes="[10, 20, 30, 50, 100]" :page-size="limit" :current-page="page"
  1162. layout="total,sizes, prev, pager, next,jumper" :total="liaotianData.totalCount">
  1163. </el-pagination>
  1164. </div>
  1165. </el-tab-pane>
  1166. <!-- 不可提现添加金额 -->
  1167. <el-dialog title="修改金额" :visible.sync="dialogFormVisible1" center>
  1168. <div style="margin-bottom: 10px;">
  1169. <span style="width: 200px;display: inline-block;text-align: right;">修改类型:</span>
  1170. <el-radio-group v-model="type">
  1171. <el-radio :label="1">添加</el-radio>
  1172. <el-radio :label="2">减少</el-radio>
  1173. </el-radio-group>
  1174. </div>
  1175. <div style="margin-bottom: 10px;">
  1176. <span style="width: 200px;display: inline-block;text-align: right;">金额:</span>
  1177. <el-input style="width:50%;" v-model="money" type="number" :min="0" :max="100" :controls="false"
  1178. placeholder="请输入金额"></el-input>
  1179. </div>
  1180. <div slot="footer" class="dialog-footer">
  1181. <el-button @click="dialogFormVisible1 = false">取 消</el-button>
  1182. <el-button type="primary" @click="StairNoticeTo1()">确 定</el-button>
  1183. </div>
  1184. </el-dialog>
  1185. <!-- 不可提现添加金额 -->
  1186. <el-dialog title="修改积分" :visible.sync="dialogFormVisible3" center>
  1187. <div style="margin-bottom: 10px;">
  1188. <span style="width: 200px;display: inline-block;text-align: right;">修改类型:</span>
  1189. <el-radio-group v-model="type">
  1190. <el-radio :label="1">添加</el-radio>
  1191. <el-radio :label="2">减少</el-radio>
  1192. </el-radio-group>
  1193. </div>
  1194. <div style="margin-bottom: 10px;">
  1195. <span style="width: 200px;display: inline-block;text-align: right;">积分:</span>
  1196. <el-input style="width:50%;" v-model="jifen" type="number" :min="0" :max="100" :controls="false"
  1197. placeholder="请输入积分"></el-input>
  1198. </div>
  1199. <div slot="footer" class="dialog-footer">
  1200. <el-button @click="dialogFormVisible3 = false">取 消</el-button>
  1201. <el-button type="primary" @click="StairNoticeTo2()">确 定</el-button>
  1202. </div>
  1203. </el-dialog>
  1204. <!-- 添加修改商铺 -->
  1205. <el-dialog :title="titles" :visible.sync="dialogFormVisible2" center>
  1206. <div style="margin-bottom: 10px;">
  1207. <span style="width: 200px;display: inline-block;text-align: right;">用户姓名:</span>
  1208. <el-input v-model="userName" style="width:45%;" placeholder="请输入用户姓名">
  1209. </el-input>
  1210. </div>
  1211. <div style="margin-bottom: 10px;">
  1212. <span style="width: 200px;display: inline-block;text-align: right;">用户电话:</span>
  1213. <el-input v-model="userPhone" style="width:45%;" placeholder="请输入用户电话"></el-input>
  1214. </div>
  1215. <div style="margin-bottom: 10px;">
  1216. <span style="width: 200px;display: inline-block;text-align: right;">所在地区:</span>
  1217. <el-input v-model="address" style="width:45%;" placeholder="请输入所在地区">
  1218. </el-input>
  1219. </div>
  1220. <div style="margin-bottom: 10px;">
  1221. <span style="width: 200px;display: inline-block;text-align: right;">详细地址:</span>
  1222. <el-input v-model="addressDetail" style="width:45%;" placeholder="请输入详细地址"></el-input>
  1223. </div>
  1224. <div style="margin-bottom: 10px;">
  1225. <span style="width: 200px;display: inline-block;text-align: right;">维度:</span>
  1226. <el-input v-model="latitude" style="width:45%;" placeholder="请输入维度"></el-input>
  1227. </div>
  1228. <div style="margin-bottom: 10px;">
  1229. <span style="width: 200px;display: inline-block;text-align: right;">经度:</span>
  1230. <el-input v-model="longitude" style="width:45%;" placeholder="请输入经度"></el-input>
  1231. </div>
  1232. <div style="margin-bottom: 10px;">
  1233. <span style="width: 200px;display: inline-block;text-align: right;">是否默认:</span>
  1234. <el-radio-group v-model="addressDefault">
  1235. <el-radio :label="1">默认</el-radio>
  1236. <el-radio :label="0">不默认</el-radio>
  1237. </el-radio-group>
  1238. </div>
  1239. <div>
  1240. <div id="container" style="width:80%;height:500px;margin-left: 10%;"></div>
  1241. </div>
  1242. <div slot="footer" class="dialog-footer">
  1243. <el-button @click="dialogFormVisible2 = false">取 消</el-button>
  1244. <el-button type="primary" @click="addmissionNoticeTo()">确 定</el-button>
  1245. </div>
  1246. </el-dialog>
  1247. <!-- 聊天内容 -->
  1248. <el-dialog title="聊天内容" :visible.sync="dialogFormVisible4" center>
  1249. <el-table v-loading="tableDataLoading1" :data="huihuaData.list">
  1250. <el-table-column prop="userName" label="用户昵称">
  1251. <template slot-scope="scope">
  1252. <div v-if="scope.row.shopId" >
  1253. {{ scope.row.shopName}}
  1254. </div>
  1255. <div v-else style="color: #4f9dec;cursor: pointer;" @click="details(scope.row)">
  1256. {{scope.row.userName ? scope.row.userName : scope.row.riderName}}
  1257. </div>
  1258. </template>
  1259. </el-table-column>
  1260. <el-table-column prop="title" label="用户头像">
  1261. <template slot-scope="scope">
  1262. <!-- <div v-if="scope.row.avatar == null || scope.row.avatar == ''">
  1263. 暂无图片
  1264. </div> -->
  1265. <div >
  1266. <el-popover placement="top-start" title="" trigger="hover">
  1267. <img style="width: 50px; height: 50px" :src="scope.row.shopCover?scope.row.shopCover:scope.row.riderAvatar?scope.row.riderAvatar:scope.row.userAvatar" alt="" slot="reference">
  1268. <img style="width: 200px; height: 200px" :src="scope.row.shopCover?scope.row.shopCover:scope.row.riderAvatar?scope.row.riderAvatar:scope.row.userAvatar" alt="">
  1269. </el-popover>
  1270. </div>
  1271. </template>
  1272. </el-table-column>
  1273. <el-table-column prop="content" label="信息内容" width="280">
  1274. <template slot-scope="scope">
  1275. <div v-if="scope.row.messageType==1">{{scope.row.content}}</div>
  1276. <div v-if="scope.row.messageType==2">
  1277. <el-popover placement="top-start" title="" trigger="hover">
  1278. <img style="width: 50px; height: 50px" :src="scope.row.content" alt="" slot="reference">
  1279. <img style="width: 200px; height: 200px" :src="scope.row.content" alt="">
  1280. </el-popover>
  1281. </div>
  1282. <div v-if="scope.row.messageType==3">
  1283. <audio :src="scope.row.content" type="audio/wav" controls="controls"></audio>
  1284. </div>
  1285. <div v-if="scope.row.messageType==4">
  1286. <el-popover placement="top-start" title="" trigger="hover">
  1287. <img style="width: 50px; height: 50px"
  1288. :src="'https://www.daweilinli.com/emoji/'+scope.row.content" alt="" slot="reference">
  1289. <img style="width: 200px; height: 200px"
  1290. :src="'https://www.daweilinli.com/emoji/'+scope.row.content" alt="">
  1291. </el-popover>
  1292. </div>
  1293. </template>
  1294. </el-table-column>
  1295. <el-table-column prop="createTime" label="创建时间" width="150">
  1296. </el-table-column>
  1297. </el-table>
  1298. <div style="text-align: center;margin-top: 10px;">
  1299. <el-pagination @size-change="handleSizeChange12" @current-change="handleCurrentChange12"
  1300. :page-sizes="[10, 20, 30, 50, 100]" :page-size="limit1" :current-page="page1"
  1301. layout="total,sizes, prev, pager, next" :total="huihuaData.totalCount">
  1302. </el-pagination>
  1303. </div>
  1304. </el-dialog>
  1305. </el-tabs>
  1306. </div>
  1307. </template>
  1308. <script>
  1309. import {
  1310. jsonp
  1311. } from 'vue-jsonp'
  1312. var geocoder, map, markersArray = [];
  1313. export default {
  1314. data() {
  1315. return {
  1316. openValue: 1,
  1317. closeValue: 0,
  1318. state: 0,
  1319. limit: 10,
  1320. page: 1,
  1321. limit1: 10,
  1322. page1: 1,
  1323. userId: '',
  1324. money: '',
  1325. title: '',
  1326. content: '',
  1327. phone: '',
  1328. startTime: '',
  1329. endTime: '',
  1330. invitationCode: '',
  1331. feiDatamin: '',
  1332. info: {
  1333. stockDate: this.getNowTime(), //日期
  1334. },
  1335. info2: {
  1336. stockDate2: this.getNowTime2(), //日期
  1337. },
  1338. tablejifen: '',
  1339. autonymData: {},
  1340. tablemoney: {},
  1341. tablenum: {},
  1342. tableData: {},
  1343. youhuiquanData: {},
  1344. dizhiData: {},
  1345. userData: [],
  1346. tableDatamin: [],
  1347. withdrawData: [],
  1348. walletData: [],
  1349. jifenData: {},
  1350. rechargeData: [],
  1351. sendData: [],
  1352. takeData: [],
  1353. activeName: 'first',
  1354. dialogFormVisible: false,
  1355. dialogFormVisible1: false,
  1356. dialogFormVisible2: false,
  1357. dialogFormVisible4: false,
  1358. dialogFormVisible3:false,
  1359. tableDataLoading: true,
  1360. tableDataLoading1: false,
  1361. relation_id: '',
  1362. relationId: '',
  1363. tkstatus: '',
  1364. invitation: '',
  1365. nowMonthOver: '',
  1366. lastMonthOver: '',
  1367. nowMonthPaid: '',
  1368. lastMonthPaid: '',
  1369. nowMonthOrderNumber: '',
  1370. nowDayOrderNumber: '',
  1371. hasCash: '',
  1372. type: '',
  1373. titles: '添加地址',
  1374. addressId: '',
  1375. userName: '',
  1376. userPhone: '',
  1377. addressDetail: '',
  1378. address: '',
  1379. addressDefault: '',
  1380. longitude: '', //维度
  1381. latitude: '', //经度
  1382. tableData2: {},
  1383. tableData3: {},
  1384. baozhengjinData: {},
  1385. flag: 'day',
  1386. flags: [{
  1387. value: 'day',
  1388. label: '按天查询'
  1389. }, {
  1390. value: 'month',
  1391. label: '按月查询'
  1392. }, {
  1393. value: 'year',
  1394. label: '按年查询'
  1395. }],
  1396. userDataJ: {},
  1397. fadanData: {},
  1398. complaintState: '',
  1399. statesnum: [{
  1400. label: '全部',
  1401. value: ''
  1402. },
  1403. {
  1404. label: '可申诉',
  1405. value: 1
  1406. },
  1407. {
  1408. label: '不可申诉',
  1409. value: 2
  1410. },
  1411. {
  1412. label: '审核中',
  1413. value: 3
  1414. },
  1415. {
  1416. label: '审核未通过',
  1417. value: 4
  1418. },
  1419. {
  1420. label: '审核已通过',
  1421. value: 5
  1422. },
  1423. ],
  1424. indentNumber: '',
  1425. chatConversationId: '',
  1426. liaotianData: {},
  1427. huihuaData: {},
  1428. jifen:'',
  1429. classIndex:'',
  1430. }
  1431. },
  1432. methods: {
  1433. // 返回上一级
  1434. prev() {
  1435. this.$router.back()
  1436. },
  1437. // 详情跳转
  1438. updates(userId) {
  1439. this.$router.push({
  1440. path: '/userDetail',
  1441. query: {
  1442. userId: userId
  1443. }
  1444. })
  1445. },
  1446. // 详情跳转
  1447. details(row) {
  1448. if (!row.shopId) {
  1449. }
  1450. let userId = row.userId ? row.userId : row.riderId
  1451. this.$router.push({
  1452. path: '/userDetail1',
  1453. query: {
  1454. userId: userId
  1455. }
  1456. })
  1457. },
  1458. //处理默认选中当前日期
  1459. getNowTime() {
  1460. var now = new Date()
  1461. var year = now.getFullYear() //得到年份
  1462. var month = now.getMonth() //得到月份
  1463. var date = now.getDate() //得到日期
  1464. var hh = now.getHours() < 10 ? "0" + now.getHours() : now.getHours();
  1465. var mm = now.getMinutes() < 10 ? "0" + now.getMinutes() : now.getMinutes();
  1466. var ss = now.getSeconds() < 10 ? "0" + now.getSeconds() : now.getSeconds();
  1467. month = month + 1
  1468. month = month.toString().padStart(2, '0')
  1469. date = date.toString().padStart(2, '0')
  1470. var defaultDate = `${year}-${month}-${date} ${hh}:${mm}:${ss}`
  1471. return defaultDate
  1472. this.$set(this.info, 'stockDate', defaultDate)
  1473. },
  1474. //处理默认选中当前日期
  1475. getNowTime2() {
  1476. var now = new Date()
  1477. var year = now.getFullYear() //得到年份
  1478. var month = now.getMonth() - now.getMonth() //得到月份
  1479. var date = now.getDate() - now.getDate() + 1 //得到日期
  1480. var hh = now.getHours() < 10 ? "0" + now.getHours() : now.getHours();
  1481. var mm = now.getMinutes() < 10 ? "0" + now.getMinutes() : now.getMinutes();
  1482. var ss = now.getSeconds() < 10 ? "0" + now.getSeconds() : now.getSeconds();
  1483. month = month + 1
  1484. month = month.toString().padStart(2, '0')
  1485. date = date.toString().padStart(2, '0')
  1486. var defaultDate = `${year}-${month}-${date} ${hh}:${mm}:${ss}`
  1487. return defaultDate
  1488. this.$set(this.info, 'stockDate', defaultDate)
  1489. },
  1490. // tabs切换
  1491. handleClick(tab, event) {
  1492. if (tab._props.label == '用户详情') {
  1493. this.dataSelect()
  1494. }
  1495. if (tab._props.label == '直属') {
  1496. this.limit = 10
  1497. this.page = 1
  1498. this.teamSelect()
  1499. }
  1500. if (tab._props.label == '非直属') {
  1501. this.limit = 10
  1502. this.page = 1
  1503. this.feiSelect()
  1504. }
  1505. if (tab._props.label == '用户消息') {
  1506. this.limit = 10
  1507. this.page = 1
  1508. this.state = 5
  1509. this.userSelect()
  1510. }
  1511. if (tab._props.label == '任务消息') {
  1512. this.state = 6
  1513. this.userSelect()
  1514. }
  1515. if (tab._props.label == '提现记录') {
  1516. this.limit = 10
  1517. this.page = 1
  1518. this.withdrawSelect()
  1519. }
  1520. if (tab._props.label == '钱包明细') {
  1521. this.limit = 10
  1522. this.page = 1
  1523. this.walletSelect()
  1524. }
  1525. if (tab._props.label == '积分明细') {
  1526. this.limit = 10
  1527. this.page = 1
  1528. this.jifenSelect()
  1529. }
  1530. if (tab._props.label == '充值明细') {
  1531. this.limit = 10
  1532. this.page = 1
  1533. this.startTime = ''
  1534. this.endTime = ''
  1535. this.rechargeSelect()
  1536. }
  1537. if (tab._props.label == '我的订单') {
  1538. this.limit = 10
  1539. this.page = 1
  1540. this.state = 0
  1541. this.takeSelect()
  1542. }
  1543. if (tab._props.label == '我的消息') {
  1544. this.limit = 10
  1545. this.page = 1
  1546. this.state = 8
  1547. this.flag = 1
  1548. this.userSelect()
  1549. }
  1550. if (tab._props.label == '我的优惠券') {
  1551. this.limit = 10
  1552. this.page = 1
  1553. this.youhuiquanSelect()
  1554. }
  1555. if (tab._props.label == '我的地址') {
  1556. this.limit = 10
  1557. this.page = 1
  1558. this.dizhiSelect()
  1559. }
  1560. if (tab._props.label == '保证金管理') {
  1561. this.limit = 10
  1562. this.page = 1
  1563. this.flag = ''
  1564. this.dataSelect1()
  1565. }
  1566. if (tab._props.label == '我的发布') {
  1567. this.limit = 10
  1568. this.page = 1
  1569. this.InformationSelect()
  1570. }
  1571. if (tab._props.label == '我的接单') {
  1572. this.limit = 10
  1573. this.page = 1
  1574. this.InformationSelect1()
  1575. }
  1576. if (tab._props.label == '我的申诉') {
  1577. this.limit = 10
  1578. this.page = 1
  1579. this.state = 0
  1580. this.sendSelect()
  1581. }
  1582. if (tab._props.label == '跑腿收益统计') {
  1583. this.page = 1
  1584. this.limit = 10
  1585. this.flag = ''
  1586. this.taskData()
  1587. }
  1588. if (tab._props.label == '用户聊天记录') {
  1589. this.limit = 10
  1590. this.page = 1
  1591. this.liaotianSelect()
  1592. }
  1593. if (tab._props.label == '骑手聊天记录') {
  1594. this.limit = 10
  1595. this.page = 1
  1596. this.liaotianSelectQs()
  1597. }
  1598. },
  1599. // 消息推送
  1600. magNotice() {
  1601. this.dialogFormVisible = true
  1602. },
  1603. // 消息推送
  1604. magNoticeTo() {
  1605. if (this.title == '') {
  1606. this.$notify({
  1607. title: '提示',
  1608. duration: 1800,
  1609. message: '请输入标题',
  1610. type: 'warning'
  1611. })
  1612. return
  1613. }
  1614. if (this.content == '') {
  1615. this.$notify({
  1616. title: '提示',
  1617. duration: 1800,
  1618. message: '请输入内容',
  1619. type: 'warning'
  1620. })
  1621. return
  1622. }
  1623. this.$http({
  1624. url: this.$http.adornUrl('cash/sendMsg'),
  1625. method: 'get',
  1626. params: this.$http.adornParams({
  1627. 'title': this.title,
  1628. 'content': this.content,
  1629. 'phone': this.phone,
  1630. 'flag': this.flag
  1631. })
  1632. }).then(({
  1633. data
  1634. }) => {
  1635. this.dialogFormVisible = false
  1636. if (data.code == -100) {
  1637. this.$message({
  1638. message: data.msg,
  1639. type: 'error',
  1640. duration: 1500,
  1641. onClose: () => {
  1642. this.title = ''
  1643. this.content = ''
  1644. this.userSelect()
  1645. }
  1646. })
  1647. }
  1648. if (data.code == 0) {
  1649. this.$message({
  1650. message: '操作成功',
  1651. type: 'success',
  1652. duration: 1500,
  1653. onClose: () => {
  1654. this.title = ''
  1655. this.content = ''
  1656. this.userSelect()
  1657. }
  1658. })
  1659. }
  1660. })
  1661. },
  1662. handleSizeChange(val) {
  1663. this.limit = val
  1664. this.jifenSelect()
  1665. },
  1666. handleCurrentChange(val) {
  1667. this.page = val
  1668. this.jifenSelect()
  1669. },
  1670. handleSizeChange1(val) {
  1671. this.limit = val
  1672. this.userSelect()
  1673. },
  1674. handleCurrentChange1(val) {
  1675. this.page = val
  1676. this.userSelect()
  1677. },
  1678. handleSizeChange2(val) {
  1679. this.limit = val
  1680. this.withdrawSelect()
  1681. },
  1682. handleCurrentChange2(val) {
  1683. this.page = val
  1684. this.withdrawSelect()
  1685. },
  1686. handleSizeChange3(val) {
  1687. this.limit = val
  1688. this.walletSelect()
  1689. },
  1690. handleCurrentChange3(val) {
  1691. this.page = val
  1692. this.walletSelect()
  1693. },
  1694. handleSizeChange4(val) {
  1695. this.limit = val
  1696. this.rechargeSelect()
  1697. },
  1698. handleCurrentChange4(val) {
  1699. this.page = val
  1700. this.rechargeSelect()
  1701. },
  1702. handleSizeChange5(val) {
  1703. this.limit = val
  1704. this.sendSelect()
  1705. },
  1706. handleCurrentChange5(val) {
  1707. this.page = val
  1708. this.sendSelect()
  1709. },
  1710. handleSizeChange6(val) {
  1711. this.limit = val
  1712. this.takeSelect()
  1713. },
  1714. handleCurrentChange6(val) {
  1715. this.page = val
  1716. this.takeSelect()
  1717. },
  1718. handleSizeChange7(val) {
  1719. this.limit = val
  1720. this.youhuiquanSelect()
  1721. },
  1722. handleCurrentChange7(val) {
  1723. this.page = val
  1724. this.youhuiquanSelect()
  1725. },
  1726. handleSizeChange8(val) {
  1727. this.limit = val
  1728. this.dizhiSelect()
  1729. },
  1730. handleCurrentChange8(val) {
  1731. this.page = val
  1732. this.dizhiSelect()
  1733. },
  1734. handleSizeChange11(val) {
  1735. this.limit = val
  1736. this.dataSelect1()
  1737. },
  1738. handleCurrentChange11(val) {
  1739. this.page = val
  1740. this.dataSelect1()
  1741. },
  1742. handleSizeChange9(val) {
  1743. this.limit = val
  1744. this.InformationSelect1()
  1745. },
  1746. handleCurrentChange9(val) {
  1747. this.page = val
  1748. this.InformationSelect1()
  1749. },
  1750. handleSizeChange10(val) {
  1751. this.limit = val
  1752. this.taskData()
  1753. },
  1754. handleCurrentChange10(val) {
  1755. this.page = val
  1756. this.taskData()
  1757. },
  1758. handleSizeChange12(val) {
  1759. this.limit1 = val
  1760. this.neirongSelect(this.chatConversationId)
  1761. },
  1762. handleCurrentChange12(val) {
  1763. this.page1 = val
  1764. this.neirongSelect(this.chatConversationId)
  1765. },
  1766. handleSizeChange13(val) {
  1767. this.limit = val
  1768. this.liaotianSelectQs()
  1769. },
  1770. handleCurrentChange13(val) {
  1771. this.page = val
  1772. this.liaotianSelectQs()
  1773. },
  1774. handleSizeChange14(val) {
  1775. this.limit = val
  1776. this.liaotianSelect()
  1777. },
  1778. handleCurrentChange14(val) {
  1779. this.page = val
  1780. this.liaotianSelect()
  1781. },
  1782. timeDate2() {
  1783. this.rechargeSelect()
  1784. },
  1785. // 可提现金额
  1786. withdraw(id, val) {
  1787. if (val == 0) {
  1788. this.$message({
  1789. message: '可提现金额为0元',
  1790. type: 'error',
  1791. duration: 1500,
  1792. onClose: () => {
  1793. this.dataSelect()
  1794. }
  1795. })
  1796. } else {
  1797. this.$confirm(`确定要推送提现消息吗?`, '提示', {
  1798. confirmButtonText: '确定',
  1799. cancelButtonText: '取消',
  1800. type: 'warning'
  1801. }).then(() => {
  1802. this.$http({
  1803. url: this.$http.adornUrl(`user/notification/${id}`),
  1804. method: 'post',
  1805. data: this.$http.adornData({})
  1806. }).then(({
  1807. data
  1808. }) => {
  1809. this.$message({
  1810. message: '推送成功',
  1811. type: 'success',
  1812. duration: 1500,
  1813. onClose: () => {
  1814. this.dataSelect()
  1815. }
  1816. })
  1817. })
  1818. }).catch(() => {})
  1819. }
  1820. },
  1821. // 不可提现金额充值
  1822. rechargenone(userId,index) {
  1823. this.type = ''
  1824. this.money = ''
  1825. this.classIndex = index
  1826. this.dialogFormVisible1 = true
  1827. },
  1828. StairNoticeTo1() {
  1829. let userId = this.$route.query.userId
  1830. if (this.type == '') {
  1831. this.$notify({
  1832. title: '提示',
  1833. duration: 1800,
  1834. message: '请选择修改类型',
  1835. type: 'warning'
  1836. })
  1837. return
  1838. }
  1839. if (this.money == '') {
  1840. this.$notify({
  1841. title: '提示',
  1842. duration: 1800,
  1843. message: '请输入金额',
  1844. type: 'warning'
  1845. })
  1846. return
  1847. }
  1848. if(this.classIndex==1){
  1849. if (this.type == 2) {
  1850. if (this.money > this.tablemoney.money) {
  1851. this.$notify({
  1852. title: '提示',
  1853. duration: 1800,
  1854. message: '最高金额为' + this.tablemoney.money,
  1855. type: 'warning'
  1856. })
  1857. return
  1858. }
  1859. }
  1860. var urls = 'admin/dataCentre/addUserMoney'
  1861. }
  1862. if(this.classIndex==2){
  1863. var urls = 'admin/dataCentre/updateCashDeposit'
  1864. }
  1865. if(this.classIndex==3){
  1866. var urls = 'admin/dataCentre/updateUserBalance'
  1867. }
  1868. this.$http({
  1869. url: this.$http.adornUrl(urls+`?userId=` + userId + '&money=' + this.money +
  1870. '&type=' + this.type),
  1871. method: 'get',
  1872. data: this.$http.adornData({})
  1873. }).then(({
  1874. data
  1875. }) => {
  1876. if (data.code == 0) {
  1877. this.$message({
  1878. message: '修改成功',
  1879. type: 'success',
  1880. duration: 1500,
  1881. onClose: () => {
  1882. this.money = ''
  1883. this.dataSelect()
  1884. }
  1885. })
  1886. this.dialogFormVisible1 = false
  1887. } else {
  1888. this.$message.error(data.msg)
  1889. }
  1890. })
  1891. },
  1892. // 积分修改
  1893. updateJf() {
  1894. this.type = ''
  1895. this.jifen = ''
  1896. this.dialogFormVisible3 = true
  1897. },
  1898. StairNoticeTo2() {
  1899. let userId = this.$route.query.userId
  1900. if (this.type == '') {
  1901. this.$notify({
  1902. title: '提示',
  1903. duration: 1800,
  1904. message: '请选择修改类型',
  1905. type: 'warning'
  1906. })
  1907. return
  1908. }
  1909. if (this.jifen == '') {
  1910. this.$notify({
  1911. title: '提示',
  1912. duration: 1800,
  1913. message: '请输入积分',
  1914. type: 'warning'
  1915. })
  1916. return
  1917. }
  1918. this.$http({
  1919. url: this.$http.adornUrl(`admin/userintegral/addAdminIntegral?userId=` + userId + '&sum=' + this.jifen +
  1920. '&type=' + this.type),
  1921. method: 'post',
  1922. data: this.$http.adornData({})
  1923. }).then(({
  1924. data
  1925. }) => {
  1926. if (data.code == 0) {
  1927. this.$message({
  1928. message: '修改积分成功',
  1929. type: 'success',
  1930. duration: 1500,
  1931. onClose: () => {
  1932. this.jifen = ''
  1933. this.dataSelect()
  1934. }
  1935. })
  1936. this.dialogFormVisible3 = false
  1937. } else {
  1938. this.$message.error(data.msg)
  1939. }
  1940. })
  1941. },
  1942. // 更改状态
  1943. stateChange(userId) {
  1944. this.$confirm(`确定要更改用户状态吗?`, '提示', {
  1945. confirmButtonText: '确定',
  1946. cancelButtonText: '取消',
  1947. type: 'warning'
  1948. }).then(() => {
  1949. this.$http({
  1950. url: this.$http.adornUrl(`user/updateUserStatusByUserId?userId=${userId}`),
  1951. method: 'get',
  1952. data: this.$http.adornData({})
  1953. }).then(({
  1954. data
  1955. }) => {
  1956. this.$message({
  1957. message: '修改成功',
  1958. type: 'success',
  1959. duration: 1500,
  1960. onClose: () => {
  1961. this.dataSelect()
  1962. }
  1963. })
  1964. })
  1965. }).catch(() => {})
  1966. },
  1967. // 获取数据列表
  1968. dataSelect() {
  1969. let userId = this.$route.query.userId
  1970. this.$http({
  1971. url: this.$http.adornUrl('admin/dataCentre/selectUserById'),
  1972. method: 'get',
  1973. params: this.$http.adornParams({
  1974. 'userId': userId
  1975. })
  1976. }).then(({
  1977. data
  1978. }) => {
  1979. if (data.code === 0) {
  1980. let returnData = data.data
  1981. this.tablenum = returnData
  1982. this.tablemoney = returnData
  1983. this.tableData = returnData
  1984. this.phone = returnData.phone
  1985. this.invitationCode = returnData.invitationCode
  1986. }
  1987. })
  1988. },
  1989. // 获取团队成员
  1990. teamSelect() {
  1991. this.tableDataLoading = true
  1992. let userId = this.$route.query.userId
  1993. this.$http({
  1994. url: this.$http.adornUrl('user/selectInviteByUserIdLists'),
  1995. method: 'get',
  1996. params: this.$http.adornParams({
  1997. 'page': this.page,
  1998. 'limit': this.limit,
  1999. 'userId': userId
  2000. })
  2001. }).then(({
  2002. data
  2003. }) => {
  2004. this.tableDataLoading = false
  2005. let returnData = data.data
  2006. this.tableDatamin = returnData
  2007. })
  2008. },
  2009. // 非直属
  2010. feiSelect() {
  2011. this.tableDataLoading = true
  2012. this.$http({
  2013. url: this.$http.adornUrl('user/selectInvitationCodeByUserIdLists'),
  2014. method: 'get',
  2015. params: this.$http.adornParams({
  2016. 'page': this.page,
  2017. 'limit': this.limit,
  2018. 'invitationCode': this.invitationCode
  2019. })
  2020. }).then(({
  2021. data
  2022. }) => {
  2023. this.tableDataLoading = false
  2024. let returnData = data.data
  2025. this.feiDatamin = returnData
  2026. })
  2027. },
  2028. // 获取用户/任务消息
  2029. userSelect() {
  2030. this.tableDataLoading = true
  2031. let userId = this.$route.query.userId
  2032. this.$http({
  2033. url: this.$http.adornUrl('message/selectMessageByUserId'),
  2034. method: 'get',
  2035. params: this.$http.adornParams({
  2036. 'page': this.page,
  2037. 'limit': this.limit,
  2038. 'userId': userId,
  2039. 'state': this.state
  2040. })
  2041. }).then(({
  2042. data
  2043. }) => {
  2044. this.tableDataLoading = false
  2045. let returnData = data.data
  2046. this.userData = returnData
  2047. })
  2048. },
  2049. // 获取用户提现记录
  2050. withdrawSelect() {
  2051. this.tableDataLoading = true
  2052. let userId = this.$route.query.userId
  2053. this.$http({
  2054. url: this.$http.adornUrl('/user/selectPayDetails'),
  2055. method: 'get',
  2056. params: this.$http.adornParams({
  2057. 'page': this.page,
  2058. 'limit': this.limit,
  2059. 'userId': userId,
  2060. })
  2061. }).then(({
  2062. data
  2063. }) => {
  2064. this.tableDataLoading = false
  2065. let returnData = data.data
  2066. this.withdrawData = returnData
  2067. })
  2068. },
  2069. // 获取钱包明细
  2070. walletSelect() {
  2071. this.tableDataLoading = true
  2072. let userId = this.$route.query.userId
  2073. this.$http({
  2074. url: this.$http.adornUrl('Details/queryUserMoneyDetails'),
  2075. method: 'get',
  2076. params: this.$http.adornParams({
  2077. 'page': this.page,
  2078. 'limit': this.limit,
  2079. 'userId': userId
  2080. })
  2081. }).then(({
  2082. data
  2083. }) => {
  2084. this.tableDataLoading = false
  2085. let returnData = data.data
  2086. this.walletData = returnData
  2087. })
  2088. },
  2089. // 积分明细
  2090. jifenSelect() {
  2091. this.tableDataLoading = true
  2092. let userId = this.$route.query.userId
  2093. this.$http({
  2094. url: this.$http.adornUrl('admin/dataCentre/selectSignIn'),
  2095. method: 'get',
  2096. params: this.$http.adornParams({
  2097. 'page': this.page,
  2098. 'limit': this.limit,
  2099. 'userId': userId
  2100. })
  2101. }).then(({
  2102. data
  2103. }) => {
  2104. this.tableDataLoading = false
  2105. let returnData = data.data
  2106. this.jifenData = returnData
  2107. })
  2108. },
  2109. // 获取充值明细
  2110. rechargeSelect() {
  2111. if (this.endTime == '') {
  2112. this.endTime = this.info.stockDate
  2113. }
  2114. if (this.startTime == '') {
  2115. this.startTime = this.info2.stockDate2
  2116. }
  2117. let userId = this.$route.query.userId
  2118. this.tableDataLoading = true
  2119. this.$http({
  2120. url: this.$http.adornUrl('admin/paydetails/selectPayDetails'),
  2121. method: 'get',
  2122. params: this.$http.adornParams({
  2123. 'page': this.page,
  2124. 'limit': this.limit,
  2125. 'endTime': this.endTime,
  2126. 'startTime': this.startTime,
  2127. 'userId': userId
  2128. })
  2129. }).then(({
  2130. data
  2131. }) => {
  2132. if (data.code == 0) {
  2133. this.tableDataLoading = false
  2134. let returnData = data.data
  2135. this.rechargeData = returnData
  2136. }
  2137. if (data.code == 500) {
  2138. this.$message({
  2139. message: data.msg,
  2140. type: 'error',
  2141. duration: 2500,
  2142. onClose: () => {
  2143. this.tableDataLoading = false
  2144. }
  2145. })
  2146. }
  2147. })
  2148. },
  2149. // 获取申诉
  2150. sendSelect() {
  2151. this.tableDataLoading = true
  2152. let userId = this.$route.query.userId
  2153. this.$http({
  2154. url: this.$http.adornUrl('admin/errandComplaint/findAllAppeal'),
  2155. method: 'get',
  2156. params: this.$http.adornParams({
  2157. 'page': this.page,
  2158. 'limit': this.limit,
  2159. 'indentNumber': this.indentNumber,
  2160. 'complaintState': this.complaintState,
  2161. 'illegalId': '',
  2162. 'userId': userId
  2163. })
  2164. }).then(({
  2165. data
  2166. }) => {
  2167. if (data && data.code === 0) {
  2168. this.tableDataLoading = false
  2169. let returnData = data.data
  2170. this.sendData = returnData
  2171. }
  2172. })
  2173. },
  2174. // 获取派单
  2175. takeSelect() {
  2176. this.tableDataLoading = true
  2177. let userId = this.$route.query.userId
  2178. this.$http({
  2179. url: this.$http.adornUrl('admin/dataCentre/selectOrderDetails'),
  2180. method: 'get',
  2181. params: this.$http.adornParams({
  2182. 'page': this.page,
  2183. 'limit': this.limit,
  2184. // 'status': this.state,
  2185. 'userId': userId
  2186. })
  2187. }).then(({
  2188. data
  2189. }) => {
  2190. this.tableDataLoading = false
  2191. let returnData = data.data
  2192. console.log(returnData)
  2193. // returnData.list.forEach(res=> {
  2194. // res.goodsMessage = JSON.parse(res.goodsMessage)
  2195. // })
  2196. this.takeData = returnData
  2197. for (var i in this.takeData.list) {
  2198. this.takeData.list[i].goodsPriceZ = 0
  2199. for (var j in this.takeData.list[i].orderGoodsList) {
  2200. this.takeData.list[i].orderGoodsList[j].goodsPriceZ = (this.takeData.list[i].orderGoodsList[j]
  2201. .goodsPrice * this.takeData.list[i].orderGoodsList[j].goodsNum)
  2202. this.takeData.list[i].goodsPriceZ = this.takeData.list[i].goodsPriceZ + this.takeData.list[i]
  2203. .orderGoodsList[j].goodsPriceZ
  2204. }
  2205. }
  2206. })
  2207. },
  2208. // 我的优惠券
  2209. youhuiquanSelect() {
  2210. this.tableDataLoading = true
  2211. let userId = this.$route.query.userId
  2212. this.$http({
  2213. url: this.$http.adornUrl('admin/dataCentre/selectCouponByUserId'),
  2214. method: 'get',
  2215. params: this.$http.adornParams({
  2216. 'page': this.page,
  2217. 'limit': this.limit,
  2218. 'userId': userId,
  2219. 'status': ''
  2220. })
  2221. }).then(({
  2222. data
  2223. }) => {
  2224. console.log(data)
  2225. this.tableDataLoading = false
  2226. let returnData = data.data
  2227. this.youhuiquanData = returnData
  2228. })
  2229. },
  2230. // 我的地址
  2231. dizhiSelect() {
  2232. this.tableDataLoading = true
  2233. let userId = this.$route.query.userId
  2234. this.$http({
  2235. url: this.$http.adornUrl('admin/address/selectAddressList'),
  2236. method: 'get',
  2237. params: this.$http.adornParams({
  2238. 'page': this.page,
  2239. 'limit': this.limit,
  2240. 'userId': userId
  2241. })
  2242. }).then(({
  2243. data
  2244. }) => {
  2245. console.log(data)
  2246. this.tableDataLoading = false
  2247. let returnData = data.data
  2248. this.dizhiData = returnData
  2249. })
  2250. },
  2251. // 添加地址
  2252. adddates(row) {
  2253. this.dialogFormVisible2 = true
  2254. this.userId = this.$route.query.userId
  2255. this.titles = '添加地址'
  2256. if (row != 0) {
  2257. this.missions = row
  2258. this.titles = '修改地址'
  2259. this.address = row.address
  2260. this.latitude = row.lat
  2261. this.longitude = row.lng
  2262. this.addressId = row.addressId
  2263. this.addressDetail = row.addressDetail
  2264. this.userName = row.userName
  2265. this.userPhone = row.userPhone
  2266. this.addressDefault = Number(row.addressDefault)
  2267. } else {
  2268. this.address = ''
  2269. this.latitude = ''
  2270. this.longitude = ''
  2271. this.addressId = ''
  2272. this.addressDetail = ''
  2273. this.userName = ''
  2274. this.userPhone = ''
  2275. this.isDefault = 0
  2276. }
  2277. console.log(this.userId)
  2278. this.getMyLocation();
  2279. return
  2280. // this.$router.push({
  2281. // path: '/addressAdd',
  2282. // query: {
  2283. // missions: row,
  2284. // userid: userId
  2285. // }
  2286. // })
  2287. },
  2288. // 删除地址
  2289. deleteStair(row) {
  2290. this.$confirm(`确定删除此条信息?`, '提示', {
  2291. confirmButtonText: '确定',
  2292. cancelButtonText: '取消',
  2293. type: 'warning'
  2294. }).then(() => {
  2295. this.$http({
  2296. url: this.$http.adornUrl(`admin/address/deleteAddress/?addressId=${row.addressId}`),
  2297. method: 'post',
  2298. params: this.$http.adornData({})
  2299. }).then(({
  2300. data
  2301. }) => {
  2302. this.$message({
  2303. message: '删除成功',
  2304. type: 'success',
  2305. duration: 1500,
  2306. onClose: () => {
  2307. this.dizhiSelect()
  2308. }
  2309. })
  2310. })
  2311. })
  2312. },
  2313. // 确定添加
  2314. addmissionNoticeTo() {
  2315. // this.select()
  2316. if (this.address == '') {
  2317. this.$notify({
  2318. title: '提示',
  2319. duration: 1800,
  2320. message: '地址详情不能为空',
  2321. type: 'warning'
  2322. });
  2323. return
  2324. }
  2325. if (this.addressDefault === '') {
  2326. this.$notify({
  2327. title: '提示',
  2328. duration: 1800,
  2329. message: '请选择地址是否默认',
  2330. type: 'warning'
  2331. });
  2332. return
  2333. }
  2334. // toString()
  2335. let urls = ''
  2336. if (this.titles == '添加地址') {
  2337. urls = 'admin/address/insertAddress'
  2338. } else {
  2339. urls = 'admin/address/updateAddress'
  2340. }
  2341. let that = this
  2342. setTimeout(function() {
  2343. that.$http({
  2344. url: that.$http.adornUrl(urls),
  2345. method: 'post',
  2346. data: that.$http.adornData({
  2347. 'address': that.address,
  2348. 'addressDetail': that.addressDetail,
  2349. 'lat': that.latitude,
  2350. 'lng': that.longitude,
  2351. 'addressId': that.addressId,
  2352. 'addressDefault': that.addressDefault,
  2353. 'userId': that.userId,
  2354. 'userName': that.userName,
  2355. 'userPhone': that.userPhone
  2356. })
  2357. }).then(({
  2358. data
  2359. }) => {
  2360. console.log('提交结果', data)
  2361. that.$message({
  2362. message: '操作成功',
  2363. type: 'success',
  2364. duration: 1500,
  2365. onClose: () => {
  2366. that.dialogFormVisible2 = false
  2367. that.address = ''
  2368. that.isDefault = 0
  2369. that.storeAddre = '请选择城市'
  2370. that.dizhiSelect()
  2371. }
  2372. })
  2373. })
  2374. }, 1000)
  2375. },
  2376. //定位获得当前位置信息
  2377. getMyLocation() {
  2378. var geolocation = new qq.maps.Geolocation("ZBABZ-ZWECU-UQTVV-4LYDR-COK3F-5SF75", "来点小收入");
  2379. geolocation.getIpLocation(this.showPosition, this.showErr);
  2380. //geolocation.getLocation(this.showPosition, this.showErr);//或者用getLocation精确度比较高
  2381. },
  2382. showPosition(position) {
  2383. console.log(position);
  2384. // this.latitude = position.lat;
  2385. // this.longitude = position.lng;
  2386. // this.city = position.city;
  2387. this.setMap();
  2388. // this.setMap1();
  2389. },
  2390. showErr(e) {
  2391. console.log("定位失败", e);
  2392. this.getMyLocation(); //定位失败再请求定位,测试使用
  2393. },
  2394. //位置信息在地图上展示
  2395. setMap() {
  2396. //步骤:定义map变量 调用 qq.maps.Map() 构造函数 获取地图显示容器
  2397. //设置地图中心点
  2398. var myLatlng = new qq.maps.LatLng(this.latitude, this.longitude);
  2399. //定义工厂模式函数
  2400. var myOptions = {
  2401. zoom: 13, //设置地图缩放级别
  2402. center: myLatlng, //设置中心点样式
  2403. mapTypeId: qq.maps.MapTypeId.ROADMAP //设置地图样式详情参见MapType
  2404. }
  2405. // //获取dom元素添加地图信息
  2406. var map = new qq.maps.Map(document.getElementById("container"), myOptions);
  2407. //给地图添加点击事件
  2408. //给定位的位置添加图片标注
  2409. var marker = new qq.maps.Marker({
  2410. position: myLatlng,
  2411. map: map
  2412. });
  2413. // `````````````
  2414. var that = this;
  2415. if (that.longitude == '') {
  2416. var center = new qq.maps.LatLng(34.34281541842994, 108.93970884382725);
  2417. } else {
  2418. var center = new qq.maps.LatLng(that.latitude, that.longitude);
  2419. }
  2420. var map = new qq.maps.Map(document.getElementById("container"), {
  2421. center: center,
  2422. zoom: 13
  2423. });
  2424. var marker = new qq.maps.Marker({
  2425. position: center,
  2426. map: map
  2427. });
  2428. var latlngBounds = new qq.maps.LatLngBounds();
  2429. qq.maps.event.addListener(map, "click", function(event) {
  2430. console.log(event, qq.maps);
  2431. that.longitude = event.latLng.getLng(); // 经度
  2432. that.latitude = event.latLng.getLat(); // 纬度
  2433. jsonp('https://apis.map.qq.com/ws/geocoder/v1/?location=' + event.latLng.getLat() + ',' + event.latLng
  2434. .getLng() + '&key=ZBABZ-ZWECU-UQTVV-4LYDR-COK3F-5SF75&get_poi=1&output=jsonp', {
  2435. myCustomUrlParam: 'veryNice'
  2436. }).then(response => {
  2437. console.log('response', response)
  2438. that.address = response.result.address
  2439. that.addressDetail = response.result.formatted_addresses.recommend
  2440. }).catch(error => {
  2441. // handle error
  2442. }).then(() => {
  2443. // always executed
  2444. });
  2445. if (markersArray) {
  2446. for (let i in markersArray) {
  2447. markersArray[i].setMap(null);
  2448. }
  2449. }
  2450. var marker = new qq.maps.Marker({
  2451. map: map,
  2452. position: event.latLng
  2453. });
  2454. markersArray.push(marker);
  2455. });
  2456. geocoder = new qq.maps.Geocoder({
  2457. complete: function(result) {
  2458. console.log(result);
  2459. that.longitude = result.detail.location.lng;
  2460. that.latitude = result.detail.location.lat;
  2461. map.setCenter(result.detail.location);
  2462. var marker = new qq.maps.Marker({
  2463. map: map,
  2464. position: result.detail.location
  2465. });
  2466. markersArray.push(marker);
  2467. }
  2468. });
  2469. },
  2470. //位置信息在地图上展示
  2471. setMap1() {
  2472. //步骤:定义map变量 调用 qq.maps.Map() 构造函数 获取地图显示容器
  2473. //设置地图中心点
  2474. var myLatlng = new qq.maps.LatLng(this.latitude, this.longitude);
  2475. //定义工厂模式函数
  2476. var myOptions = {
  2477. zoom: 13, //设置地图缩放级别
  2478. center: myLatlng, //设置中心点样式
  2479. mapTypeId: qq.maps.MapTypeId.ROADMAP //设置地图样式详情参见MapType
  2480. }
  2481. // //获取dom元素添加地图信息
  2482. var maps = new qq.maps.Map(document.getElementById("aaa"), myOptions);
  2483. //给地图添加点击事件
  2484. //给定位的位置添加图片标注
  2485. var marker3 = new qq.maps.Marker({
  2486. position: myLatlng,
  2487. map: maps
  2488. });
  2489. // `````````````
  2490. var that = this;
  2491. if (that.longitude == '') {
  2492. var center1 = new qq.maps.LatLng(34.34281541842994, 108.93970884382725);
  2493. } else {
  2494. var center1 = new qq.maps.LatLng(that.latitude, that.longitude);
  2495. }
  2496. var maps = new qq.maps.Map(document.getElementById("aaa"), {
  2497. center: center1,
  2498. zoom: 13
  2499. });
  2500. var marker4 = new qq.maps.Marker({
  2501. position: center1,
  2502. map: maps
  2503. });
  2504. var latlngBounds = new qq.maps.LatLngBounds();
  2505. qq.maps.event.addListener(maps, "click", function(event) {
  2506. console.log(event, qq.maps);
  2507. that.longitude = event.latLng.getLng(); // 经度
  2508. that.latitude = event.latLng.getLat(); // 纬度
  2509. jsonp('https://apis.map.qq.com/ws/geocoder/v1/?location=' + event.latLng.getLat() + ',' + event.latLng
  2510. .getLng() + '&key=ZBABZ-ZWECU-UQTVV-4LYDR-COK3F-5SF75&get_poi=1&output=jsonp', {
  2511. myCustomUrlParam: 'veryNice'
  2512. }).then(response => {
  2513. console.log('response', response)
  2514. that.address = response.result.formatted_addresses.recommend
  2515. }).catch(error => {
  2516. // handle error
  2517. }).then(() => {
  2518. // always executed
  2519. });
  2520. if (markersArray) {
  2521. for (let i in markersArray) {
  2522. markersArray[i].setMap(null);
  2523. }
  2524. }
  2525. var marker1 = new qq.maps.Marker({
  2526. map: maps,
  2527. position: event.latLng
  2528. });
  2529. markersArray.push(marker1);
  2530. });
  2531. geocoder = new qq.maps.Geocoder({
  2532. complete: function(result) {
  2533. console.log(result);
  2534. that.longitude = result.detail.location.lng;
  2535. that.latitude = result.detail.location.lat;
  2536. map.setCenter(result.detail.location);
  2537. var marker2 = new qq.maps.Marker({
  2538. map: maps,
  2539. position: result.detail.location
  2540. });
  2541. markersArray.push(marker2);
  2542. }
  2543. });
  2544. },
  2545. // 地图定位
  2546. select() {
  2547. console.log(this.address)
  2548. let that = this
  2549. jsonp('https://apis.map.qq.com/ws/geocoder/v1/?address==' + that.address +
  2550. '&key=ZBABZ-ZWECU-UQTVV-4LYDR-COK3F-5SF75&get_poi=1&output=jsonp', {
  2551. myCustomUrlParam: 'veryNice'
  2552. }).then(response => {
  2553. // handle success
  2554. console.log('response`````', response)
  2555. that.longitude = response.result.location.lng; // 经度
  2556. that.latitude = response.result.location.lat; // 纬度
  2557. that.address = response.result.title
  2558. that.setMap()
  2559. that.setMap1()
  2560. }).catch(error => {
  2561. // handle error
  2562. }).then(() => {
  2563. // always executed
  2564. });
  2565. },
  2566. // 获取数据列表
  2567. dataSelect1() {
  2568. this.tableDataLoading = true
  2569. let userId = this.$route.query.userId
  2570. this.$http({
  2571. url: this.$http.adornUrl('admin/dataCentre/selectCashDeposit'),
  2572. method: 'get',
  2573. params: this.$http.adornParams({
  2574. 'page': this.page,
  2575. 'limit': this.limit,
  2576. 'type': '',
  2577. 'phone': '',
  2578. 'userId': userId
  2579. })
  2580. }).then(({
  2581. data
  2582. }) => {
  2583. this.tableDataLoading = false
  2584. let returnData = data.data
  2585. this.baozhengjinData = returnData
  2586. })
  2587. },
  2588. // 我的发布信息数据
  2589. InformationSelect() {
  2590. this.tableDataLoading = true
  2591. let userId = this.$route.query.userId
  2592. this.$http({
  2593. url: this.$http.adornUrl('admin/dataCentre/findUserAddIndent'),
  2594. method: 'get',
  2595. params: this.$http.adornParams({
  2596. 'userId': userId,
  2597. 'page': this.page,
  2598. 'limit': this.limit,
  2599. // 'search': this.search,
  2600. // 'classify':this.classifyIds,
  2601. // 'status':this.statusId,
  2602. // 'phone':this.myPhone
  2603. })
  2604. }).then(({
  2605. data
  2606. }) => {
  2607. this.tableDataLoading = false
  2608. for (var i in data.data.list) {
  2609. if (data.data.list[i].img) {
  2610. data.data.list[i].imgs = data.data.list[i].img.split(',')
  2611. }
  2612. }
  2613. let returnData = data.data
  2614. this.fadanData = returnData
  2615. })
  2616. },
  2617. // 我的接单
  2618. InformationSelect1() {
  2619. this.tableDataLoading = true
  2620. let userId = this.$route.query.userId
  2621. this.$http({
  2622. url: this.$http.adornUrl('admin/dataCentre/findUserReceivingIndent'),
  2623. method: 'get',
  2624. params: this.$http.adornParams({
  2625. 'userId': userId,
  2626. 'page': this.page,
  2627. 'limit': this.limit,
  2628. // 'search': this.search,
  2629. // 'classify':this.classifyIds,
  2630. // 'status':this.statusId,
  2631. // 'phone':this.myPhone
  2632. })
  2633. }).then(({
  2634. data
  2635. }) => {
  2636. this.tableDataLoading = false
  2637. for (var i in data.data.records) {
  2638. if (data.data.records[i].img) {
  2639. data.data.records[i].imgs = data.data.records[i].img.split(',')
  2640. }
  2641. }
  2642. let returnData = data.data
  2643. this.userDataJ = returnData
  2644. })
  2645. },
  2646. // 查询资源列表
  2647. select() {
  2648. this.page = 1
  2649. this.limit = 10
  2650. this.sendSelect()
  2651. },
  2652. // 重置资源列表
  2653. cleans() {
  2654. this.indentNumber = ''
  2655. this.complaintState = ''
  2656. this.page = 1
  2657. this.sendSelect()
  2658. },
  2659. // select选择事件
  2660. animeDat(state) {
  2661. this.page = 1
  2662. this.complaintState = state
  2663. console.log(state)
  2664. this.sendSelect()
  2665. },
  2666. // 订单分析选择日期
  2667. animeOrder() {
  2668. console.log('info', this.info)
  2669. this.taskData()
  2670. // this.colonel()
  2671. },
  2672. // 订单分析年月日
  2673. orderfenxi(value) {
  2674. this.page = 1
  2675. let vanumber = value
  2676. this.flag = value
  2677. this.taskData()
  2678. },
  2679. //任务分析
  2680. taskData() {
  2681. let userId = this.$route.query.userId
  2682. this.tableDataLoading = true
  2683. this.$http({
  2684. url: this.$http.adornUrl('admin/tbindent/findIncome'),
  2685. method: 'get',
  2686. params: this.$http.adornParams({
  2687. 'date': this.info.stockDate,
  2688. 'dateType': this.flag,
  2689. 'page': this.page,
  2690. 'limit': this.limit,
  2691. 'userId': userId
  2692. })
  2693. }).then(({
  2694. data
  2695. }) => {
  2696. this.tableDataLoading = false
  2697. let returnData = data.data;
  2698. this.tableData2 = returnData;
  2699. this.tableData3 = returnData.pageUtils;
  2700. })
  2701. },
  2702. // 我的聊天会话
  2703. liaotianSelect() {
  2704. this.tableDataLoading = true
  2705. let userId = this.$route.query.userId
  2706. this.$http({
  2707. url: this.$http.adornUrl('shop/ordersChat/selectOrdersChatPageShop'),
  2708. method: 'get',
  2709. params: this.$http.adornParams({
  2710. 'page': this.page,
  2711. 'limit': this.limit,
  2712. 'userId': userId,
  2713. })
  2714. }).then(({
  2715. data
  2716. }) => {
  2717. this.tableDataLoading = false
  2718. let returnData = data.data;
  2719. this.liaotianData = returnData;
  2720. })
  2721. },
  2722. // 骑手聊天会话
  2723. liaotianSelectQs() {
  2724. this.tableDataLoading = true
  2725. let userId = this.$route.query.userId
  2726. this.$http({
  2727. url: this.$http.adornUrl('shop/ordersChat/selectOrdersChatPageShop'),
  2728. method: 'get',
  2729. params: this.$http.adornParams({
  2730. 'page': this.page,
  2731. 'limit': this.limit,
  2732. 'riderId': userId,
  2733. })
  2734. }).then(({
  2735. data
  2736. }) => {
  2737. this.tableDataLoading = false
  2738. let returnData = data.data;
  2739. this.liaotianData = returnData;
  2740. })
  2741. },
  2742. // 聊天内容
  2743. complainDetails(row) {
  2744. this.chatConversationId = row.ordersId
  2745. this.neirongSelect(this.chatConversationId)
  2746. this.dialogFormVisible4 = true
  2747. },
  2748. // 获取聊天内容列表
  2749. neirongSelect(chatConversationId) {
  2750. this.tableDataLoading1 = true
  2751. this.$http({
  2752. url: this.$http.adornUrl('shop/ordersChat/selectGameChatDetails'),
  2753. method: 'get',
  2754. params: this.$http.adornParams({
  2755. 'page': this.page1,
  2756. 'limit': this.limit1,
  2757. 'ordersId': this.chatConversationId,
  2758. 'content': this.content
  2759. })
  2760. }).then(({
  2761. data
  2762. }) => {
  2763. this.tableDataLoading1 = false
  2764. let returnData = data.data;
  2765. this.huihuaData = returnData
  2766. })
  2767. },
  2768. },
  2769. mounted() {
  2770. this.dataSelect()
  2771. },
  2772. watch: {
  2773. '$route': 'dataSelect'
  2774. }
  2775. }
  2776. </script>
  2777. <style scoped="scoped">
  2778. .detailtabel h2 {
  2779. margin-top: 0;
  2780. }
  2781. .detailtabel .table_main table {
  2782. width: 100%;
  2783. }
  2784. .detailtabel .table_main {
  2785. border: 1px solid #e8e8e8;
  2786. }
  2787. .detailtabel table tr {
  2788. border-bottom: 1px solid #e8e8e8;
  2789. }
  2790. .detailtabel table tr th {
  2791. background-color: #fafafa;
  2792. padding: 16px 24px;
  2793. border-right: 1px solid #e8e8e8;
  2794. border-bottom: 1px solid #e8e8e8;
  2795. }
  2796. .detailtabel table tr td {
  2797. padding: 16px 24px;
  2798. border-right: 1px solid #e8e8e8;
  2799. border-bottom: 1px solid #e8e8e8;
  2800. }
  2801. .detailtabel table th {
  2802. color: rgba(0, 0, 0, .85);
  2803. font-weight: 400;
  2804. font-size: 14px;
  2805. line-height: 1.5;
  2806. }
  2807. .border-rt {
  2808. border-right: none !important;
  2809. }
  2810. .border-bt {
  2811. border-bottom: none !important;
  2812. }
  2813. .box {
  2814. padding: 44px;
  2815. border: 1px solid #eee;
  2816. margin: 15px 10px;
  2817. }
  2818. .box_num {
  2819. font-size: 14px;
  2820. color: #66b1ff;
  2821. }
  2822. .box_num .box_color {
  2823. color: #333;
  2824. font-size: 14px;
  2825. margin-bottom: 15px;
  2826. }
  2827. .box_num div span {
  2828. font-size: 20px;
  2829. margin-left: 5px;
  2830. }
  2831. .text_color {
  2832. color: #4f9dec;
  2833. }
  2834. .text_color span {
  2835. margin-right: 5px;
  2836. }
  2837. </style>