Browse Source

合并feature-dev

V1.0
SongZhen 2 years ago
parent
commit
b8059e3815
  1. 2
      src/router/index.js
  2. 16
      src/views/components/resiForm.vue
  3. 19
      src/views/components/resiSearch.vue
  4. 2
      src/views/main-navbar-update-password-work.vue
  5. 2
      src/views/modules/base/resi.vue
  6. 10
      src/views/modules/base/residentManagement/louzhang/louzhangList.vue
  7. 4
      src/views/modules/base/residentManagement/publicWelfarePost/addForm.vue
  8. 14
      src/views/modules/base/residentManagement/publicWelfarePost/publicWelfarePost.vue
  9. 8
      src/views/modules/base/residentManagement/tefu/tefuList.vue
  10. 33
      src/views/modules/communityService/measure/index.vue
  11. 2
      src/views/modules/satisfaction/detail/eventInfo.vue
  12. 2
      src/views/modules/satisfaction/satisfactionProvince/formList.vue

2
src/router/index.js

@ -172,7 +172,7 @@ export const dataBoardRoutes = {
component: () => import("@/views/dataBoardMain/main"), component: () => import("@/views/dataBoardMain/main"),
name: "dataBoard", name: "dataBoard",
redirect: { redirect: {
path: "/dataBoard/overView/index", path: "/dataBoard/overview/index",
}, },
meta: { meta: {
title: "主入口布局", title: "主入口布局",

16
src/views/components/resiForm.vue

@ -308,8 +308,8 @@
<el-select v-model="form[itemj.id][itemk.formName]" <el-select v-model="form[itemj.id][itemk.formName]"
:placeholder="`请选择${itemk.label}`" :placeholder="`请选择${itemk.label}`"
size="small" size="small"
:multiple="itemk.formName=='specialCategoryCode'" :multiple="itemk.multiple"
:collapse-tags="itemk.formName=='specialCategoryCode'" :collapse-tags="itemk.collapseTags"
clearable clearable
:style="{'width':itemk.formName=='specialCategoryCode'?'183px':''}" :style="{'width':itemk.formName=='specialCategoryCode'?'183px':''}"
class="u-item-width-normal"> class="u-item-width-normal">
@ -479,7 +479,7 @@ export default {
{ {
label: '国籍', label: '国籍',
itemType: "select", itemType: "select",
requiredFlag: true, rules: [{ required: true, message: '国籍不能为空' }],
formName: 'nationality', formName: 'nationality',
opction: [], opction: [],
}, },
@ -1222,6 +1222,8 @@ export default {
label: '人群类别', label: '人群类别',
itemType: "select1", itemType: "select1",
formName: "specialCategoryCode", formName: "specialCategoryCode",
multiple:true,
collapseTags:true,
opction: [] opction: []
},] },]
}, },
@ -1263,6 +1265,8 @@ export default {
label: '岗位类型', label: '岗位类型',
itemType: "select1", itemType: "select1",
formName: "jobPost", formName: "jobPost",
multiple:true,
collapseTags:true,
opction: [] opction: []
}, },
] ]
@ -1529,7 +1533,7 @@ export default {
}, },
postDto: { postDto: {
hiredate: '',// hiredate: '',//
jobPost: '',// jobPost: [],//
userId: '' userId: ''
}, },
birthRecordDTO: { birthRecordDTO: {
@ -1770,7 +1774,7 @@ export default {
await this.getDictData('chronic_disease_code', 'chronicDiseaseCode') await this.getDictData('chronic_disease_code', 'chronicDiseaseCode')
}, },
async getWelfareDict () { async getWelfareDict () {
await this.getDictData('welfare_post', 'jobPost') await this.getDictData('public_welfare_post_type', 'jobPost')
}, },
async getUnemployment () { async getUnemployment () {
await this.getDictData('unemployment_cause', 'unemploymentReason') await this.getDictData('unemployment_cause', 'unemploymentReason')
@ -2669,7 +2673,7 @@ export default {
} else { } else {
this.form.postDto = res.data ? res.data : { this.form.postDto = res.data ? res.data : {
hiredate: '',// hiredate: '',//
jobPost: '', // jobPost: [], //
userId: id userId: id
} }

19
src/views/components/resiSearch.vue

@ -833,10 +833,17 @@ export default {
} else { } else {
agencyIdTemp = this.form.agencyId[this.form.agencyId.length - 1] agencyIdTemp = this.form.agencyId[this.form.agencyId.length - 1]
} }
var gridIdQuery = '';
var agencyIdQuery = this.form.agencyId[0];
if (this.form.agencyId.length >= 2) {
agencyIdQuery= this.form.agencyId[this.form.agencyId.length - 2];
gridIdQuery = this.form.agencyId[this.form.agencyId.length - 1];
}
this.$http this.$http
.post('/actual/base/communityQuarters/listQuartersOptions', { .post('/actual/base/communityQuarters/listQuartersOptions', {
gridId: this.form.agencyId[1], gridId: gridIdQuery,
agencyId: this.form.agencyId[0], agencyId: agencyIdQuery,
// agencyId: user.agencyId // agencyId: user.agencyId
}) })
.then(({ data: res }) => { .then(({ data: res }) => {
@ -853,8 +860,8 @@ export default {
}, },
getBuildList () { getBuildList () {
this.$http this.$http
.post('/gov/org/icbuilding/buildingoption', { .post('/actual/base/communityBuilding/buildingoption', {
neighborHoodId: this.form.villageId quartersId: this.form.villageId
}) })
.then(({ data: res }) => { .then(({ data: res }) => {
if (res.code !== 0) { if (res.code !== 0) {
@ -870,7 +877,7 @@ export default {
}, },
getUniList () { getUniList () {
this.$http this.$http
.post('/gov/org/icbuildingunit/unitoption', { .post('/actual/base/communityBuildingUnit/unitoption', {
buildingId: this.form.buildId buildingId: this.form.buildId
}) })
.then(({ data: res }) => { .then(({ data: res }) => {
@ -887,7 +894,7 @@ export default {
}, },
getHouseList () { getHouseList () {
this.$http this.$http
.post('/gov/org/ichouse/houseoption', { unitId: this.form.unitId }) .post('/actual/base/communityHouse/houseoption', { buildingId: this.form.buildId,unitId: this.form.unitId })
.then(({ data: res }) => { .then(({ data: res }) => {
if (res.code !== 0) { if (res.code !== 0) {
return this.$message.error(res.msg) return this.$message.error(res.msg)

2
src/views/main-navbar-update-password-work.vue

@ -153,7 +153,7 @@ export default {
const { pubKey } = this; const { pubKey } = this;
this.$http this.$http
.post("/gov/mine/mine/resetpassword", { .post("/epmetuser/customerstaff/changePassword", {
oldPassword: encryptedData(pubKey, this.dataForm.password), oldPassword: encryptedData(pubKey, this.dataForm.password),
newPassword: encryptedData(pubKey, this.dataForm.newPassword), newPassword: encryptedData(pubKey, this.dataForm.newPassword),
confirmNewPassword: encryptedData( confirmNewPassword: encryptedData(

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

@ -387,7 +387,7 @@ export default {
{ columnName: "name", label: "姓名", width: 80 }, { columnName: "name", label: "姓名", width: 80 },
{ columnName: "birthday", label: "生日", width: 100 }, { columnName: "birthday", label: "生日", width: 100 },
{ columnName: "gender", label: "性别", width: 50 }, { columnName: "gender", label: "性别", width: 50 },
{ columnName: "nationalityName", label: "国籍", width: 50 }, { columnName: "nationality", label: "国籍", width: 50 },
{ columnName: "agencyName", label: "所属组织", width: 150 }, { columnName: "agencyName", label: "所属组织", width: 150 },
{ columnName: "gridName", label: "所属网格", width: 150 }, { columnName: "gridName", label: "所属网格", width: 150 },
{ columnName: "homeName", label: "所属房屋", width: 150 }, { columnName: "homeName", label: "所属房屋", width: 150 },

10
src/views/modules/base/residentManagement/louzhang/louzhangList.vue

@ -195,9 +195,9 @@
label="身份证号" label="身份证号"
:show-overflow-tooltip="true"> :show-overflow-tooltip="true">
</el-table-column> </el-table-column>
<el-table-column prop="dormitoryName" <el-table-column prop="dormitoryTypeName"
align="center" align="center"
width="80" width="100"
label="类型" label="类型"
:show-overflow-tooltip="true"> :show-overflow-tooltip="true">
<!-- <template slot-scope="scope"> <!-- <template slot-scope="scope">
@ -392,8 +392,8 @@ export default {
}, },
getBuildList () { getBuildList () {
this.$http this.$http
.post('/gov/org/icbuilding/buildingoption', { .post('/actual/base/communityBuilding/buildingoption', {
neighborHoodId: this.formData.villageId quartersId: this.formData.villageId
}) })
.then(({ data: res }) => { .then(({ data: res }) => {
if (res.code !== 0) { if (res.code !== 0) {
@ -409,7 +409,7 @@ export default {
}, },
getUniList () { getUniList () {
this.$http this.$http
.post('/gov/org/icbuildingunit/unitoption', { .post('/actual/base/communityBuildingUnit/unitoption', {
buildingId: this.formData.buildId buildingId: this.formData.buildId
}) })
.then(({ data: res }) => { .then(({ data: res }) => {

4
src/views/modules/base/residentManagement/publicWelfarePost/addForm.vue

@ -155,8 +155,8 @@
<span>{{ formData.postTypes }}</span> <span>{{ formData.postTypes }}</span>
</div> </div>
<el-form-item label-width="100px" label="岗位类型" prop="postTypes" v-else> <el-form-item label-width="100px" label="岗位类型" prop="postTypes" v-else>
<el-select v-model="formData.postTypes" clearable> <el-select v-model="formData.postTypes" multiple collapse-tags clearable>
<el-option v-for="item in dicts.public_welfare_post_type" :key="item.value" <el-option v-for="item in dicts.public_welfare_post_type" :key="item.value"
:label="item.label" :value="item.value"> :label="item.label" :value="item.value">
</el-option> </el-option>
</el-select> </el-select>

14
src/views/modules/base/residentManagement/publicWelfarePost/publicWelfarePost.vue

@ -46,6 +46,7 @@
> >
</el-date-picker> </el-date-picker>
<span class="u-data-tag"></span> <span class="u-data-tag"></span>
<!-- :picker-options="endPickerOptionsBirthday" -->
<el-date-picker <el-date-picker
v-model="formData.birthdayEnd" v-model="formData.birthdayEnd"
type="date" type="date"
@ -53,7 +54,6 @@
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
class="u-item-width-daterange u-data-tag" class="u-item-width-daterange u-data-tag"
placeholder="结束日期" placeholder="结束日期"
:picker-options="endPickerOptionsBirthday"
> >
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
@ -84,7 +84,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label-width="100px" label="岗位类型" prop="postTypes" > <el-form-item label-width="100px" label="岗位类型" prop="postTypes" >
<el-select v-model="formData.postTypes" clearable size="small" class="u-item-width-normal"> <el-select v-model="formData.postTypes" multiple collapse-tags clearable size="small" class="u-item-width-normal">
<el-option <el-option
v-for="item in dicts.public_welfare_post_type" v-for="item in dicts.public_welfare_post_type"
:key="item.value" :key="item.value"
@ -95,6 +95,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="入职时间"> <el-form-item label="入职时间">
<!-- :picker-options="startPickerOptions" -->
<el-date-picker <el-date-picker
v-model="formData.hireDateFrom" v-model="formData.hireDateFrom"
type="date" type="date"
@ -102,10 +103,11 @@
class="u-item-width-daterange" class="u-item-width-daterange"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
placeholder="开始日期" placeholder="开始日期"
:picker-options="startPickerOptions"
> >
</el-date-picker> </el-date-picker>
<span class="u-data-tag"></span> <span class="u-data-tag"></span>
<!-- :picker-options="endPickerOptionsBirthday" -->
<el-date-picker <el-date-picker
v-model="formData.hireDateEnd" v-model="formData.hireDateEnd"
type="date" type="date"
@ -113,7 +115,6 @@
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
class="u-item-width-daterange u-data-tag" class="u-item-width-daterange u-data-tag"
placeholder="结束日期" placeholder="结束日期"
:picker-options="endPickerOptionsBirthday"
> >
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
@ -458,10 +459,9 @@
this.$http.post("sys/dict/data/education", { this.$http.post("sys/dict/data/education", {
formCode: "resi_base_info", formCode: "resi_base_info",
}), }),
this.$http.post("sys/dict/data/education", { this.$http.post("sys/dict/data/dictlist", {
formCode: "public_welfare_post_type", dictType: "public_welfare_post_type",
}), }),
]; ];
const dictKeys = ["nationList", "educationList",'public_welfare_post_type']; // const dictKeys = ["nationList", "educationList",'public_welfare_post_type']; //

8
src/views/modules/base/residentManagement/tefu/tefuList.vue

@ -683,8 +683,8 @@ export default {
}, },
getBuildList () { getBuildList () {
this.$http this.$http
.post('/gov/org/icbuilding/buildingoption', { .post('/actual/base/communityBuilding/buildingoption', {
neighborHoodId: this.formData.villageId quartersId: this.formData.villageId
}) })
.then(({ data: res }) => { .then(({ data: res }) => {
if (res.code !== 0) { if (res.code !== 0) {
@ -700,7 +700,7 @@ export default {
}, },
getUniList () { getUniList () {
this.$http this.$http
.post('/gov/org/icbuildingunit/unitoption', { .post('/actual/base/communityBuildingUnit/unitoption', {
buildingId: this.formData.buildId buildingId: this.formData.buildId
}) })
.then(({ data: res }) => { .then(({ data: res }) => {
@ -717,7 +717,7 @@ export default {
}, },
getHouseList () { getHouseList () {
this.$http this.$http
.post('/gov/org/ichouse/houseoption', { unitId: this.formData.unitId }) .post('/actual/base/communityHouse/houseoption', { buildingId: this.formData.buildId,unitId: this.formData.unitId })
.then(({ data: res }) => { .then(({ data: res }) => {
if (res.code !== 0) { if (res.code !== 0) {
return this.$message.error(res.msg) return this.$message.error(res.msg)

33
src/views/modules/communityService/measure/index.vue

@ -433,19 +433,21 @@
></el-input> ></el-input>
<el-select <el-select
v-else v-else
v-model="selectDemandUser" v-model="form.demandUserId"
class="u-item-width-normal" class="u-item-width-normal"
filterable filterable
:disabled="disabled" :disabled="disabled"
placeholder="请选择" placeholder="请选择"
clearable clearable
@change="handleDemandChange" @change="handleDemandChange"
remote
:remote-method="getDemandUserList"
> >
<el-option <el-option
v-for="item in demandUserList" v-for="item in demandUserList"
:key="item.demandUserId" :key="item.demanderId"
:label="item.label" :label="item.label"
:value="item" :value="item.demanderId"
> >
</el-option> </el-option>
</el-select> </el-select>
@ -990,11 +992,11 @@ export default {
} }
}, },
handleDemandChange(val) { handleDemandChange(val) {
console.log("val", val, this.selectDemandUser); // console.log("val", val, this.selectDemandUser);
this.selectDemandUser = val.label; // this.selectDemandUser = val.label;
this.form.demandUserName = val.demandUserName; this.form.demandUserName = val.demanderName;
this.form.demandUserMobile = val.demandUserMobile; this.form.demandUserMobile = val.demanderMobile;
this.form.demandUserId = val.demandUserId; // this.form.demandUserId = val.demanderId;
}, },
handleSearch(val) { handleSearch(val) {
console.log("searchhh--", val); console.log("searchhh--", val);
@ -1310,22 +1312,21 @@ export default {
return this.$message.error("网络错误"); return this.$message.error("网络错误");
}); });
}, },
async getDemandUserList() {
async getDemandUserList(demanderName) {
const { user } = await this.$store.state; const { user } = await this.$store.state;
console.log("user---ppp", user); console.log("demanderName:", demanderName);
const params = {
agencyId: user.agencyId,
gridId: this.form.gridId,
name: "",
};
// addorupdate // addorupdate
await this.$http await this.$http
.post("/epmetuser/icresiuser/demandusers", params) .get(`/actual/base/resiDemand/listDemander2Serve?gridId=${this.form.gridId}&demanderName=${demanderName ? demanderName : ''}`)
.then(({ data: res }) => { .then(({ data: res }) => {
if (res.code !== 0) { if (res.code !== 0) {
return this.$message.error(res.msg); return this.$message.error(res.msg);
} else { } else {
console.log("获取查询详情成功", res.data); console.log("获取查询详情成功", res.data);
res.data.map(e=>{
e.label = e.demanderName + "(" + e.demanderMobile + ")";
})
this.demandUserList = res.data; this.demandUserList = res.data;
} }
}) })

2
src/views/modules/satisfaction/detail/eventInfo.vue

@ -243,7 +243,7 @@ export default {
const data = res.data.data; const data = res.data.data;
if (res.status === 200) { if (res.status === 200) {
this.total = data.total || 0; this.total = data.total || 0;
this.provinceList = data.childData; this.provinceList = data.list;
} }
})).catch((err => { })).catch((err => {
this.$message.error(err); this.$message.error(err);

2
src/views/modules/satisfaction/satisfactionProvince/formList.vue

@ -136,7 +136,7 @@ export default {
let url = '/governance/provinceEvaluationRecord/pageInfo' let url = '/governance/provinceEvaluationRecord/pageInfo'
const { data, code, msg } = await requestPost(url, params) const { data, code, msg } = await requestPost(url, params)
if (code == 0) { if (code == 0) {
this.tableData = data.childData; this.tableData = data.list;
this.total = data.total; this.total = data.total;
} else { } else {
console.log(err); console.log(err);

Loading…
Cancel
Save