|
@@ -189,7 +189,7 @@
|
|
<div class="box-card-content2-list-item-list">
|
|
<div class="box-card-content2-list-item-list">
|
|
<span class="basic-info">基础信息</span>
|
|
<span class="basic-info">基础信息</span>
|
|
<div class="box-card-content2-list-item-list-basic">
|
|
<div class="box-card-content2-list-item-list-basic">
|
|
- <div class="basic-item-info" v-for="(item1,index1) in item.basic":key="index1" >
|
|
|
|
|
|
+ <div class="basic-item-info" v-for="(item1,index1) in item.info":key="index1" >
|
|
{{ item1.name }}
|
|
{{ item1.name }}
|
|
</div>
|
|
</div>
|
|
<div class="operation-icons">
|
|
<div class="operation-icons">
|
|
@@ -409,7 +409,7 @@ import {getLazytree} from "@/api/manager/wbsprivate";
|
|
import ConditionsSet from './ConditionsSet.vue'
|
|
import ConditionsSet from './ConditionsSet.vue'
|
|
import LinkEle from "./LinkEle.vue";
|
|
import LinkEle from "./LinkEle.vue";
|
|
import PreviewResult from './PreviewResult.vue'
|
|
import PreviewResult from './PreviewResult.vue'
|
|
-import {getPage,edit,add,deleteItem,getById, addInfo } from "@/api/ruleManage/fileRule.js";
|
|
|
|
|
|
+import {getPage,edit,add,deleteItem,getById, addInfo,getInfoPage } from "@/api/ruleManage/fileRule.js";
|
|
import { getStore, setStore } from "@/util/store";
|
|
import { getStore, setStore } from "@/util/store";
|
|
|
|
|
|
export default {
|
|
export default {
|
|
@@ -482,20 +482,20 @@ import { getStore, setStore } from "@/util/store";
|
|
},
|
|
},
|
|
ypList:[
|
|
ypList:[
|
|
{id:1,name:'样品名称',
|
|
{id:1,name:'样品名称',
|
|
- basic:
|
|
|
|
|
|
+ info:
|
|
[{}]
|
|
[{}]
|
|
},
|
|
},
|
|
],
|
|
],
|
|
jsList:[
|
|
jsList:[
|
|
{id:1,name:'技术指标名称',
|
|
{id:1,name:'技术指标名称',
|
|
- basic:
|
|
|
|
|
|
+ info:
|
|
[{name:'基本信息1'} , {name:'基本信息2'} , {name:'基本信息3'} , {name:'基本信息4'}]
|
|
[{name:'基本信息1'} , {name:'基本信息2'} , {name:'基本信息3'} , {name:'基本信息4'}]
|
|
},
|
|
},
|
|
],
|
|
],
|
|
isShowJsList:false,
|
|
isShowJsList:false,
|
|
jsDetail: {
|
|
jsDetail: {
|
|
name: '',
|
|
name: '',
|
|
- basic: [{ name: '',select:[] }, ]
|
|
|
|
|
|
+ info: [{ name: '',select:[] }, ]
|
|
},
|
|
},
|
|
jsRuleForm: {
|
|
jsRuleForm: {
|
|
name: [
|
|
name: [
|
|
@@ -668,10 +668,12 @@ import { getStore, setStore } from "@/util/store";
|
|
}
|
|
}
|
|
});
|
|
});
|
|
},
|
|
},
|
|
|
|
+ //
|
|
|
|
|
|
|
|
|
|
ruleDetailClick1(item){
|
|
ruleDetailClick1(item){
|
|
this.getRuleDataDetail(item);
|
|
this.getRuleDataDetail(item);
|
|
|
|
+ this.getRuleDataDetail1(item);
|
|
this.ruleItemDetail=item
|
|
this.ruleItemDetail=item
|
|
|
|
|
|
this.isShowDetail = true;
|
|
this.isShowDetail = true;
|
|
@@ -689,6 +691,29 @@ import { getStore, setStore } from "@/util/store";
|
|
}
|
|
}
|
|
});
|
|
});
|
|
},
|
|
},
|
|
|
|
+ //获取规范数据详情
|
|
|
|
+ getRuleDataDetail1(item){
|
|
|
|
+ getInfoPage({
|
|
|
|
+ current:1,
|
|
|
|
+ size:100,
|
|
|
|
+ type: 1,
|
|
|
|
+
|
|
|
|
+ standardId: item.id,
|
|
|
|
+ }).then((res) => {
|
|
|
|
+ console.log(res,'res1111');
|
|
|
|
+
|
|
|
|
+ this.ruleLoading = false;
|
|
|
|
+ if (res.data.code === 200) {
|
|
|
|
+ console.log(res.data.data.records,'res.data.data.records');
|
|
|
|
+ this.ypList = res.data.data.records;
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ } else {
|
|
|
|
+ this.ypList = [];
|
|
|
|
+ this.$message.error(res.data.msg);
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ },
|
|
addFile(){
|
|
addFile(){
|
|
//新增规范文件
|
|
//新增规范文件
|
|
this.addFileDialogVisible = true;
|
|
this.addFileDialogVisible = true;
|