Browse Source

样式修改

V1.0
mk 3 years ago
parent
commit
28d1e1c320
  1. BIN
      src/assets/img/yanjing1.png
  2. BIN
      src/assets/img/yanjing2.png
  3. 3
      src/views/components/resiChangeTransfer.vue
  4. 26
      src/views/components/resiInfo.vue
  5. 9
      src/views/main-navbar.vue
  6. 24
      src/views/modules/base/community/community.vue
  7. 2
      src/views/modules/base/community/communityTable.vue
  8. 7
      src/views/modules/base/resi.vue
  9. 2
      src/views/modules/home/index.vue
  10. 3
      src/views/modules/plugins/change/changerelocation.vue
  11. 4
      src/views/modules/plugins/change/resideathAdd.vue

BIN
src/assets/img/yanjing1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 321 B

BIN
src/assets/img/yanjing2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 B

3
src/views/components/resiChangeTransfer.vue

@ -157,11 +157,10 @@
</el-form>
</div>
<div class="m-edit-btn">
<el-button size="small" @click="handleCancle"> </el-button>
<el-button size="small" @click="handleCancle" class="diy-button-wih" plain> </el-button>
<el-button
type="primary"
size="small"
class="diy-button--blue"
:disabled="btnDisable"
@click="handleComfirm"
> </el-button

26
src/views/components/resiInfo.vue

@ -37,25 +37,26 @@
<div class="f-label">联系电话:</div> <div class="f-left8 f-font-color">
{{resiDetailObj.showMobile?resiDetailObj.showMobile:resiDetailObj.mobile?`${resiDetailObj.mobile.substr(0,3)}`+ "****" +`${resiDetailObj.mobile.substr(7,5)}`:'--'}}
</div>
<img v-show="this.showFlagMobileBtn" src="../../assets/img/yanjing1.png" alt="" width="14px" style="margin-left: 10px">
<img v-show="!this.showFlagMobileBtn" src="../../assets/img/yanjing2.png" alt="" width="14px" style="margin-left: 10px">
<el-button v-if="resiDetailObj.mobile"
style="margin-left: 10px"
type="text"
class="div-table-button--blue"
icon="el-icon-view"
size="small"
@click="handleTuomin('mobile')">显示</el-button>
@click="handleTuomin('mobile')">{{showFlagMobileBtn?'显示':'隐藏'}}</el-button>
</el-col>
<el-col :span="12" class="f-flex">
<div class="f-label">证件号: </div>
<div class="f-left8 f-font-color">{{resiDetailObj.showIdNum?resiDetailObj.showIdNum:resiDetailObj.idNum?`${resiDetailObj.idNum.substr(0, 11)}` +"******" +`${resiDetailObj.idNum.substr(16, 2)}`:'--'}}
</div>
<img v-show="this.showFlagIdCardBtn" src="../../assets/img/yanjing1.png" alt="" width="14px" style="margin-left: 10px">
<img v-show="!this.showFlagIdCardBtn" src="../../assets/img/yanjing2.png" alt="" width="14px" style="margin-left: 10px">
<el-button v-if="resiDetailObj.idNum"
style="margin-left: 10px"
type="text"
class="div-table-button--blue"
icon="el-icon-view"
size="small"
@click="handleTuomin('idCard')">显示</el-button>
@click="handleTuomin('idCard')">{{showFlagIdCardBtn?'显示':'隐藏'}}</el-button>
</el-col>
</el-row>
<el-row type="flex" justify="" class="f-m-top29" >
@ -924,7 +925,9 @@ export default {
specialDtoArr:[],
spouseArr:[],
relationshipArr:[],
categoryDictArr:[]
categoryDictArr:[],
showFlagIdCardBtn:true,
showFlagMobileBtn:true
}
},
computed: {
@ -1740,14 +1743,21 @@ export default {
},
async handleTuomin (type) {
const url = `/actual/base/residentBaseInfo/getResiUserInfo/${this.resiId}`;
const { data, code, msg } = await requestPost(url);
if (code === 0) {
if (type === 'mobile') {
this.$set(this.resiDetailObj, 'showMobile', data.mobile)
this.showFlagMobileBtn = !this.showFlagMobileBtn
if(this.showFlagMobileBtn){
this.$set(this.resiDetailObj, 'showMobile', data.mobile.substr(0,3) +'****'+ data.mobile.substr(7,4) )
}
}
if (type === 'idCard') {
this.$set(this.resiDetailObj, 'showIdNum', data.idNum)
this.showFlagIdCardBtn = !this.showFlagIdCardBtn
if(this.showFlagIdCardBtn){
this.$set(this.resiDetailObj, 'showIdNum', data.idNum.substr(0,11) +'****'+ data.idNum.substr(16,2) )
}
}

9
src/views/main-navbar.vue

@ -313,6 +313,9 @@ export default {
if (data.unreadNum > 0 && this.unreadMsgNum < data.unreadNum) {
this.getNoticeList();
this.displayedNoticeList = true;
setTimeout(()=>{
this.displayedNoticeList = false;
},5000)
}
this.unreadMsgNum = data.unreadNum;
} else {
@ -383,6 +386,7 @@ export default {
box-shadow: 0px 6px 16px 0px rgba(0, 0, 0, 0.08),
0px 3px 6px -4px rgba(0, 0, 0, 0.12);
border-radius: 4px;
.title {
margin-bottom: 16px;
height: 22px;
@ -435,8 +439,11 @@ export default {
font-size: 14px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: rgba(0, 0, 0, 0.85);
line-height: 22px;
cursor: pointer;
&:hover{
color: #0056d6 !important;
}
}
}
</style>

24
src/views/modules/base/community/community.vue

@ -26,7 +26,7 @@
>
<span slot-scope="{ node, data }" class="custom-tree-node">
<img
v-if="data.showIcon"
v-if="showIcons(data)"
src="@/assets/images/index/abnormal.png"
style="
height: 14px;
@ -38,12 +38,12 @@
<!-- <span v-if="data.level==='building'&&!data.showIcon"
style="padding-left:20px;">{{ ' ' }}</span> -->
<span v-if="data.showIcon" :id="data.id"
<!-- <span v-if="data.showIcon" :id="data.id"
>{{ data.label + "(" }}
<span style="color: red">{{ data.showNum }}</span>
<span>{{ ")" }}</span>
</span>
<span v-else :id="data.id">{{ data.showName }}</span>
</span> -->
<span :id="data.id">{{ data.showName }}</span>
</span>
</el-tree>
</el-scrollbar>
@ -243,7 +243,7 @@
<el-button
style="margin-left: 10px"
size="small"
class="diy-button--blue"
type="primary"
@click="handleSearch"
>查询</el-button
>
@ -476,8 +476,20 @@ export default {
? this.clientHeight - 245 + this.iframeHeight + "px"
: this.clientHeight - 245 + "px";
},
...mapGetters(["clientHeight", "iframeHeight"]),
showIcons(){
return function(data){
if(data.level=='building'){
let arr = data.showNum.split('/')
console.log(arr);
if(arr[0] !== arr[1]){
return true
}else{
return false
}
}
}
},
},
watch: {
// filterText (val) {

2
src/views/modules/base/community/communityTable.vue

@ -5,7 +5,7 @@
<el-button
style=""
size="small"
class="diy-button--blue"
type="primary "
icon="el-icon-plus"
@click="handleAdd"
>新增小区</el-button

7
src/views/modules/base/resi.vue

@ -2003,4 +2003,11 @@ export default {
margin-left: auto;
}
}
.el-dropdown-menu {
::v-deep .el-dropdown-menu__item{
&:hover{
color: #0056d6;
}
}
}
</style>

2
src/views/modules/home/index.vue

@ -51,7 +51,7 @@
</div>
<div class="btn2" @click="handleClickSearchBtn">
<img src="@/assets/images/index/i-search.png" />
智能搜索
智能查询
</div>
</div>
</div>

3
src/views/modules/plugins/change/changerelocation.vue

@ -164,7 +164,7 @@
<el-button
style="margin-left: 10px"
size="small"
class="diy-button--blue"
type="primary"
@click="getDataList"
>查询</el-button
>
@ -321,7 +321,6 @@
slot="reference"
type="text"
size="small"
class="div-table-button--blue"
>恢复</el-button
>
</el-popconfirm>

4
src/views/modules/plugins/change/resideathAdd.vue

@ -56,10 +56,10 @@
</el-form>
</div>
<div class="m-edit-btn">
<el-button size="small" class="" @click="handleCancle"> </el-button>
<el-button size="small" class="" @click="handleCancle" plain> </el-button>
<el-button
size="small"
class="diy-button--blue"
type="primary"
:loading="btnDisable"
@click="handleComfirm"
> </el-button

Loading…
Cancel
Save