对接法规意见收集
This commit is contained in:
+7
-2
@@ -107,6 +107,7 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<JLoading :loading="JLoading">{{this.$t('pleaseWaitWhileRunning')}}</JLoading>
|
||||||
<uploadFile ref="uploadFile" @uploadSuccess="uploadSuccess"/>
|
<uploadFile ref="uploadFile" @uploadSuccess="uploadSuccess"/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -140,6 +141,7 @@
|
|||||||
addModelList: '/dummy/dummyInventoryInfoEO/queryPageDummy'
|
addModelList: '/dummy/dummyInventoryInfoEO/queryPageDummy'
|
||||||
},
|
},
|
||||||
loading: false,
|
loading: false,
|
||||||
|
JLoading:false,
|
||||||
dataSource: [],
|
dataSource: [],
|
||||||
selectedRowKeys: [],
|
selectedRowKeys: [],
|
||||||
total: 0,
|
total: 0,
|
||||||
@@ -308,6 +310,7 @@
|
|||||||
if (this.selectedRowKeysRecord && this.selectedRowKeysRecord.length == 0) {
|
if (this.selectedRowKeysRecord && this.selectedRowKeysRecord.length == 0) {
|
||||||
this.$message.warning(this.$t('pleaseSelectStandard'))
|
this.$message.warning(this.$t('pleaseSelectStandard'))
|
||||||
} else {
|
} else {
|
||||||
|
this.JLoading = true
|
||||||
let value = Object.assign(this.formInline, this.selectedRowKeysRecord[0])
|
let value = Object.assign(this.formInline, this.selectedRowKeysRecord[0])
|
||||||
value.standId = value.id
|
value.standId = value.id
|
||||||
delete value.id
|
delete value.id
|
||||||
@@ -332,6 +335,8 @@
|
|||||||
postAction('/workFlow/startProcess', query).then((res) => {
|
postAction('/workFlow/startProcess', query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.completeTask(value, res.result)
|
this.completeTask(value, res.result)
|
||||||
|
}else{
|
||||||
|
this.JLoading = false
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -349,12 +354,12 @@
|
|||||||
// window.close()
|
// window.close()
|
||||||
// }, 1000)
|
// }, 1000)
|
||||||
this.$message.success(this.$t('OperationSuccessful'))
|
this.$message.success(this.$t('OperationSuccessful'))
|
||||||
this.loading = false
|
this.JLoading = false
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/collectionOfRegulatoryOpinions'
|
path: '/collectionOfRegulatoryOpinions'
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.loading = false
|
this.JLoading = false
|
||||||
this.$message.warning(this.$t('operationFailed'))
|
this.$message.warning(this.$t('operationFailed'))
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -136,7 +136,7 @@
|
|||||||
align: 'center',
|
align: 'center',
|
||||||
width: 170,
|
width: 170,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
dataIndex: 'technologyTerritory'
|
dataIndex: 'technologyTerritoryShow'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('collectResults'),
|
title: this.$t('collectResults'),
|
||||||
|
|||||||
@@ -100,7 +100,13 @@
|
|||||||
title: {
|
title: {
|
||||||
type: String,
|
type: String,
|
||||||
default: ''
|
default: ''
|
||||||
}
|
},
|
||||||
|
feedbackDataList:{
|
||||||
|
type: Array,
|
||||||
|
default: (()=>{
|
||||||
|
return []
|
||||||
|
})
|
||||||
|
},
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@@ -108,16 +114,24 @@
|
|||||||
disabled:false,
|
disabled:false,
|
||||||
rules: {},
|
rules: {},
|
||||||
uploadIndex:'',
|
uploadIndex:'',
|
||||||
dataList: [
|
dataList: []
|
||||||
{
|
|
||||||
relatedSection: '',
|
|
||||||
issueOrSuggest: '',
|
|
||||||
reason: '',
|
|
||||||
accessoryFile: ''
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
mounted() {
|
||||||
|
if (this.feedbackDataList && this.feedbackDataList.length > 0){
|
||||||
|
this.dataList = this.feedbackDataList
|
||||||
|
this.dataList = [...this.dataList]
|
||||||
|
}else{
|
||||||
|
this.dataList = [
|
||||||
|
{
|
||||||
|
relatedSection: '',
|
||||||
|
issueOrSuggest: '',
|
||||||
|
reason: '',
|
||||||
|
accessoryFile: ''
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
clickButtonToUpload(item,index) {
|
clickButtonToUpload(item,index) {
|
||||||
this.$refs.uploadFile.perentHandleFunc()
|
this.$refs.uploadFile.perentHandleFunc()
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
<feedbackInformation
|
<feedbackInformation
|
||||||
v-if="isDisplay"
|
v-if="isDisplay"
|
||||||
ref="feedbackInformationRef"
|
ref="feedbackInformationRef"
|
||||||
|
:feedbackDataList="feedbackDataList"
|
||||||
:title="$t('feedbackInformation')"
|
:title="$t('feedbackInformation')"
|
||||||
/>
|
/>
|
||||||
<footerProcess
|
<footerProcess
|
||||||
@@ -27,6 +28,7 @@
|
|||||||
<circulationHistory v-if="isDisplay"/>
|
<circulationHistory v-if="isDisplay"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<JLoading :loading="loading">{{this.$t('pleaseWaitWhileRunning')}}</JLoading>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -55,12 +57,13 @@
|
|||||||
queryTaskDetailByTaskIds: '/task/queryTaskDetailByTaskIds',
|
queryTaskDetailByTaskIds: '/task/queryTaskDetailByTaskIds',
|
||||||
list: '/lawsOpinionGather/lawsOpinionAssessmentResultEO/list'
|
list: '/lawsOpinionGather/lawsOpinionAssessmentResultEO/list'
|
||||||
},
|
},
|
||||||
|
loading: false,
|
||||||
isDisplay: true,
|
isDisplay: true,
|
||||||
queryProject: {},
|
queryProject: {},
|
||||||
standardContentList: [
|
standardContentList: [
|
||||||
{
|
{
|
||||||
title: this.$t('standard'),
|
title: this.$t('standard'),
|
||||||
value: 'serialNumber'
|
value: 'serial_number'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('title'),
|
title: this.$t('title'),
|
||||||
@@ -92,6 +95,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
this.isDisplay = false
|
||||||
this.queryTaskDetailByTask(() => {
|
this.queryTaskDetailByTask(() => {
|
||||||
this.lawsOpinionAssessmentResult()
|
this.lawsOpinionAssessmentResult()
|
||||||
})
|
})
|
||||||
@@ -115,14 +119,26 @@
|
|||||||
actiProcInstId: this.$route.query.prcId
|
actiProcInstId: this.$route.query.prcId
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
|
this.feedbackDataList = res.result || []
|
||||||
this.loading = false
|
this.loading = false
|
||||||
} else {
|
} else {
|
||||||
|
this.feedbackDataList = []
|
||||||
this.loading = false
|
this.loading = false
|
||||||
}
|
}
|
||||||
|
this.isDisplay = true
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
preservation() {
|
preservation() {
|
||||||
|
|
||||||
|
},
|
||||||
|
insertBatch(list) {
|
||||||
|
postAction('/lawsOpinionGather/lawsOpinionAssessmentResultEO/insertBatch', list).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
|
|
||||||
|
}else{
|
||||||
|
|
||||||
|
}
|
||||||
|
})
|
||||||
},
|
},
|
||||||
submit() {
|
submit() {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user