10.30
This commit is contained in:
parent
c8f9b2b9be
commit
0b9b0a6c60
@ -98,12 +98,12 @@
|
||||
<el-dialog :title="title" :close-on-click-modal="false" :visible.sync="open" width="32%" append-to-body>
|
||||
<el-form :model="form" ref="form" :rules="rules" label-width="120px">
|
||||
<!-- 通知名称 -->
|
||||
<el-form-item label="通知名称" prop="notificationName">
|
||||
<el-form-item label="通知名称" prop="notificationName" style="margin-left: -30px;">
|
||||
<el-input v-model="form.notificationName" placeholder="请输入通知名称" style="width: 100%" ></el-input>
|
||||
</el-form-item>
|
||||
|
||||
<!-- 通知类型 -->
|
||||
<el-form-item label="通知类型" prop="notificationType">
|
||||
<el-form-item label="通知类型" prop="notificationType" style="margin-left: -30px;">
|
||||
<el-select v-model="form.notificationType" placeholder="请选择通知类型" style="width: 100%">
|
||||
<el-option label="到期提醒" value="到期提醒"></el-option>
|
||||
<el-option label="系统升级" value="系统升级"></el-option>
|
||||
@ -112,7 +112,7 @@
|
||||
</el-form-item>
|
||||
|
||||
<!-- 通知模板 -->
|
||||
<el-form-item label="通知模板" prop="templateContent">
|
||||
<el-form-item label="通知模板" prop="templateContent" style="margin-left: -30px;">
|
||||
<el-input type="textarea" v-model="form.templateContent" :rows="3" placeholder="请输入通知内容" :maxlength="200" show-word-limit
|
||||
style="width: 100%"></el-input>
|
||||
<div>
|
||||
@ -124,19 +124,19 @@
|
||||
</el-form-item>
|
||||
|
||||
<!-- 接收角色 -->
|
||||
<el-form-item label="接收角色" prop="recipientRoles">
|
||||
<el-form-item label="接收角色" prop="recipientRoles" style="margin-left: -30px;">
|
||||
<el-select v-model="form.recipientRoles" multiple placeholder="请选择角色" style="width: 100%">
|
||||
<el-option v-for="item in dutyList1" :label="item.dutyName" :value="item.dutyId" ></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
|
||||
<!-- 模板状态 -->
|
||||
<el-form-item label="模板状态" prop="templateStatus">
|
||||
<el-form-item label="模板状态" prop="templateStatus" style="margin-left: -30px;">
|
||||
<el-switch v-model="form.templateStatus" active-color="#13ce66" inactive-color="#ff4949"></el-switch>
|
||||
</el-form-item>
|
||||
|
||||
<!-- 发送条件 -->
|
||||
<el-form-item label="发送条件" style="margin-bottom: 10px" prop="conditions">
|
||||
<el-form-item label="发送条件" style="margin-bottom: 10px; margin-left: -30px;" prop="conditions">
|
||||
<div v-for="(condition, index) in form.conditions" :key="index" class="condition-group" style="margin-bottom: 10px">
|
||||
<el-select v-model="condition.field" placeholder="请选择条件" style="width: 45%;margin-right: 10px" @change="changeField(index)">
|
||||
<el-option label="系统到期日期" value="系统到期日期"></el-option>
|
||||
@ -165,8 +165,8 @@
|
||||
<!-- </el-form-item>-->
|
||||
</el-form>
|
||||
<div style="display: flex; justify-content: center; align-items: center;margin-top: 30px">
|
||||
<el-button type="primary" @click="handleSubmit('form')">保存</el-button>
|
||||
<el-button @click="handleReset">取消</el-button>
|
||||
<el-button @click="handleReset">取 消</el-button>
|
||||
<el-button style="margin-left: 30px;" type="primary" @click="handleSubmit('form')">保 存</el-button>
|
||||
</div>
|
||||
|
||||
</el-dialog>
|
||||
|
Loading…
Reference in New Issue
Block a user