-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
sugars
committed
Aug 31, 2017
1 parent
11e4f9e
commit be64413
Showing
33 changed files
with
4,724 additions
and
260 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/** | ||
* Created by Sugar on 2017/8/29. | ||
*/ | ||
export default { | ||
// new_enterprisename: "企业名称", | ||
new_frname: "法定代表人", | ||
new_regno: "工商注册号", | ||
new_creditcode: "统一社会信用代码", | ||
new_regcap: "注册资金(单位:万元)", | ||
new_regcapcur: "注册币种", | ||
new_esdate: "开业日期", | ||
new_openfrom: "经营期限自", | ||
new_opento: "经营期限至", | ||
new_enterprisetype: "企业(机构)类型", | ||
new_enterprisestatus: "经营状态", | ||
new_canceldate: "注销日期", | ||
new_revokedate: "吊销日期", | ||
new_address: "注册地址", | ||
new_abuitem: "许可经营项目", | ||
new_cbuitem: "一般经营项目", | ||
new_operatescope: "经营(业务)范围", | ||
new_operatescopeandform: "经营(业务)范围及方式", | ||
//icon | ||
new_name: "名字-person-text", | ||
new_mobile: "手机-phone_iphone-number", | ||
new_tel: "电话-call-tel", | ||
new_post: "邮编-markunread_mailbox-number", | ||
new_web: "网址-web-text", | ||
new_fax: "传真-local_printshop-text", | ||
new_email: "邮箱-email-email", | ||
new_dept: "职位-perm_contact_calendar-text", | ||
new_comp: "公司-domain-text", | ||
new_addr: "地址-place-text", | ||
// new_title: "图片地址" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
<template> | ||
<div class="bcdata-box"> | ||
<div style="width:100%;background-color:#fff;margin-top: 50%;text-align: center;" | ||
v-if="isAjax"> | ||
<mu-circular-progress :size="40" :color="'474a4f'" :strokeWidth="5"/> | ||
</div> | ||
|
||
<div v-if="compayBusinessData.length>0" style="text-align:center;"> | ||
<mu-row :gutter="true"> | ||
<mu-col v-for="(val,key) in getBSTitle" | ||
:key="key" :width="key=='经营(业务)范围'?'100':'50'"> | ||
<mu-list-item | ||
disableRipple> | ||
<mu-text-field :label="key" type="text" | ||
:value="val" | ||
multiLine | ||
:rowsMax="10" | ||
:fullWidth="true" | ||
:labelClass="'labelClass'" | ||
:underlineClass="'txtline'" | ||
:inputClass="'inputClass'" | ||
:iconClass="'error'" | ||
:underlineShow="true" | ||
:disabled="true"></mu-text-field> | ||
</mu-list-item> | ||
</mu-col> | ||
</mu-row> | ||
|
||
<mu-raised-button label="返回" class="demo-raised-button" @click="backDetails"></mu-raised-button> | ||
</div> | ||
|
||
<div class="empty" v-if="compayBusinessData.length==0&&!isAjax"> | ||
<mu-icon value="sentiment_neutral" :size="80"></mu-icon> | ||
<mu-content-block :style="{'margin-bottom':'20px'}">查无此公司的工商信息</mu-content-block> | ||
<mu-raised-button label="返回" class="demo-raised-button" @click="backDetails"></mu-raised-button> | ||
</div> | ||
</div> | ||
</template> | ||
<style lang="scss"> | ||
.bcdata-box { | ||
position: relative; | ||
width: 100%; | ||
height: 100%; | ||
padding: 15px; | ||
background-color: #fff; | ||
.mu-item { | ||
padding: 0 !important; | ||
} | ||
.empty { | ||
text-align: center; | ||
margin-top: 50%; | ||
} | ||
.labelClass { | ||
color: #9e9e9e; | ||
font-weight: bold; | ||
} | ||
.inputClass { | ||
color: #000 !important; | ||
font-weight: bold !important; | ||
opacity: 1; | ||
} | ||
.txtline { | ||
/*background-color: orange !important;*/ | ||
border: 1px solid #edeff2 !important; | ||
} | ||
.mu-text-field.has-label { | ||
min-height: 60px !important; | ||
} | ||
} | ||
</style> | ||
<script> | ||
import {mapState, mapGetters} from 'vuex' | ||
import bskey from '../../common/js/BSKEY' | ||
export default { | ||
name: 'businessData', | ||
data() { | ||
return { | ||
BSKEY: bskey | ||
} | ||
}, | ||
computed: { | ||
...mapState(['isAjax', 'compayBusinessData']), | ||
...mapGetters(['getBSTitle']) | ||
}, | ||
created() { | ||
// this.$store.state.isAjax = true | ||
// this.$store.dispatch('getBusinessDataByCRM', this.$route.query) | ||
}, | ||
methods: { | ||
backDetails() { | ||
this.$router.back(); | ||
} | ||
} | ||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.