diff --git a/src/api/standardRegulationLibraryApi.js b/src/api/standardRegulationLibraryApi.js
index 790ca852..bfb8103d 100644
--- a/src/api/standardRegulationLibraryApi.js
+++ b/src/api/standardRegulationLibraryApi.js
@@ -36,6 +36,8 @@ const getDomesticStandardNoSystem = (params) => getAction('/laws/standard/common
const getDomesticStandardDetail = (params) => getAction('/laws/standard/domestic/getByIdAndModule', params)
// 国内标准-获取更新记录
const getDomesticStandardUpdateRecord = (params) => getAction('/laws/standard/domestic/getUpdateRecordList', params)
+// 国内标准-提交问题
+const submitDomesticQuestion = (params) => postAction('/laws/library/lawsProblemLibrary/addProblem/GB', params)
// 海外标准-获取查询条件
const getOverseasStandardSearchForm = (params) => getAction('/laws/standard/overseas/getQueryCondition', params)
@@ -67,6 +69,8 @@ const removeOverseasStandard = (params) => getAction('/laws/standard/overseas/re
const addOverseasStandard = (params) => postAction('/laws/standard/overseas/commonAdd', params)
// 海外标准-编辑标准
const editOverseasStandard = (params) => postAction('/laws/standard/overseas/commonEdit', params)
+// 海外标准-提出问题
+const submitOverseasQuestion = (params) => postAction('/laws/library/lawsProblemLibrary/addProblem/FB', params)
// 动态消息-保存
const saveDynamicMessage = (params) => postAction('/laws/standard/lawsNewsFeed/save', params)
@@ -110,6 +114,7 @@ export {
getDomesticStandardNoSystem,
getDomesticStandardDetail,
getDomesticStandardUpdateRecord,
+ submitDomesticQuestion,
// 海外标准
getOverseasStandardSearchForm,
@@ -127,6 +132,7 @@ export {
removeOverseasStandard,
addOverseasStandard,
editOverseasStandard,
+ submitOverseasQuestion,
// 动态消息
saveDynamicMessage,
diff --git a/src/views/standardRegulationLibrary/commonPage/StandardDetailPage.vue b/src/views/standardRegulationLibrary/commonPage/StandardDetailPage.vue
index 715591a5..aeee00f6 100644
--- a/src/views/standardRegulationLibrary/commonPage/StandardDetailPage.vue
+++ b/src/views/standardRegulationLibrary/commonPage/StandardDetailPage.vue
@@ -315,7 +315,7 @@ export default {
* 提交问题
*/
submitQuestion () {
- this.$refs.submitQuestionModal.open()
+ this.$refs.submitQuestionModal.open(this.detailData.standard_number, this.type)
},
/**
* 分享
diff --git a/src/views/standardRegulationLibrary/commonPage/modules/SubmitQuestionModal.vue b/src/views/standardRegulationLibrary/commonPage/modules/SubmitQuestionModal.vue
index 78dc4b9b..fc975e0a 100644
--- a/src/views/standardRegulationLibrary/commonPage/modules/SubmitQuestionModal.vue
+++ b/src/views/standardRegulationLibrary/commonPage/modules/SubmitQuestionModal.vue
@@ -23,7 +23,7 @@
- {{ item }}
+ {{ item.projectName }}
@@ -38,10 +38,13 @@
-
-
-
+
+
+
@@ -54,7 +57,7 @@
@change="event => event.target.value = event.target.value.trim()"
:maxLength="500"
v-decorator="['problemDescription', validatorRules.problemDescription]" />
-
+
@@ -63,11 +66,12 @@