Customer.vue 50 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217
  1. <template>
  2. <div class="custome_container">
  3. <div class="title">
  4. <el-row>
  5. <el-col :span="24">
  6. <div class="top">
  7. <el-input placeholder="客户名称" class="input-demo" v-model="formCondition.customerName"></el-input>
  8. <el-input placeholder="主体名称" class="input-demo" v-model="formCondition.company"></el-input>
  9. <el-input placeholder="公司名称" class="input-demo" v-model="formCondition.subCompany"></el-input>
  10. <el-button type="success" style="margin-left: 1%;" @click="firstLoadData">查询</el-button>
  11. <!-- <el-button type="success" style="margin-left: 1%;" @click="addCustomerShow = true">添加</el-button>-->
  12. <el-button type="primary" style="margin-left: 1%;" @click="exportExcel">导出报表</el-button>
  13. </div>
  14. </el-col>
  15. </el-row>
  16. </div>
  17. <!-- 表格部分 -->
  18. <template>
  19. <el-table
  20. class="table"
  21. v-loading="loading"
  22. ref="multipleTable"
  23. :data="coustomerTable"
  24. :height="heightt"
  25. border
  26. tooltip-effect="dark">
  27. <el-table-column
  28. label="客户名称"
  29. prop="customerName"
  30. show-overflow-tooltip>
  31. </el-table-column>
  32. <el-table-column
  33. label="客户密钥"
  34. prop="appSecret"
  35. show-overflow-tooltip>
  36. </el-table-column>
  37. <el-table-column
  38. label="主体名称"
  39. prop="company"
  40. show-overflow-tooltip>
  41. </el-table-column>
  42. <el-table-column
  43. prop="fee"
  44. label="etc卡月费"
  45. show-overflow-tooltip>
  46. </el-table-column>
  47. <el-table-column
  48. prop="bussinessType"
  49. label="业务类型"
  50. show-overflow-tooltip>
  51. <template slot-scope="scope">
  52. <span v-if="scope.row.bussinessType == 2" >无车</span>
  53. <span v-else-if="scope.row.integrationType == 0" >自有车</span>
  54. </template>
  55. </el-table-column>
  56. <el-table-column
  57. prop="accountBalance"
  58. label="账号余额"
  59. show-overflow-tooltip>
  60. <template slot-scope="scope">
  61. <span>{{scope.row.accountBalance| rounding}}</span>
  62. </template>
  63. </el-table-column>
  64. <el-table-column
  65. prop="firstSign"
  66. label="首签日"
  67. show-overflow-tooltip>
  68. </el-table-column>
  69. <el-table-column
  70. prop="accstatus"
  71. label="账号状态"
  72. show-overflow-tooltip>
  73. <template slot-scope="scope">
  74. <span v-if="scope.row.accstatus == 0" style="color:green">正常</span>
  75. <span v-else-if="scope.row.accstatus == 1" style="color: red">停用</span>
  76. </template>
  77. </el-table-column>
  78. <el-table-column
  79. label="操作"
  80. width="280">
  81. <template slot-scope="scope" show-overflow-tooltip>
  82. <el-link style="cursor:pointer; color: blue;" @click="investMone(scope.row)">充值</el-link>
  83. <el-link style="margin-left: 10px; cursor:pointer; color: blue;" @click="recInfoList(scope.row)">备案列表</el-link>
  84. <!-- <el-link style="margin-left: 10px; cursor:pointer; color: blue;" @click="carInfo(scope.row)">车辆信息</el-link> -->
  85. <el-link style="margin-left: 10px; cursor:pointer; color: blue;" @click="updateStatus(scope.row)">状态修改</el-link>
  86. </template>
  87. </el-table-column>
  88. </el-table>
  89. </template>
  90. <!-- 分页 -->
  91. <div class="block">
  92. <el-pagination
  93. @size-change="handleSizeChange"
  94. @current-change="handleCurrentChange"
  95. :current-page="current"
  96. :page-sizes="[6, 8, 10 , 20, 50, 100]"
  97. :page-size="pagesize"
  98. layout="total, sizes, prev, pager, next, jumper"
  99. :total="total">
  100. </el-pagination>
  101. </div>
  102. <el-dialog
  103. @close="addCustomerClose"
  104. :visible.sync="addCustomerShow"
  105. style="font-size: 0px;">
  106. <div class="tou">客戶--添加</div>
  107. <div class="line"></div>
  108. <el-form
  109. label-position="right"
  110. label-width="80px"
  111. :rules="custAddrules"
  112. ref="customerForm"
  113. :model="customer">
  114. <el-form-item label="客戶名称" prop="customerName">
  115. <el-input v-model="customer.customerName" auto-complete="off" placeholder="请输入用户名"></el-input>
  116. </el-form-item>
  117. <el-form-item label="客户主体" prop="customerCompany">
  118. <el-input v-model="customer.company" auto-complete="off" placeholder="请输入主体名称"></el-input>
  119. </el-form-item>
  120. <el-form-item label="业务类型" prop="bussinessType">
  121. <el-select v-model="customer.bussinessType" @change="changeRow" placeholder="请选择业务类型" style="width: 100%">
  122. <el-option
  123. v-for="item in roleList"
  124. :key="item.value"
  125. :label="item.label"
  126. :value="item.value">
  127. </el-option>
  128. </el-select>
  129. </el-form-item>
  130. <el-form-item label="ETC卡月费" v-show="showEtcFee" prop="customerCompany">
  131. <el-input v-model="customer.fee" auto-complete="off" placeholder="etc卡月费用"></el-input>
  132. </el-form-item>
  133. </el-form>
  134. <div slot="footer" class="dialog-footer">
  135. <el-button @click="addCustomerShow = false" type="info">取 消</el-button>
  136. <el-button type="primary" @click="addCustomer('customerForm')">新 增</el-button>
  137. </div>
  138. </el-dialog>
  139. <!-- 修改锁定和解锁状态 -->
  140. <el-dialog
  141. @close="addCustomerClose"
  142. :visible.sync="changeStatus"
  143. style="font-size: 0px;">
  144. <div class="tou">客户--修改状态</div>
  145. <div class="line"></div>
  146. <el-form
  147. label-position="right"
  148. label-width="80px"
  149. :model="customer">
  150. <el-form-item label="用户名">
  151. <el-input v-model="customer.customerName" disabled="true" auto-complete="off" placeholder="请输入用户名"></el-input>
  152. </el-form-item>
  153. <el-form-item label="状态">
  154. <el-select v-model="customer.accstatus" placeholder="请选择状态" style="width: 100%">
  155. <el-option
  156. v-for="item in optionone"
  157. :key="item.value"
  158. :label="item.label"
  159. :value="item.value">
  160. </el-option>
  161. </el-select>
  162. </el-form-item>
  163. </el-form>
  164. <div slot="footer" class="dialog-footer">
  165. <el-button @click="changeStatus = false" type="info">取 消</el-button>
  166. <el-button type="primary" @click="changeStatusM">修 改</el-button>
  167. </div>
  168. </el-dialog>
  169. <el-dialog
  170. @close="addCustomerClose"
  171. :visible.sync="recVisList"
  172. style="font-size: 0px;">
  173. <div class="tou">客户--备案列表 <el-input placeholder="公司名称" class="input-demo" v-model="customer.company"></el-input> <el-button type="success" style="margin-left: 1%;" @click="queryCustomerRec">查询</el-button> <el-button type="success" style="margin-left: 1%;" @click="showAddCustomerRec">添加</el-button></div>
  174. <div class="line"></div>
  175. <!-- 表格部分 -->
  176. <template>
  177. <el-table
  178. v-loading="loading"
  179. ref="multipleTable"
  180. :data="customeRecQueryListTable"
  181. height="370px"
  182. border
  183. tooltip-effect="dark">
  184. <el-table-column
  185. label="客户名称"
  186. prop="customerName"
  187. show-overflow-tooltip>
  188. </el-table-column>
  189. <el-table-column
  190. prop="companyNum"
  191. label="企业编号"
  192. show-overflow-tooltip>
  193. </el-table-column>
  194. <el-table-column
  195. prop="contrantNum"
  196. label="协议编号"
  197. show-overflow-tooltip>
  198. </el-table-column>
  199. <el-table-column
  200. prop="companyName"
  201. label="公司名称"
  202. show-overflow-tooltip>
  203. </el-table-column>
  204. <el-table-column
  205. prop="companyReferencenum"
  206. label="税号"
  207. show-overflow-tooltip>
  208. </el-table-column>
  209. <el-table-column
  210. prop="companyOpenbank"
  211. label="开户行"
  212. show-overflow-tooltip>
  213. </el-table-column>
  214. <!-- <el-table-column
  215. prop="companyOpenbankAcc"
  216. label="银行账号"
  217. show-overflow-tooltip>
  218. </el-table-column> -->
  219. <el-table-column
  220. prop="recStatus"
  221. label="备案状态"
  222. show-overflow-tooltip>
  223. <template slot-scope="scope">
  224. <span v-if="scope.row.recStatus == 0">备案中</span>
  225. <span v-else-if="scope.row.recStatus == 1" style="color: green">备案成功</span>
  226. <span v-else-if="scope.row.recStatus == 2" style="color: red">备案失败</span>
  227. <span v-else-if="scope.row.recStatus == 3" style="color: red">等待协议上传</span>
  228. <span v-else-if="scope.row.recStatus == 4" style="color: red">手工停用</span>
  229. </template>
  230. </el-table-column>
  231. <el-table-column
  232. prop="fileMessage"
  233. label="失败原因"
  234. show-overflow-tooltip>
  235. </el-table-column>
  236. <el-table-column
  237. prop="contractSuc"
  238. label="协议上传状态"
  239. width="120"
  240. show-overflow-tooltip>
  241. <template slot-scope="scope">
  242. <span v-if="scope.row.contractSuc == 1" style="color: green">协议上传成功</span>
  243. <span v-else-if="scope.row.contractSuc == 2" style="color: red">协议未上传</span>
  244. </template>
  245. </el-table-column>
  246. <el-table-column
  247. prop="interType"
  248. label="对接方式"
  249. show-overflow-tooltip>
  250. <template slot-scope="scope">
  251. <span v-if="scope.row.interType == 0">接口</span>
  252. <span v-if="scope.row.interType == 1">平台</span>
  253. <span v-if="scope.row.interType == 3">平台</span>
  254. </template>
  255. </el-table-column>
  256. <el-table-column
  257. prop="bussinessType"
  258. label="业务类型"
  259. show-overflow-tooltip>
  260. <template slot-scope="scope">
  261. <span v-if="scope.row.bussinessType == 0">自有车</span>
  262. <span v-if="scope.row.bussinessType == 1">外协车</span>
  263. <span v-if="scope.row.bussinessType == 2">无车</span>
  264. </template>
  265. </el-table-column>
  266. <el-table-column
  267. label="操作"
  268. width="280">
  269. <template slot-scope="scope" show-overflow-tooltip>
  270. <el-link style="margin-left: 10px; cursor:pointer; color: blue;" @click="recInfo(scope.row)">备案信息</el-link>
  271. <el-link style="margin-left: 10px; cursor:pointer; color: blue;" @click="concatInfo(scope.row)">协议信息</el-link>
  272. <el-link v-if="scope.row.recStatus == 1" style="margin-left: 10px; cursor:pointer; color: blue;" @click="stopUse(scope.row)">停用</el-link>
  273. </template>
  274. </el-table-column>
  275. </el-table>
  276. </template>
  277. </el-dialog>
  278. <el-dialog
  279. @close="custRecClose"
  280. :visible.sync="concatVis"
  281. style="font-size: 0px;">
  282. <div class="tou">客户-协议信息</div>
  283. <div class="line"></div>
  284. <el-form
  285. label-position="right"
  286. label-width="80px"
  287. :model="formUserList">
  288. <el-row :span="24">
  289. <el-col :span="12">
  290. <el-form-item label-width=120px label="协议类型" prop="serviceType">
  291. <el-select v-model="customerRec.serviceType" placeholder="运营范围" style="width: 100%">
  292. <el-option
  293. v-for="item in serviceTypeList"
  294. :key="item.id"
  295. :label="item.name"
  296. :value="item.id">
  297. </el-option>
  298. </el-select>
  299. </el-form-item>
  300. </el-col>
  301. <el-col :span="12" v-show= false>
  302. <el-form-item label-width=120px label="协议文件名">
  303. <el-input v-model="customerRec.contractFileName" auto-complete="off" :disabled=disable ></el-input>
  304. </el-form-item>
  305. </el-col>
  306. <el-col :span="12" v-show= true>
  307. <el-form-item label-width=120px label="协议文件" prop="contractFileName">
  308. <el-upload
  309. class="avatar-uploader"
  310. style="width: 100%"
  311. action="#"
  312. :show-file-list="false"
  313. :http-request="httpRequest">
  314. <el-input label-width=120px v-model="customerRec.contractFileName" auto-complete="off" style="width: 100%"></el-input>
  315. <!-- <el-button type="primary" @click="getFile(index)">选取文件</el-button> -->
  316. </el-upload>
  317. <el-input label-width=120px v-model="customerRec.base64Str" v-show="false" auto-complete="off"></el-input>
  318. </el-form-item>
  319. </el-col>
  320. </el-row>
  321. <el-row :span="24">
  322. <el-col :span="12">
  323. <el-form-item label-width=120px label="服务开始时间">
  324. <!-- <el-input v-model="customerRec.serviceStartTime" auto-complete="off" :disabled=false ></el-input> -->
  325. <el-date-picker v-model="customerRec.serviceStartTime" type="date" value-format="yyyy-MM-dd HH:mm:SS" placeholder="服务开始时间"></el-date-picker>
  326. </el-form-item>
  327. </el-col>
  328. <el-col :span="12">
  329. <el-form-item label-width=120px label="服务结束时间">
  330. <!-- <el-input v-model="customerRec.serviceEndTime" auto-complete="off" :disabled=false ></el-input> -->
  331. <el-date-picker v-model="customerRec.serviceEndTime" type="date" value-format="yyyy-MM-dd HH:mm:SS" placeholder="服务结束时间"></el-date-picker>
  332. </el-form-item>
  333. </el-col>
  334. </el-row>
  335. </el-form>
  336. <div slot="footer" class="dialog-footer">
  337. <el-button @click="contractDownload" v-show="customerRec.lowerFileName" type="primary">下游文件下载</el-button>
  338. <el-button @click="contractAdd" type="primary">协议上传</el-button>
  339. </div>
  340. </el-dialog>
  341. <el-dialog
  342. @close="custRecClose"
  343. :visible.sync="recVis"
  344. style="font-size: 0px;">
  345. <div class="tou">客户--备案信息</div>
  346. <div class="line"></div>
  347. <el-form
  348. label-position="right"
  349. label-width="80px"
  350. :model="formUserList">
  351. <el-row :span="24">
  352. <el-col :span="12">
  353. <el-form-item label-width=120px label="客户名称">
  354. <el-input v-model="customerRec.customerName" auto-complete="off" :disabled= true ></el-input>
  355. </el-form-item>
  356. </el-col>
  357. <el-col :span="12">
  358. <el-form-item label-width=120px label="公司负责人">
  359. <el-input v-model="customerRec.companyLeader" :disabled=disable style="width: 100%"></el-input>
  360. </el-form-item>
  361. </el-col>
  362. </el-row>
  363. <el-row :span="24">
  364. <el-col :span="12">
  365. <el-form-item label-width=120px label="负责人手机号">
  366. <el-input v-model="customerRec.companyLeaderPhone" auto-complete="off" :disabled=disable ></el-input>
  367. </el-form-item>
  368. </el-col>
  369. <el-col :span="12">
  370. <el-form-item label-width=120px label="公司名称">
  371. <el-input v-model="customerRec.companyName" :disabled=disable style="width: 100%"></el-input>
  372. </el-form-item>
  373. </el-col>
  374. </el-row>
  375. <el-row :span="24">
  376. <el-col :span="12">
  377. <el-form-item label-width=120px label="公司税号">
  378. <el-input v-model="customerRec.companyReferencenum" auto-complete="off" :disabled=disable ></el-input>
  379. </el-form-item>
  380. </el-col>
  381. <el-col :span="12">
  382. <el-form-item label-width=120px label="公司开户行">
  383. <el-input v-model="customerRec.companyOpenbank" :disabled=disable style="width: 100%"></el-input>
  384. </el-form-item>
  385. </el-col>
  386. </el-row>
  387. <el-row :span="24">
  388. <el-col :span="12">
  389. <el-form-item label-width=120px label="公司开户行账号">
  390. <el-input v-model="customerRec.companyOpenbankAcc" auto-complete="off" :disabled=disable ></el-input>
  391. </el-form-item>
  392. </el-col>
  393. <el-col :span="12">
  394. <el-form-item label-width=120px label="公司地址">
  395. <el-input v-model="customerRec.companyAdress" style="width: 100%" :disabled=disable></el-input>
  396. </el-form-item>
  397. </el-col>
  398. </el-row>
  399. <el-row :span="24">
  400. <el-col :span="12">
  401. <el-form-item label-width=120px label="公司电话">
  402. <el-input v-model="customerRec.companyPhone" auto-complete="off" :disabled=disable ></el-input>
  403. </el-form-item>
  404. </el-col>
  405. <el-col :span="12">
  406. <el-form-item label-width=120px label="业务类型">
  407. <el-select v-model="customerRec.bussinessType" placeholder="业务类型" :disabled=disable style="width: 100%">
  408. <el-option
  409. v-for="item in bussinessTypeList"
  410. :key="item.id"
  411. :label="item.name"
  412. :value="item.id">
  413. </el-option>
  414. </el-select>
  415. </el-form-item>
  416. </el-col>
  417. </el-row>
  418. <el-row :span="24">
  419. <el-col :span="12">
  420. <!-- <el-form-item label-width=120px label="公司类型">
  421. <el-input v-model="customerRec.companyType" auto-complete="off" readonly=true ></el-input>
  422. </el-form-item> -->
  423. <el-form-item label-width=120px label="公司类型" prop="companyType">
  424. <el-select v-model="customerRec.companyType" placeholder="公司类型" style="width: 100%" :disabled=disable>
  425. <el-option
  426. v-for="item in companyList"
  427. :key="item.id"
  428. :label="item.name"
  429. :value="item.id">
  430. </el-option>
  431. </el-select>
  432. </el-form-item>
  433. </el-col>
  434. <el-col :span="12">
  435. <!-- <el-form-item label-width=120px label="公司类型">
  436. <el-input v-model="customerRec.companyType" auto-complete="off" readonly=true ></el-input>
  437. </el-form-item> -->
  438. <el-form-item label-width=120px label="运营范围" prop="operatingRangeType">
  439. <el-select v-model="customerRec.operatingRangeType" placeholder="运营范围" style="width: 100%" :disabled=disable>
  440. <el-option
  441. v-for="item in operatingRangeList"
  442. :key="item.id"
  443. :label="item.name"
  444. :value="item.id">
  445. </el-option>
  446. </el-select>
  447. </el-form-item>
  448. </el-col>
  449. </el-row>
  450. </el-form>
  451. <div slot="footer" class="dialog-footer">
  452. <el-button @click="customerRecConform" type="primary">信息上传</el-button>
  453. <el-button type="primary" @click="generateWord">生成文档</el-button>
  454. </div>
  455. </el-dialog>
  456. <el-dialog
  457. @close="custRecClose"
  458. :visible.sync="addCustomerRecShow1"
  459. style="font-size: 0px;">
  460. <div class="tou">客户--备案信息</div>
  461. <div class="line"></div>
  462. <el-form
  463. label-position="right"
  464. label-width="80px"
  465. :rules="custRecAddrules"
  466. ref="recRuleForm"
  467. :model="customerRec">
  468. <el-row :span="24">
  469. <el-col :span="12">
  470. <el-form-item label-width=120px label="客户名称">
  471. <el-input v-model="customerRec.customerName" auto-complete="off" :disabled=true ></el-input>
  472. </el-form-item>
  473. </el-col>
  474. <el-col :span="12">
  475. <el-form-item label-width=120px label="公司负责人" prop="companyLeader">
  476. <el-input v-model="customerRec.companyLeader" style="width: 100%"></el-input>
  477. </el-form-item>
  478. </el-col>
  479. </el-row>
  480. <el-row :span="24">
  481. <el-col :span="12">
  482. <el-form-item label-width=120px label="负责人手机号" prop="companyLeaderPhone">
  483. <el-input v-model="customerRec.companyLeaderPhone" auto-complete="off" ></el-input>
  484. </el-form-item>
  485. </el-col>
  486. <el-col :span="12">
  487. <el-form-item label-width=120px label="公司名称" prop="companyName">
  488. <el-input v-model="customerRec.companyName" style="width: 100%"></el-input>
  489. </el-form-item>
  490. </el-col>
  491. </el-row>
  492. <el-row :span="24">
  493. <el-col :span="12">
  494. <el-form-item label-width=120px label="公司税号" prop="companyReferencenum">
  495. <el-input v-model="customerRec.companyReferencenum" auto-complete="off" ></el-input>
  496. </el-form-item>
  497. </el-col>
  498. <el-col :span="12">
  499. <el-form-item label-width=120px label="公司开户行" prop="companyOpenbank">
  500. <el-input v-model="customerRec.companyOpenbank" style="width: 100%"></el-input>
  501. </el-form-item>
  502. </el-col>
  503. </el-row>
  504. <el-row :span="24">
  505. <el-col :span="12">
  506. <el-form-item label-width=120px label="公司开户行账号" prop="companyOpenbankAcc">
  507. <el-input v-model="customerRec.companyOpenbankAcc" auto-complete="off" ></el-input>
  508. </el-form-item>
  509. </el-col>
  510. <el-col :span="12">
  511. <el-form-item label-width=120px label="公司地址" prop="companyAdress">
  512. <el-input v-model="customerRec.companyAdress" style="width: 100%" ></el-input>
  513. </el-form-item>
  514. </el-col>
  515. </el-row>
  516. <el-row :span="24">
  517. <el-col :span="12">
  518. <el-form-item label-width=120px label="公司电话" prop="companyPhone">
  519. <el-input v-model="customerRec.companyPhone" auto-complete="off" ></el-input>
  520. </el-form-item>
  521. </el-col>
  522. <el-col :span="12">
  523. <el-form-item label-width=120px label="业务类型" prop="bussinessType">
  524. <el-select v-model="customerRec.bussinessType" placeholder="业务类型" style="width: 100%">
  525. <el-option
  526. v-for="item in bussinessTypeList"
  527. :key="item.id"
  528. :label="item.name"
  529. :value="item.id">
  530. </el-option>
  531. </el-select>
  532. </el-form-item>
  533. </el-col>
  534. </el-row>
  535. <el-row :span="24">
  536. <el-col :span="12">
  537. <!-- <el-form-item label-width=120px label="公司类型">
  538. <el-input v-model="customerRec.companyType" auto-complete="off" readonly=true ></el-input>
  539. </el-form-item> -->
  540. <el-form-item label-width=120px label="公司类型" prop="companyType">
  541. <el-select v-model="customerRec.companyType" placeholder="公司类型" style="width: 100%">
  542. <el-option
  543. v-for="item in companyList"
  544. :key="item.id"
  545. :label="item.name"
  546. :value="item.id">
  547. </el-option>
  548. </el-select>
  549. </el-form-item>
  550. </el-col>
  551. <el-col :span="12">
  552. <!-- <el-form-item label-width=120px label="公司类型">
  553. <el-input v-model="customerRec.companyType" auto-complete="off" readonly=true ></el-input>
  554. </el-form-item> -->
  555. <el-form-item label-width=120px label="运营范围" prop="operatingRangeType">
  556. <el-select v-model="customerRec.operatingRangeType" placeholder="运营范围" style="width: 100%">
  557. <el-option
  558. v-for="item in operatingRangeList"
  559. :key="item.id"
  560. :label="item.name"
  561. :value="item.id">
  562. </el-option>
  563. </el-select>
  564. </el-form-item>
  565. </el-col>
  566. </el-row>
  567. <el-row :span="24">
  568. <el-col :span="12">
  569. <el-form-item label-width=120px label="协议类型" prop="serviceType">
  570. <el-select v-model="customerRec.serviceType" placeholder="运营范围" style="width: 100%">
  571. <el-option
  572. v-for="item in serviceTypeList"
  573. :key="item.id"
  574. :label="item.name"
  575. :value="item.id">
  576. </el-option>
  577. </el-select>
  578. </el-form-item>
  579. </el-col>
  580. <el-col :span="12">
  581. <el-form-item label-width=120px label="协议文件" prop="contractFileName">
  582. <el-upload
  583. class="avatar-uploader"
  584. style="width: 100%"
  585. action="#"
  586. :show-file-list="false"
  587. :http-request="httpRequest">
  588. <el-input label-width=120px v-model="customerRec.contractFileName" auto-complete="off" style="width: 100%"></el-input>
  589. <!-- <el-button type="primary" @click="getFile(index)">选取文件</el-button> -->
  590. </el-upload>
  591. <el-input label-width=120px v-model="customerRec.base64Str" v-show="false" auto-complete="off"></el-input>
  592. </el-form-item>
  593. </el-col>
  594. </el-row>
  595. <el-row :span="24">
  596. <el-col :span="12">
  597. <el-form-item label-width=120px label="服务开始时间" prop="serviceStartTime">
  598. <!-- <el-input v-model="customerRec.serviceStartTime" auto-complete="off" ></el-input> -->
  599. <el-date-picker v-model="customerRec.serviceStartTime" type="date" value-format="yyyy-MM-dd HH:mm:SS" placeholder="服务开始时间"></el-date-picker>
  600. </el-form-item>
  601. </el-col>
  602. <el-col :span="12">
  603. <el-form-item label-width=120px label="服务结束时间" prop="serviceEndTime">
  604. <!-- <el-input v-model="customerRec.serviceEndTime" auto-complete="off" ></el-input> -->
  605. <el-date-picker v-model="customerRec.serviceEndTime" type="date" value-format="yyyy-MM-dd HH:mm:SS" placeholder="服务结束时间"></el-date-picker>
  606. </el-form-item>
  607. </el-col>
  608. </el-row>
  609. </el-form>
  610. <div slot="footer" class="dialog-footer">
  611. <el-button @click="customerRecquerry" type="primary">查询</el-button>
  612. <el-button @click="customerRecAdd" type="primary">保存</el-button>
  613. </div>
  614. </el-dialog>
  615. <el-dialog
  616. @close="addCustomerClose"
  617. :visible.sync="accIsclose"
  618. style="font-size: 0px;">
  619. <div class="tou">客户--充值</div>
  620. <div class="line"></div>
  621. <el-form
  622. label-position="right"
  623. label-width="80px"
  624. :model="customer">
  625. <el-form-item label="客户名称">
  626. <el-input v-model="customer.customerName" auto-complete="off" readonly=true></el-input>
  627. </el-form-item>
  628. <el-form-item label="账号余额">
  629. <el-input v-model="customer.accountBalance" auto-complete="off" readonly=true></el-input>
  630. </el-form-item>
  631. <el-form-item label="充值金额">
  632. <el-input v-model="customerRecharge.rechargeMony" @input="changeAmt" auto-complete="off"></el-input>
  633. </el-form-item>
  634. </el-form>
  635. <div slot="footer" class="dialog-footer">
  636. <el-button @click="accIsclose = false" type="info">取 消</el-button>
  637. <el-button type="primary" @click="customRecharge">充值</el-button>
  638. </div>
  639. </el-dialog>
  640. </div>
  641. </template>
  642. <script type="text/javascript">
  643. import FileSaver from "file-saver";
  644. import XLSX from "xlsx";
  645. export default {
  646. data(){
  647. return{
  648. formCondition:{
  649. customerName:'',
  650. company:'',
  651. subCompany:''
  652. },
  653. hightt:'0px',
  654. coustomerTable:[],
  655. coustomerCarTable:[],
  656. customeRecQueryListTable:[],
  657. companyList:[{id:1,name:"行业用户"},{id:2,name:"自营平台"},{id:3,name:"合作商户"}],
  658. bussinessTypeList:[{id:"0",name:"自有车"},{id:"2",name:"无车"}],
  659. operatingRangeList:[{id:1,name:"快递"},
  660. {id:2,name:"速运"},
  661. {id:3,name:"货运代理"},
  662. {id:4,name:"普通货运"},
  663. {id:5,name:"专线运输"},
  664. {id:6,name:"其他"}],
  665. serviceTypeList:[{id:1,name:"一级产品"},{id:2,name:"二级产品"},{id:3,name:"三级产品"}],
  666. custAddrules: {
  667. customerName: [
  668. { required: true, message: '请输入', trigger: 'blur' },
  669. { min: 3, max: 100, message: '长度在 3 到 100个字符', trigger: 'blur' }
  670. ],
  671. customerCompany: [
  672. { required: true, message: '请输入', trigger: 'blur' },
  673. { min: 3, max: 100, message: '长度在 3 到 300个字符', trigger: 'blur' }
  674. ],
  675. bussinessType: [
  676. { required: true, message: '请输入', trigger: 'blur' },
  677. ]
  678. },
  679. custRecAddrules: {
  680. customerName: [
  681. { required: true, message: '请输入', trigger: 'blur' },
  682. ],
  683. companyLeader: [
  684. { required: true, message: '请输入', trigger: 'blur' },
  685. ],
  686. companyLeaderPhone: [
  687. { required: true, message: '请输入', trigger: 'blur' },
  688. ],
  689. companyName: [
  690. { required: true, message: '请输入', trigger: 'blur' },
  691. ],
  692. companyReferencenum: [
  693. { required: true, message: '请输入', trigger: 'blur' },
  694. ],
  695. companyOpenbank: [
  696. { required: true, message: '请输入', trigger: 'blur' },
  697. ],
  698. companyOpenbankAcc: [
  699. { required: true, message: '请输入', trigger: 'blur' },
  700. ],
  701. companyAdress: [
  702. { required: true, message: '请输入', trigger: 'blur' },
  703. ],
  704. companyPhone: [
  705. { required: true, message: '请输入', trigger: 'blur' },
  706. ],
  707. bussinessType: [
  708. { required: true, message: '请输入', trigger: 'blur' },
  709. ],
  710. companyType: [
  711. { required: true, message: '请输入', trigger: 'blur' },
  712. ],
  713. operatingRangeType: [
  714. { required: true, message: '请输入', trigger: 'blur' },
  715. ],
  716. serviceType: [
  717. { required: true, message: '请输入', trigger: 'blur' },
  718. ],
  719. serviceStartTime: [
  720. { required: true, message: '请输入', trigger: 'blur' },
  721. ],
  722. serviceEndTime: [
  723. { required: true, message: '请输入', trigger: 'blur' },
  724. ]
  725. },
  726. customerRec:{
  727. },
  728. queryParam:{},
  729. customer:{
  730. id:0,
  731. customerName:'',
  732. usenumAll:'',
  733. invoiceTime:'',
  734. usenumInterface:'',
  735. usenumPlat:'',
  736. accountBalance:'',
  737. bussinessType:'',
  738. integrationType:'',
  739. firstSign:'',
  740. accstatus:'0',
  741. company:''
  742. },
  743. customerRecharge:{
  744. customerName:'',
  745. rechargeMony:''
  746. },
  747. queryParam:{
  748. },
  749. optionone: [{
  750. value: 0,
  751. label: '正常'
  752. }, {
  753. value: 1,
  754. label: '停用'
  755. }],
  756. roleList: [{
  757. value: 0,
  758. label: '自有车'
  759. }, {
  760. value: 2,
  761. label: '无车'
  762. }],
  763. current: 1,
  764. pagesize: 8,
  765. total:'',
  766. addCustomerShow:false,
  767. addCustomerRecShow1:false,
  768. changeStatus:false,
  769. recVis:false,
  770. concatVis:false,
  771. accIsclose:false,
  772. carRecclose:false,
  773. recVisList:false,
  774. disable:false,
  775. showEtcFee:false
  776. }
  777. },
  778. created() {
  779. this.heightt = tableHeight;
  780. this.loadData();
  781. },
  782. filters: {
  783. rounding (value) {
  784. return value.toFixed(2)
  785. }
  786. },
  787. methods:{
  788. showAddCustomerRec(){
  789. this.addCustomerRecShow1 =true;
  790. this.customerRec.customerName = this.customer.customerName;
  791. },
  792. changeAmt(value){
  793. value=value.replace(/\.{2,}/g, '.').replace('.', '$#$').replace(/\./g, '').replace('$#$', '.').replace(/^(\-)*(\d+)\.(\d\d).*$/, '$1$2.$3').replace(/^\./g, '');
  794. this.customerRecharge.rechargeMony = value;
  795. },
  796. getBase64(file) {
  797. this.customerRec.contractFileName = file.name;
  798. this.$forceUpdate()
  799. return new Promise((resolve, reject) => {
  800. let reader = new FileReader();
  801. let fileResult = "";
  802. reader.readAsDataURL(file);
  803.      //开始转
  804. reader.onload = function() {
  805. fileResult = reader.result;
  806. };
  807.      //转 失败
  808. reader.onerror = function(error) {
  809. reject(error);
  810. };
  811.      //转 结束 咱就 resolve 出去
  812. reader.onloadend = function() {
  813. resolve(fileResult);
  814. };
  815. });
  816. },
  817. httpRequest(data){  // 没事儿就打印data看看呗    //这是限制上传文件类型
  818. const isPFX = data.file.type === "application/pdf";
  819. const isLt2M = data.file.size / 1024 / 1024 < 10;
  820. if (!isPFX) {
  821. this.$message.error("上传文件只能是pdf格式!");
  822. }else if (!isLt2M) {
  823. this.$message.error("上传文件大小不能超过 10MB!");
  824. }else{
  825. // 转base64
  826. this.getBase64(data.file).then(resBase64 => {
  827. this.fileBase64 = resBase64.split(',')[1]  //直接拿到base64信息
  828. this.customerRec.base64Str = resBase64.split(',')[1];
  829. })
  830. this.$message.success('文件上传成功');
  831. }},
  832. addCustomer(formName){
  833. this.$refs[formName].validate(async (valid) => {
  834. if(valid) {
  835. const response = await this.$http.post(`customer/addCustomer`, this.customer);
  836. if(response.data.code === 0) {
  837. this.loadData();
  838. this.addCustomerShow = false;
  839. this.$message({
  840. type: 'success',
  841. message: '添加成功'
  842. });
  843. }else {
  844. this.$message({
  845. type: 'error',
  846. message: '添加失败'
  847. });
  848. }
  849. }else {
  850. this.$message.error('请查看是否有选项未填写或填错项');
  851. return false;
  852. }
  853. })
  854. },
  855. investMone(recoder){
  856. this.customer = this.customer= JSON.parse(JSON.stringify(recoder ));;
  857. this.customerRecharge['rechargeMony']='';
  858. this.accIsclose = true;
  859. },
  860. async customRecharge(){
  861. this.customerRecharge['customerName'] = this.customer['customerName'];
  862. const response = await this.$http.post(`customer/customRecharge`, this.customerRecharge);
  863. if(response.data.data == true) {
  864. this.loadData();
  865. this.accIsclose = false;
  866. this.$message({
  867. type: 'success',
  868. message: '充值成功'
  869. });
  870. }else {
  871. this.$message({
  872. type: 'error',
  873. message: '充值失败'
  874. });
  875. }
  876. },
  877. async changeStatusM(){
  878. const response = await this.$http.post(`customer/updateCustomer`, this.customer);
  879. if(response.data.code === 0) {
  880. this.loadData();
  881. this.changeStatus = false;
  882. this.$message({
  883. type: 'success',
  884. message: '修改成功'
  885. });
  886. }else {
  887. this.$message({
  888. type: 'error',
  889. message: '修改失败'
  890. });
  891. }
  892. },
  893. updateStatus(recoder){
  894. this.changeStatus = true;
  895. this.customer= JSON.parse(JSON.stringify(recoder ));
  896. },
  897. async recInfo(recoder){
  898. this.recVis = true;
  899. const response = await this.$http.post(`lowerService/customeRecQuery`, {"customerName":recoder.customerName,"companyName":recoder.companyName});
  900. if (response.data.code === 0) {
  901. this.customerRec = response.data.data;
  902. this.disable = !((this.customerRec.interType ==1) && (this.customerRec.recStatus ==2 || this.customerRec.recStatus ==0));
  903. }
  904. },
  905. async concatInfo(recoder){
  906. //this.recVis = true;
  907. this.concatVis = true;
  908. const response = await this.$http.post(`lowerService/customeRecQuery`, {"customerName":recoder.customerName,"companyName":recoder.companyName});
  909. if (response.data.code === 0) {
  910. this.customerRec = response.data.data;
  911. this.disable = !((this.customerRec.interType ==1) && (this.customerRec.recStatus ==2));
  912. }
  913. },
  914. stopUse(recoder){
  915. this.$confirm('此操作将任务状态改为删除状态, 是否继续?', '提示', {
  916. confirmButtonText: '确定',
  917. cancelButtonText: '取消',
  918. type: 'warning'
  919. }).then(async () => {
  920. const response = await this.$http.post("customer/customeRecStop", {"customerName":recoder.customerName,"companyName":recoder.companyName});
  921. if (response.data.code === 0) {
  922. this.$message({
  923. type: 'success',
  924. message: '停用成功'
  925. });
  926. recoder.recStatus=4;
  927. }else{
  928. this.$message({
  929. type: 'error',
  930. message: '停用失败:'+response.data.msg
  931. });
  932. }
  933. }).catch(() => {
  934. //几点取消的提示
  935. });
  936. },
  937. async recInfoList(recoder){
  938. this.customer.customerName =recoder.customerName;
  939. const response = await this.$http.post(`lowerService/customeRecQueryList`, {"customerName":recoder.customerName});
  940. if (response.data.code === 0) {
  941. this.customeRecQueryListTable = response.data.data;
  942. }
  943. this.recVisList = true;
  944. },
  945. async queryCustomerRec(){
  946. const response = await this.$http.post(`lowerService/customeRecQueryList`, {"customerName":this.customer.customerName,"companyName":this.customer.company});
  947. if (response.data.code === 0) {
  948. this.customeRecQueryListTable = response.data.data;
  949. }
  950. },
  951. async carInfo(recoder){
  952. const response = await this.$http.post(`lowerService/customerCarRecQuery`, {"customerName":recoder.customerName});
  953. if (response.data.code === 0) {
  954. this.coustomerCarTable = response.data.data;
  955. }
  956. this.carRecclose = true;
  957. },
  958. // 清空表单数据
  959. addCustomerClose() {
  960. for (var key in this.customer) {
  961. this.customer[key] = '';
  962. };
  963. this.customer['id'] = 0;
  964. this.customer['accstatus'] = 0;
  965. this.current = 1;
  966. this.pagesize = 8;
  967. },
  968. custRecClose() {
  969. this.recVis = false,
  970. this.concatVis = false,
  971. this.addCustomerRecShow1 =false;
  972. this.customerRec = {};
  973. },
  974. async customerRecquerry(){
  975. console.log(this.customerRec);
  976. if(this.customerRec['companyName'] == null || this.customerRec['companyReferencenum'] == null
  977. || this.customerRec['companyType'] == null){
  978. this.$message({
  979. type: 'error',
  980. message: '需要填写公司名称、税号和公司类型'
  981. });
  982. }else{
  983. const response = await this.$http.post(`customer/customeRecQueryUpper`, this.customerRec);
  984. if (response.data.code === 0) {
  985. this.customerRec = response.data.data;
  986. }else{
  987. this.$message({
  988. type: 'error',
  989. message: '查询结果:'+response.data.msg+',未正常返回,请自行填写'
  990. });
  991. }
  992. }
  993. },
  994. async customerRecAdd(){
  995. console.log(this.customerRec);
  996. this.$refs['recRuleForm'].validate(async (valid) => {
  997. if(valid){
  998. const response = await this.$http.post(`customer/customerRecAdd`, this.customerRec);
  999. if(response.data.code === 0) {
  1000. const response = await this.$http.post(`lowerService/customeRecQueryList`, {"customerName":this.customer.customerName});
  1001. if (response.data.code === 0) {
  1002. this.customeRecQueryListTable = response.data.data;
  1003. }
  1004. this.addCustomerRecShow1 = false;
  1005. this.$message({
  1006. type: 'success',
  1007. message: '保存成功'
  1008. });
  1009. }else {
  1010. this.$message({
  1011. type: 'error',
  1012. message: '保存失败:'+response.data.msg
  1013. });
  1014. }
  1015. }
  1016. });
  1017. },
  1018. generateWord(){
  1019. const token = sessionStorage.getItem('token');
  1020. window.open(hostUrl+'customer/generateWord?customerRecId='+this.customerRec['id']+'&token='+token);
  1021. },
  1022. async customerRecConform(){
  1023. const response = await this.$http.post(`customer/customeRec`, this.customerRec);
  1024. debugger
  1025. if(response.data.code === 0) {
  1026. this.loadData();
  1027. this.recInfoList(this.customerRec)
  1028. this.changeStatus = false;
  1029. this.$message({
  1030. type: 'success',
  1031. message: '备案成功'
  1032. });
  1033. }else {
  1034. this.$message({
  1035. type: 'error',
  1036. message: '备案失败:'+response.data.msg
  1037. });
  1038. }
  1039. },
  1040. changeRow(id){
  1041. if(id == 0){
  1042. this.showEtcFee =true
  1043. }else{
  1044. this.showEtcFee =false
  1045. }
  1046. },
  1047. async contractAdd(){
  1048. const response = await this.$http.post(`customer/contractAdd`, this.customerRec);
  1049. if(response.data.code === 0) {
  1050. this.loadData();
  1051. this.recInfoList(this.customerRec)
  1052. this.changeStatus = false;
  1053. this.$message({
  1054. type: 'success',
  1055. message: '协议上传成功'
  1056. });
  1057. }else {
  1058. this.$message({
  1059. type: 'error',
  1060. message: '协议上传失败:'+response.data.msg
  1061. });
  1062. }
  1063. },
  1064. contractDownload(){
  1065. const token = sessionStorage.getItem('token');
  1066. window.open(hostUrl+'customer/contractDownload?customerRecId='+this.customerRec['id']+'&token='+token);
  1067. },
  1068. firstLoadData(){
  1069. this.current = 1;
  1070. this.pagesize = 8;
  1071. this.loadData();
  1072. },
  1073. // 列表展示
  1074. async loadData() {
  1075. const formData = new FormData();
  1076. formData.append('current', this.current);
  1077. formData.append('size', this.pagesize);
  1078. formData.append('customerName', this.formCondition.customerName);
  1079. formData.append('company', this.formCondition.company);
  1080. formData.append('subCompany', this.formCondition.subCompany);
  1081. const response = await this.$http.post(`customer/findCustomer`, formData);
  1082. if (response.data.code === 0) {
  1083. this.coustomerTable = response.data.data.records;
  1084. this.total = response.data.data.total;
  1085. }
  1086. },
  1087. // 分页方法
  1088. handleSizeChange(val) {
  1089. this.pagesize = val;
  1090. this.loadData();
  1091. },
  1092. handleCurrentChange(val) {
  1093. this.current = val;
  1094. this.loadData();
  1095. // console.log(`当前页: ${val}`);
  1096. },
  1097. async exportExcel() {
  1098. const loading = this.$loading({
  1099. lock: true,
  1100. text: '系统正在努力接收中,过程大概需要几分钟的时间,请您耐心等待...',
  1101. spinner: 'el-icon-loading',
  1102. background: 'rgba(0, 0, 0, 0.7)'
  1103. });
  1104. let customer = this.formCondition.customerName;
  1105. window.location.href = hostUrl+"customer/findCustomerRecListExport?customerName="+customer+"&&companyName="+this.formCondition.subCompany+"&&companyBelongName="+this.formCondition.company;
  1106. loading.close();
  1107. // let curr = this.current;
  1108. // let pagesize1 = this.pagesize;
  1109. // this.current = 1;
  1110. // this.pagesize = this.total;
  1111. // await this.loadData();
  1112. // // 设置当前日期
  1113. // let time = new Date();
  1114. // //console.log(time);
  1115. // let year = time.getFullYear();
  1116. // let month = time.getMonth() + 1;
  1117. // let day = time.getDate();
  1118. // let name = "客户管理查询列表_"+year + "" + month + "" + day;
  1119. // // console.log(name)
  1120. // /* generate workbook object from table */
  1121. // // .table要导出的是哪一个表格
  1122. // var wb = XLSX.utils.table_to_book(document.querySelector(".table"),{ raw: true });
  1123. // /* get binary string as output */
  1124. // var wbout = XLSX.write(wb, {
  1125. // bookType: "xlsx",
  1126. // bookSST: true,
  1127. // type: "array"
  1128. // });
  1129. // try {
  1130. // // name+'.xlsx'表示导出的excel表格名字
  1131. // FileSaver.saveAs(
  1132. // new Blob([wbout], { type: "application/octet-stream" }),
  1133. // name + ".xlsx"
  1134. // );
  1135. // } catch (e) {
  1136. // if (typeof console !== "undefined") console.log(e, wbout);
  1137. // }
  1138. // this.current = curr;
  1139. // this.pagesize = pagesize1;
  1140. // this.loadData();
  1141. // return wbout;
  1142. },
  1143. }
  1144. };
  1145. </script>
  1146. <style>
  1147. .custome_container {
  1148. border: 1px solid #d9d9d9;
  1149. border-radius: 10px;
  1150. }
  1151. .custome_container .title {
  1152. font-size: 5px;
  1153. margin-bottom: 20px;
  1154. }
  1155. .custome_container .top {
  1156. padding-top: 20px;
  1157. padding-left: 20px;
  1158. }
  1159. .custome_container .text {
  1160. display: inline-block;
  1161. color: #000;
  1162. font-size: 16px ;
  1163. margin-left: 1%;
  1164. }
  1165. .custome_container .input-demo {
  1166. display: inline-block;
  1167. width: 20%;
  1168. margin-left: 1%;
  1169. }
  1170. .custome_container .block {
  1171. font-size: 5px;
  1172. text-align: center;
  1173. margin-top: 25px;
  1174. margin-bottom: 25px;
  1175. }
  1176. .custome_container .el-dialog {
  1177. width: 60%;
  1178. }
  1179. .custome_container .el-dialog__header, .el-dialog__body {
  1180. padding: 0 20px;
  1181. }
  1182. .custome_container .tou {
  1183. font-size: 20px;
  1184. height: 30px;
  1185. line-height: 30px;
  1186. padding-top: 15px;
  1187. }
  1188. .custome_container .line {
  1189. margin-top: 15px;
  1190. margin-bottom: 15px;
  1191. width: 100%;
  1192. height: 2px;
  1193. background-color: #d9d9d9;
  1194. }
  1195. .custome_container .xinxi {
  1196. text-align: center;
  1197. margin: 15px auto;
  1198. font-size: 18px;
  1199. }
  1200. </style>