|
|
@@ -3,7 +3,7 @@
|
|
|
<div class="com-mobile-header">
|
|
|
<a @click="goLastPage"><i class="iconfont icon-fanhui"></i></a>
|
|
|
<p>企业信息
|
|
|
- <span @click="updateInfo()" v-show="isAdmin && storeState === 'look'"><i class="iconfont icon-edit"></i>编辑</span>
|
|
|
+ <span @click="updateInfo()" v-show="storeState === 'look'"><i class="iconfont icon-edit"></i>编辑</span>
|
|
|
</p>
|
|
|
</div>
|
|
|
<div class="user-content mobile-fix-content">
|
|
|
@@ -338,7 +338,15 @@
|
|
|
this.isSearchSearchingMore = true
|
|
|
this.updateEnterpriseInfo()
|
|
|
},
|
|
|
+ setRemindText (str) {
|
|
|
+ this.collectResult = str
|
|
|
+ this.timeoutCount++
|
|
|
+ },
|
|
|
updateInfo() {
|
|
|
+ if (!this.isAdmin) {
|
|
|
+ this.setRemindText('您无该模块的编辑权限,请联系企业管理员进行编辑维护!')
|
|
|
+ return
|
|
|
+ }
|
|
|
this.storeState = 'update'
|
|
|
this.Islook = true
|
|
|
this.hidelook = true
|
|
|
@@ -395,16 +403,14 @@
|
|
|
}
|
|
|
},
|
|
|
created () {
|
|
|
- this.$nextTick(() => {
|
|
|
- this.$http.get('/data/profession.json').then(response => {
|
|
|
- this.TypeObj = response.data
|
|
|
- for (let i of Object.keys(response.data)) {
|
|
|
- this.TypeList.firstList.push(i)
|
|
|
- }
|
|
|
- })
|
|
|
- this.$store.dispatch('supplier/loadEnUser', {enUU: this.user.data.enterprise.uu, filter: 'enUU'}).then(res => {
|
|
|
- this.scopeLabel = this.enterpriseInfo.enBusinessScope ? this.enterpriseInfo.enBusinessScope.split(',') : []
|
|
|
- })
|
|
|
+ this.$http.get('/data/profession.json').then(response => {
|
|
|
+ this.TypeObj = response.data
|
|
|
+ for (let i of Object.keys(response.data)) {
|
|
|
+ this.TypeList.firstList.push(i)
|
|
|
+ }
|
|
|
+ })
|
|
|
+ this.$store.dispatch('supplier/loadEnUser', {enUU: this.user.data.enterprise.uu, filter: 'enUU'}).then(res => {
|
|
|
+ this.scopeLabel = this.enterpriseInfo.enBusinessScope ? this.enterpriseInfo.enBusinessScope.split(',') : []
|
|
|
})
|
|
|
},
|
|
|
mounted() {
|
|
|
@@ -511,9 +517,9 @@
|
|
|
textarea{
|
|
|
width: 4.4rem;
|
|
|
padding: 0.06rem 0 0.06rem 0.12rem;
|
|
|
- min-height: 5rem;
|
|
|
+ overflow: visible;
|
|
|
resize: none;
|
|
|
- border: 0px solid #b4b4b4;
|
|
|
+ border: 0 solid #b4b4b4;
|
|
|
}
|
|
|
}
|
|
|
.control {
|