|
|
|
@ -313,7 +313,7 @@ |
|
|
|
<el-button type="primary" @click="saveData()">保存</el-button> |
|
|
|
<el-button type="primary" @click="modalFlag = false">关闭</el-button> |
|
|
|
<el-button v-if="modalData.proofingStatus === '审批中'" type="primary" @click="agreeSubmit">同意</el-button> |
|
|
|
<el-button v-if="modalData.proofingStatus === '审批中' && modalData.isReject === 'Y'" type="primary" @click="rejectSubmit">驳回</el-button> |
|
|
|
<el-button v-if="modalData.proofingStatus === '审批中' && modalData.isReject === 'Y'" @click="rejectVisible = true" type="primary">驳回</el-button> |
|
|
|
</el-footer> |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
@ -1016,7 +1016,17 @@ |
|
|
|
<el-button type="primary" @click="delegateAccessVisible=false">关闭</el-button> |
|
|
|
</el-footer> |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
<el-dialog title="驳回" top="30vh" :close-on-click-modal="false" v-drag :visible.sync="rejectVisible" width="500px"> |
|
|
|
<el-form label-position="top"> |
|
|
|
<el-form-item label="驳回意见" class="auto"> |
|
|
|
<el-input type="textarea" v-model="rejectOpinion" :rows="3"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<el-footer style="text-align:center;height: 30px;line-height: 30px;"> |
|
|
|
<el-button type="primary" @click="rejectSubmit">确定</el-button> |
|
|
|
<el-button type="primary" @click="rejectVisible = false">取消</el-button> |
|
|
|
</el-footer> |
|
|
|
</el-dialog> |
|
|
|
<!-- 上传文件的modal --> |
|
|
|
<proofingUploadFile ref="proofingUploadFile" @refreshPageTables="getFileContentData()" v-drag></proofingUploadFile> |
|
|
|
</div> |
|
|
|
@ -1120,6 +1130,11 @@ export default { |
|
|
|
this.$refs.projectPartTable.clearSelection(); |
|
|
|
} |
|
|
|
}, |
|
|
|
rejectVisible(newVal,oldVal){ |
|
|
|
if (newVal === false){ |
|
|
|
this.rejectOpinion = '' |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
delegateAccessName: { |
|
|
|
@ -2277,6 +2292,8 @@ export default { |
|
|
|
columnWidth: 140 |
|
|
|
} |
|
|
|
], |
|
|
|
rejectVisible: false, |
|
|
|
rejectOpinion: '', |
|
|
|
} |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
@ -3638,6 +3655,7 @@ export default { |
|
|
|
cancelButtonText: '取消', |
|
|
|
type: 'warning' |
|
|
|
}).then(() => { |
|
|
|
this.modalData.rejectOpinion = this.rejectOpinion |
|
|
|
this.modalData.nodeConclusion = 'N' |
|
|
|
this.submitData() |
|
|
|
}) |
|
|
|
|