Browse Source

临沂

featrue-linyi
是小王呀\24601 3 months ago
parent
commit
d16c9aebb2
  1. 1
      .env.development
  2. 10
      src/views/modules/informationArchive/elderlyArchives/cpts/add-old.vue
  3. 9
      src/views/modules/informationArchive/elderlyArchives/index.vue
  4. 4
      src/views/modules/informationArchive/volunteerProfile/index.vue

1
.env.development

@ -4,6 +4,7 @@ NODE_ENV=development
# VUE_APP_API_SERVER = http://192.168.1.60:8080/api # VUE_APP_API_SERVER = http://192.168.1.60:8080/api
# VUE_APP_API_SERVER = http://192.168.1.144/api # VUE_APP_API_SERVER = http://192.168.1.144/api
VUE_APP_API_SERVER = https://zl.linyicszh.com/api VUE_APP_API_SERVER = https://zl.linyicszh.com/api
# VUE_APP_API_SERVER = http://192.168.1.140/api
# VUE_APP_API_SERVER = http://219.146.91.110:30801/api219.146.91.110:30801 # VUE_APP_API_SERVER = http://219.146.91.110:30801/api219.146.91.110:30801
# VUE_APP_API_SERVER = https://epmet-yantai.elinkservice.cn/api # VUE_APP_API_SERVER = https://epmet-yantai.elinkservice.cn/api
# VUE_APP_API_SERVER = https://epmet-test.elinkservice.cn/api # VUE_APP_API_SERVER = https://epmet-test.elinkservice.cn/api

10
src/views/modules/informationArchive/elderlyArchives/cpts/add-old.vue

@ -68,9 +68,8 @@
:accept="'.jpg,.png,.jpeg,.bmp'" :with-credentials="true" :show-file-list="false" :accept="'.jpg,.png,.jpeg,.bmp'" :with-credentials="true" :show-file-list="false"
:auto-upload="true" :on-success="handleExcelSuccess" :before-upload="beforeUpload" :auto-upload="true" :on-success="handleExcelSuccess" :before-upload="beforeUpload"
> >
<img style="width: 180px;height: 180px;" <img style="width: 180px;height: 180px;"
:src="formData.headImg"></img> :src="formData.headImg" />
</el-upload> </el-upload>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -603,6 +602,8 @@
}, },
async initForm(row, type) { async initForm(row, type) {
// this.startLoading() // this.startLoading()
console.log(row,"dsldsflk;");
this.formType = type this.formType = type
if (type === 'edit') { if (type === 'edit') {
this.formData = row this.formData = row
@ -663,6 +664,9 @@
let combinedString = this.typefatherId + "," + this.childrenId; let combinedString = this.typefatherId + "," + this.childrenId;
this.formData.serviceDemand=combinedString this.formData.serviceDemand=combinedString
this.formData.statusCategory=this.formData.statusCategory?this.formData.statusCategory.join(","):this.formData.statusCategory this.formData.statusCategory=this.formData.statusCategory?this.formData.statusCategory.join(","):this.formData.statusCategory
if(this.formData.headImg=="https://elink-esua-epdc.oss-cn-qingdao.aliyuncs.com/epmet-saas/prod/internal/20250429/6cbeb1fb92a14f8688264d17f9d4046b.png"){
this.formData.headImg=""
}
const { data, code, msg } = await requestPost(url, this.formData) const { data, code, msg } = await requestPost(url, this.formData)
if (code === 0) { if (code === 0) {
this.$message({ this.$message({

9
src/views/modules/informationArchive/elderlyArchives/index.vue

@ -104,19 +104,22 @@
<el-table-column prop="subAllowance" header-align="center" align="center" label="是否有低保"> <el-table-column prop="subAllowance" header-align="center" align="center" label="是否有低保">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.subAllowance === 1"></span> <span v-if="scope.row.subAllowance === 1"></span>
<span v-else></span> <span v-else-if="scope.row.subAllowance === 0"></span>
<span v-else>--</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="hlepThePoor" header-align="center" align="center" label="是否精准扶贫户"> <el-table-column prop="hlepThePoor" header-align="center" align="center" label="是否精准扶贫户">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.hlepThePoor === 1"></span> <span v-if="scope.row.hlepThePoor === 1"></span>
<span v-else></span> <span v-else-if="scope.row.hlepThePoor === 0"></span>
<span v-else>--</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="online" header-align="center" align="center" label="是否完成结对"> <el-table-column prop="online" header-align="center" align="center" label="是否完成结对">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.online === 1"></span> <span v-if="scope.row.online === 1"></span>
<span v-else></span> <span v-else-if="scope.row.online === 0"></span>
<span v-else>--</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="twinning" header-align="center" align="center" label="结对志愿者"> <el-table-column prop="twinning" header-align="center" align="center" label="结对志愿者">

4
src/views/modules/informationArchive/volunteerProfile/index.vue

@ -208,8 +208,7 @@
this.formData.agencyId = user.agencyId this.formData.agencyId = user.agencyId
this.searchData.searchKey = localStorage.getItem("homeSearchKey") || ""; this.searchData.searchKey = localStorage.getItem("homeSearchKey") || "";
this.searchData.type = localStorage.getItem("homeSearchType") || ""; this.searchData.type = localStorage.getItem("homeSearchType") || "";
this.getElderlyInfo()
if(this.$store.state.user.level==="street"){ if(this.$store.state.user.level==="street"){
this.organizationList = [ this.organizationList = [
{ {
@ -227,6 +226,7 @@
this.disabled = true this.disabled = true
this.formData.volunteerOrgId = this.userH5DTO.volunteerOrgId this.formData.volunteerOrgId = this.userH5DTO.volunteerOrgId
} }
this.getElderlyInfo()
}, },
methods: { methods: {

Loading…
Cancel
Save