This commit is contained in:
zhutianqi
2021-12-28 14:55:17 +08:00
parent fcf697514d
commit bc2446c34e
4 changed files with 432 additions and 7 deletions
@@ -749,7 +749,7 @@ export default {
})
if (this.type2 === '1') {
this.roleForm.dockUserList = idList
this.roleForm.dockUserName = nameList
this.roleForm.dockUserListName = nameList
} else {
this.roleForm.directorUser = idList
this.roleForm.directorUserName = nameList
@@ -301,6 +301,59 @@
</el-input>
</div>
</el-form-item>
<el-form-item label="标准范围" style="width: 100%; margin-right:10px" class="add-form-item" prop="area" :class="DrawerType === 'see' ? 'form-item-disabled' : ''">
<div style="display: flex;justify-content: space-between;align-items: center;">
<el-select v-model="addForm.area" multiple filterable placeholder="请选择标准范围" style="width: 100%;">
<el-option
v-for="item in BZList"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</div>
</el-form-item>
<el-form-item label="是否引用标准" style="width: 100%; margin-right:10px" class="add-form-item" prop="isRelate" :class="DrawerType === 'see' ? 'form-item-disabled' : ''">
<div style="display: flex; height: 100%; justify-content: space-between;align-items: center;">
<el-radio-group v-model="addForm.isRelate">
<el-radio label="是" value="是"></el-radio>
<el-radio label="否" value="否"></el-radio>
</el-radio-group>
</div>
</el-form-item>
<template v-if="addForm.isRelate === '是'">
<custom-input-for-all-standards
class="classDisplay"
:config="{attrName: '采用标准'}"
:labelWidth="'180px'"
v-model="addForm.esStandRelations"
></custom-input-for-all-standards>
</template>
<el-form-item v-if="addForm.isRelate === '是'" label="采标程度" style="width: 100%; margin-right:10px" class="add-form-item" prop="useLevel" :class="DrawerType === 'see' ? 'form-item-disabled' : ''">
<div style="display: flex; height: 100%; justify-content: space-between;align-items: center;">
<el-radio-group v-model="addForm.useLevel">
<el-radio label="等同" value="等同"></el-radio>
<el-radio label="修改" value="修改"></el-radio>
<el-radio label="非等效" value="非等效"></el-radio>
</el-radio-group>
</div>
</el-form-item>
<el-form-item v-if="addForm.isRelate === '否'" label="简述技术指标依据" style="width: 100%; margin-right:10px" class="add-form-item" prop="technologic" :class="DrawerType === 'see' ? 'form-item-disabled' : ''">
<div style="display: flex;justify-content: space-between;align-items: center;">
<el-input
v-model="addForm.technologic"
placeholder="请简述技术指标依据">
</el-input>
</div>
</el-form-item>
<template>
<custom-input-for-all-standards2
class="classDisplay"
:config="{attrName: '配套标准'}"
:labelWidth="'180px'"
v-model="addForm.esMatingRelations"
></custom-input-for-all-standards2>
</template>
</el-form>
</el-col>
</el-row>
@@ -385,7 +438,6 @@
type="primary"
size="mini"
class="common-button-primary"
@click="QYBZget">查询
</el-button>
<el-button
@@ -490,11 +542,17 @@
</template>
<script>
import CustomInputForAllStandards from '@/components/CustomFormComponents/InputForAllStandards'
import CustomInputForAllStandards2 from '@/components/CustomFormComponents/InputForAllStandards2'
export default {
name: "enterpriseStandardPlan",
components: {},
components: {
CustomInputForAllStandards,
CustomInputForAllStandards2
},
data() {
return {
BZList: [],
TXJGList: [],
TXJGmodal: false,
standSystemOptions: [],
@@ -533,6 +591,12 @@
DrawerType: '',
ids: [],
addForm: {
esMatingRelations: '',
technologic: '',
useLevel: '',
isRelate: '',
esStandRelations: '',
area: '',
tsJson: '',
tsJsonName: '',
rqbJson: '',
@@ -943,6 +1007,8 @@
}, res => {
this.QCDWList = res.data.QCDW // 起草单位
this.standSystemOptions = res.data.TXLBBUSS // 体系结构
this.BZList = res.data.ENERGYTYPES
console.log(this.BZList);
}, e => {
})
},
@@ -955,6 +1021,14 @@
#enterpriseStandardPlan {
height: 100%;
background: #fff;
.classDisplay {
/deep/.el-form-item__content {
width: calc(~'100% - 180px');
.el-input__inner {
width: calc(~'100% - 80px');
}
}
}
.standardForComments {
height: calc(~'100% - 56px');
background: #fff;
@@ -993,6 +1067,7 @@
.add-form-item {
/deep/.el-form-item__content {
width: calc(~'100% - 180px');
height: 50px;
}
}
display: flex;