feat(contract): 添加合同置顶功能
在合同列表和表单中添加置顶功能,包括: 1. 表单中添加置顶开关 2. 列表项显示置顶标签和样式 3. 实现置顶状态切换操作
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user