diff --git a/src/views/modules/workRecord/helplog-detail.vue b/src/views/modules/workRecord/helplog-detail.vue
index 6f9d5ebc..89a85b38 100644
--- a/src/views/modules/workRecord/helplog-detail.vue
+++ b/src/views/modules/workRecord/helplog-detail.vue
@@ -63,13 +63,13 @@ export default {
handleNum: '',
logDescribe: '',
helpTime: '',
- imgs: []
+ imgs: []
},
- helpModeArr: [],
- uploadUrl: '',
- hideUpload: true,
- dialogVisible: false,
- dialogImageUrl: '',
+ helpModeArr: [],
+ uploadUrl: '',
+ hideUpload: true,
+ dialogVisible: false,
+ dialogImageUrl: ''
}
},
computed: {
@@ -96,9 +96,9 @@ export default {
}
}
},
- created () {
- this.getParamListInfo('help_type')
- },
+ created () {
+ this.getParamListInfo('help_type')
+ },
methods: {
init () {
this.visible = true
@@ -109,21 +109,21 @@ export default {
}
})
},
- // 帮扶方式
- getParamListInfo (dictType) {
- this.$http.get(`/sys/dict/listSimple/` + dictType).then(({ data: res }) => {
- if (res.code !== 0) {
- return this.$message.error(res.msg)
- }
- if (dictType === 'help_type') {
- this.helpModeArr = res.data
- }
- }).catch(() => {})
- },
- handlePictureCardPreview (file) {
- this.dialogImageUrl = file.url
- this.dialogVisible = true
- },
+ // 帮扶方式
+ getParamListInfo (dictType) {
+ this.$http.get(`/sys/dict/listSimple/` + dictType).then(({ data: res }) => {
+ if (res.code !== 0) {
+ return this.$message.error(res.msg)
+ }
+ if (dictType === 'help_type') {
+ this.helpModeArr = res.data
+ }
+ }).catch(() => {})
+ },
+ handlePictureCardPreview (file) {
+ this.dialogImageUrl = file.url
+ this.dialogVisible = true
+ },
// 获取信息
getInfo () {
this.$http.get(`/workRecord/helplog/${this.dataForm.id}`).then(({ data: res }) => {
diff --git a/src/views/modules/workRecord/helplog.vue b/src/views/modules/workRecord/helplog.vue
index fa298091..c916ec98 100644
--- a/src/views/modules/workRecord/helplog.vue
+++ b/src/views/modules/workRecord/helplog.vue
@@ -88,44 +88,44 @@ export default {
dataForm: {
id: '',
helpFamilyName: '',
- startTime: '',
- endTime: ''
+ startTime: '',
+ endTime: ''
},
- pickerBeginDateBefore: {
- disabledDate: (time) => {
- let beginDateVal = this.dataForm.endTime
- if (beginDateVal) {
- return time.getTime() > new Date(beginDateVal + ' 00:00:00').getTime()
- }
- }
- },
- pickerBeginDateAfter: {
- disabledDate: (time) => {
- let EndDateVal = this.dataForm.startTime
- if (EndDateVal) {
- return time.getTime() < new Date(EndDateVal + ' 00:00:00').getTime()
- }
- }
- },
- detailVisible: false
+ pickerBeginDateBefore: {
+ disabledDate: (time) => {
+ let beginDateVal = this.dataForm.endTime
+ if (beginDateVal) {
+ return time.getTime() > new Date(beginDateVal + ' 00:00:00').getTime()
+ }
+ }
+ },
+ pickerBeginDateAfter: {
+ disabledDate: (time) => {
+ let EndDateVal = this.dataForm.startTime
+ if (EndDateVal) {
+ return time.getTime() < new Date(EndDateVal + ' 00:00:00').getTime()
+ }
+ }
+ },
+ detailVisible: false
}
},
components: {
AddOrUpdate,
- HelplogDetail
+ HelplogDetail
},
methods: {
btKeyUpName (e) {
e.target.value = e.target.value.replace(/[`~!@#$%^&*()_+=<>?:"{}|·~!@#¥%……&*()——+={}|《》?:“”【】、;‘’,。、]/g, '')
this.dataForm.helpFamilyName = e.target.value
},
- detailHandle (id) {
- this.detailVisible = true
- this.$nextTick(() => {
- this.$refs.helplogDetail.dataForm.id = id
- this.$refs.helplogDetail.init()
- })
- },
+ detailHandle (id) {
+ this.detailVisible = true
+ this.$nextTick(() => {
+ this.$refs.helplogDetail.dataForm.id = id
+ this.$refs.helplogDetail.init()
+ })
+ }
}
}
diff --git a/src/views/modules/workRecord/question-deal-detail-view.vue b/src/views/modules/workRecord/question-deal-detail-view.vue
index 685dd6f0..e3fe84a6 100644
--- a/src/views/modules/workRecord/question-deal-detail-view.vue
+++ b/src/views/modules/workRecord/question-deal-detail-view.vue
@@ -515,11 +515,11 @@ export default {
},
deleteComment (val) {
this.$confirm('确定要屏蔽该评论吗?屏蔽后不可恢复。', '提示', {
- confirmButtonText: '确定',
- cancelButtonText: '取消',
- type: 'warning'
+ confirmButtonText: '确定',
+ cancelButtonText: '取消',
+ type: 'warning'
}).then(() => {
- this.$http['post']('/events/item/deleteComment', { commentIds: [val] }).then(({ data: res }) => {
+ this.$http['post']('/events/item/deleteComment', { commentIds: [val] }).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
}
diff --git a/src/views/modules/workRecord/question-deal-handle.vue b/src/views/modules/workRecord/question-deal-handle.vue
index affba143..0739bc9c 100644
--- a/src/views/modules/workRecord/question-deal-handle.vue
+++ b/src/views/modules/workRecord/question-deal-handle.vue
@@ -49,8 +49,8 @@ export default {
itemId: '',
state: '',
reason: '',
- delayStartTime:'',
- delayEndTime:''
+ delayStartTime: '',
+ delayEndTime: ''
},
time: [],
isAble: false,
@@ -69,7 +69,7 @@ export default {
return time.getTime() < new Date(EndDateVal + ' 00:00:00').getTime()
}
}
- },
+ }
}
},
computed: {
diff --git a/src/views/modules/workRecord/questioncollectioninfo.vue b/src/views/modules/workRecord/questioncollectioninfo.vue
index 114760c1..c1cf167b 100644
--- a/src/views/modules/workRecord/questioncollectioninfo.vue
+++ b/src/views/modules/workRecord/questioncollectioninfo.vue
@@ -14,6 +14,9 @@
+
+
+
{{ $t('query') }}
@@ -30,7 +33,6 @@
{{scope.$index+1}}
-
@@ -83,55 +85,60 @@ export default {
},
dataForm: {
id: '',
- familyId: '',
- questionType: ''
+ familyId: '',
+ questionType: '',
+ questionDescribe: ''
},
- handleVisible: false,
- questionTypeArr: [],
- familyIdArr: []
+ handleVisible: false,
+ questionTypeArr: [],
+ familyIdArr: []
}
},
components: {
AddOrUpdate,
- QuestionDealHandle
+ QuestionDealHandle
+ },
+ created: function () {
+ this.getParamListInfo('difficult_type')
+ this.getFamilyArrInfo()
+ this.getDataList()
},
- created: function () {
- this.getParamListInfo('difficult_type')
- this.getFamilyArrInfo()
- this.getDataList()
+ methods: {
+ btKeyUpQuestionDescribe (e) {
+ e.target.value = e.target.value.replace(/[`~!@#$%^&*()_+=<>?:"{}|·~!@#¥%……&*()——+={}|《》?:“”【】、;‘’,。、]/g, '')
+ this.dataForm.questionDescribe = e.target.value
+ },
+ dealAction (id) {
+ this.$parent.selectComponent = 'QuestionDealDetailView'
+ this.$router.push({ path: '/workRecord-question-deal-route', query: { id: id } })
+ },
+ openHandle (id) {
+ this.handleVisible = true
+ this.$nextTick(() => {
+ this.$refs.questionDealHandle.dataForm.id = id
+ this.$refs.questionDealHandle.init()
+ })
+ },
+ // 获取参数名称code下拉信息
+ getParamListInfo (dictType) {
+ this.$http.get(`/sys/dict/listSimple/` + dictType).then(({ data: res }) => {
+ if (res.code !== 0) {
+ return this.$message.error(res.msg)
+ }
+ if (dictType === 'difficult_type') {
+ this.questionTypeArr = res.data
+ }
+ }).catch(() => {})
},
- methods: {
- dealAction(id) {
- this.$parent.selectComponent = 'QuestionDealDetailView'
- this.$router.push({path: '/workRecord-question-deal-route', query: {id: id}})
- },
- openHandle (id) {
- this.handleVisible = true
- this.$nextTick(() => {
- this.$refs.questionDealHandle.dataForm.id = id
- this.$refs.questionDealHandle.init()
- })
- },
- // 获取参数名称code下拉信息
- getParamListInfo (dictType) {
- this.$http.get(`/sys/dict/listSimple/` + dictType).then(({ data: res }) => {
- if (res.code !== 0) {
- return this.$message.error(res.msg)
- }
- if (dictType === 'difficult_type') {
- this.questionTypeArr = res.data
- }
- }).catch(() => {})
- },
- // 获取家庭信息下拉信息
- getFamilyArrInfo () {
- this.$http.get(`/workRecord/familyinfoacquisition/getFamilyArrInfo`).then(({ data: res }) => {
- if (res.code !== 0) {
- return this.$message.error(res.msg)
- }
- this.familyIdArr = res.data
- }).catch(() => {})
- },
+ // 获取家庭信息下拉信息
+ getFamilyArrInfo () {
+ this.$http.get(`/workRecord/familyinfoacquisition/getFamilyArrInfo`).then(({ data: res }) => {
+ if (res.code !== 0) {
+ return this.$message.error(res.msg)
+ }
+ this.familyIdArr = res.data
+ }).catch(() => {})
}
+ }
}