|
@@ -63,7 +63,7 @@
|
|
|
<el-radio
|
|
|
:label="item"
|
|
|
name="type"
|
|
|
- v-for="item,index in institutionArray"
|
|
|
+ v-for="(item,index) in institutionArray"
|
|
|
:key="index"
|
|
|
>{{item.evaluationAgencyName}}
|
|
|
</el-radio>
|
|
@@ -300,8 +300,7 @@ export default {
|
|
|
showBD: true,
|
|
|
rolesPermissions: {},
|
|
|
loading: false,
|
|
|
- isModifyMode: false,
|
|
|
- institutionArray: [],
|
|
|
+ isModifyMode: false, institutionArray: [],
|
|
|
tabPosition: 'top',
|
|
|
resourceType: ResourceType,
|
|
|
serviceType: [],
|
|
@@ -427,24 +426,6 @@ export default {
|
|
|
serviceType(val) {
|
|
|
this.serviceType = val
|
|
|
},
|
|
|
- // 'task.institution' () {
|
|
|
- // if (this.task.institution) {
|
|
|
- // //this.$refs.addFormProvince.resetProviceCity()
|
|
|
- // this.task.location = {provinceCode: '', cityCode: ''}
|
|
|
- // }
|
|
|
- // },
|
|
|
- // 'task.location' () {
|
|
|
- // if (this.task.location.provinceCode || this.task.location.cityCode) {
|
|
|
- // this.task.institution = ''
|
|
|
- // }
|
|
|
- // },
|
|
|
- // 'task.resource' () {
|
|
|
- // if (this.task.resource == '广场') {
|
|
|
- // this.$refs.addFormProvince.resetProviceCity()
|
|
|
- // this.task.institution = ''
|
|
|
- // this.task.location = {provinceCode: '', cityCode: ''}
|
|
|
- // }
|
|
|
- // },
|
|
|
deep: true
|
|
|
},
|
|
|
mounted() {
|
|
@@ -701,7 +682,7 @@ export default {
|
|
|
this.task.title = res.crowdTaskVO.title
|
|
|
this.task.description = res.crowdTaskVO.description
|
|
|
this.task.serviceType = res.crowdTaskVO.serviceType
|
|
|
- this.task.resource = res.crowdTaskVO.resource
|
|
|
+ this.task.resource = res.crowdTaskVO.resource.toString()
|
|
|
this.task.location = res.crowdTaskVO.location == null ? {
|
|
|
provinceCode: 3200,
|
|
|
cityCode: 3201
|
|
@@ -722,7 +703,8 @@ export default {
|
|
|
this.crowdReportUrl = res.crowdTaskVO.writeReportUrl;
|
|
|
this.acceptedUserList = res.acceptedUserList
|
|
|
this.handleTestTypeChange(res.crowdTaskVO.serviceType);
|
|
|
- this.serviceName = this.getServiceByCode(res.crowdTaskVO.serviceType);
|
|
|
+ this.serviceName = this.getServiceByCode(res.crowdTaskVO.serviceType)
|
|
|
+ this.getWordCloud()
|
|
|
this.hideLoading()
|
|
|
notify('success', '修改成功')
|
|
|
},
|