feat: There is no way the, 体系的展示能否体现每一层,比如设计标准/电子电控/车联网系统
This commit is contained in:
@@ -49,7 +49,7 @@
|
|||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="标准体系" prop="standSystem" class="add-form-item form-item-disabled">
|
<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"
|
<tree-select-new v-if="!disabledXX"
|
||||||
:key="key"
|
:key="key"
|
||||||
:multiple=false
|
:multiple=false
|
||||||
@@ -1502,20 +1502,20 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import ProcessHeader from '../../components/ProcessHeader'
|
import ProcessHeader from '../../components/ProcessHeader'
|
||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import CustomSelectArray from '@/components/CustomFormComponents/SelectArray'
|
import CustomSelectArray from '@/components/CustomFormComponents/SelectArray'
|
||||||
import {saveTaskFirst, queryTaskFirst, getBusStandFileByAttId, taskDel} from "api/process";
|
import {getBusStandFileByAttId, queryTaskFirst, saveTaskFirst, taskDel} from "api/process";
|
||||||
import TreeSelect from '@/components/treeSelect/treeSelect.vue';
|
import TreeSelect from '@/components/treeSelect/treeSelect.vue';
|
||||||
import TreeSelectNew from '@/components/treeSelect/treeSelectNew.vue';
|
import TreeSelectNew from '@/components/treeSelect/treeSelectNew.vue';
|
||||||
import TreeSelectModule from "@/components/treeSelect/treeSelectModule.vue";
|
import TreeSelectModule from "@/components/treeSelect/treeSelectModule.vue";
|
||||||
import CustomDatePickGroup from '@/components/CustomFormComponents/DatePickerGroup'
|
import CustomDatePickGroup from '@/components/CustomFormComponents/DatePickerGroup'
|
||||||
import CusTomDataPickerGroup
|
import CusTomDataPickerGroup
|
||||||
from "@/pages/regulatoryRepository/localProductsOrProjectLibrary/components/DatePickerGroup";
|
from "@/pages/regulatoryRepository/localProductsOrProjectLibrary/components/DatePickerGroup";
|
||||||
import TreeSelectStand from "@/components/treeSelect/treeSelectStand";
|
import TreeSelectStand from "@/components/treeSelect/treeSelectStand";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "bzrkStep1",
|
name: "bzrkStep1",
|
||||||
components: {
|
components: {
|
||||||
TreeSelectStand,
|
TreeSelectStand,
|
||||||
@@ -2463,6 +2463,7 @@ export default {
|
|||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
if (res && res.data) {
|
if (res && res.data) {
|
||||||
|
this.ccc = true
|
||||||
const bringData = res.data
|
const bringData = res.data
|
||||||
bringData.txlb = ''
|
bringData.txlb = ''
|
||||||
bringData.signFlag = this.form.signFlag && this.form.signFlag != '' ? this.form.signFlag : '0'
|
bringData.signFlag = this.form.signFlag && this.form.signFlag != '' ? this.form.signFlag : '0'
|
||||||
@@ -2513,6 +2514,7 @@ export default {
|
|||||||
this.verifySarStandard = true
|
this.verifySarStandard = true
|
||||||
this.busVsFunc()
|
this.busVsFunc()
|
||||||
this.modelFunc()
|
this.modelFunc()
|
||||||
|
this.menu2("",this.form.standSystem)
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
}
|
}
|
||||||
// 遍历对象初始化文件信息
|
// 遍历对象初始化文件信息
|
||||||
@@ -3324,14 +3326,40 @@ export default {
|
|||||||
;
|
;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
popoverHide(checkedIds, checkedData, isShow, isLoadChild, topId) {
|
async menu2(id,name){
|
||||||
if (checkedData) {
|
let res = await this.selectMenu2(id,name)
|
||||||
if (checkedData.length > 0 && checkedData.length != 0) {
|
if(res && res.data){
|
||||||
this.form.standSystem = checkedData.map(item => item.menuName).join(",")
|
this.form.standSystem = res.data
|
||||||
} else {
|
|
||||||
this.form.standSystem = checkedData.menuName
|
|
||||||
}
|
|
||||||
this.modalShowFlag1 = false
|
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>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="标准体系" prop="standSystem" class="add-form-item form-item-disabled">
|
<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>
|
||||||
<el-form-item v-if="form.standInData === '1'" label="标签" prop="gxhbq" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '1'" label="标签" prop="gxhbq" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
|
|||||||
@@ -107,7 +107,7 @@
|
|||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="标准体系" prop="standSystem" class="add-form-item form-item-disabled">
|
<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>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|||||||
@@ -61,7 +61,7 @@
|
|||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="标准体系" prop="standSystem" class="add-form-item form-item-disabled">
|
<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
|
<tree-select-new
|
||||||
:key="key"
|
:key="key"
|
||||||
:multiple=false
|
:multiple=false
|
||||||
@@ -1561,6 +1561,7 @@
|
|||||||
@checkedRole="checkedRole2"
|
@checkedRole="checkedRole2"
|
||||||
:nodeList="nodeList2"
|
:nodeList="nodeList2"
|
||||||
></Role-tree>
|
></Role-tree>
|
||||||
|
<loading :loading="ccc">加载数据</loading>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -1600,6 +1601,7 @@ export default {
|
|||||||
return {
|
return {
|
||||||
submitType: '',
|
submitType: '',
|
||||||
bpnId: '',
|
bpnId: '',
|
||||||
|
ccc: false,
|
||||||
modalShowRoleFlag: false,
|
modalShowRoleFlag: false,
|
||||||
fileList: [],
|
fileList: [],
|
||||||
caFileList: [],
|
caFileList: [],
|
||||||
@@ -2531,15 +2533,40 @@ export default {
|
|||||||
// }
|
// }
|
||||||
// this.modalShowFlag4 = false
|
// this.modalShowFlag4 = false
|
||||||
// },
|
// },
|
||||||
|
async menu2(id,name){
|
||||||
popoverHide(checkedIds, checkedData, isShow, isLoadChild, topId) {
|
let res = await this.selectMenu2(id,name)
|
||||||
if (checkedData) {
|
if(res && res.data){
|
||||||
if (checkedData.length > 0 && checkedData.length != 0) {
|
this.form.standSystem = res.data
|
||||||
this.form.standSystem = checkedData.map(item => item.menuName).join(",")
|
|
||||||
} else {
|
|
||||||
this.form.standSystem = checkedData.menuName
|
|
||||||
}
|
|
||||||
this.modalShowFlag1 = false
|
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)
|
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() {
|
created() {
|
||||||
this.getData()
|
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.bpnId = this.$route.query.bpnId
|
this.bpnId = this.$route.query.bpnId
|
||||||
|
this.getData()
|
||||||
|
this.getDataAsync()
|
||||||
this.processTable()
|
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.busVsFunc()
|
||||||
this.modelFunc()
|
this.modelFunc()
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -171,7 +171,7 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="标准体系" prop="standSystem" class="add-form-item form-item-disabled">
|
<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>
|
||||||
<el-form-item v-if="form.standInData === '1'" label="标签" prop="gxhbq" class="add-form-item form-item-disabled">
|
<el-form-item v-if="form.standInData === '1'" label="标签" prop="gxhbq" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
|
|||||||
Reference in New Issue
Block a user