diff --git a/src/assets/img/QRcode.jpg b/src/assets/img/QRcode.jpg
new file mode 100644
index 000000000..02ce33966
Binary files /dev/null and b/src/assets/img/QRcode.jpg differ
diff --git a/src/assets/scss/modules/management/form-main.scss b/src/assets/scss/modules/management/form-main.scss
index 3417848c7..f24cc4d9e 100644
--- a/src/assets/scss/modules/management/form-main.scss
+++ b/src/assets/scss/modules/management/form-main.scss
@@ -111,4 +111,7 @@
left: 5px;
display: flex;
justify-content: flex-start;
+}
+.m-table{
+ margin: 20px;
}
\ No newline at end of file
diff --git a/src/views/components/addResi.vue b/src/views/components/addResi.vue
index 3ca535131..d6a9ff0c7 100644
--- a/src/views/components/addResi.vue
+++ b/src/views/components/addResi.vue
@@ -321,7 +321,7 @@
人员标签
-
+
@@ -338,6 +338,18 @@
+
+
+
+
+
+
+
+
@@ -364,20 +376,35 @@ import resiExpand from "./resiExpand";
export default {
data() {
return {
- dialogVisible: false,
- dialogTitle: "",
- formList: [],
-
- orgOptions: [],
- orgOptionProps: {
- value: 'agencyId',
- label: 'agencyName',
- children: 'subAgencyList',
- emitPath: false,
- multiple: false,
- checkStrictly: true
- },
- form: {
+ resiId:null,
+ showCheckPassword:false,
+ checkPasswordFrom: {
+ password: "",
+ },
+ checkPasswordRulse: {
+ password: [
+ { required: true, message: "请输入密码", trigger: "blur" },
+ {
+ min: 6,
+ max: 18,
+ message: "长度在 6 到 18 个字符",
+ trigger: "blur",
+ },
+ ],
+ },
+ dialogVisible: false,
+ dialogTitle: "",
+ formList: [],
+ orgOptions: [],
+ orgOptionProps: {
+ value: 'agencyId',
+ label: 'agencyName',
+ children: 'subAgencyList',
+ emitPath: false,
+ multiple: false,
+ checkStrictly: true
+ },
+ form: {
baseInfoDto: {
name: null,//姓名
idType: null,//证件类型
@@ -475,9 +502,14 @@ export default {
},
economyDto: {
monthIncome: null,//月收入
+ },
+ oldPeopleDto:{
+ oldPeopleCategories:[],
+ resideSituation: null,
+ oldSubsidy:null
}
- },
- footerInputList: [
+ },
+ footerInputList: [
{
id: 'healthDto',
children: [
@@ -577,12 +609,12 @@ export default {
]
},
{
- id: 'deathDto',
+ id: 'baseInfoDto',
children: [
{
label: "死亡时间",
itemType: "datepicker1",
- formName: "deathTime",
+ formName: "deathDate",
check:'fourFont'
},
]
@@ -598,7 +630,6 @@ export default {
opctionUrl: 'sys/dict/data/dictlist',
opctionParams: { dictType: 'oldPeople_categories' },
opction:[]
-
},
{
label: "居住情况",
@@ -607,6 +638,7 @@ export default {
formName: "resideSituation",
opctionUrl: 'sys/dict/data/dictlist',
opctionParams: { dictType: 'reside_situation' },
+ opction:[]
},
{
label: "高龄补助",
@@ -626,6 +658,7 @@ export default {
formName: "category",
opctionUrl: 'sys/dict/data/dictlist',
opctionParams: { dictType: 'subsistence_allowance_category' },
+ opction:[]
},
{
label: "低保享受原因",
@@ -857,11 +890,10 @@ export default {
},
{//1
label: "子女姓名",
- check:'fourFont',
+ // check:'fourFont',
itemType: "input1",
formName: "childName",
- opction: [
- ]
+ opction: []
},
{//2
label: "子女性别",
@@ -907,14 +939,13 @@ export default {
]
},
- ],
-
- idTypeList,
- genderList,
- hasOptions,
- disabilityFlagList,
- btnLoading: false,
- rules: {
+ ],
+ idTypeList,
+ genderList,
+ hasOptions,
+ disabilityFlagList,
+ btnLoading: false,
+ rules: {
"baseInfoDto.name": [
{ required: true, message: "请输入姓名", trigger: "blur" },
],
@@ -930,8 +961,8 @@ export default {
"baseInfoDto.nationality": [
{ required: true, message: "请选择国籍", trigger: "blur" },
],
- },
- dicts: {
+ },
+ dicts: {
educationList: [], //文化程度
nationList: [], //民族
nationalityList: [], //国籍
@@ -952,8 +983,8 @@ export default {
value: 1,
},
],
- },
- logLevelChecked: 0,
+ },
+ logLevelChecked: 0,
};
},
created() {
@@ -963,6 +994,33 @@ export default {
this.initHouseBind();
},
methods: {
+ handelClickCheckPassword() {
+ this.$refs.checkPasswordFrom.validate((vali) => {
+ if (vali) {
+ this.saveCheckPassword(this.checkPasswordFrom.password);
+ } else {
+ return false;
+ }
+ });
+ },
+ async saveCheckPassword(password){
+ const url = `/actual/base/residentBaseInfo/getResiUserInfo/${this.resiId}`;
+ let parm = {
+ password,
+ };
+ const { data, code, msg } = await requestPost(url, parm);
+ if (code === 0) {
+ this.showCheckPassword = false;
+ this.$router.push({
+ name: "edit-resi",
+ query: { id: this.resiId },
+ params: { idNum: data.idNum, mobile: data.mobile, name: data.name, nationality: data.nationality },
+ });
+ this.checkPasswordFrom.password = "";
+ } else {
+ this.$message.error(msg);
+ }
+ },
// 从房屋画像进行添加居民时绑定房屋信息
initHouseBind() {
for (let i in this.form.resideInfoDtos) {
@@ -1202,10 +1260,13 @@ export default {
if (this.form.baseInfoDto.idNum.length === 18 || this.form.baseInfoDto.idNum.length === 15) {
const _id = this.form.baseInfoDto.idNum.substr(0, 6)
- const { sex, birth, age } = computedCard(this.form.baseInfoDto.idNum)
- this.form.baseInfoDto.birthday = birth
- this.form.baseInfoDto.gender = sex == 1 ? '1' : '2'
- this.form.baseInfoDto.categoryInfo.oldPeopleFlag = age >= 60 ? 1 : 0
+ const { sex, birth, age } = computedCard(this.form.baseInfoDto.idNum);
+ this.form.baseInfoDto.birthday = birth;
+ this.form.baseInfoDto.gender = sex == 1 ? '1' : '2';
+ // this.form.baseInfoDto.categoryInfo.oldPeopleFlag = age >= 60 ? 1 : 0;
+ let obj = {oldPeopleFlag:age >= 60 ? 1 : 0,fertileWomanFlag:this.form.baseInfoDto.gender == 2 && (age >= 18 && age < 49)? 1 : 0}
+ this.$refs['stafftag'].updatedForm(obj);
+ this.form.oldPeopleDto.oldPeopleCategories = ['oldPeopleFlag'];
// this.form.IS_BDHJ = huji == _id ? '1' : ''
// 身份证前端验证角色方法 因原型没有注释
// this.validateIdcard(this.form.idNum)
@@ -1227,7 +1288,8 @@ export default {
cancelButtonText: '继续填写',
type: 'warning'
}).then(() => {
- this.$router.push({ name: 'edit-resi', query: { id: data.id }, params: { idNum: data.idNum, mobile: data.mobile } });
+ this.resiId = data.id
+ this.showCheckPassword = true;
}).catch(() => {
@@ -1346,6 +1408,11 @@ export default {
this.form.baseInfoDto.categoryInfo.partyFlag = 2;
}
if (index != 3 && index) {
+ if(value === 'deathFlag'){
+ this.form.baseInfoDto.deathFlag = event?1:0
+ }else{
+ this.form.baseInfoDto.categoryInfo[value] = event ? 1 : 0;
+ }
this.form.baseInfoDto.categoryInfo[value] = event ? 1 : 0;
} else if (index == 3) {
if (event) {
@@ -1366,7 +1433,7 @@ export default {
'disabilityFlag': { formId: 'healthDto', formType: 'healthDto', title: '残疾信息' },
'seriousIllnessFlag': { formId: 'seriousIllnessDto', formType: 'seriousIllnessDto', title: '大病信息' },
'chronicDiseaseFlag': { formId: 'chronicDiseaseDto', formType: 'chronicDiseaseDto', title: '慢病信息' },
- 'deathFlag': { formId: 'deathDto', formType: 'deathDto', title: '死亡' },
+ 'deathFlag': { formId: 'baseInfoDto', formType: 'baseInfoDto', title: '死亡' },
'oldPeopleFlag': { formId: 'oldPeopleDto', formType: 'oldPeopleDto', title: '老年人信息' },
'subsistenceAllowanceFlag': { formId: 'subsistenceAllowanceDto', formType: 'subsistenceAllowanceDto', title: '低保人员信息' },
'veteranFlag': { formId: 'veteranDto', formType: 'veteranDto', title: '退役军人信息' },
@@ -1396,7 +1463,11 @@ export default {
this.dialogVisible = false;
},
hideExpand(formType) {
- delete this.form[formType];
+ if(formType!= 'baseInfoDto'){
+ delete this.form[formType];
+ }else{
+ this.form['baseInfoDto'].deathFlag = 0;
+ }
this.dialogVisible = false;
},
},
diff --git a/src/views/components/editResi.vue b/src/views/components/editResi.vue
index 87a03b93a..bf5ffd384 100644
--- a/src/views/components/editResi.vue
+++ b/src/views/components/editResi.vue
@@ -889,7 +889,9 @@ export default {
nation: null, //民族
localResidenceFlag: 0, //是否本地户籍
nativePlace: null, //籍贯,
- remark: null, //备注
+ remark: null, //备注,
+ deathFlag:0,//死亡
+ deathDate:null,//死亡日期
categoryInfo: {
partyFlag: 0,
subsistenceAllowanceFlag: 0,
@@ -1092,14 +1094,14 @@ export default {
],
},
{
- id: "deathDto",
+ id: "baseInfoDto",
children: [
{
label: "死亡时间",
itemType: "datepicker1",
- formName: "deathTime",
+ formName: "deathDate",
check:'fourFont',
- pformName: "deathDto",
+ pformName: "baseInfoDto",
},
],
},
@@ -1124,6 +1126,7 @@ export default {
opctionUrl: "sys/dict/data/dictlist",
opctionParams: { dictType: "reside_situation" },
pformName: "oldPeopleDto",
+ opction:[]
},
{
label: "高龄补助",
@@ -1145,6 +1148,7 @@ export default {
opctionUrl: "sys/dict/data/dictlist",
opctionParams: { dictType: "subsistence_allowance_category" },
pformName: "subsistenceAllowanceDto",
+ opction: [],
},
{
label: "低保享受原因",
@@ -1396,7 +1400,7 @@ export default {
{
//1
label: "子女姓名",
- check:'fourFont',
+ // check:'fourFont',
itemType: "input1",
formName: "childName",
pformName: "specialSupportDto",
@@ -1514,7 +1518,7 @@ export default {
formType: "chronicDiseaseDto",
title: "慢病信息",
},
- deathFlag: { formId: "deathDto", formType: "deathDto", title: "死亡" },
+ deathFlag: { formId: "baseInfoDto", formType: "baseInfoDto", title: "死亡信息" },
oldPeopleFlag: {
formId: "oldPeopleDto",
formType: "oldPeopleDto",
@@ -2172,7 +2176,11 @@ export default {
this.form.baseInfoDto.categoryInfo.partyFlag = 2;
}
if (index != 3 && index) {
- this.form.baseInfoDto.categoryInfo[value] = event ? 1 : 0;
+ if(value === 'deathFlag'){
+ this.form.baseInfoDto.deathFlag = event?1:0
+ }else{
+ this.form.baseInfoDto.categoryInfo[value] = event ? 1 : 0;
+ }
} else if (index == 3) {
if (event) {
@@ -2193,7 +2201,7 @@ export default {
'disabilityFlag': { formId: 'healthDto', formType: 'healthDto', title: '残疾信息' },
'seriousIllnessFlag': { formId: 'seriousIllnessDto', formType: 'seriousIllnessDto', title: '大病信息' },
'chronicDiseaseFlag': { formId: 'chronicDiseaseDto', formType: 'chronicDiseaseDto', title: '慢病信息' },
- 'deathFlag': { formId: 'deathDto', formType: 'deathDto', title: '死亡' },
+ 'deathFlag': { formId: 'baseInfoDto', formType: 'baseInfoDto', title: '死亡' },
'oldPeopleFlag': { formId: 'oldPeopleDto', formType: 'oldPeopleDto', title: '老年人信息' },
'subsistenceAllowanceFlag': { formId: 'subsistenceAllowanceDto', formType: 'subsistenceAllowanceDto', title: '低保人员信息' },
'veteranFlag': { formId: 'veteranDto', formType: 'veteranDto', title: '退役军人信息' },
@@ -2226,15 +2234,29 @@ export default {
});
}
});
- delete this.form[this.incidence[value].formType];
+ if(value === 'deathFlag'){
+ this.form.baseInfoDto.deathFlag = 0;
+ this.form.baseInfoDto.deathDate = null;
+ }else{
+ delete this.form[this.incidence[value].formType];
+ }
}
},
submitExpandAdd(form, formType) {
- this.form[formType] = form[formType];
+ if(formType === 'baseInfoDto' ){
+ this.form.baseInfoDto.deathDate = form[formType].deathDate;
+ this.form.baseInfoDto.deathFlag = 1;
+ }else{
+ this.form[formType] = form[formType];
+ }
this.dialogVisible = false;
},
hideExpand(formType) {
- delete this.form[formType];
+ if(formType!= 'baseInfoDto'){
+ delete this.form[formType];
+ }else{
+ this.form['baseInfoDto'].deathFlag = 0;
+ }
this.dialogVisible = false;
},
// 提交扩展信息
diff --git a/src/views/components/resiExpand/editExpand.vue b/src/views/components/resiExpand/editExpand.vue
index 7a0b2bfcb..11b1debe7 100644
--- a/src/views/components/resiExpand/editExpand.vue
+++ b/src/views/components/resiExpand/editExpand.vue
@@ -19,7 +19,7 @@
@@ -43,19 +43,21 @@
-
-
+
+
- 元
+ 元
+
{{ items.label }}
+ :key="items.value" :value="items.value" @click.native="handleFormChange(itemj.id,itemk.formName,itemk.itemType)" :disabled="items.disabled">{{ items.label }}
@@ -70,7 +72,6 @@
-
@@ -182,6 +183,10 @@ export default {
volunteerDto: {
volunteerCategory: []
},
+ // 死亡时间
+ baseInfoDto:{
+ deathDate:null
+ }
},
casProps: {
value: 'id',
@@ -202,16 +207,62 @@ export default {
},
created() { },
activated() {
+ this.getOrgTree()
},
mounted() {
},
methods: {
handleFormChange(pid,id,type){
+ console.log(pid,id,type,'拓展组件');
+ console.log(this.formList);
this.changPid = pid;
this.changId = id;
this.changType = type;
nextTick(1000)
this.$emit('submitExpand', this.form,{changId:this.changId,changPid:this.changPid,changType:this.changType})
+ // let index = this.formList.findIndex(item=>item.formId === "oldPeopleDto")
+ if (pid === 'oldPeopleDto' && id === 'oldPeopleCategories') {
+ this.formList.forEach((item,index) => {
+ item.form[0].children.forEach(async (itemC,indexC) => {
+ if (itemC.formName === "oldPeopleCategories") {
+ await nextTick(500)
+ if (itemC.value.findIndex(itemK => itemK === "liveAloneFlag") != -1) {
+ itemC.opction.forEach(itemJ => {
+ if (itemJ.value === "emptyNesterFlag") {
+ itemJ.disabled = true;
+ this.form[pid].resideSituation = 'duju'
+ item.form[0].children[1].disabled = true;
+ this.$forceUpdate()
+ } else {
+ itemJ.disabled = false;
+ this.$forceUpdate()
+ }
+ })
+ } else if (itemC.value.findIndex(itemK => itemK === "emptyNesterFlag") != -1) {
+ itemC.opction.forEach(itemJ => {
+ if (itemJ.value === "liveAloneFlag") {
+ itemJ.disabled = true;
+ this.form[pid].resideSituation = 'kongchao'
+ item.form[0].children[1].disabled = true;
+ this.$forceUpdate()
+
+ } else {
+ itemJ.disabled = false;
+ this.$forceUpdate()
+ }
+ })
+ } else {
+ this.form[pid].resideSituation = 'duju'
+ item.form[0].children[1].disabled = false;
+ itemC.opction.forEach(itemJ => {
+ itemJ.disabled = false;
+ })
+ this.$forceUpdate()
+ }
+ }
+ })
+ })
+ }
},
checkNumberInput(itemj, itemk) {
if (this.form[itemj][itemk]) {
@@ -225,41 +276,50 @@ export default {
}
}
},
- showForm() {
- this.$nextTick(() => {
- // console.log(this.form,'拓展组件form');
- const promises = this.formList.forEach((item) => {
- item.form.map(async (group) => {
- return group.children.reduce(async (accPromise, item) => {
- const acc = await accPromise;
- acc[item.formName] = null;
- this.form[item.pformName].id = item.id
- if (item.itemType == 'checkbox') {
- this.form[item.pformName][item.formName] = item.value || []
- } else if (item.itemType == 'cascader1' && item.orgPath) {
- await this.getOrgTree()
- this.form[item.pformName][item.formName] = item.orgPath.split(':') || null
- } else{
- this.form[item.pformName][item.formName] = item.value != null?item.value:null;
- }
- if (item.opctionUrl) {
- try {
- item.opction = await this.getDictDataForm(item.opctionUrl, item.opctionParams);
- } catch (error) {
- console.error('Error fetching options:', error);
- }
- }
- return acc;
- }, Promise.resolve({}));
- })
- })
- Promise.all(promises).then((results) => {
+ async showForm() {
+ await this.$nextTick();
+ console.log(this.form, '拓展组件form');
+ console.log(this.formList, '拓展组件formList');
+ const promises = this.formList.map(async (item) => {
+ const groupPromises = item.form.map(async (group) => {
+ await group.children.reduce(async (accPromise, childItem) => {
+ const acc = await accPromise;
+ acc[childItem.formName] = null;
+ this.form[childItem.pformName].id = childItem.id;
+
+ if (childItem.itemType === 'checkbox') {
+ this.form[childItem.pformName][childItem.formName] = childItem.value || [];
+ } else if (childItem.itemType === 'cascader1') {
+ await this.getOrgTree();
+ let maxId = this.formList.filter(item => item.formId == 'parymemberInfoDto')[0].form[0].children.filter(item => item.formName == 'partyOrgId')[0].opction[0].id;
+ let orgId = JSON.parse(JSON.stringify(childItem.orgPath.split(':')));
+ orgId = orgId.slice(orgId.findIndex(item => item === maxId), orgId.length - 1)
+ this.form[childItem.pformName][childItem.formName] = orgId;
+ } else {
+ this.form[childItem.pformName][childItem.formName] = childItem.value != null ? childItem.value : null;
+ }
+
+ if (childItem.opctionUrl) {
+ try {
+ childItem.opction = await this.getDictDataForm(childItem.opctionUrl, childItem.opctionParams);
+ } catch (error) {
+ console.error('Error fetching options:', error);
+ }
+ }
+ return acc;
+ }, Promise.resolve({}));
+ });
+ return Promise.all(groupPromises);
+ });
+
+ try {
+ await Promise.all(promises);
+ console.log('Form processing complete');
+ } catch (error) {
+ console.error('Error processing form:', error);
+ }
+},
- }).catch((error) => {
- console.error('Error fetching options:', error);
- });
- })
- },
async getDictDataForm(url, params) {
try {
const { data } = await this.$http.post(url, params);
diff --git a/src/views/components/resiExpand/index.vue b/src/views/components/resiExpand/index.vue
index 49d949c54..99f2acaea 100644
--- a/src/views/components/resiExpand/index.vue
+++ b/src/views/components/resiExpand/index.vue
@@ -17,9 +17,9 @@
+ class="list_item_width_1" @change="handelChangeSelsect(itemj.id,itemk.formName)" :disabled="itemk.disabled">
+ :value="items.value" >
@@ -35,18 +35,20 @@
v-model.trim="form[itemj.id][itemk.formName]" clearable>
-
-
+
+
- 元
+ 元
+
-
+
{{ items.label }}
+ :value="items.value" :disabled="items.disabled">{{ items.label }}
@@ -80,7 +82,7 @@
+
\ No newline at end of file
diff --git a/src/views/modules/communityParty/regionalParty/units.vue b/src/views/modules/communityParty/regionalParty/units.vue
index 9ee821e20..e5b8a9d58 100644
--- a/src/views/modules/communityParty/regionalParty/units.vue
+++ b/src/views/modules/communityParty/regionalParty/units.vue
@@ -48,7 +48,7 @@
item.staffId === val)[0].mobile
+ this.formData.contactMobile = this.dicts.stafflist.filter(item=>item.staffId === val)[0].mobile;
+ this.formData.contact = val;
}else{
- this.formData.contactMobile = ''
+ this.formData.contactMobile = '';
+ this.formData.contact = '';
}
},
getStafflist() {
@@ -511,7 +512,7 @@ export default {
unitName: "",
serviceMatterList: [],
type: "",
- contact: "",
+ principalId: "",
contactMobile: "",
memberCount: 0,
remark: "", //备注【最大500字】
@@ -544,7 +545,7 @@ export default {
],
type: [{ required: true, message: "分类不能为空", trigger: "blur" }],
- contact: [
+ principalId: [
{ required: true, message: "联系人不能为空", trigger: "blur" },
],
contactMobile: [
diff --git a/src/views/modules/communityService/fuwuzhaoren/addForm.vue b/src/views/modules/communityService/fuwuzhaoren/addForm.vue
index 59fabfb9c..65fbdc9ac 100644
--- a/src/views/modules/communityService/fuwuzhaoren/addForm.vue
+++ b/src/views/modules/communityService/fuwuzhaoren/addForm.vue
@@ -6,7 +6,7 @@
+ size="small" class="u-item-width-normal" @change="handelChangeCategoryCode">
@@ -383,6 +383,13 @@ export default {
},
methods: {
+ handelChangeCategoryCode(val){
+ if(val[0] === '1041'){
+ this.serviceOptions.push({label:'公益岗',value:'public_welfare_post'})
+ }else{
+ this.serviceOptions = this.serviceOptions.filter(item=>item.value!='public_welfare_post')
+ }
+ },
handelDisabledRules(v) {
if (!v) {
delete this.dataRule.resiSearchTagId;
diff --git a/src/views/modules/communityService/fuwuzhaoren/personList.vue b/src/views/modules/communityService/fuwuzhaoren/personList.vue
index 74f4e7567..9423daf35 100644
--- a/src/views/modules/communityService/fuwuzhaoren/personList.vue
+++ b/src/views/modules/communityService/fuwuzhaoren/personList.vue
@@ -97,11 +97,12 @@
+ 公众号消息推送
标记享受服务人员
查询
-
+
+ 已推送
+
@@ -293,7 +298,10 @@ export default {
// 重新加载列表
this.handleSearch();
},
-
+// 公众号消息推送
+onMessagePush(){
+ alert("哥哥,点我")
+},
/**
* 组织选择触发事件
* @returns {Promise
}
diff --git a/src/views/modules/communityService/gangweizhaoren/personList.vue b/src/views/modules/communityService/gangweizhaoren/personList.vue
index 74f4e7567..4d043ab65 100644
--- a/src/views/modules/communityService/gangweizhaoren/personList.vue
+++ b/src/views/modules/communityService/gangweizhaoren/personList.vue
@@ -97,6 +97,7 @@
+ 公众号消息推送
标记享受服务人员
查询
@@ -162,6 +163,10 @@
prop="serveTimes"
label="享受服务次数">
+ 已推送
+
@@ -293,7 +298,10 @@ export default {
// 重新加载列表
this.handleSearch();
},
-
+ // 推送公众号
+ onMessagePush() {
+ alert("哥哥,点我")
+ },
/**
* 组织选择触发事件
* @returns {Promise}
diff --git a/src/views/modules/communityService/gxxq/addForm.vue b/src/views/modules/communityService/gxxq/addForm.vue
index 99c1fdca6..c82182bfc 100644
--- a/src/views/modules/communityService/gxxq/addForm.vue
+++ b/src/views/modules/communityService/gxxq/addForm.vue
@@ -339,7 +339,7 @@ export default {
{ max: 1000, message: "不能超出1000个字符", trigger: "blur" },
],
resiSearchTagId: [
- { required: false, message: "指派人员不能为空", trigger: "bulr" },
+ { required: true, message: "指派人员不能为空", trigger: "bulr" },
],
categoryCode: [
{ required: true, message: "需求分类不能为空", trigger: "bulr" },
@@ -365,12 +365,12 @@ export default {
showLabelForm: false,
codeFilters: {
- '1038': ['party_unit', 'community_org'],
- '1039': ['party_unit', 'community_org'],
+ '1038': ['party_unit', 'community_org','public_welfare_post'],
+ '1039': ['party_unit', 'community_org', 'public_welfare_post'],
'1040': ['party_unit', 'community_org'],
- '1041': ['party_unit', 'community_org', 'publicWelfare'],
- '1042': ['party_unit', 'community_org', 'publicWelfare'],
- '1043': ['party_unit', 'community_org', 'publicWelfare'],
+ '1041': ['party_unit', 'community_org', 'public_welfare_post'],
+ '1042': ['party_unit', 'community_org'],
+ '1043': ['party_unit', 'community_org'],
'1044': ['party_unit', 'community_org'],
},
};
@@ -383,13 +383,6 @@ export default {
this.formData.serviceTimeEnd = arrayTemp[0] + " 23:59:59";
}
},
- "formData.assignFlag"(newValue) {
- if (newValue === 1) {
- this.dataRule.resiSearchTagId[0].required = true;
- } else {
- this.dataRule.resiSearchTagId[0].required = false;
- }
- },
},
components: { labelForm },
created() {},
@@ -431,7 +424,7 @@ export default {
this.newFormData.serviceTimeEnd = data.assignInfo.serviceTimeEnd;
this.newFormData.serverOrgType = data.assignInfo.serverOrgType;
this.newFormData.serverOrgId = data.assignInfo.serverOrgId;
- this.newFormData.noticeApproches = data.assignInfo.noticeApproches;
+ this.newFormData.noticeApproches = data.assignInfo.noticeApproches || [];
for (let i in data.assignInfo.serviceScopeList) {
this.newFormData.serviceScopeList.push(
@@ -497,9 +490,7 @@ export default {
handelChangeCategoryCode() {
this.serviceOptions = [...this.originalServiceOptions];
const codeFilters = this.codeFilters;
- console.log(this.serviceOptions);
const checkedCode = this.$refs['myCategoryCode'].getCheckedNodes()[0].parent.value;
- console.log(checkedCode);
if (codeFilters[checkedCode] && Array.isArray(codeFilters[checkedCode])) {
this.serviceOptions = this.serviceOptions.filter(item => codeFilters[checkedCode].includes(item.value));
} else {
diff --git a/src/views/modules/communityService/gxxq/index.vue b/src/views/modules/communityService/gxxq/index.vue
index 69b3f7c5c..1a3020439 100644
--- a/src/views/modules/communityService/gxxq/index.vue
+++ b/src/views/modules/communityService/gxxq/index.vue
@@ -146,13 +146,13 @@
/>
- {{ scope.row.assignFlag == "0" ? "未指派" : "已指派" }}
+ {{ scope.row.assignFlag == "0" ? "未指派" : (scope.row.assignFlag == "1" ? "已指派" : "已完成") }}
查看
-
- 删除
@@ -293,13 +293,17 @@ export default {
},
statusArray: [
{
- value: 1,
- label: "已指派服务",
+ value: 0,
+ label: "未指派",
},
{
- value: 0,
- label: "未指派服务",
+ value: 1,
+ label: "已指派",
},
+ {
+ value: 2,
+ label: "已完成",
+ }
],
endPickerOptions: {
disabledDate: endDisabledDate,
diff --git a/src/views/modules/communityService/jinengzhaoren/personList.vue b/src/views/modules/communityService/jinengzhaoren/personList.vue
index 74f4e7567..8d80cfaf1 100644
--- a/src/views/modules/communityService/jinengzhaoren/personList.vue
+++ b/src/views/modules/communityService/jinengzhaoren/personList.vue
@@ -97,6 +97,7 @@
+ 公众号消息推送
标记享受服务人员
查询
@@ -162,6 +163,10 @@
prop="serveTimes"
label="享受服务次数">
+ 已推送
+
@@ -293,7 +298,10 @@ export default {
// 重新加载列表
this.handleSearch();
},
-
+ //推送公众号
+ onMessagePush() {
+ alert("哥哥,点我")
+ },
/**
* 组织选择触发事件
* @returns {Promise}
diff --git a/src/views/modules/communityService/labelConfig/addForm.vue b/src/views/modules/communityService/labelConfig/addForm.vue
index d298def0c..a5d404be5 100644
--- a/src/views/modules/communityService/labelConfig/addForm.vue
+++ b/src/views/modules/communityService/labelConfig/addForm.vue
@@ -231,10 +231,12 @@
取 消
+ 预览
确 定
+
@@ -675,6 +677,7 @@ export default {
this.formState = false
this.handleClickAddRow();
},
+
},
props: {},
computed: {},
diff --git a/src/views/modules/communityService/measure/index.vue b/src/views/modules/communityService/measure/index.vue
index 033a1a517..8655c0558 100644
--- a/src/views/modules/communityService/measure/index.vue
+++ b/src/views/modules/communityService/measure/index.vue
@@ -213,17 +213,9 @@
>指派
-
+
完成情况评价
@@ -538,7 +530,8 @@
@@ -546,7 +539,7 @@
v-model.trim="finishServiceTime"
class="u-item-width-normal"
clearable
- :disabled="disabled && addType != 'finish'"
+ :disabled="disabled && addType != 'finish' || (addType === 'finishNoEvaluate')"
type="datetimerange"
range-separator="至"
start-placeholder="开始日期"
@@ -574,7 +567,6 @@
-
form.attachments = val" :limit="3"/>
-
-
+
+
+
按标签查找
+
+
+
+
{
this.$refs["ref_label_form"].initForm("info");
diff --git a/src/views/modules/communityService/policy/personList.vue b/src/views/modules/communityService/policy/personList.vue
index 7a0771763..56038d464 100644
--- a/src/views/modules/communityService/policy/personList.vue
+++ b/src/views/modules/communityService/policy/personList.vue
@@ -122,6 +122,13 @@
+ 公众号消息推送
+ 已推送
+
@@ -461,14 +470,12 @@ export default {