QA-UniApp-wlaq/pages/basics/basic-info/basic-info.vue

187 lines
4.9 KiB
Vue
Raw Normal View History

2024-11-19 14:17:54 +08:00
<template>
<view>
<cu-custom bgColor="bg-gradual-blueness" :isBack="true">
<block slot="backText">返回</block>
<block slot="content">基本资料</block>
</cu-custom>
<scroll-view scroll-y>
<view class="cu-list menu">
<view class="cu-item">
<view class="content">
<text class="text-semi">单位名称</text>
</view>
<view class="action">
<text class="text-grey">{{pd.CORP_NAME}}</text>
</view>
</view>
<view class="cu-item">
<view class="content">
<text class="text-semi">统一社会信用代码</text>
</view>
<view class="action">
<text class="text-grey">{{pd.CODE}}</text>
</view>
</view>
<view class="cu-item">
<view class="content">
<text class="text-semi">所属区域</text>
</view>
<view class="action">
<text class="text-grey">{{pd.COMPANY_AREA}}</text>
</view>
</view>
<view class="cu-item">
<view class="content">
<text class="text-semi">邮政编码</text>
</view>
<view class="action">
<text class="text-grey">{{pd.POSTAL_CODE}}</text>
</view>
</view>
<view class="cu-item">
<view class="content">
<text class="text-semi">所属行业</text>
</view>
<view class="action">
<text class="text-grey">{{pd.CORP_TYPE_NAME}}</text>
</view>
</view>
<!-- <view class="cu-item">
<view class="content">
<text class="text-semi">所属专业</text>
</view>
<view class="action">
<text class="text-grey">{{pd.CORP_TYPE_NAME}}</text>
</view>
</view>
<view class="cu-item">
<view class="content">
<text class="text-semi">所属小专业</text>
</view>
<view class="action">
<text class="text-grey">{{pd.CORP_TYPE_SMALL_NAME}}</text>
</view>
</view> -->
<view class="cu-item">
<view class="content">
<text class="text-semi">法定代表人</text>
</view>
<view class="action">
<text class="text-grey">{{pd.LR_NAME}}</text>
</view>
</view>
<view class="cu-item">
<view class="content">
<text class="text-semi">法人手机号</text>
</view>
<view class="action">
<text class="text-grey">{{pd.LR_MOBILE}}</text>
</view>
</view>
<view class="cu-item">
<view class="content">
<text class="text-semi">企业联系人</text>
</view>
<view class="action">
<text class="text-grey">{{pd.CONTACTS}}</text>
</view>
</view>
<view class="cu-item">
<view class="content">
<text class="text-semi">企业联系人手机号</text>
</view>
<view class="action">
<text class="text-grey">{{pd.CONTACTS_PHONE}}</text>
</view>
</view>
<view class="cu-item-sp">
<view class="content">
<text class="text-semi">通讯地址</text>
</view>
<view class="action">
<text class="text-grey">{{pd.ADDRESS_BUSINESS}}</text>
</view>
</view>
<!-- <view class="cu-item-sp">
<view class="content">
<text class="text-semi">企业简介</text>
</view>
<view class="action">
<text class="text-grey">秦皇岛启点科技有限公司是一家专门从事软件自主研发提供行业信息化与管理咨询解决方案的管理应用软件开发企业公司成立于2017年公司成立以来一直尊崇求实创新拼搏进取合作共赢的企业理念艰苦创业诚实守信积极进取建立一个良好的企业环境以技术人才为核心动力以先进的技术创新的管理完美的服务卓越的品质为根本以客户至上为原则提供信息化建设管理咨询等全过程全方位的服务</text>
</view>
</view> -->
</view>
<!-- <view class="cu-tabbar-height"></view> -->
</scroll-view>
</view>
</template>
<script>
import {
basePath,corpinfoId,loginSession
} from '@/common/tool.js';
export default {
data() {
return {
initflag:false,
pd:[],
noClick:true,
}
},
onLoad(e){
this.getData();
loginSession();
},
methods: {
//跳转事件
goToEdit(e) {
uni.navigateTo({
url: '/pages/application/basic-info-manage/basic-information/basic-information-edit'
});
},
getData() {
var _this = this;
uni.showLoading({
title: '请稍候'
})
uni.request({
url: basePath + '/app/corpinfo/goEdit',
method: 'POST',
dataType: 'json',
header:{
'Content-type':'application/x-www-form-urlencoded'
},
data: {
CORPINFO_ID: corpinfoId,
},
success: (res) => {
if (res.data != null) {
uni.hideLoading();
_this.pd = res.data.pd;
} else {
uni.showToast({
title: res.data.message,
duration: 2000
});
}
}
});
},
}
}
</script>
<style>
.selected .radio {
transform: scale(0.5);
margin-right: 10upx;
}
</style>