Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
aixianling
2022-05-20 11:20:39 +08:00
28 changed files with 35 additions and 12 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 815 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 314 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 803 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 373 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 766 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

View File

@@ -5,24 +5,24 @@
<div class="item" :class="tabIndex == index ? 'active' : ''" v-for="(item, index) in tabs" :key="index" @click="tabClick(index)">{{item}}<span></span></div> <div class="item" :class="tabIndex == index ? 'active' : ''" v-for="(item, index) in tabs" :key="index" @click="tabClick(index)">{{item}}<span></span></div>
</div> </div>
<div class="select-box"> <div class="select-box">
<div class="left" style="display: flex;"> <div class="left">
<!-- :areaId="user.areaId" @select="areaSelect" select-root --> <AiAreaPicker v-model="areaId" :areaId="user.areaId" :name.sync="areaName" @select="areaSelect" selectRoot>
<AiAreaPicker v-model="areaId" :name.sync="areaName" >
<div> <div>
<span v-if="areaName" style="color:#333;fontSize: 14px;" class="areaName">{{ areaName }}</span> <span v-if="areaId" style="color:#333;fontSize: 14px;" class="areaName">{{ areaName }}</span>
<span v-else style="color: #999;fontSize: 14px;" class="areaName">所在地区</span> <span v-else style="color: #999;fontSize: 14px;" class="areaName">所在地区</span>
<u-icon name="arrow-down" color="#999" size="24" style="margin-left: 4px;width: 14px;display:inline-block;margin-top:18px" @select="areaSelect(e)"></u-icon> <u-icon name="arrow-down" color="#999" size="24" style="margin-left: 4px;width: 14px;display:inline-block;margin-top:18px" @select="areaSelect(e)"></u-icon>
</div> </div>
</AiAreaPicker> </AiAreaPicker>
<u-icon name="close-circle" v-if="areaId" @click="clearArea" color="#999" size="24" style="margin-left: 4px;width: 14px;display:inline-block;margin-top:18px"></u-icon> <u-icon name="close-circle" v-if="areaId" @click="clearArea" color="#999" size="24"></u-icon>
</div> </div>
<div class="right" style="display: flex;"> <div class="right">
<AiSelect dict="helpDeclarationReason" v-model="declareReason"> <AiSelect dict="helpDeclarationReason" v-model="declareReason">
<span v-if="!declareReason" style="color: #999;">风险类型</span> <span v-if="!declareReason" style="color: #999;">风险类型</span>
<span v-else>{{ $dict.getLabel('helpDeclarationReason', declareReason) }}</span> <span v-else>{{ $dict.getLabel('helpDeclarationReason', declareReason) }}</span>
<u-icon name="arrow-down" color="#999" size="24" style="margin-left: 4px;width: 14px;display:inline-block;"></u-icon> <u-icon name="arrow-down" color="#999" size="24" style="margin-left: 4px;width: 14px;display:inline-block;"></u-icon>
</AiSelect> </AiSelect>
<u-icon name="close-circle" v-if="declareReason" @click="clearReason" color="#999" size="24" style="margin-left: 4px;width: 14px;"></u-icon> <u-icon name="close-circle" v-if="declareReason" @click="clearReason" color="#999" size="24"></u-icon>
<!-- style="margin-left: 4px;width: 14px; display:inline-block;" -->
</div> </div>
</div> </div>
</AiTopFixed> </AiTopFixed>
@@ -52,6 +52,7 @@
</template> </template>
<script> <script>
import { mapState } from 'vuex'
export default { export default {
data() { data() {
return { return {
@@ -64,6 +65,9 @@ export default {
list: [], list: [],
} }
}, },
computed: {
...mapState(['user'])
},
onShow() { onShow() {
this.$dict.load('helpDeclarationStatus').then(() => { this.$dict.load('helpDeclarationStatus').then(() => {
uni.$on('update', () => { uni.$on('update', () => {
@@ -80,15 +84,24 @@ export default {
this.getList() this.getList()
}, },
areaSelect(e) {
console.log(e);
this.areaId =e
this.$nextTick(() => {
this.getList()
})
},
clearArea() { clearArea() {
this.declareReason = '', this.areaId = '',
this.areaName = '',
this.current = 1, this.current = 1,
this.list = [], this.list = [],
this.getList() this.getList()
}, },
clearReason() { clearReason() {
this.areaId = '', this.declareReason = '',
this.current = 1, this.current = 1,
this.list = [], this.list = [],
this.getList() this.getList()
@@ -130,6 +143,9 @@ export default {
::v-deep .AiTopFixed .content { ::v-deep .AiTopFixed .content {
padding: 0; padding: 0;
} }
::v-deep .AiSelect .display{
justify-content: center;
}
.tab-select { .tab-select {
width: 100%; width: 100%;
@@ -173,6 +189,14 @@ export default {
flex: 1; flex: 1;
text-align: center !important; text-align: center !important;
font-size: 28px; font-size: 28px;
::v-deep .u-icon .uicon-close-circle{
top: -96px !important;
left: 80px;
margin-left: 30px;
width: 14px;
display:inline-block;
}
} }
} }

View File

@@ -9,7 +9,7 @@
</div> </div>
<div class="right"> <div class="right">
<div style="display: flex" v-if="status == 1"> <div style="display: flex" v-if="status == 1">
<AiPagePicker type="party" @select="handlePartySelect" single :isFourParty="true"> <AiPagePicker type="sysUser" @select="handlePartySelect" single :isFourParty="true">
<AiMore v-model="doUsername" placeholder="请选择"/> <AiMore v-model="doUsername" placeholder="请选择"/>
</AiPagePicker> </AiPagePicker>
</div> </div>
@@ -47,7 +47,6 @@
export default { export default {
data() { data() {
return { return {
// operation: '',
description: '', description: '',
status: '', status: '',
files: [], files: [],