对接任务确认流程
This commit is contained in:
@@ -846,4 +846,13 @@ module.exports = {
|
|||||||
Importing:'Importing...',
|
Importing:'Importing...',
|
||||||
projectDeliveryDescription:'Project delivery description',
|
projectDeliveryDescription:'Project delivery description',
|
||||||
cancelConfirm:'Cancel Confirm',
|
cancelConfirm:'Cancel Confirm',
|
||||||
|
currentInformation:'Current Information',
|
||||||
|
deliveryHistory:'Delivery History',
|
||||||
|
projectDeliveryRequirements:'Project delivery requirements',
|
||||||
|
personLiableConfirm:'PersonLiable Confirm',
|
||||||
|
complianceResults:'Compliance results',
|
||||||
|
noData:'No data',
|
||||||
|
confirmOperation:'Confirm Operation',
|
||||||
|
sponsorReview:'Sponsor review',
|
||||||
|
fillInProjectDelivery:'Fill in project delivery',
|
||||||
}
|
}
|
||||||
@@ -851,4 +851,13 @@ module.exports = {
|
|||||||
Importing:'导入中...',
|
Importing:'导入中...',
|
||||||
projectDeliveryDescription:'工程交付说明',
|
projectDeliveryDescription:'工程交付说明',
|
||||||
cancelConfirm:'取消确认',
|
cancelConfirm:'取消确认',
|
||||||
|
currentInformation:'当前信息',
|
||||||
|
deliveryHistory:'交付历史',
|
||||||
|
projectDeliveryRequirements:'工程交付要求',
|
||||||
|
personLiableConfirm:'责任人确认',
|
||||||
|
complianceResults:'符合性结果',
|
||||||
|
noData:'暂无数据',
|
||||||
|
confirmOperation:'确认操作',
|
||||||
|
sponsorReview:'发起人审查',
|
||||||
|
fillInProjectDelivery:'填写工程交付',
|
||||||
}
|
}
|
||||||
@@ -39,21 +39,29 @@
|
|||||||
{{$t('viewFile')}}
|
{{$t('viewFile')}}
|
||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
|
<span slot="engineerFeedbackContent" slot-scope="text,result">
|
||||||
|
<a class="text"
|
||||||
|
@click="detailsClick(result)">
|
||||||
|
{{text}}
|
||||||
|
</a>
|
||||||
|
</span>
|
||||||
<span slot="operation" slot-scope="result">
|
<span slot="operation" slot-scope="result">
|
||||||
<a class="text"
|
<a class="text"
|
||||||
v-if="$route.query.TaskKey == 'zrrclrw' || $route.query.TaskKey == 'dreDispose'"
|
v-if="$route.query.TaskKey == 'zrrclrw' || $route.query.TaskKey == 'dreDispose'"
|
||||||
:disabled="!result.createUser"
|
:disabled="!result.createUser"
|
||||||
@click="edit(result,$t('edit'))">
|
@click="edit(result,$t('edit'))">
|
||||||
{{$t('edit')}}
|
{{$t('edit')}}
|
||||||
</a>
|
|
||||||
<a class="text"
|
|
||||||
@click="detailsClick(result)">
|
|
||||||
{{$t('details')}}
|
|
||||||
</a>
|
</a>
|
||||||
<a class="text"
|
<a class="text"
|
||||||
v-if="$route.query.TaskKey == 'zrrclrw'"
|
v-if="$route.query.TaskKey == 'zrrclrw'"
|
||||||
@click="answerClick(result,$t('replyFromProjectContactPerson'))">
|
:disabled="!result.status"
|
||||||
{{$t('confirm')}}
|
@click="confirm(result)">
|
||||||
|
<span v-if="result.status == 'NotDone'">
|
||||||
|
{{$t('confirm')}}
|
||||||
|
</span>
|
||||||
|
<span v-if="result.status == 'haveDone'">
|
||||||
|
{{$t('cancelConfirm')}}
|
||||||
|
</span>
|
||||||
</a>
|
</a>
|
||||||
<a class="text"
|
<a class="text"
|
||||||
v-if="$route.query.TaskKey == 'zrrclrw'"
|
v-if="$route.query.TaskKey == 'zrrclrw'"
|
||||||
@@ -167,7 +175,7 @@
|
|||||||
</a-modal>
|
</a-modal>
|
||||||
<a-modal
|
<a-modal
|
||||||
:title="$t('engineeringConfirmationDetails')"
|
:title="$t('engineeringConfirmationDetails')"
|
||||||
:width="600"
|
:width="900"
|
||||||
:visible="visibleDetails"
|
:visible="visibleDetails"
|
||||||
:maskClosable="false"
|
:maskClosable="false"
|
||||||
@cancel="visibleDetails = false"
|
@cancel="visibleDetails = false"
|
||||||
@@ -177,57 +185,88 @@
|
|||||||
{{$t('cancel')}}
|
{{$t('cancel')}}
|
||||||
</a-button>
|
</a-button>
|
||||||
</template>
|
</template>
|
||||||
<a-row :gutter="24" style="margin-bottom: 18px">
|
<div class="engineeringBox">
|
||||||
<a-col :span="6">
|
<div style="width: calc(100% - 12px)" v-for="(item,index) in detailsList" v-if="detailsList.length > 0">
|
||||||
<div class="text-field-left">{{this.$t('feedbackFromTheEngineer')}}:</div>
|
<div class="title-header-text" v-if="index == 0">
|
||||||
</a-col>
|
{{this.$t('currentInformation')}}
|
||||||
<a-col :span="18">
|
|
||||||
<div class="text-field-right">
|
|
||||||
{{formInlineDetails.engineerFeedbackContent}}
|
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
<div class="title-header-text" style="margin-top: 40px" v-if="index == 1">
|
||||||
</a-row>
|
{{this.$t('deliveryHistory')}}
|
||||||
<a-row :gutter="24" style="margin-bottom: 18px">
|
|
||||||
<a-col :span="6">
|
|
||||||
<div class="text-field-left">{{this.$t('Deliverables')}}:</div>
|
|
||||||
</a-col>
|
|
||||||
<a-col :span="18">
|
|
||||||
<div v-if="formInlineDetails.fileId" class="text-field-right text-field-cou"
|
|
||||||
@click="viewFileClick(formInlineDetails.fileId)">
|
|
||||||
{{this.$t('viewFile')}}
|
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
<a-row :gutter="24" style="margin-bottom: 18px">
|
||||||
</a-row>
|
<a-col :span="5">
|
||||||
<a-row :gutter="24" style="margin-bottom: 18px">
|
<div class="text-field-left">{{this.$t('projectDeliveryRequirements')}}:</div>
|
||||||
<a-col :span="6">
|
</a-col>
|
||||||
<div class="text-field-left">{{this.$t('completedBy')}}:</div>
|
<a-col :span="19">
|
||||||
</a-col>
|
<div class="text-field-right">
|
||||||
<a-col :span="18">
|
{{item.deliveryInstructions}}
|
||||||
<div class="text-field-right">
|
</div>
|
||||||
{{formInlineDetails.createBy}}
|
</a-col>
|
||||||
</div>
|
</a-row>
|
||||||
</a-col>
|
<a-row :gutter="24" style="margin-bottom: 18px">
|
||||||
</a-row>
|
<a-col :span="5">
|
||||||
<a-row :gutter="24" style="margin-bottom: 18px">
|
<div class="text-field-left">{{this.$t('feedbackFromTheEngineer')}}:</div>
|
||||||
<a-col :span="6">
|
</a-col>
|
||||||
<div class="text-field-left">{{this.$t('completedTime')}}:</div>
|
<a-col :span="19">
|
||||||
</a-col>
|
<div class="text-field-right">
|
||||||
<a-col :span="18">
|
{{item.engineerFeedbackContent}}
|
||||||
<div class="text-field-right">
|
</div>
|
||||||
{{formInlineDetails.createTime}}
|
</a-col>
|
||||||
</div>
|
</a-row>
|
||||||
</a-col>
|
<a-row :gutter="24" style="margin-bottom: 18px">
|
||||||
</a-row>
|
<a-col :span="5">
|
||||||
<a-row :gutter="24" style="margin-bottom: 18px">
|
<div class="text-field-left">{{this.$t('Deliverables')}}:</div>
|
||||||
<a-col :span="6">
|
</a-col>
|
||||||
<div class="text-field-left">{{this.$t('replyFromProjectContactPerson')}}:</div>
|
<a-col :span="19">
|
||||||
</a-col>
|
<div v-if="item.fileId" class="text-field-right text-field-cou"
|
||||||
<a-col :span="18">
|
@click="viewFileClick(item.fileId)">
|
||||||
<div class="text-field-right">
|
{{this.$t('viewUploadedFiles')}}
|
||||||
{{formInlineDetails.engineeringInterfacePersonReply}}
|
</div>
|
||||||
</div>
|
</a-col>
|
||||||
</a-col>
|
</a-row>
|
||||||
</a-row>
|
<a-row :gutter="24" style="margin-bottom: 18px">
|
||||||
|
<a-col :span="5">
|
||||||
|
<div class="text-field-left">{{this.$t('completedBy')}}:</div>
|
||||||
|
</a-col>
|
||||||
|
<a-col :span="7">
|
||||||
|
<div class="text-field-right">
|
||||||
|
{{item.createBy}}
|
||||||
|
</div>
|
||||||
|
</a-col>
|
||||||
|
<a-col :span="5">
|
||||||
|
<div class="text-field-left">{{this.$t('completedTime')}}:</div>
|
||||||
|
</a-col>
|
||||||
|
<a-col :span="7">
|
||||||
|
<div class="text-field-right">
|
||||||
|
{{item.createTime}}
|
||||||
|
</div>
|
||||||
|
</a-col>
|
||||||
|
</a-row>
|
||||||
|
<a-row :gutter="24" style="margin-bottom: 18px">
|
||||||
|
<a-col :span="5">
|
||||||
|
<div class="text-field-left">{{this.$t('replyFromProjectContactPerson')}}:</div>
|
||||||
|
</a-col>
|
||||||
|
<a-col :span="19">
|
||||||
|
<div class="text-field-right">
|
||||||
|
{{item.engineeringInterfacePersonReply}}
|
||||||
|
</div>
|
||||||
|
</a-col>
|
||||||
|
</a-row>
|
||||||
|
</div>
|
||||||
|
<div class="noData">
|
||||||
|
{{this.$t('noData')}}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="page" v-if="detailsList.length > 0">
|
||||||
|
<a-pagination
|
||||||
|
:show-total="total => $t('total')+` ${total} `+$t('strip')"
|
||||||
|
show-quick-jumper
|
||||||
|
:page-size.sync="pageSize"
|
||||||
|
:total="total"
|
||||||
|
@change="pageOnChange"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<JLoading :loading="pageLoading">{{$t('dataLoading')}}</JLoading>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
<a-modal
|
<a-modal
|
||||||
:title="$t('reminderHandling')"
|
:title="$t('reminderHandling')"
|
||||||
@@ -277,8 +316,12 @@
|
|||||||
return {
|
return {
|
||||||
loading: false,
|
loading: false,
|
||||||
visibleFile: false,
|
visibleFile: false,
|
||||||
|
pageLoading: false,
|
||||||
dataSource: [],
|
dataSource: [],
|
||||||
dataSourceTable: [],
|
dataSourceTable: [],
|
||||||
|
pageSize: 10,
|
||||||
|
pageNo: 1,
|
||||||
|
total: 0,
|
||||||
distributionEngineerList: [],
|
distributionEngineerList: [],
|
||||||
columnsTable: [
|
columnsTable: [
|
||||||
{
|
{
|
||||||
@@ -367,7 +410,8 @@
|
|||||||
title: this.$t('feedbackFromTheEngineer'),
|
title: this.$t('feedbackFromTheEngineer'),
|
||||||
dataIndex: 'engineerFeedbackContent',
|
dataIndex: 'engineerFeedbackContent',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
ellipsis: true
|
ellipsis: true,
|
||||||
|
scopedSlots: { customRender: 'engineerFeedbackContent' }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('Deliverables'),
|
title: this.$t('Deliverables'),
|
||||||
@@ -385,10 +429,11 @@
|
|||||||
{
|
{
|
||||||
title: this.$t('operation'),
|
title: this.$t('operation'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 200,
|
width: 300,
|
||||||
scopedSlots: { customRender: 'operation' }
|
scopedSlots: { customRender: 'operation' }
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
detailsList: [],
|
||||||
url: {
|
url: {
|
||||||
list: '/project/projectTaskInventoryFeedbackEO/list',
|
list: '/project/projectTaskInventoryFeedbackEO/list',
|
||||||
add: '/project/projectTaskInventoryFeedbackEO/add',
|
add: '/project/projectTaskInventoryFeedbackEO/add',
|
||||||
@@ -396,7 +441,9 @@
|
|||||||
deleted: '/project/projectTaskInventoryFeedbackEO/delete',
|
deleted: '/project/projectTaskInventoryFeedbackEO/delete',
|
||||||
DetailEOAdd: '/project/projectTaskInventoryDetailEO/add',
|
DetailEOAdd: '/project/projectTaskInventoryDetailEO/add',
|
||||||
queryByActiProcInstId: '/project/projectTaskInventoryDetailEO/queryByActiProcInstId',
|
queryByActiProcInstId: '/project/projectTaskInventoryDetailEO/queryByActiProcInstId',
|
||||||
remindDispose: '/project/projectTaskInventoryEO/remindDispose'
|
remindDispose: '/project/projectTaskInventoryEO/remindDispose',
|
||||||
|
page: '/project/feedbackHistory/page',
|
||||||
|
confirmEdit: '/project/projectTaskInventoryDetailEO/edit'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -404,6 +451,10 @@
|
|||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
pageOnChange(page, pageSize) {
|
||||||
|
this.pageNo = page
|
||||||
|
this.getList()
|
||||||
|
},
|
||||||
handleOk() {
|
handleOk() {
|
||||||
this.$refs.ruleForm.validate(valid => {
|
this.$refs.ruleForm.validate(valid => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
@@ -482,6 +533,34 @@
|
|||||||
this.$refs.ruleForm.validateField()
|
this.$refs.ruleForm.validateField()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
confirm(val) {
|
||||||
|
let _this = this
|
||||||
|
this.$confirm({
|
||||||
|
content: _this.$t('confirmOperation') + '?',
|
||||||
|
onOk() {
|
||||||
|
let query = {}
|
||||||
|
if (val.status == 'NotDone') {
|
||||||
|
query = {
|
||||||
|
id: val.projectTaskInventoryId,
|
||||||
|
status: 'haveDone'
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
query = {
|
||||||
|
id: val.projectTaskInventoryId,
|
||||||
|
status: 'NotDone'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
putAction(_this.url.confirmEdit, query).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
|
_this.$message.success(_this.$t('OperationSuccessful'))
|
||||||
|
_this.getList()
|
||||||
|
} else {
|
||||||
|
_this.$message.warning(_this.$t('operationFailed'))
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
reminderHandling() {
|
reminderHandling() {
|
||||||
this.visibleTable = true
|
this.visibleTable = true
|
||||||
this.getReminderHandlingList()
|
this.getReminderHandlingList()
|
||||||
@@ -526,8 +605,25 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
detailsClick(val) {
|
detailsClick(val) {
|
||||||
this.formInlineDetails = val || {}
|
|
||||||
this.visibleDetails = true
|
this.visibleDetails = true
|
||||||
|
this.getDetails(val)
|
||||||
|
},
|
||||||
|
getDetails(row) {
|
||||||
|
let query = {
|
||||||
|
pageNo: this.pageNo,
|
||||||
|
pageSize: this.pageSize,
|
||||||
|
feedbackId: row.id
|
||||||
|
}
|
||||||
|
this.pageLoading = true
|
||||||
|
getAction(this.url.page, query).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
|
this.detailsList = res.result.records || []
|
||||||
|
this.total = res.result.total
|
||||||
|
this.pageLoading = false
|
||||||
|
} else {
|
||||||
|
this.pageLoading = false
|
||||||
|
}
|
||||||
|
})
|
||||||
},
|
},
|
||||||
PersonnelSelectionChange(value, id) {
|
PersonnelSelectionChange(value, id) {
|
||||||
this.formInline[value] = id
|
this.formInline[value] = id
|
||||||
@@ -754,4 +850,28 @@
|
|||||||
color: #00B3BE;
|
color: #00B3BE;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.engineeringBox {
|
||||||
|
width: 100%;
|
||||||
|
max-height: 600px;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.title-header-text {
|
||||||
|
font-size: 16px;
|
||||||
|
font-weight: 400;
|
||||||
|
color: #000F16;
|
||||||
|
margin-bottom: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.page {
|
||||||
|
text-align: right;
|
||||||
|
margin-top: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.noData {
|
||||||
|
height: 200px;
|
||||||
|
line-height: 200px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -2,11 +2,11 @@
|
|||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="box-text">
|
<div class="box-text">
|
||||||
<div class="header-text">
|
<div class="header-text">
|
||||||
{{$t('reviewedByThePersonInCharge')}}
|
{{$route.query.TaskKey == 'zrrclrw' ? $t('personLiableConfirm'):$t('fillInProjectDelivery')}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model :model="formInline" class="formAdd" :rules="rules" ref="ruleForm">
|
<a-form-model :model="formInline" class="formAdd" :rules="rules" ref="ruleForm">
|
||||||
<a-row :gutter="24">
|
<a-row :gutter="24" v-if="$route.query.TaskKey == 'zrrclrw'">
|
||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text">
|
<div class="title-text">
|
||||||
@@ -35,7 +35,100 @@
|
|||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
<a-row :gutter="24">
|
<a-row :gutter="24" v-if="$route.query.TaskKey == 'zrrclrw'">
|
||||||
|
<a-col :span="24">
|
||||||
|
<div class="box-title-text">
|
||||||
|
<div class="title-text">
|
||||||
|
<span class="title-text-text" :title="$t('feedbackMessage')">{{$t('feedbackMessage')}}</span>
|
||||||
|
</div>
|
||||||
|
<a-form-model-item class="itemModel" prop="approvalOpinion">
|
||||||
|
<a-textarea :placeholder="$t('pleaseEnter')+$t('feedbackMessage')" v-model="formInline.approvalOpinion"
|
||||||
|
:rows="4"/>
|
||||||
|
</a-form-model-item>
|
||||||
|
</div>
|
||||||
|
</a-col>
|
||||||
|
</a-row>
|
||||||
|
<a-row :gutter="24" v-if="$route.query.TaskKey == 'dreDispose'">
|
||||||
|
<a-col :span="24">
|
||||||
|
<div class="box-title-text">
|
||||||
|
<div class="title-text-fq">
|
||||||
|
<span class="title-text-text" :title="$t('projectDeliveryDescription')">{{$t('projectDeliveryDescription')}}</span>
|
||||||
|
</div>
|
||||||
|
<a-form-model-item class="itemModel">
|
||||||
|
<span class="text-header">
|
||||||
|
爱上克里夫就的撒开了房间圣诞快乐房价士大夫打扫房间圣诞快乐房价是罚款乱收费考虑是否就但是考虑
|
||||||
|
</span>
|
||||||
|
</a-form-model-item>
|
||||||
|
</div>
|
||||||
|
</a-col>
|
||||||
|
</a-row>
|
||||||
|
<a-row :gutter="24" v-if="$route.query.TaskKey == 'dreDispose'">
|
||||||
|
<a-col :span="12">
|
||||||
|
<div class="box-title-text">
|
||||||
|
<div class="title-text-fq">
|
||||||
|
<span class="title-text-text"
|
||||||
|
:title="$t('feedbackFromTheEngineer')">{{$t('feedbackFromTheEngineer')}}</span>
|
||||||
|
</div>
|
||||||
|
<a-form-model-item class="itemModel" prop="engineerFeedbackContent">
|
||||||
|
<a-textarea :placeholder="$t('pleaseEnter')+$t('feedbackFromTheEngineer')"
|
||||||
|
v-model="formInline.engineerFeedbackContent"
|
||||||
|
:rows="4"/>
|
||||||
|
</a-form-model-item>
|
||||||
|
</div>
|
||||||
|
</a-col>
|
||||||
|
</a-row>
|
||||||
|
<a-row :gutter="24" v-if="$route.query.TaskKey == 'dreDispose'">
|
||||||
|
<a-col :span="12">
|
||||||
|
<div class="box-title-text">
|
||||||
|
<div class="title-text-fq">
|
||||||
|
<span class="title-text-text"
|
||||||
|
:title="$t('Deliverables')">{{$t('Deliverables')}}</span>
|
||||||
|
</div>
|
||||||
|
<a-form-model-item class="itemModel">
|
||||||
|
<a-button type="primary" class="button-text"
|
||||||
|
@click="clickButtonToUpload('fileId')">
|
||||||
|
{{ (formInline.fileId === 'null' || formInline.fileId === '' ||
|
||||||
|
formInline.fileId == null) ? $t('clickUpload') : $t('viewUploadedFiles')
|
||||||
|
}}
|
||||||
|
</a-button>
|
||||||
|
</a-form-model-item>
|
||||||
|
</div>
|
||||||
|
</a-col>
|
||||||
|
</a-row>
|
||||||
|
<a-row :gutter="24" v-if="$route.query.TaskKey == 'fqrsh'">
|
||||||
|
<a-col :span="24">
|
||||||
|
<div class="box-title-text">
|
||||||
|
<div class="title-text-fq">
|
||||||
|
<span class="title-text-text" :title="$t('complianceResults')">{{$t('complianceResults')}}</span>
|
||||||
|
</div>
|
||||||
|
<a-form-model-item class="itemModel">
|
||||||
|
<span class="text-header">
|
||||||
|
爱上克里夫就的撒开了房间圣诞快乐房价士大夫打扫房间圣诞快乐房价是罚款乱收费考虑是否就但是考虑
|
||||||
|
</span>
|
||||||
|
</a-form-model-item>
|
||||||
|
</div>
|
||||||
|
</a-col>
|
||||||
|
</a-row>
|
||||||
|
<a-row :gutter="24" v-if="$route.query.TaskKey == 'fqrsh'">
|
||||||
|
<a-col :span="24">
|
||||||
|
<div class="box-title-text">
|
||||||
|
<div class="title-text-fq">
|
||||||
|
<span class="title-text-text" :title="$t('feedbackMessage')">{{$t('feedbackMessage')}}</span>
|
||||||
|
</div>
|
||||||
|
<a-form-model-item class="itemModel">
|
||||||
|
<span class="text-header">
|
||||||
|
爱上克里夫就的撒开了房间圣诞快乐房价士大夫打扫房间圣诞快乐房价是罚款乱收费考虑是否就但是考虑
|
||||||
|
</span>
|
||||||
|
</a-form-model-item>
|
||||||
|
</div>
|
||||||
|
</a-col>
|
||||||
|
</a-row>
|
||||||
|
<div class="box-text" v-if="$route.query.TaskKey == 'fqrsh'">
|
||||||
|
<div class="header-text">
|
||||||
|
{{$t('sponsorReview')}}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a-row :gutter="24" v-if="$route.query.TaskKey == 'fqrsh'">
|
||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text">
|
<div class="title-text">
|
||||||
@@ -49,12 +142,19 @@
|
|||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
</a-form-model>
|
</a-form-model>
|
||||||
|
<uploadFile ref="uploadFile" @uploadSuccess="uploadSuccess"/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { getAction, postAction, putAction, deleteAction } from '@/api/manage'
|
||||||
|
import uploadFile from '@/components/uploadFile/file'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'reviewedByThePersonInCharge',
|
name: 'reviewedByThePersonInCharge',
|
||||||
|
components: {
|
||||||
|
uploadFile
|
||||||
|
},
|
||||||
props: ['queryBy'],
|
props: ['queryBy'],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@@ -74,6 +174,13 @@
|
|||||||
message: this.$t('feedbackMessage') + this.$t('cannotExceed') + 300 + this.$t('Characters'),
|
message: this.$t('feedbackMessage') + this.$t('cannotExceed') + 300 + this.$t('Characters'),
|
||||||
trigger: 'blur'
|
trigger: 'blur'
|
||||||
}
|
}
|
||||||
|
],
|
||||||
|
engineerFeedbackContent: [
|
||||||
|
{
|
||||||
|
max: 300,
|
||||||
|
message: this.$t('feedbackFromTheEngineer') + this.$t('cannotExceed') + 300 + this.$t('Characters'),
|
||||||
|
trigger: 'blur'
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -92,6 +199,33 @@
|
|||||||
callBack(this.formInline)
|
callBack(this.formInline)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
},
|
||||||
|
clickButtonToUpload(item) {
|
||||||
|
this.$refs.uploadFile.perentHandleFunc()
|
||||||
|
this.$refs.uploadFile.visible = true
|
||||||
|
this.uploadName = item
|
||||||
|
getAction('sys/common/getFileInfos', { id: this.formInline[item] }).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$refs.uploadFile.perentHandleFunc(res.result)
|
||||||
|
} else {
|
||||||
|
this.$refs.uploadFile.perentHandleFunc()
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
/** 上传文件的回调 */
|
||||||
|
uploadSuccess(data) {
|
||||||
|
let attIdList = []
|
||||||
|
if (data && data.length > 0) {
|
||||||
|
data.map(item => {
|
||||||
|
attIdList.push(item.id || data.name)
|
||||||
|
})
|
||||||
|
}
|
||||||
|
/** 赋值给当前对应的表单文件 */
|
||||||
|
this.formInline[this.uploadName] = attIdList.join(',')
|
||||||
|
this.formInline = { ...this.formInline }
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.$refs.ruleForm.validateField([this.uploadName])
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -138,6 +272,21 @@
|
|||||||
color: #000F16;
|
color: #000F16;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.title-text-fq {
|
||||||
|
width: 124px;
|
||||||
|
text-align: left;
|
||||||
|
display: inline-block;
|
||||||
|
font-weight: 500;
|
||||||
|
font-size: 14px;
|
||||||
|
margin-right: 16px;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
height: 42px;
|
||||||
|
line-height: 48px;
|
||||||
|
color: #000F16;
|
||||||
|
}
|
||||||
|
|
||||||
.box-input {
|
.box-input {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
height: 38px;
|
height: 38px;
|
||||||
@@ -164,9 +313,15 @@
|
|||||||
/* margin-bottom: 40px;*/
|
/* margin-bottom: 40px;*/
|
||||||
/*}*/
|
/*}*/
|
||||||
|
|
||||||
|
.text-header {
|
||||||
|
font-size: 16px;
|
||||||
|
color: #040B29;
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
|
||||||
.button-text {
|
.button-text {
|
||||||
height: 38px;
|
height: 38px;
|
||||||
width: calc(100% - 100px);
|
width: calc(50% - 100px);
|
||||||
line-height: 38px;
|
line-height: 38px;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
border: 1px #00B3BE solid;
|
border: 1px #00B3BE solid;
|
||||||
|
|||||||
Reference in New Issue
Block a user