"target": "http://192.168.1.87:9000", list
This commit is contained in:
@@ -4,11 +4,11 @@
|
|||||||
<u-navbar title="走访慰问" back-icon-color="#fff" title-color="#fff" title-width="300" title-size="36" :border-bottom="false" :background="backgroundNavbar"> </u-navbar>
|
<u-navbar title="走访慰问" back-icon-color="#fff" title-color="#fff" title-width="300" title-size="36" :border-bottom="false" :background="backgroundNavbar"> </u-navbar>
|
||||||
|
|
||||||
<div class="header-top">
|
<div class="header-top">
|
||||||
<u-tabs :list="tabList" :is-scroll="false" :current="current" 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>
|
||||||
|
|
||||||
<div class="header-middle">
|
<div class="header-middle">
|
||||||
<div class="currentLeft" v-if="current == 0">
|
<div class="currentLeft" v-if="currentTabs == 0">
|
||||||
<div class="currentLeft-top">
|
<div class="currentLeft-top">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<u-icon name="map"></u-icon>
|
<u-icon name="map"></u-icon>
|
||||||
@@ -22,7 +22,6 @@
|
|||||||
<u-select v-model="show" :list="areaList"></u-select>
|
<u-select v-model="show" :list="areaList"></u-select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- v-if="data.length > 0" -->
|
|
||||||
<div @click.stop="btnHide" class="datas" v-if="data.length > 0">
|
<div @click.stop="btnHide" class="datas" v-if="data.length > 0">
|
||||||
<div class="cards" @click.stop="toDetail" v-for="(item, i) in 4" :key="i">
|
<div class="cards" @click.stop="toDetail" v-for="(item, i) in 4" :key="i">
|
||||||
<div class="cards-top">
|
<div class="cards-top">
|
||||||
@@ -62,7 +61,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="currentRight" v-if="current == 1">1</div>
|
<div class="currentRight" v-if="currentTabs == 1">1</div>
|
||||||
</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>
|
||||||
@@ -98,7 +97,7 @@ export default {
|
|||||||
name: '我的走访',
|
name: '我的走访',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
current: 0,
|
currentTabs: 0,
|
||||||
show: false,
|
show: false,
|
||||||
areaList: [
|
areaList: [
|
||||||
{
|
{
|
||||||
@@ -117,14 +116,32 @@ export default {
|
|||||||
isList: true,
|
isList: true,
|
||||||
comp: '',
|
comp: '',
|
||||||
params: null,
|
params: null,
|
||||||
|
current: 1,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {},
|
computed: {},
|
||||||
onLoad() {},
|
created() {
|
||||||
onShow() {},
|
this.getList()
|
||||||
|
},
|
||||||
|
mounted() {},
|
||||||
methods: {
|
methods: {
|
||||||
|
getList() {
|
||||||
|
this.$http
|
||||||
|
.post('/app/appvisitvondolence/list', null, {
|
||||||
|
params: {
|
||||||
|
size: 6,
|
||||||
|
current: this.current,
|
||||||
|
},
|
||||||
|
})
|
||||||
|
.then((res) => {
|
||||||
|
if (res.code == 0) {
|
||||||
|
this.data = res.data.records
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
|
||||||
change(index) {
|
change(index) {
|
||||||
this.current = index
|
this.currentTabs = index
|
||||||
},
|
},
|
||||||
|
|
||||||
toAdd(item) {
|
toAdd(item) {
|
||||||
|
|||||||
@@ -105,8 +105,8 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {},
|
computed: {},
|
||||||
onLoad() {},
|
created() {},
|
||||||
onShow() {},
|
mounted() {},
|
||||||
methods: {
|
methods: {
|
||||||
submit() {
|
submit() {
|
||||||
if (this.flag) return
|
if (this.flag) return
|
||||||
|
|||||||
@@ -56,8 +56,8 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {},
|
computed: {},
|
||||||
onLoad() {},
|
created() {},
|
||||||
onShow() {},
|
mounted() {},
|
||||||
methods: {},
|
methods: {},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -61,8 +61,8 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {},
|
computed: {},
|
||||||
onLoad() {},
|
created() {},
|
||||||
onShow() {},
|
mounted() {},
|
||||||
methods: {
|
methods: {
|
||||||
checkboxGroupChange(e) {
|
checkboxGroupChange(e) {
|
||||||
console.log(1, e)
|
console.log(1, e)
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
"port": "10323",
|
"port": "10323",
|
||||||
"proxy": {
|
"proxy": {
|
||||||
"/lan": {
|
"/lan": {
|
||||||
"target": "http://192.168.1.34:19898",
|
"target": "http://192.168.1.87:9000",
|
||||||
"changeOrigin": true,
|
"changeOrigin": true,
|
||||||
"pathRewrite": {
|
"pathRewrite": {
|
||||||
"^/lan": "/"
|
"^/lan": "/"
|
||||||
|
|||||||
Reference in New Issue
Block a user