|
|
@ -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,9 +104,13 @@ export default { |
|
|
|
this.getDataList() |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
dealAction(id) { |
|
|
|
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}}) |
|
|
|
this.$router.push({ path: '/workRecord-question-deal-route', query: { id: id } }) |
|
|
|
}, |
|
|
|
openHandle (id) { |
|
|
|
this.handleVisible = true |
|
|
@ -131,7 +138,7 @@ export default { |
|
|
|
} |
|
|
|
this.familyIdArr = res.data |
|
|
|
}).catch(() => {}) |
|
|
|
}, |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
|