diff --git a/api/verify.js b/api/verify.js
index 010cfd1..f0f5bff 100644
--- a/api/verify.js
+++ b/api/verify.js
@@ -17,6 +17,11 @@ export const cerscan = (data) => {
return request.post(api.cerscan_url, data )
}
+// 行业列表
+export function getIndustry(param, option) {
+ return request.get(api.industry, param, option)
+}
+
// do upload
export const upload = files => {
// 文件上传大小, 2M
diff --git a/pages/user/mycertinfo/orgverify.vue b/pages/user/mycertinfo/orgverify.vue
index 74bb61f..00aed33 100644
--- a/pages/user/mycertinfo/orgverify.vue
+++ b/pages/user/mycertinfo/orgverify.vue
@@ -112,6 +112,15 @@
+
+
+
+ {{ industryList[idIndex].name }}
+ 选择行业类别
+
+
+
@@ -145,9 +154,20 @@
// 经办人身份证
jfr_idafile:[],
jfr_idbfile:[],
+ // 行业id
+ industryType:0,
+ // 行业列表
+ industryList: [],
+ // 选择的物流公司索引
+ idIndex: -1,
}
},
+ mounted() {
+ // 页面初始化
+ this.getIndustList()
+ },
methods: {
+
// 选择
vfselitem(item){
this.vfindex = item
@@ -206,6 +226,31 @@
selsf(val){
this.sfval = val
},
+
+ // 行业列表
+ getIndustList(){
+ const app = this
+ return new Promise((resolve, reject) => {
+ VerifyApi.getIndustry()
+ .then(result => {
+ app.industryList = result.data
+ //app.expressList = result.data.list
+ resolve()
+ })
+ .catch(reject)
+ })
+ },
+
+ // 选择物流公司
+ onChangeIndustry(e) {
+ console.log("e",e)
+ const curIndex = e.detail.value
+ this.idIndex = curIndex
+ // console.log("curIndustry",this.industryList[curIndex])
+ this.industryType = this.industryList[curIndex].industryId
+ // console.log(this.industryType)
+ },
+
// 选择图片
chooseImage( item) {
const app = this