fuliqi
2024-04-02 0a0e01138e0d9b6f370ae16ef1099e4c60d15c26
src/views/system/template/province/index.vue
copy from src/views/system/check-template/index.vue copy to src/views/system/template/province/index.vue
File was copied from src/views/system/check-template/index.vue
@@ -121,6 +121,13 @@
        <el-form-item label="模板名称" prop="templateName">
          <el-input v-model="form.templateName" placeholder="请输入模板名称" />
        </el-form-item>
        <el-form-item label="考核类型" prop="examineCategory">
          <el-select v-model="form.examineCategory"  placeholder="请选择考核类型">
            <el-option label="省厅考核" value="省厅考核"/>
            <el-option label="区县考核" value="区县考核"/>
            <el-option label="运维考核" value="公司考核"/>
          </el-select>
        </el-form-item>
        <el-form-item label="考核对象" prop="unitName">
          <div class="block">
            <span class="demonstration"></span>
@@ -193,8 +200,8 @@
<script>
import { listCheckTemplate, getCheckTemplate, delCheckTemplate, addCheckTemplate, updateCheckTemplate } from "@/api/platform/check-template";
import { ruleSelect } from '../../../api/platform/check-rule'
import { unitSelect } from '../../../api/platform/unit'
// import { ruleSelect } from '@/api/platform/check-rule'
import { unitSelect } from '@/api/platform/unit'
export default {
  name: "CheckTemplate",
@@ -316,11 +323,11 @@
      this.tempRuleFormList.push({"ruleId": null, "weight": null})
    },
    // 考核规则下拉数据
    selectCheckRule() {
      ruleSelect().then(res => {
        this.ruleList = res.data;
      })
    },
    // selectCheckRule() {
    //   ruleSelect().then(res => {
    //     this.ruleList = res.data;
    //   })
    // },
    // 运维公司下拉数据
    selectUnit() {
      unitSelect().then(res => {