feat: There is no way the, 体系的展示能否体现每一层,比如设计标准/电子电控/车联网系统
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="标准体系" prop="standSystem" class="add-form-item form-item-disabled">
|
||||
<el-input :disabled="disabledXX" v-model="form.standSystem" clearable placeholder="选择标准体系" @click.native="choiceZRR1('standSystem', '标准体系', form.standSystem)"></el-input>
|
||||
<el-input :disabled="disabledXX" v-model="form.standSystem" :title="form.standSystem" clearable placeholder="选择标准体系" @click.native="choiceZRR1('standSystem', '标准体系', form.standSystem)"></el-input>
|
||||
<tree-select-new v-if="!disabledXX"
|
||||
:key="key"
|
||||
:multiple=false
|
||||
@@ -1502,20 +1502,20 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import ProcessHeader from '../../components/ProcessHeader'
|
||||
import ProcessFooter from '../../components/ProcessFooter'
|
||||
import ProcessTitle from '../../components/ProcessTitle'
|
||||
import CustomSelectArray from '@/components/CustomFormComponents/SelectArray'
|
||||
import {saveTaskFirst, queryTaskFirst, getBusStandFileByAttId, taskDel} from "api/process";
|
||||
import TreeSelect from '@/components/treeSelect/treeSelect.vue';
|
||||
import TreeSelectNew from '@/components/treeSelect/treeSelectNew.vue';
|
||||
import TreeSelectModule from "@/components/treeSelect/treeSelectModule.vue";
|
||||
import CustomDatePickGroup from '@/components/CustomFormComponents/DatePickerGroup'
|
||||
import CusTomDataPickerGroup
|
||||
from "@/pages/regulatoryRepository/localProductsOrProjectLibrary/components/DatePickerGroup";
|
||||
import TreeSelectStand from "@/components/treeSelect/treeSelectStand";
|
||||
import ProcessHeader from '../../components/ProcessHeader'
|
||||
import ProcessFooter from '../../components/ProcessFooter'
|
||||
import ProcessTitle from '../../components/ProcessTitle'
|
||||
import CustomSelectArray from '@/components/CustomFormComponents/SelectArray'
|
||||
import {getBusStandFileByAttId, queryTaskFirst, saveTaskFirst, taskDel} from "api/process";
|
||||
import TreeSelect from '@/components/treeSelect/treeSelect.vue';
|
||||
import TreeSelectNew from '@/components/treeSelect/treeSelectNew.vue';
|
||||
import TreeSelectModule from "@/components/treeSelect/treeSelectModule.vue";
|
||||
import CustomDatePickGroup from '@/components/CustomFormComponents/DatePickerGroup'
|
||||
import CusTomDataPickerGroup
|
||||
from "@/pages/regulatoryRepository/localProductsOrProjectLibrary/components/DatePickerGroup";
|
||||
import TreeSelectStand from "@/components/treeSelect/treeSelectStand";
|
||||
|
||||
export default {
|
||||
export default {
|
||||
name: "bzrkStep1",
|
||||
components: {
|
||||
TreeSelectStand,
|
||||
@@ -2463,6 +2463,7 @@ export default {
|
||||
_this: this
|
||||
}, res => {
|
||||
if (res && res.data) {
|
||||
this.ccc = true
|
||||
const bringData = res.data
|
||||
bringData.txlb = ''
|
||||
bringData.signFlag = this.form.signFlag && this.form.signFlag != '' ? this.form.signFlag : '0'
|
||||
@@ -2513,6 +2514,7 @@ export default {
|
||||
this.verifySarStandard = true
|
||||
this.busVsFunc()
|
||||
this.modelFunc()
|
||||
this.menu2("",this.form.standSystem)
|
||||
this.$forceUpdate()
|
||||
}
|
||||
// 遍历对象初始化文件信息
|
||||
@@ -3324,14 +3326,40 @@ export default {
|
||||
;
|
||||
}
|
||||
},
|
||||
popoverHide(checkedIds, checkedData, isShow, isLoadChild, topId) {
|
||||
if (checkedData) {
|
||||
if (checkedData.length > 0 && checkedData.length != 0) {
|
||||
this.form.standSystem = checkedData.map(item => item.menuName).join(",")
|
||||
} else {
|
||||
this.form.standSystem = checkedData.menuName
|
||||
}
|
||||
async menu2(id,name){
|
||||
let res = await this.selectMenu2(id,name)
|
||||
if(res && res.data){
|
||||
this.form.standSystem = res.data
|
||||
this.modalShowFlag1 = false
|
||||
this.ccc = false
|
||||
}
|
||||
},
|
||||
selectMenu2(id,name) {
|
||||
const param = {}
|
||||
if(id && id !== ""){
|
||||
param.id = id
|
||||
}
|
||||
|
||||
if(name && name !== ""){
|
||||
param.menuName = name
|
||||
}
|
||||
return new Promise((resolve, reject) => {
|
||||
this.$http.get('lawss/sarMenuStandardLimit/getTopMenu', param, {
|
||||
_this: this
|
||||
}, res => {
|
||||
resolve(res)
|
||||
})
|
||||
})
|
||||
},
|
||||
popoverHide(checkedIds, checkedData, isShow, isLoadChild, topId) {
|
||||
this.ccc = true
|
||||
if (checkedData) {
|
||||
this.menu2(checkedIds,"")
|
||||
// if (checkedData.length > 0 && checkedData.length !== 0) {
|
||||
// this.form.standSystem = checkedData.map(item => item.menuName).join(",")
|
||||
// } else {
|
||||
// this.form.standSystem = checkedData.menuName
|
||||
// }
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
@@ -171,7 +171,7 @@
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="标准体系" prop="standSystem" class="add-form-item form-item-disabled">
|
||||
<el-input v-model="form.standSystem" disabled></el-input>
|
||||
<el-input v-model="form.standSystem" :title="form.standSystem" disabled></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item v-if="form.standInData === '1'" label="标签" prop="gxhbq" class="add-form-item form-item-disabled">
|
||||
<el-input
|
||||
|
||||
@@ -107,7 +107,7 @@
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
<el-form-item label="标准体系" prop="standSystem" class="add-form-item form-item-disabled">
|
||||
<el-input v-model="form.standSystem" disabled></el-input>
|
||||
<el-input v-model="form.standSystem" :title="form.standSystem" disabled></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="标准体系" prop="standSystem" class="add-form-item form-item-disabled">
|
||||
<el-input v-model="form.standSystem" clearable placeholder="选择标准体系" @click.native="choiceZRR1('standSystem', '标准体系', form.standSystem)"></el-input>
|
||||
<el-input v-model="form.standSystem" :title="form.standSystem" clearable placeholder="选择标准体系" @click.native="choiceZRR1('standSystem', '标准体系', form.standSystem)"></el-input>
|
||||
<tree-select-new
|
||||
:key="key"
|
||||
:multiple=false
|
||||
@@ -1561,6 +1561,7 @@
|
||||
@checkedRole="checkedRole2"
|
||||
:nodeList="nodeList2"
|
||||
></Role-tree>
|
||||
<loading :loading="ccc">加载数据</loading>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -1600,6 +1601,7 @@ export default {
|
||||
return {
|
||||
submitType: '',
|
||||
bpnId: '',
|
||||
ccc: false,
|
||||
modalShowRoleFlag: false,
|
||||
fileList: [],
|
||||
caFileList: [],
|
||||
@@ -2531,15 +2533,40 @@ export default {
|
||||
// }
|
||||
// this.modalShowFlag4 = false
|
||||
// },
|
||||
|
||||
popoverHide(checkedIds, checkedData, isShow, isLoadChild, topId) {
|
||||
if (checkedData) {
|
||||
if (checkedData.length > 0 && checkedData.length != 0) {
|
||||
this.form.standSystem = checkedData.map(item => item.menuName).join(",")
|
||||
} else {
|
||||
this.form.standSystem = checkedData.menuName
|
||||
}
|
||||
async menu2(id,name){
|
||||
let res = await this.selectMenu2(id,name)
|
||||
if(res && res.data){
|
||||
this.form.standSystem = res.data
|
||||
this.modalShowFlag1 = false
|
||||
this.ccc = false
|
||||
}
|
||||
},
|
||||
selectMenu2(id,name) {
|
||||
const param = {}
|
||||
if(id && id !== ""){
|
||||
param.id = id
|
||||
}
|
||||
|
||||
if(name && name !== ""){
|
||||
param.menuName = name
|
||||
}
|
||||
return new Promise((resolve, reject) => {
|
||||
this.$http.get('lawss/sarMenuStandardLimit/getTopMenu', param, {
|
||||
_this: this
|
||||
}, res => {
|
||||
resolve(res)
|
||||
})
|
||||
})
|
||||
},
|
||||
popoverHide(checkedIds, checkedData, isShow, isLoadChild, topId) {
|
||||
this.ccc = true
|
||||
if (checkedData) {
|
||||
this.menu2(checkedIds,"")
|
||||
// if (checkedData.length > 0 && checkedData.length !== 0) {
|
||||
// this.form.standSystem = checkedData.map(item => item.menuName).join(",")
|
||||
// } else {
|
||||
// this.form.standSystem = checkedData.menuName
|
||||
// }
|
||||
}
|
||||
|
||||
},
|
||||
@@ -2983,38 +3010,52 @@ export default {
|
||||
this.$set(this.textStatusMap, item.value, item.label)
|
||||
})
|
||||
},
|
||||
getDicTypeListCode(res,json) {
|
||||
return new Promise((resolve, reject) => {
|
||||
this.$http.get('sys/dictype/getDicTypeListCode', '', {
|
||||
_this: this
|
||||
}, res => {
|
||||
const history = res;
|
||||
resolve(history)
|
||||
})
|
||||
})
|
||||
},
|
||||
async getDataAsync(){
|
||||
this.ccc = true
|
||||
let res = await this.getDicTypeListCode()
|
||||
if(res && res.data){
|
||||
this.countryOptions = res.data.COUNTRY//国家地区
|
||||
this.standSortOptions = res.data.STANDCLASSIFY // 标准类别
|
||||
this.standNatureOptions = res.data.SARPROPERTY // 标准性质
|
||||
this.standStateOptions = res.data.WBZTCLASS // 文本状态
|
||||
this.standSystemOptions = res.data.BZTXCLASS // 标准体系
|
||||
this.applyArcticOptions.options = res.data.ENERGYTYPES // 适用车型
|
||||
this.categoryOptions.options = res.data.NYLXCLASS // 能源类型
|
||||
this.applyAuthOptions.options = res.data.SYRZCLASS // 适用认证
|
||||
this.cysdOptions = res.data.WSCYSD // 我司参与深度
|
||||
this.cyzbpmOptions = res.data.CYZBPM // 我司参与制标排名
|
||||
this.wssmrOptions = res.data.WSSMR // 我司署名人
|
||||
this.qcdwOptions = res.data.QCDW // 起草单位
|
||||
this.sycpxOptions.options = res.data.SYCPXCLASS // 适用产品线
|
||||
this.zrbmOptions.options = res.data.ZRBMCLASS // 责任部门
|
||||
this.zrgcsOptions.options = res.data.ZRGCSCLASS // 责任工程师
|
||||
this.txlbOptions = res.data.TXLBCLASS // 体系类别
|
||||
this.gkglbmOptions = res.data.GKGLBM // 归口管理部门
|
||||
this.cbcdOptions = res.data.DEGREESTANDARD // 采标程度
|
||||
this.treeStatus = true
|
||||
this.key++
|
||||
this.setMap(this.standStateOptions);
|
||||
this.ccc = false
|
||||
}
|
||||
},
|
||||
},
|
||||
created() {
|
||||
this.getData()
|
||||
},
|
||||
mounted() {
|
||||
this.bpnId = this.$route.query.bpnId
|
||||
this.getData()
|
||||
this.getDataAsync()
|
||||
this.processTable()
|
||||
this.$http.get('sys/dictype/getDicTypeListCode', '', {
|
||||
_this: this
|
||||
}, res => {
|
||||
this.countryOptions = res.data.COUNTRY//国家地区
|
||||
this.standSortOptions = res.data.STANDCLASSIFY // 标准类别
|
||||
this.standNatureOptions = res.data.SARPROPERTY // 标准性质
|
||||
this.standStateOptions = res.data.WBZTCLASS // 文本状态
|
||||
this.standSystemOptions = res.data.BZTXCLASS // 标准体系
|
||||
this.applyArcticOptions.options = res.data.ENERGYTYPES // 适用车型
|
||||
this.categoryOptions.options = res.data.NYLXCLASS // 能源类型
|
||||
this.applyAuthOptions.options = res.data.SYRZCLASS // 适用认证
|
||||
this.cysdOptions = res.data.WSCYSD // 我司参与深度
|
||||
this.cyzbpmOptions = res.data.CYZBPM // 我司参与制标排名
|
||||
this.wssmrOptions = res.data.WSSMR // 我司署名人
|
||||
this.qcdwOptions = res.data.QCDW // 起草单位
|
||||
this.sycpxOptions.options = res.data.SYCPXCLASS // 适用产品线
|
||||
this.zrbmOptions.options = res.data.ZRBMCLASS // 责任部门
|
||||
this.zrgcsOptions.options = res.data.ZRGCSCLASS // 责任工程师
|
||||
this.txlbOptions = res.data.TXLBCLASS // 体系类别
|
||||
this.gkglbmOptions = res.data.GKGLBM // 归口管理部门
|
||||
this.cbcdOptions = res.data.DEGREESTANDARD // 采标程度
|
||||
this.treeStatus = true
|
||||
this.key++
|
||||
this.setMap(this.standStateOptions);
|
||||
})
|
||||
this.busVsFunc()
|
||||
this.modelFunc()
|
||||
},
|
||||
|
||||
@@ -171,7 +171,7 @@
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="标准体系" prop="standSystem" class="add-form-item form-item-disabled">
|
||||
<el-input v-model="form.standSystem" disabled></el-input>
|
||||
<el-input v-model="form.standSystem" :title="form.standSystem" disabled></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item v-if="form.standInData === '1'" label="标签" prop="gxhbq" class="add-form-item form-item-disabled">
|
||||
<el-input
|
||||
|
||||
Reference in New Issue
Block a user