fuliqi
2024-03-12 f72f2916f7606a38232223a4092590034852fd2d
src/views/system/publish/index.vue
@@ -39,6 +39,7 @@
          />
        </el-select>
      </el-form-item>
      <el-form-item label="考核状态" prop="state">
        <el-select
          v-model="queryParams.state"
@@ -107,6 +108,10 @@
        <dict-tag :options="dict.type.platform_examine_frequency" :value="scope.row.frequency"/>
      </template>
      </el-table-column>
      <el-table-column label="报警分数阈值" align="center" prop="alarmScore" />
      <el-form-item label="报警分数阈值" prop="alarmScore">
        <el-input v-model="form.alarmScore" placeholder="请输入分数" />
      </el-form-item>
      <el-table-column label="考核状态" align="center" prop="state">
      <template slot-scope="scope">
        <dict-tag :options="dict.type.sys_normal_disable" :value="scope.row.state"/>
@@ -144,7 +149,7 @@
    <!-- 添加或修改考核发布对话框 -->
    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
      <el-form ref="form" :model="form" :rules="rules" label-width="80px">
      <el-form ref="form" :model="form" :rules="rules" label-width="100px">
        <el-form-item label="考核名" prop="examineName">
          <el-input v-model="form.examineName" placeholder="请输入考核名" />
        </el-form-item>
@@ -159,7 +164,6 @@
            </el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="考核范围" prop="examineRange">
          <el-select
            v-model="form.examineRange"
@@ -190,6 +194,9 @@
            />
          </el-select>
        </el-form-item>
        <el-form-item label="报警分数阈值" prop="alarmScore">
          <el-input v-model="form.alarmScore" placeholder="请输入分数" style="width: 170px"/>
        </el-form-item>
        <el-form-item label="考核状态" prop="state">
          <el-select
            v-model="form.state"