Customer.vue 51 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218
  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. },
  966. custRecClose() {
  967. this.recVis = false,
  968. this.concatVis = false,
  969. this.addCustomerRecShow1 =false;
  970. this.customerRec = {};
  971. },
  972. async customerRecquerry(){
  973. if(this.customerRec['companyName'] == null || this.customerRec['companyReferencenum'] == null
  974. || this.customerRec['companyType'] == null){
  975. this.$message({
  976. type: 'error',
  977. message: '需要填写公司名称、税号和公司类型'
  978. });
  979. }else{
  980. const response = await this.$http.post(`customer/customeRecQueryUpper`, this.customerRec);
  981. if (response.data.code === 0) {
  982. this.customerRec = response.data.data;
  983. }else{
  984. this.$message({
  985. type: 'error',
  986. message: '查询结果:'+response.data.msg+',未正常返回,请自行填写'
  987. });
  988. }
  989. }
  990. },
  991. async customerRecAdd(){
  992. this.$refs['recRuleForm'].validate(async (valid) => {
  993. if(valid){
  994. const loading = this.$loading({
  995. lock: true,
  996. text: '保存备案信息中,请稍后...',
  997. spinner: 'el-icon-loading',
  998. background: 'rgba(0, 0, 0, 0.7)'
  999. });
  1000. const response = await this.$http.post(`customer/customerRecAdd`, this.customerRec);
  1001. if(response.data.code === 0) {
  1002. const response = await this.$http.post(`lowerService/customeRecQueryList`, {"customerName":this.customer.customerName});
  1003. if (response.data.code === 0) {
  1004. this.customeRecQueryListTable = response.data.data;
  1005. }
  1006. this.addCustomerRecShow1 = false;
  1007. loading.close();
  1008. this.$message({
  1009. type: 'success',
  1010. message: '保存成功'
  1011. });
  1012. }else {
  1013. loading.close();
  1014. this.$message({
  1015. type: 'error',
  1016. message: '保存失败:'+response.data.msg
  1017. });
  1018. }
  1019. }
  1020. });
  1021. },
  1022. generateWord(){
  1023. const token = sessionStorage.getItem('token');
  1024. window.open(hostUrl+'customer/generateWord?customerRecId='+this.customerRec['id']+'&token='+token);
  1025. },
  1026. async customerRecConform(){
  1027. const response = await this.$http.post(`customer/customeRec`, this.customerRec);
  1028. if(response.data.code === 0) {
  1029. this.loadData();
  1030. this.recInfoList(this.customerRec)
  1031. this.changeStatus = false;
  1032. this.$message({
  1033. type: 'success',
  1034. message: '备案成功'
  1035. });
  1036. }else {
  1037. this.$message({
  1038. type: 'error',
  1039. message: '备案失败:'+response.data.msg
  1040. });
  1041. }
  1042. },
  1043. changeRow(id){
  1044. if(id == 0){
  1045. this.showEtcFee =true
  1046. }else{
  1047. this.showEtcFee =false
  1048. }
  1049. },
  1050. async contractAdd(){
  1051. const response = await this.$http.post(`customer/contractAdd`, this.customerRec);
  1052. if(response.data.code === 0) {
  1053. this.loadData();
  1054. this.recInfoList(this.customerRec)
  1055. this.changeStatus = false;
  1056. this.$message({
  1057. type: 'success',
  1058. message: '协议上传成功'
  1059. });
  1060. }else {
  1061. this.$message({
  1062. type: 'error',
  1063. message: '协议上传失败:'+response.data.msg
  1064. });
  1065. }
  1066. },
  1067. contractDownload(){
  1068. const token = sessionStorage.getItem('token');
  1069. window.open(hostUrl+'customer/contractDownload?customerRecId='+this.customerRec['id']+'&token='+token);
  1070. },
  1071. firstLoadData(){
  1072. this.current = 1;
  1073. this.pagesize = 8;
  1074. this.loadData();
  1075. },
  1076. // 列表展示
  1077. async loadData() {
  1078. const formData = new FormData();
  1079. formData.append('current', this.current);
  1080. formData.append('size', this.pagesize);
  1081. formData.append('customerName', this.formCondition.customerName);
  1082. formData.append('company', this.formCondition.company);
  1083. formData.append('subCompany', this.formCondition.subCompany);
  1084. const response = await this.$http.post(`customer/findCustomer`, formData);
  1085. if (response.data.code === 0) {
  1086. this.coustomerTable = response.data.data.records;
  1087. this.total = response.data.data.total;
  1088. }
  1089. },
  1090. // 分页方法
  1091. handleSizeChange(val) {
  1092. this.pagesize = val;
  1093. this.loadData();
  1094. },
  1095. handleCurrentChange(val) {
  1096. this.current = val;
  1097. this.loadData();
  1098. },
  1099. async exportExcel() {
  1100. const loading = this.$loading({
  1101. lock: true,
  1102. text: '系统正在努力接收中,过程大概需要几分钟的时间,请您耐心等待...',
  1103. spinner: 'el-icon-loading',
  1104. background: 'rgba(0, 0, 0, 0.7)'
  1105. });
  1106. let customer = this.formCondition.customerName;
  1107. window.location.href = hostUrl+"customer/findCustomerRecListExport?customerName="+customer+"&&companyName="+this.formCondition.subCompany+"&&companyBelongName="+this.formCondition.company;
  1108. loading.close();
  1109. // let curr = this.current;
  1110. // let pagesize1 = this.pagesize;
  1111. // this.current = 1;
  1112. // this.pagesize = this.total;
  1113. // await this.loadData();
  1114. // // 设置当前日期
  1115. // let time = new Date();
  1116. // let year = time.getFullYear();
  1117. // let month = time.getMonth() + 1;
  1118. // let day = time.getDate();
  1119. // let name = "客户管理查询列表_"+year + "" + month + "" + day;
  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>