Browse Source

帮扶日志、问题录入后台管理

master
wanggongfeng 4 years ago
parent
commit
692b60a35d
  1. 2
      src/views/modules/workRecord/helplog-detail.vue
  2. 2
      src/views/modules/workRecord/helplog.vue
  3. 2
      src/views/modules/workRecord/question-deal-handle.vue
  4. 13
      src/views/modules/workRecord/questioncollectioninfo.vue

2
src/views/modules/workRecord/helplog-detail.vue

@ -69,7 +69,7 @@ export default {
uploadUrl: '',
hideUpload: true,
dialogVisible: false,
dialogImageUrl: '',
dialogImageUrl: ''
}
},
computed: {

2
src/views/modules/workRecord/helplog.vue

@ -125,7 +125,7 @@ export default {
this.$refs.helplogDetail.dataForm.id = id
this.$refs.helplogDetail.init()
})
},
}
}
}
</script>

2
src/views/modules/workRecord/question-deal-handle.vue

@ -69,7 +69,7 @@ export default {
return time.getTime() < new Date(EndDateVal + ' 00:00:00').getTime()
}
}
},
}
}
},
computed: {

13
src/views/modules/workRecord/questioncollectioninfo.vue

@ -14,6 +14,9 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item label="问题描述" prop="questionDescribe">
<el-input v-model="dataForm.questionDescribe" placeholder="问题描述" clearable maxlength="50" @keyup.native="btKeyUpQuestionDescribe" style="width:200px"></el-input>
</el-form-item>
<el-form-item>
<el-button @click="getDataList()">{{ $t('query') }}</el-button>
</el-form-item>
@ -30,7 +33,6 @@
{{scope.$index+1}}
</template>
</el-table-column>
<el-table-column prop="itemId" label="项目关系ID" header-align="center" align="center"></el-table-column>
<el-table-column prop="helpFamliyName" label="帮扶家庭" header-align="center" align="center"></el-table-column>
<el-table-column prop="questionTypeName" label="问题类型" header-align="center" align="center"></el-table-column>
<el-table-column prop="questionDescribe" label="问题描述" header-align="center" align="center"></el-table-column>
@ -84,7 +86,8 @@ export default {
dataForm: {
id: '',
familyId: '',
questionType: ''
questionType: '',
questionDescribe: ''
},
handleVisible: false,
questionTypeArr: [],
@ -101,6 +104,10 @@ export default {
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 } })
@ -131,7 +138,7 @@ export default {
}
this.familyIdArr = res.data
}).catch(() => {})
},
}
}
}
</script>

Loading…
Cancel
Save