diff --git a/src/views/modules/communityService/commonDemand/addForm.vue b/src/views/modules/communityService/commonDemand/addForm.vue
index 764f7712e..2af3cd8f2 100644
--- a/src/views/modules/communityService/commonDemand/addForm.vue
+++ b/src/views/modules/communityService/commonDemand/addForm.vue
@@ -1,1236 +1,1321 @@
-
-
+
+
+
+
+
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 至
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ formData.resiSearchTagName }}
+
+
+
+
+ 按标签查找
+
+
+
+
+
+
+
+
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
- -
-
-
-
-
+ type="textarea"
+ maxlength="1000"
+ show-word-limit
+ :rows="3"
+ placeholder="请输入服务目标,不超过1000字"
+ v-model="feedbackFormData.serviceGoal"
+ >
-
+
-
-
-
- 至
-
-
+ 已完成
+
-
-
-
- 预览
-
-
+ v-model="feedbackFormData.address"
+ >
-
-
+
-
-
-
-
-
-
- -
-
- 点击上传
-
-
-
-
-
-
-
+ 支持图片、word、pdf
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 已完成
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 点击上传
- 支持图片、word、pdf
-
-
-
-
-
-
-
- 取 消
- 确 定
+
-
+ 取 消
+ 确 定
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ // 结束加载动画
+ endLoading() {
+ // clearTimeout(timer);
+ if (loading) {
+ loading.close();
+ }
+ },
+ },
+};
+
+}
+
diff --git a/src/views/modules/communityService/commonDemand/detailForm.vue b/src/views/modules/communityService/commonDemand/detailForm.vue
index d63d60806..033ec19e5 100644
--- a/src/views/modules/communityService/commonDemand/detailForm.vue
+++ b/src/views/modules/communityService/commonDemand/detailForm.vue
@@ -21,14 +21,14 @@
政策依据:
{{ formData.policyTitle || "--" }}
- 预览
+ > -->
经办人:
@@ -44,6 +44,11 @@
>至
{{ formData.serviceTimeEnd || "--" }}
+
+ 享受服务人员:
+ {{ resiSearchTagName }}
+
+
备注:
{{ formData.remark || "--" }}
@@ -148,7 +153,7 @@
keyWords: "",
formData: {},
-
+ resiSearchTagName:"",
feedbackFormData: {
serviceProjectId: "", // 服务项目id
serviceName: "",
@@ -251,7 +256,7 @@
this.formData.gridIdListName = "";
this.feedbackFormData.serviceStatusShow = "";
this.feedbackFormData.satisfactionShow = "";
-
+ await this.getTagName()
let arr = [];
this.formData.gridIdList.forEach((element) => {
arr.push(element.objectName);
@@ -293,7 +298,26 @@
this.$message.error(msg);
}
},
-
+ async getTagName() {
+ const url = "/governance/resiSearchTag/listResiSearchTags";
+ let params = {
+ pageSize: 99,
+ };
+ let { data, msg, code } = await requestPost(url, params);
+ if (code == 0) {
+ let showAddProduct = data.list.filter(item=>{
+ return [this.formData.resiSearchTagId].includes(item.tagId)
+ })
+ if(this.formData.resiSearchTagId){
+ this.resiSearchTagName = showAddProduct[0].tagName
+ }else{
+ this.resiSearchTagName = '--'
+ }
+
+ } else {
+ this.$message.error(msg);
+ }
+ },
handleCancle() {
this.resetData();
this.$emit("diaDetailClose");
@@ -348,6 +372,15 @@
],
};
},
+ // resiSearchTagNameText(){
+ // let text = ""
+ // if(this.resiSearchTagName){
+ // text = this.resiSearchTagName
+ // }else {
+ // text = '--'
+ // }
+ // return text
+ // },
},
props: {
serviceRecordId: {
diff --git a/src/views/modules/communityService/commonDemand/editForm.vue b/src/views/modules/communityService/commonDemand/editForm.vue
index 1f262bac8..ad9432599 100644
--- a/src/views/modules/communityService/commonDemand/editForm.vue
+++ b/src/views/modules/communityService/commonDemand/editForm.vue
@@ -79,11 +79,11 @@
:value="item.policyId">
-
+
-
+
+
+
+
+
+
+
+
+ {{this.resiSearchTagName }}
+
+
+
+
+ 按标签查找
+
+
+ prop="serviceTimeStart"
+ style="display: block">
- 至
+ 至
+
+
+
+
+
@@ -322,7 +367,8 @@
import { Loading } from 'element-ui' // 引入Loading服务
import { requestPost } from '@/js/dai/request'
import personList from "../policy/personList";
-
+ import labelForm from "../labelConfig/addForm.vue";
+import { nextTick } from 'vue';
var map
var search
@@ -349,13 +395,14 @@
}
return {
-
-
btnDisable: false,
keyWords: '',
- formData: {},
-
+ assignSwitch: true,
+ formData: {
+ },
+ showLabelForm: false,
+ resiSearchTagName:'',
feedbackFormData: {
serviceProjectId: '',// 服务项目id
serviceName: '',
@@ -387,7 +434,7 @@
ruleList: []
}
},
- components: { personList },
+ components: { personList ,labelForm},
mounted () {
this.getPolicyList()
if (this.serviceRecordId) {//详情
@@ -440,7 +487,12 @@
},
-
+ handleClickLabel() {
+ this.showLabelForm = true;
+ this.$nextTick(() => {
+ this.$refs["ref_label_form"].initForm("info");
+ });
+ },
async getPolicyList () {
const url = '/governance/policy/policyListSelect'
@@ -468,7 +520,7 @@
this.formData = { ...data }
this.formData.serviceRecordId = this.serviceRecordId
this.feedbackFormData = { ...data.feedback }
-
+ await this.getTagName()
this.fileList = []
if (data.feedback && data.feedback.fileList && data.feedback.fileList.length > 0) {
data.feedback.fileList.forEach(element => {
@@ -486,7 +538,23 @@
this.$message.error(msg)
}
},
-
+ async getTagName() {
+ const url = "/governance/resiSearchTag/listResiSearchTags";
+ let params = {
+ pageSize: 99,
+ };
+ let { data, msg, code } = await requestPost(url, params);
+ if (code == 0) {
+ let showAddProduct = data.list.filter(item=>{
+ return [this.formData.resiSearchTagId].includes(item.tagId)
+ })
+ this.resiSearchTagName = showAddProduct[0].tagName
+ this.assignSwitch = true
+ } else {
+ this.$message.error(msg);
+ }
+ },
+
async handleComfirm () {
this.btnDisable = true
@@ -515,7 +583,7 @@
})
return false;
}
-
+ console.log(this.formData);
let url = '/governance/icServiceRecordV2/edit'
// let url = "http://yapi.elinkservice.cn/mock/245/governance/icServiceProject/service/update"
@@ -542,7 +610,18 @@
this.$emit('handleClose')
},
-
+ addFormOk(val) {
+ this.showLabelForm = false;
+ this.formData.resiSearchTagId = val.tagId;
+ this.resiSearchTagName = val.tagName;
+ },
+ addFormCancle() {
+ this.showLabelForm = false;
+ },
+ handleCloseTag(){
+ this.resiSearchTagName = ''
+ this.formData.resiSearchTagId = ''
+ },
//下载
handleFileDownload (file) {
diff --git a/src/views/modules/communityService/commonDemand/index.vue b/src/views/modules/communityService/commonDemand/index.vue
index 4e7e36e48..e1e593f2f 100644
--- a/src/views/modules/communityService/commonDemand/index.vue
+++ b/src/views/modules/communityService/commonDemand/index.vue
@@ -229,16 +229,17 @@
type="text"
size="small"
>编辑
-
+
+
-
-
-
+
+
+
+
+
+
+
+
+
+ * 匹配数据
+
+
+
+
+
-
-
-
-
-
-
* 匹配数据
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
-
-
-
-
-
- 取 消
- 确 定
-
+
+
+
+
+ 取 消
+ 确 定
+
\ No newline at end of file
diff --git a/src/views/modules/communityService/policy/personListItem.vue b/src/views/modules/communityService/policy/personListItem.vue
index fb1d5d308..8f27dbadf 100644
--- a/src/views/modules/communityService/policy/personListItem.vue
+++ b/src/views/modules/communityService/policy/personListItem.vue
@@ -286,7 +286,7 @@ export default {
async loadTable () {
this.tableLoading = true
- const url = "/data/aggregator/icuser/listByPolicyRules"
+ const url = "actual/base/residentBaseInfo/listByTag"
// const url = "http://yapi.elinkservice.cn/mock/245/epmetuser/icEpidemicSpecialAttention/list"
let params = {
pageSize: this.pageSize,