Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<span class="label"><span class="tips">*</span>类型</span>
|
||||
<div class="value" @click="showType=true">
|
||||
<span :class="appId ? '' : 'color-999'">{{appName}}</span>
|
||||
<u-icon name="arrow-right" color="#cccccc" size="14"></u-icon>
|
||||
<u-icon name="arrow-right" color="#cccccc" :size="24"></u-icon>
|
||||
</div>
|
||||
</div>
|
||||
<div class="info-content" v-for="(items, indexs) in formDataList" :key="indexs">
|
||||
@@ -43,7 +43,7 @@
|
||||
<span class="label"><span class="tips">{{item.mustFill == 1 ? '*' : ''}}</span>{{item.fieldName}}</span>
|
||||
<div class="value" @click="selectClick(item.fieldDbName, item.dict)">
|
||||
<span :class="formData[item.fieldDbName] ? '' : 'color-999'">{{$dict.getLabel(item.dict, formData[item.fieldDbName]) || '请选择'}}</span>
|
||||
<u-icon name="arrow-right area-icon" color="#cccccc" size="14"></u-icon>
|
||||
<u-icon name="arrow-right area-icon" color="#cccccc" :size="24"></u-icon>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 单选radio -->
|
||||
@@ -91,7 +91,7 @@
|
||||
<span class="label"><span class="tips">{{item.mustFill == 1 ? '*' : ''}}</span>{{item.fieldName}}</span>
|
||||
<div class="value">
|
||||
<AiAreaPicker v-model="formData[item.fieldDbName]" :areaId="user.areaId" :name.sync="formData[item.fieldDbName+'_name']"></AiAreaPicker>
|
||||
<u-icon name="arrow-right area-icon" color="#cccccc" size="14"></u-icon>
|
||||
<u-icon name="arrow-right area-icon" color="#cccccc" :size="24"></u-icon>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 人员选择 -->
|
||||
@@ -106,7 +106,7 @@
|
||||
formData[item.fieldDbName].length
|
||||
}}</em>人
|
||||
</template>
|
||||
<u-icon name="arrow-right" color="#cccccc" size="14"></u-icon>
|
||||
<u-icon name="arrow-right" color="#cccccc" :size="24"></u-icon>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 日期选择 / 日期带时分秒选择 / 时间-时分秒选择 -->
|
||||
@@ -114,7 +114,7 @@
|
||||
<span class="label"><span class="tips">{{item.mustFill == 1 ? '*' : ''}}</span>{{item.fieldName}}</span>
|
||||
<div class="value" @click="dateClick(indexs, index)">
|
||||
<span :class="formData[item.fieldDbName] ? '' : 'color-999'">{{formData[item.fieldDbName] || '请选择'}}</span>
|
||||
<u-icon name="arrow-right area-icon" color="#cccccc" size="14"></u-icon>
|
||||
<u-icon name="arrow-right area-icon" color="#cccccc" :size="24"></u-icon>
|
||||
</div>
|
||||
</div>
|
||||
<u-picker mode="time" v-model="dateShow" :params="deteParams" start-year="2010" @confirm="dateConfirm" >请选择</u-picker>
|
||||
@@ -498,7 +498,7 @@ export default {
|
||||
.u-icon{
|
||||
vertical-align: super;
|
||||
position: absolute;
|
||||
top: 38px;
|
||||
top: 42px;
|
||||
right: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,27 +2,22 @@
|
||||
<div class="AppWalkask">
|
||||
<template v-if="isList">
|
||||
<div class="header-top">
|
||||
<u-tabs :list="tabList" :is-scroll="false" :current="currentTabs" height="96" bg-color="#3975C6"
|
||||
inactive-color="#fff" active-color="#fff" @change="change"></u-tabs>
|
||||
<u-tabs :list="tabList" :is-scroll="false" :current="currentTabs" height="96" bg-color="#3975C6" inactive-color="#fff" active-color="#fff" @change="change"></u-tabs>
|
||||
</div>
|
||||
|
||||
<div class="header-middle">
|
||||
<div class="currentLeft">
|
||||
<div class="currentLeft-top">
|
||||
<div class="left">
|
||||
<AiAreaPicker v-model="areaId" all :areaId="user.areaId" @select="areaSelect" :name.sync="areaName"
|
||||
style="color: #fff">
|
||||
<img :src="$cdn + 'location.svg'" alt=""
|
||||
style="width: 18px; height: 18px; margin-right: 4px; vertical-align: middle"/>
|
||||
<AiAreaPicker v-model="areaId" all :areaId="user.areaId" @select="areaSelect" :name.sync="areaName" style="color: #fff">
|
||||
<img :src="$cdn + 'location.svg'" alt="" style="width: 18px; height: 18px; margin-right: 4px; vertical-align: middle" />
|
||||
<span class="label" v-if="areaName">{{ areaName }}</span>
|
||||
<span v-else>请选择</span>
|
||||
<u-icon name="arrow-down" color="#fff" size="28" style="margin-left: 4px" />
|
||||
</AiAreaPicker>
|
||||
</div>
|
||||
|
||||
<u-search v-model="keyword" :clearabled="true" placeholder="请输入标题" :show-action="false" bg-color="#1F5CAF"
|
||||
search-icon-color="#E2E8F1" color="#E2E8F1" height="58" @search="handerSearch"
|
||||
@clear="handerClear"></u-search>
|
||||
<u-search v-model="keyword" :clearabled="true" placeholder="请输入标题" :show-action="false" bg-color="#1F5CAF" search-icon-color="#E2E8F1" color="#E2E8F1" height="58" @search="handerSearch" @clear="handerClear"></u-search>
|
||||
</div>
|
||||
|
||||
<template v-if="data.length > 0">
|
||||
@@ -37,8 +32,7 @@
|
||||
<div class="cards-hint">{{ item.title }}</div>
|
||||
|
||||
<div class="imgs">
|
||||
<img :src="items.url" alt="" v-for="(items, i) in item.images" :key="i"
|
||||
@click.stop="previewImage(item.images, items.url)" v-if="i < 3"/>
|
||||
<img :src="items.url" alt="" v-for="(items, i) in item.images" :key="i" @click.stop="previewImage(item.images, items.url)" v-if="i < 3" />
|
||||
</div>
|
||||
|
||||
<div class="cards-bottom">
|
||||
@@ -66,8 +60,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<u-modal v-model="deletShow" content="您确认要删除该条信息吗?" :show-cancel-button="true" :mask-close-able="true"
|
||||
:show-title="false" @confirm="delet"></u-modal>
|
||||
<u-modal v-model="deletShow" content="您确认要删除该条信息吗?" :show-cancel-button="true" :mask-close-able="true" :show-title="false" @confirm="delet"></u-modal>
|
||||
|
||||
<div class="addBtn iconfont iconfont-iconfangda" @tap.stop="toAdd()" />
|
||||
</template>
|
||||
@@ -125,8 +118,7 @@ export default {
|
||||
onShow() {
|
||||
document.title = '走访慰问'
|
||||
},
|
||||
mounted() {
|
||||
},
|
||||
mounted() {},
|
||||
methods: {
|
||||
getList() {
|
||||
this.$http
|
||||
@@ -160,6 +152,7 @@ export default {
|
||||
},
|
||||
|
||||
areaSelect(e) {
|
||||
this.data = []
|
||||
this.areaId = e
|
||||
this.getList()
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user