| | |
| | | </el-col> |
| | | <el-col :span="11" :offset="1" style="white-space: nowrap"> |
| | | <el-form-item size="mini"> |
| | | <el-button type="primary" class="btns" @click="find" size="mini" |
| | | <el-button type="primary" class="btns" size="mini" |
| | | >搜索</el-button |
| | | > |
| | | <el-button |
| | |
| | | > |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="2"><p class="title">企业达标标准:</p></el-col> |
| | | <el-col :span="9" |
| | | <el-col :span="2"><p class="titles">企业达标标准:</p></el-col> |
| | | <el-col :span="22" |
| | | ><p class="title-type"> |
| | | {{ item.enterpriseStandard }} |
| | | </p></el-col |
| | | > |
| | | <el-col :span="2" :offset="1" |
| | | ><p class="title">评审方法:</p></el-col |
| | | <!-- <el-col :span="2" :offset="1" |
| | | ><p class="titles">评审方法:</p></el-col |
| | | > |
| | | <el-col :span="10" |
| | | ><p class="title-type"> |
| | | {{ item.reviewMethod }} |
| | | </p></el-col |
| | | > --> |
| | | </el-row> |
| | | <el-row> |
| | | <!-- <el-col :span="2"><p class="titles">企业达标标准:</p></el-col> |
| | | <el-col :span="9" |
| | | ><p class="title-type"> |
| | | {{ item.enterpriseStandard }} |
| | | </p></el-col |
| | | > --> |
| | | <el-col :span="2" |
| | | ><p class="titles">评审方法:</p></el-col |
| | | > |
| | | <el-col :span="22" |
| | | ><p class="title-type"> |
| | | {{ item.reviewMethod }} |
| | | </p></el-col |
| | | > |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="2"><p class="titles">否决项:</p></el-col> |
| | | <el-col :span="22" |
| | | ><p class="title-type"> |
| | | {{ item.veto }} |
| | | </p></el-col |
| | | > |
| | | <!-- <el-col :span="2" :offset="1" |
| | | ><p class="titles">扣分项:</p></el-col |
| | | > |
| | | <el-col :span="10" |
| | | ><p class="title-type"> |
| | | {{ item.deductionList}} |
| | | </p></el-col |
| | | > --> |
| | | </el-row> |
| | | <el-row> |
| | | <!-- <el-col :span="2"><p class="titles">否决项:</p></el-col> |
| | | <el-col :span="9" |
| | | ><p class="title-type"> |
| | | {{ item.veto }} |
| | | </p></el-col |
| | | > --> |
| | | <el-col :span="2" |
| | | ><p class="titles">扣分项:</p></el-col |
| | | > |
| | | <el-col :span="22" |
| | | ><p class="title-type"> |
| | | <!-- {{ item.deductionList}} --> |
| | | <span style="line-height:20px" v-for="(item,index) in item.deductionList" :key="index"> |
| | | {{item.name}} |
| | | </span> |
| | | </p></el-col |
| | | > |
| | | </el-row> |
| | |
| | | v-model="form.standardizationRequirements" |
| | | placeholder="" |
| | | maxlength="250" |
| | | show-word-limit |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | |
| | | v-model="form.enterpriseStandard" |
| | | placeholder="" |
| | | maxlength="250" |
| | | show-word-limit |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | |
| | | v-model="form.reviewMethod" |
| | | placeholder="" |
| | | maxlength="250" |
| | | show-word-limit |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | |
| | | v-model="form.veto" |
| | | placeholder="" |
| | | maxlength="250" |
| | | show-word-limit |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | <el-dialog :title="titleN" :visible.sync="dialogVisible" width="30%"> |
| | | <el-form ref="form" :model="formInline" label-width="80px"> |
| | | <el-form-item label="名称"> |
| | | <el-dialog :title="titleN" :visible.sync="dialogVisible" :close-on-click-modal="false" width="30%"> |
| | | <el-form ref="form" :rules="rules" :model="formInline" label-width="80px"> |
| | | <el-form-item label="名称" prop="name"> |
| | | <el-input v-model="formInline.name"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="说明"> |
| | |
| | | </el-form-item> |
| | | </el-form> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="dialogVisible = false">取 消</el-button> |
| | | <el-button @click="listCel">取 消</el-button> |
| | | <el-button type="primary" class="btns" @click="listAdd" |
| | | >确 定</el-button |
| | | > |
| | |
| | | children: "children", |
| | | label: "label", |
| | | }, |
| | | rules: { |
| | | name: [ |
| | | { required: true, message: "名称不能为空", trigger: "change" }, |
| | | ],} |
| | | }; |
| | | }, |
| | | created() { |
| | |
| | | }, |
| | | beforTree() { |
| | | safetyInspectionItemTree().then((res) => { |
| | | console.log(res); |
| | | this.tree = res.data.result; |
| | | }); |
| | | }, |
| | | safetyInspectionItemL(data) { |
| | | // console.log(data) |
| | | this.listQuery.filter.elementB = data.value; |
| | | safetyInspectionItemList(this.listQuery).then((res) => { |
| | | // console.log(res.data.result.records); |
| | | this.list = res.data.result.records; |
| | | }); |
| | | if (data.type== 1) { |
| | | this.listQuery.filter.elementB = data.value; |
| | | safetyInspectionItemList(this.listQuery).then((res) => { |
| | | this.list = res.data.result.records; |
| | | console.log(123,this.list) |
| | | }); |
| | | } |
| | | }, |
| | | safetyInspectionItemC(id, type) { |
| | | this.show = false; |
| | |
| | | } else { |
| | | this.disabled = true; |
| | | var i = this.list.findIndex((item) => item.id == id); |
| | | console.log(id); |
| | | this.form = this.list[i]; |
| | | } |
| | | }, |
| | |
| | | this.index = this.form.deductionList.findIndex( |
| | | (item) => item.name == val.name |
| | | ); |
| | | this.formInline = val; |
| | | this.formInline=JSON.parse(JSON.stringify(val)); |
| | | } |
| | | this.$nextTick(() => { |
| | | this.$refs["form"].clearValidate(); |
| | | }); |
| | | }, |
| | | listAdd() { |
| | | this.$refs["form"].validate((valid) => { |
| | | if (valid) { |
| | | if (this.titleN == "新增") { |
| | | this.form.deductionList.push(this.formInline); |
| | | this.dialogVisible = false; |
| | |
| | | this.form.deductionList[this.index].space = this.formInline.space; |
| | | this.dialogVisible = false; |
| | | } |
| | | } |
| | | }); |
| | | }, |
| | | listDel(val) { |
| | | var i = this.form.deductionList.findIndex( |
| | |
| | | } |
| | | }); |
| | | }, |
| | | listCel(){ |
| | | this.dialogVisible = false; |
| | | }, |
| | | btnsQX() { |
| | | this.show = true; |
| | | }, |
| | |
| | | } |
| | | .box-left { |
| | | width: 20%; |
| | | min-height: 800px; |
| | | min-height: 850px; |
| | | background-color: white; |
| | | border-radius: 5px; |
| | | } |
| | |
| | | width: 79%; |
| | | background-color: rgb(223, 229, 235); |
| | | border-radius: 5px; |
| | | height: 850px; |
| | | overflow-y:overlay; |
| | | } |
| | | .box-rights { |
| | | width: 79%; |
| | | background-color: #fff; |
| | | border-radius: 5px; |
| | | height: 850px; |
| | | overflow-y:overlay; |
| | | } |
| | | .box-rightXQ { |
| | | margin-bottom: 10px; |
| | |
| | | background-color: #034ea2; |
| | | border: 1px solid #034ea2; |
| | | } |
| | | </style> |
| | | </style> |