|
@@ -15,7 +15,7 @@
|
|
|
<router-link :to="'/oilcontract/contract-import/add/operation'">
|
|
<router-link :to="'/oilcontract/contract-import/add/operation'">
|
|
|
<el-button type="primary" size="mini" style="margin-left:10px; margin-top: -4px;">添加</el-button>
|
|
<el-button type="primary" size="mini" style="margin-left:10px; margin-top: -4px;">添加</el-button>
|
|
|
</router-link>
|
|
</router-link>
|
|
|
- <el-button type="primary" size="mini" @click="importExcel" style="margin-left:10px; margin-top: -4px;">导入</el-button>
|
|
|
|
|
|
|
+ <el-button v-if="importAuditProf" type="primary" size="mini" @click="importExcel" style="margin-left:10px; margin-top: -4px;">导入</el-button>
|
|
|
<el-button type="primary" size="mini" @click="importExcelSelect" style="margin-left:10px; margin-top: -4px;">待确认列表</el-button>
|
|
<el-button type="primary" size="mini" @click="importExcelSelect" style="margin-left:10px; margin-top: -4px;">待确认列表</el-button>
|
|
|
<!-- <el-button type="primary" size="mini" style="margin-left:10px; margin-top: -4px;">分发给二级单位评价</el-button> -->
|
|
<!-- <el-button type="primary" size="mini" style="margin-left:10px; margin-top: -4px;">分发给二级单位评价</el-button> -->
|
|
|
</span>
|
|
</span>
|
|
@@ -592,6 +592,7 @@
|
|
|
name: 'oilcontract',
|
|
name: 'oilcontract',
|
|
|
data () {
|
|
data () {
|
|
|
return {
|
|
return {
|
|
|
|
|
+ importAuditProf: false, // 合同导入入口权限,仅限企管法规处
|
|
|
tableLoading: false, // 表格loading
|
|
tableLoading: false, // 表格loading
|
|
|
dialogLoading: false,
|
|
dialogLoading: false,
|
|
|
uploadTrueClickLoading: false,
|
|
uploadTrueClickLoading: false,
|
|
@@ -684,8 +685,8 @@
|
|
|
ModifiedOn: '',
|
|
ModifiedOn: '',
|
|
|
ModifiedUserId: '',
|
|
ModifiedUserId: '',
|
|
|
ModifiedBy: '',
|
|
ModifiedBy: '',
|
|
|
- ClassName:'',
|
|
|
|
|
- ImportSupplierName:''
|
|
|
|
|
|
|
+ ClassName: '',
|
|
|
|
|
+ ImportSupplierName: ''
|
|
|
},
|
|
},
|
|
|
formData: {
|
|
formData: {
|
|
|
Id: '',
|
|
Id: '',
|
|
@@ -1444,8 +1445,12 @@
|
|
|
})
|
|
})
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
|
|
+ },
|
|
|
|
|
+ getAuditPermForProf () {
|
|
|
|
|
+ permissionApi.getAuditPermForProf(this.$axios).then(res => {
|
|
|
|
|
+ this.importAuditProf = res.data
|
|
|
|
|
+ })
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
</script>
|
|
</script>
|