|
|
@ -533,17 +533,21 @@ |
|
|
<span slot="footer" class="dialog-footer" style="height: 40px"> |
|
|
<span slot="footer" class="dialog-footer" style="height: 40px"> |
|
|
<!-- <el-button type="primary" @click="saveData()">{{'保存'}}</el-button>--> |
|
|
<!-- <el-button type="primary" @click="saveData()">{{'保存'}}</el-button>--> |
|
|
<el-button type="primary" @click="visible = false" class="bigButton">{{ '取消' }}</el-button> |
|
|
<el-button type="primary" @click="visible = false" class="bigButton">{{ '取消' }}</el-button> |
|
|
<el-button type="primary" @click="saveData" class="bigButton">保存</el-button> |
|
|
|
|
|
<el-button v-if="dataForm.status === '审批中'" type="primary" @click="agreeSubmit" class="bigButton">同意</el-button> |
|
|
|
|
|
<el-button v-if="dataForm.status === '审批中' && dataForm.isReject === 'Y'" type="primary" @click="submitDataModal" class="bigButton">驳回</el-button> |
|
|
|
|
|
|
|
|
<!-- 2025-05-31 保存、同意、驳回的权限没生效 - 与ECN的判断保持一致 --> |
|
|
|
|
|
<template v-if="dataForm.status === '草稿' || (dataForm.sp && dataForm.sp.split(';').includes(sp) && dataForm.status === '审批中')"> |
|
|
|
|
|
<el-button type="primary" @click="saveData" class="bigButton">保存</el-button> |
|
|
|
|
|
</template> |
|
|
|
|
|
<template v-if="dataForm.sp && dataForm.sp.split(';').includes(sp)"> |
|
|
|
|
|
<el-button v-if="dataForm.status === '审批中'" type="primary" @click="agreeSubmit" class="bigButton">同意</el-button> |
|
|
|
|
|
<el-button v-if="dataForm.status === '审批中' && dataForm.isReject === 'Y'" type="primary" @click="submitDataModal" class="bigButton">驳回</el-button> |
|
|
|
|
|
</template> |
|
|
|
|
|
<!-- <el-button type="primary" @click="saveData" class="bigButton">保存</el-button>--> |
|
|
|
|
|
<!-- <el-button v-if="dataForm.status === '审批中'" type="primary" @click="agreeSubmit" class="bigButton">同意</el-button>--> |
|
|
|
|
|
<!-- <el-button v-if="dataForm.status === '审批中' && dataForm.isReject === 'Y'" type="primary" @click="submitDataModal" class="bigButton">驳回</el-button>--> |
|
|
</span> |
|
|
</span> |
|
|
</el-dialog> |
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
<el-dialog |
|
|
|
|
|
width="600px" v-drag |
|
|
|
|
|
:title="'处理信息'" |
|
|
|
|
|
:close-on-click-modal="false" |
|
|
|
|
|
:visible.sync="modelFlag"> |
|
|
|
|
|
|
|
|
<el-dialog width="600px" v-drag :title="'处理信息'" :close-on-click-modal="false" :visible.sync="modelFlag"> |
|
|
<el-form label-position="top"> |
|
|
<el-form label-position="top"> |
|
|
<el-row :gutter="15"> |
|
|
<el-row :gutter="15"> |
|
|
<el-col :span="6"> |
|
|
<el-col :span="6"> |
|
|
@ -718,7 +722,8 @@ export default { |
|
|
totalCost: '', |
|
|
totalCost: '', |
|
|
menuId: this.$route.meta.menuId, |
|
|
menuId: this.$route.meta.menuId, |
|
|
userName: this.$store.state.user.name, |
|
|
userName: this.$store.state.user.name, |
|
|
nodeId: '' |
|
|
|
|
|
|
|
|
nodeId: '', |
|
|
|
|
|
sp: '' |
|
|
}, |
|
|
}, |
|
|
valueNull: '******', |
|
|
valueNull: '******', |
|
|
modelData: { |
|
|
modelData: { |
|
|
@ -1441,7 +1446,7 @@ export default { |
|
|
rejectOpinion: '', |
|
|
rejectOpinion: '', |
|
|
submitModalFlag: false, |
|
|
submitModalFlag: false, |
|
|
processField: '', |
|
|
processField: '', |
|
|
|
|
|
|
|
|
|
|
|
sp: this.$store.state.user.name, |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
watch: { |
|
|
watch: { |
|
|
@ -1693,6 +1698,8 @@ export default { |
|
|
this.detailList = [] |
|
|
this.detailList = [] |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
// 审批 |
|
|
editModal(row) { |
|
|
editModal(row) { |
|
|
this.getNodeAuthority(row) |
|
|
this.getNodeAuthority(row) |
|
|
this.dataForm = { |
|
|
this.dataForm = { |
|
|
@ -1718,7 +1725,8 @@ export default { |
|
|
totalCost: row.totalCost, |
|
|
totalCost: row.totalCost, |
|
|
menuId: this.$route.meta.menuId, |
|
|
menuId: this.$route.meta.menuId, |
|
|
userName: this.$store.state.user.name, |
|
|
userName: this.$store.state.user.name, |
|
|
nodeId: row.nodeId |
|
|
|
|
|
|
|
|
nodeId: row.nodeId, |
|
|
|
|
|
sp: row.sp |
|
|
} |
|
|
} |
|
|
this.openModelMessage() |
|
|
this.openModelMessage() |
|
|
searchProjectToolApplyDetail({ |
|
|
searchProjectToolApplyDetail({ |
|
|
|