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 |
| | |
| | | <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> |
| | |
| | | |
| | | <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", |
| | |
| | | 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 => { |