对接法规/认证任务计划、设定
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
data() {
|
||||
return {
|
||||
tokenHeader: {'X-Access-Token': Vue.ls.get(ACCESS_TOKEN)},
|
||||
importUrl: window._CONFIG['domianURL'] + this.url.importZipUrl,
|
||||
importUrl: window._CONFIG['domianURL'] +'/'+ this.url.importZipUrl,
|
||||
cut: '',
|
||||
}
|
||||
},
|
||||
|
||||
@@ -100,7 +100,7 @@
|
||||
</div>
|
||||
<div class="process-content-right-xian"></div>
|
||||
</div>
|
||||
<a-tabs default-active-key="1" class="ant-tabs">
|
||||
<a-tabs style="margin-top: 20px" default-active-key="1" class="ant-tabs">
|
||||
<a-tab-pane key="1" :tab="$t('DeliverableStatus')">
|
||||
<div class="box-content">
|
||||
<div class="box-content-left">
|
||||
@@ -149,8 +149,9 @@
|
||||
add: 'project/projectLibraryBase/add',
|
||||
edit: 'project/projectLibraryBase/edit',
|
||||
queryByProjectId: 'project/projectTaskPlanning/queryByProjectId',
|
||||
addSettingUrl:'project/projectTaskPlanning/add',
|
||||
editSettingUrl:'project/projectTaskPlanning/edit',
|
||||
addSettingUrl: 'project/projectTaskPlanning/add',
|
||||
editSettingUrl: 'project/projectTaskPlanning/edit',
|
||||
settingQueryForm: '/project/projectTaskPlanning/list'
|
||||
},
|
||||
regulatoryCertificationTaskPlanList: []
|
||||
}
|
||||
@@ -179,8 +180,8 @@
|
||||
}
|
||||
})
|
||||
},
|
||||
settingListForm(){
|
||||
this.getSetting()
|
||||
settingListForm() {
|
||||
this.getSetting()
|
||||
},
|
||||
mainEcharts() {
|
||||
var myChart = echarts.init(document.getElementById('main'))
|
||||
@@ -273,7 +274,6 @@
|
||||
|
||||
.process-content {
|
||||
margin-top: 4px;
|
||||
height: 60px;
|
||||
position: relative;
|
||||
|
||||
.process-content-content {
|
||||
@@ -293,13 +293,14 @@
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
color: #040B29;
|
||||
max-width: 94px;
|
||||
max-width: 155px;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.process-content-right-button {
|
||||
max-width: 155px;
|
||||
font-size: 12px;
|
||||
font-weight: 400;
|
||||
color: #6F7385;
|
||||
@@ -318,7 +319,7 @@
|
||||
}
|
||||
|
||||
.process-content-right-xian {
|
||||
height: 1px;
|
||||
height: 2px;
|
||||
width: calc(100% - 27px);
|
||||
background: #E6E6E9;
|
||||
position: absolute;
|
||||
@@ -353,8 +354,13 @@
|
||||
|
||||
.process-content-right-top {
|
||||
max-width: 70px !important;
|
||||
white-space: inherit !important;
|
||||
overflow: hidden !important;
|
||||
}
|
||||
|
||||
.process-content-right-button {
|
||||
max-width: 70px !important;
|
||||
}
|
||||
}
|
||||
|
||||
.text-field-right-color {
|
||||
|
||||
@@ -246,7 +246,7 @@
|
||||
list: '/project/projectRelatedPersonnel/list',
|
||||
edit: '/project/projectRelatedPersonnel/edit',
|
||||
exportData: '/project/projectRelatedPersonnel/exportXls',
|
||||
importZipUrl:'project/projectRelatedPersonnel/importExcel',
|
||||
importZipUrl:'/project/projectRelatedPersonnel/importExcel',
|
||||
},
|
||||
selectedRowKeys: []
|
||||
}
|
||||
|
||||
@@ -135,7 +135,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { getAction, postAction } from '@/api/manage'
|
||||
import { getAction, postAction, putAction } from '@/api/manage'
|
||||
import moment from 'moment'
|
||||
|
||||
export default {
|
||||
@@ -153,19 +153,35 @@
|
||||
mounted() {
|
||||
},
|
||||
methods: {
|
||||
edit(data) {
|
||||
edit() {
|
||||
this.visible = true
|
||||
this.$nextTick(() => {
|
||||
this.ids = data || []
|
||||
this.formInline = {}
|
||||
this.settingQueryForm()
|
||||
},
|
||||
settingQueryForm() {
|
||||
getAction(this.url.settingQueryForm, { projectId: this.$route.query.id }).then((res) => {
|
||||
if (res.success) {
|
||||
this.$nextTick(() => {
|
||||
this.formInline = res.result || {}
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
handleOk() {
|
||||
let query = {
|
||||
...this.formInline
|
||||
...this.formInline,
|
||||
projectId: this.$route.query.id
|
||||
}
|
||||
let url = ''
|
||||
let Action
|
||||
if (this.formInline.id) {
|
||||
url = this.url.editSettingUrl
|
||||
Action = putAction
|
||||
} else {
|
||||
url = this.url.addSettingUrl
|
||||
Action = postAction
|
||||
}
|
||||
this.confirmLoading = true
|
||||
postAction(this.url.editSettingUrl, query).then((res) => {
|
||||
Action(url, query).then((res) => {
|
||||
if (res.success) {
|
||||
this.$message.success(this.$t('OperationSuccessful'))
|
||||
this.visible = false
|
||||
|
||||
Reference in New Issue
Block a user