feat(contract): 添加合同置顶功能

在合同列表和表单中添加置顶功能,包括:
1. 表单中添加置顶开关
2. 列表项显示置顶标签和样式
3. 实现置顶状态切换操作
This commit is contained in:
2026-05-05 17:42:14 +08:00
parent 5605445c19
commit 2f5c799143
2 changed files with 40 additions and 11 deletions

View File

@@ -79,6 +79,11 @@
<el-input v-model="form.signLocation" placeholder="请输入签订地点" />
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="置顶" prop="isTop">
<el-switch v-model="form.isTop" :active-value="1" :inactive-value="0"/>
</el-form-item>
</el-col>
</el-row>
<el-form-item label="产品内容">
@@ -452,6 +457,7 @@ export default {
productionSchedule: undefined,
status: 0,
remark: undefined,
isTop: 0,
createBy: undefined,
createTime: undefined,
updateBy: undefined,