修改任务清的布局

This commit is contained in:
qq787203167
2022-05-11 17:49:51 +08:00
parent 4f7b70aea3
commit 97273adc20
3 changed files with 20 additions and 15 deletions
@@ -78,7 +78,7 @@
<div slot="PrehomoConfirmation" slot-scope="text,result" class="box-left">
<div class="content" v-if="result.prehomoTaskStatus" @click="verifyTaskClick(result,2,false)">
<span class="box-content">{{$t('Deadline')}}: {{result.prehomoDueDate}}</span><br/>
<span class="box-content">{{$t('ProcessStatus')}}: {{result.prehomoTaskStatus}}</span><br/>
<span class="box-content">{{$t('ProcessStatus')}}: {{result.prehomoStatus}}</span><br/>
<span class="box-content-color" :class="color[result.prehomoFlowTaskStatus]">
{{statusText[result.prehomoFlowTaskStatus]}}
</span>
@@ -149,6 +149,7 @@
projectLibraryId:this.$route.query.id,
...this.queryParam
}
this.loading = true
getAction(this.url.page, query).then((res) => {
if (res.success) {
this.dataSource = res.result.records || []
@@ -57,20 +57,12 @@
class="box-input"
v-model="queryParam.projectName"
:placeholder="$t('PleaseSelect')+$t('RelatedItems')">
<a-select-option :value="2">
<span class="itemOption">
{{ $t('designComplianceReview') }}
</span>
</a-select-option>
<a-select-option :value="3">
<span class="itemOption">
{{ $t('preHomeConfirmation') }}
</span>
</a-select-option>
<a-select-option :value="4">
<span class="itemOption">
{{ $t('verificationComplianceReview') }}
</span>
<a-select-option v-for="(item, key) in projectNameList"
:key="key"
:value="item.id">
<span style="display: inline-block;width: 100%" :title=" item.projectName ">
{{ item.projectName}}
</span>
</a-select-option>
</a-select>
</div>
@@ -185,6 +177,7 @@
loading: false,
dataSource: [],
selectedRowKeys: [],
projectNameList: [],
toggleSearchStatus: false,
columns: [
{
@@ -234,8 +227,18 @@
},
mounted() {
this.getList()
this.getNameList()
},
methods: {
getNameList() {
getAction('project/projectNameInfoEO/list', {}).then((res) => {
if (res.success) {
this.projectNameList = res.result || []
} else {
this.projectNameList = []
}
})
},
handleToggleSearch() {
this.toggleSearchStatus = !this.toggleSearchStatus
},
@@ -266,6 +269,7 @@
pageSize: this.pageSize,
...this.queryParam
}
this.loading = true
getAction(this.url.page, query).then((res) => {
if (res.success) {
this.dataSource = res.result.records || []