someone-oa/pc/project-contract.html
2025-12-11 18:08:46 +08:00

101 lines
4.1 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>合同管理 - OA系统</title>
<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
<!-- 统一布局样式 -->
<link rel="stylesheet" href="unified-layout.css">
<style>
/* 页面特定样式覆盖 */
</style>
<!-- Vue.js -->
<script src="https://unpkg.com/vue@2/dist/vue.js"></script>
<!-- Element UI JS -->
<script src="https://unpkg.com/element-ui/lib/index.js"></script>
<script src="common.js"></script>
<script src="common.js"></script>
</head>
<body>
<div id="app">
<div class="layout-container">
<div class="main-container">
<div class="sidebar">
<div class="menu-item" onclick="window.location.href='project-initiation.html'">立项申请</div>
<div class="menu-item" onclick="window.location.href='project-list.html'">项目查询</div>
<div class="menu-item" onclick="window.location.href='project-approval.html'">审核管理</div>
<div class="menu-item" onclick="window.location.href='project-bidding.html'">投标管理</div>
<div class="menu-item active">合同管理</div>
</div>
<div class="app-main">
<div class="content">
<div class="page-header">
<div class="page-title">合同管理</div>
</div>
<div class="search-form">
<div class="form-row">
<div class="form-item">
<input type="text" class="form-input" placeholder="项目编号/名称">
</div>
<div class="form-item" style="display: flex; gap: 8px;">
<button class="btn btn-primary">查询</button>
<button class="btn btn-default">重置</button>
</div>
</div>
</div>
<table>
<thead>
<tr>
<th>项目编号</th>
<th>项目名称</th>
<th>客户名称</th>
<th>合同金额</th>
<th>签约时间</th>
<th>状态</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<tr>
<td>25-3</td>
<td>ZZ工程项目</td>
<td>ZZ公司</td>
<td>¥600,000</td>
<td>2025-01-15</td>
<td><span class="status-badge status-contract">已签合同</span></td>
<td>
<span class="action-link" onclick="window.location.href='contract-detail.html?id=25-3'">查看详情</span>
<span class="action-link" onclick="updateContract('25-3')">更新状态</span>
<span class="action-link" onclick="uploadFile('25-3')">上传合同</span>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<script>
function updateContract(id) {
CommonUtils.createModal('确认更新', '确认更新项目状态为"已签合同"', () => {
CommonUtils.showMessage('状态已更新');
return true;
});
}
function uploadFile(id) {
CommonUtils.uploadFile('*', (file) => {
CommonUtils.showMessage('文件上传成功:' + file.name);
}, 50);
}
</script>
<script src="unified-layout.js"></script>
<script>
initUnifiedLayout('project');
</script>
<script src="common.js"></script>
</div>
</body>
</html>