index.vue 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. <template>
  2. <div class="bg-F5">
  3. <div class="bannerDiv">
  4. <div class="container">
  5. <router-link to="/shopEnter/add">商家入驻申请</router-link>
  6. </div>
  7. </div>
  8. <div class="container">
  9. <div class="partTitle"><span class="orangeLine"></span>企业认证公示</div>
  10. <div class="cxtj">
  11. <span>企业名称:</span>
  12. <el-input
  13. v-model="name"
  14. clearable
  15. size="small"
  16. placeholder="请输入企业名称"
  17. style="width:38rem;"
  18. ></el-input>
  19. <span class="ml2rem">审核状态:</span>
  20. <el-select
  21. v-model="shStatus"
  22. clearable
  23. size="small"
  24. placeholder="请选择"
  25. style="width:14rem;"
  26. >
  27. <el-option
  28. v-for="item in statusArr"
  29. :key="item.value"
  30. :label="item.label"
  31. :value="item.value"
  32. ></el-option>
  33. </el-select>
  34. <el-button class="searchBtn" size="small">查询</el-button>
  35. </div>
  36. <el-table class="qyrzgs" stripe :data="tableData">
  37. <el-table-column type="index" label="序号" width="50"></el-table-column>
  38. <el-table-column prop="name" label="市" width="180"></el-table-column>
  39. <el-table-column prop="address" label="区(县)"></el-table-column>
  40. <el-table-column prop="address" label="企业名称"></el-table-column>
  41. <el-table-column prop="address" label="申请日期"></el-table-column>
  42. <el-table-column prop="address" label="审核状态"></el-table-column>
  43. <el-table-column prop="address" label="审核日期"></el-table-column>
  44. <el-table-column prop="address" label="驳回理由"></el-table-column>
  45. <el-table-column
  46. prop="date"
  47. label="审核日期"
  48. width="180"
  49. ></el-table-column>
  50. </el-table>
  51. <el-pagination
  52. class="pageDiv"
  53. background
  54. @current-change="handleCurrentChange"
  55. :page-size="pageSize"
  56. :current-page="currentPage"
  57. layout="prev, pager, next,total, jumper"
  58. :total="total"
  59. ></el-pagination>
  60. </div>
  61. </div>
  62. </template>
  63. <script>
  64. import { Component, Vue } from "vue-property-decorator";
  65. export default {
  66. name: "app",
  67. components: {},
  68. data() {
  69. return {
  70. name: "",
  71. shStatus: "",
  72. statusArr: [
  73. {
  74. value: "选项1",
  75. label: "黄金糕"
  76. },
  77. {
  78. value: "选项2",
  79. label: "双皮奶"
  80. },
  81. {
  82. value: "选项3",
  83. label: "蚵仔煎"
  84. },
  85. {
  86. value: "选项4",
  87. label: "龙须面"
  88. },
  89. {
  90. value: "选项5",
  91. label: "北京烤鸭"
  92. }
  93. ],
  94. tableData: [
  95. {
  96. date: "2016-05-02",
  97. name: "王小虎",
  98. address: "上海市普陀区金沙江路 1518 弄"
  99. },
  100. {
  101. date: "2016-05-04",
  102. name: "王小虎",
  103. address: "上海市普陀区金沙江路 1517 弄"
  104. },
  105. {
  106. date: "2016-05-01",
  107. name: "王小虎",
  108. address: "上海市普陀区金沙江路 1519 弄"
  109. },
  110. {
  111. date: "2016-05-03",
  112. name: "王小虎",
  113. address: "上海市普陀区金沙江路 1516 弄"
  114. }
  115. ],
  116. pageSize: 10,
  117. currentPage: 1,
  118. total: 24
  119. };
  120. },
  121. methods: {
  122. handleCurrentChange(val) {
  123. this.currentPage = val;
  124. this.requestData();
  125. }
  126. }
  127. };
  128. </script>
  129. <style scoped lang="scss">
  130. .bannerDiv {
  131. height: 24rem;
  132. line-height: 24rem;
  133. text-align: center;
  134. }
  135. .partTitle {
  136. padding: 3rem 0 2rem 0;
  137. font-size: 1.8rem;
  138. color: #333;
  139. .orangeLine {
  140. display: inline-block;
  141. height: 1.8rem;
  142. width: 0.3rem;
  143. background: #fd5522;
  144. vertical-align: middle;
  145. border-radius: 0.15rem;
  146. margin-right: 1rem;
  147. }
  148. }
  149. .cxtj {
  150. span {
  151. display: inline-block;
  152. height: 3.6rem;
  153. line-height: 3.6rem;
  154. font-size: 1.4rem;
  155. color: #333;
  156. margin-right: 1rem;
  157. }
  158. .searchBtn {
  159. font-size: 1.4rem;
  160. margin-left: 1rem;
  161. background: #fd5522;
  162. color: #fff;
  163. border-color: #fd5522;
  164. }
  165. }
  166. .qyrzgs {
  167. width: 100%;
  168. margin-top: 2rem;
  169. }
  170. .pageDiv {
  171. text-align: right;
  172. margin-top: 0.5rem;
  173. padding: 3rem 0;
  174. }
  175. .ml2rem {
  176. margin-left: 2rem;
  177. }
  178. </style>
  179. <style lang="scss">
  180. .qyrzgs th {
  181. background: #fd5522;
  182. color: #fff;
  183. padding: 0.6rem 0;
  184. text-align: center;
  185. }
  186. .qyrzgs .cell {
  187. text-align: center;
  188. }
  189. .qyrzgs.el-table--striped .el-table__body tr.el-table__row--striped td {
  190. background: #fff6f4;
  191. }
  192. .qyrzgs.el-table--enable-row-hover .el-table__body tr:hover > td {
  193. background: #fff6f4;
  194. }
  195. .pageDiv.el-pagination.is-background .el-pager li:not(.disabled).active {
  196. background: #fd5522;
  197. }
  198. .pageDiv.el-pagination.is-background .el-pager li:not(.disabled):hover {
  199. color: #fd5522;
  200. }
  201. </style>