布局设定

2.修改相关人员名单列表不对齐
3.对接认证任务计划接口
This commit is contained in:
qq787203167
2022-04-21 15:38:46 +08:00
parent 8b5ddc68db
commit ea1c268801
6 changed files with 85 additions and 41 deletions
@@ -84,7 +84,7 @@
{{$t('regulatoryCertificationTaskPlan')}}
</div>
<div class="header-tight">
<a-button class="box-button" style="line-height: 32px">{{$t('setting')}}</a-button>
<a-button class="box-button" style="line-height: 32px" @click="settingClick">{{$t('setting')}}</a-button>
</div>
</div>
<div class="process-content">
@@ -171,6 +171,7 @@
</a-tabs>
<listOfRelevantPersonnel ref="listOfRelevantPersonnelRef"/>
<addModel :url="url" ref="addModelRef" @addModelList="addModelList"/>
<settingList :url="url" ref="settingListRef"/>
</div>
</template>
@@ -179,12 +180,14 @@
import listOfRelevantPersonnel from './listOfRelevantPersonnel'
import { getAction, postAction, downloadFile, putAction } from '@/api/manage'
import addModel from './addModel'
import settingList from './settingList'
export default {
name: 'ProjectDetails',
components: {
listOfRelevantPersonnel,
addModel
addModel,
settingList
},
data() {
return {
@@ -192,12 +195,14 @@
url: {
queryById: 'project/projectLibraryBase/queryById',
add: 'project/projectLibraryBase/add',
edit: 'project/projectLibraryBase/edit'
edit: 'project/projectLibraryBase/edit',
queryByprojectId:'project/projectTaskPlanning/queryByprojectId',
}
}
},
mounted() {
this.getForm()
this.getSetting()
this.mainEcharts()
},
methods: {
@@ -210,6 +215,15 @@
}
})
},
getSetting(){
getAction(this.url.queryByprojectId, { id: this.$route.query.id }).then((res) => {
if (res.success) {
console.log(res)
} else {
}
})
},
mainEcharts() {
var myChart = echarts.init(document.getElementById('main'))
myChart.setOption({
@@ -243,7 +257,10 @@
},
addModelList() {
this.getForm()
}
},
settingClick(){
this.$refs.settingListRef.edit()
},
}
}
</script>