移动端
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

enterpriseDetail.vue 5.0 KiB

2 년 전
2 년 전
2 년 전
2 년 전
2 년 전
2 년 전
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. <template>
  2. <div class="app-container">
  3. <div class="header_main">
  4. 查看企业工商户
  5. <div class="return_btn" @click="onClickLeft"></div>
  6. </div>
  7. <div class="jg"></div>
  8. <div class="main_box">
  9. <van-cell title="企业名称" :border="false" v-model="form.companyName" />
  10. <van-cell title="法人/负责人" :border="false" v-model="form.legalName" />
  11. <van-cell title="所在地区" :border="false" v-model="form.deptId" />
  12. <van-cell title="统一社会信用代码" :border="false" v-model="form.uniformCode" />
  13. <van-cell title="手机号码" :border="false" v-model="form.phone" />
  14. <van-cell title="企业分支机构" :border="false" v-model="form.companyBranch" />
  15. <van-cell title="企业投资人" :border="false" v-model="form.investor" />
  16. <van-cell title="详细地址" :border="false" v-model="form.address" />
  17. <van-cell title="经营类别" :border="false" v-model="form.businessType" />
  18. <van-cell title="经营方式" :border="false" v-model="form.businessMode" />
  19. <van-cell title="经营范围" :border="false" v-model="form.businessScope" />
  20. </div>
  21. <p class="submitButton" @click="$router.push({name:'lawEnforcementEnterpriseRelation', query: {id:form.id}})">关联案件</p>
  22. </div>
  23. </template>
  24. <script>
  25. import { getCompany } from "@/api/lawEnforcement/index";
  26. export default {
  27. name: "programmeDetail",
  28. data() {
  29. return {
  30. form:{},
  31. };
  32. },
  33. created() {
  34. this.getDicts("business_type").then(response => {
  35. this.businessTypeOptions = response.data;
  36. });
  37. this.getDetail(this.$route.query.id)
  38. },
  39. methods: {
  40. getDetail(id){
  41. var that = this;
  42. setTimeout(function () {
  43. getCompany(id).then(response => {
  44. response.data.businessType = response.data.businessType == '' ? '' : that.selectDictLabel(that.businessTypeOptions, response.data.businessType);
  45. that.form = response.data;
  46. });
  47. },1000)
  48. },
  49. goBack(){
  50. window.history.go(-1)
  51. }
  52. },
  53. }
  54. </script>
  55. <style scoped lang="scss">
  56. .jg{
  57. height: 116px;
  58. }
  59. .app-container {
  60. padding: 2% 0;
  61. }
  62. /deep/ .van-collapse-item__content{
  63. padding: 0;
  64. }
  65. /deep/ .van-cell{
  66. padding-bottom: 0;
  67. padding-top: 0;
  68. margin-bottom: 10PX;
  69. &:last-child{
  70. margin-bottom: 0;
  71. }
  72. }
  73. .cf{
  74. padding: 0 3%;
  75. margin-top: 20PX;
  76. margin-bottom: 20PX;
  77. .van-row{
  78. background: #F0F3F5;
  79. .van-col{
  80. padding: 5PX 0;
  81. font-size: 12PX!important;
  82. text-align: center;
  83. p{
  84. color: #1D6FE9;
  85. }
  86. }
  87. &:first-child{
  88. background: transparent;
  89. }
  90. }
  91. }
  92. .header_main{
  93. height: 116px;
  94. background: url('../../../../static/images/lawEnforcement/new/list_head.png') no-repeat;
  95. background-size: 100% 100%;
  96. position: fixed;
  97. top: 0;
  98. left: 0;
  99. width: 100%;
  100. font-size: 36px;
  101. line-height: 116px;
  102. text-align: center;
  103. color: #fff;
  104. z-index: 999;
  105. .return_btn{
  106. width: 24px;
  107. height: 43.2px;
  108. background: url('../../../assets/images/sunVillage_info/list_icon_5.png') center center no-repeat;
  109. background-size: 20px 36px;
  110. position: absolute;
  111. left: 38px;
  112. top: 36px;
  113. }
  114. .add_btn{
  115. width: 56.4px;
  116. height: 40.8px;
  117. background: url('../../../assets/images/sunVillage_info/list_icon_9.png') center center no-repeat;
  118. background-size: 47px 34px;
  119. position: absolute;
  120. right: 38px;
  121. top: 36px;
  122. }
  123. }
  124. /deep/ .van-radio--horizontal{
  125. margin-left: 0.32rem;
  126. margin-right: 0;
  127. }
  128. .peopleList{
  129. padding-right: 3%;
  130. .van-row{
  131. margin-bottom: 10PX;
  132. .van-col{
  133. text-align: center;
  134. font-size: 14PX;
  135. }
  136. &:first-child{
  137. .van-col{
  138. color: #1D6FE9;
  139. }
  140. }
  141. }
  142. }
  143. .main_title{
  144. font-size: 0.4rem;
  145. color: #1D6FE9;
  146. margin: 0.2rem 6%;
  147. margin-top: 0;
  148. position: relative;
  149. }
  150. .main_box{
  151. width: 96%;
  152. margin: 0 auto;
  153. border-radius: 10PX;
  154. box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.16);
  155. overflow: hidden;
  156. background-color: #FFF;
  157. padding: 10PX 0;
  158. .van-icon{
  159. vertical-align: middle;
  160. }
  161. .custom-title{
  162. font-size: 17PX;
  163. color: #333333;
  164. vertical-align: middle;
  165. line-height: 1;
  166. position: relative;
  167. }
  168. .tap{
  169. color: #1D6FE9;
  170. }
  171. .bgBlue{
  172. display: block;
  173. position: absolute;
  174. width: 17PX;
  175. height: 17PX;
  176. border-radius: 50%;
  177. background-color: rgba(29,111,233,0.26);
  178. top: -2PX;
  179. right: -8PX;
  180. }
  181. }
  182. .submitButton{
  183. width: 45%;
  184. margin: 0 auto;
  185. background-image: linear-gradient(to right, #2E79E9 , #77A6EF);
  186. text-align: center;
  187. color: #ffffff;
  188. height: 70px;
  189. line-height: 70px;
  190. border-radius: 8PX;
  191. margin-top: 25PX;
  192. }
  193. .addFamily{
  194. position: absolute;
  195. top: -2px;
  196. right: 0;
  197. border-radius: 50%;
  198. }
  199. </style>