修改表单bug
This commit is contained in:
@@ -36,22 +36,22 @@
|
|||||||
<div class="search-area">
|
<div class="search-area">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<el-form :modal="replaceLawsNumForm" :inline="true" class="label-input-form">
|
<el-form :modal="replaceLawsNumForm" :inline="true" class="label-input-form">
|
||||||
|
<el-form-item label="国内/海外" class="search-item">
|
||||||
|
<el-select
|
||||||
|
v-model="replaceLawsNumForm.standType"
|
||||||
|
placeholder="请选择"
|
||||||
|
>
|
||||||
|
<el-option v-if="enterpriseStandard" value="1" label="企标"></el-option>
|
||||||
|
<el-option value="INLAND" label="国内"></el-option>
|
||||||
|
<el-option value="FOREIGN" label="海外"></el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
<el-form-item label="标准编号" class="search-item">
|
<el-form-item label="标准编号" class="search-item">
|
||||||
<el-input v-model="replaceLawsNumForm.standNumber" placeholder="根据标准编号查找" clearable :maxlength="100"></el-input>
|
<el-input v-model="replaceLawsNumForm.standNumber" placeholder="根据标准编号查找" clearable :maxlength="100"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="标准名称" class="search-item">
|
<el-form-item label="标准名称" class="search-item">
|
||||||
<el-input v-model="replaceLawsNumForm.standName" placeholder="根据标准名称查找" clearable :maxlength="100"></el-input>
|
<el-input v-model="replaceLawsNumForm.standName" placeholder="根据标准名称查找" clearable :maxlength="100"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="国内/海外" class="search-item">
|
|
||||||
<el-select
|
|
||||||
v-model="replaceLawsNumForm.standType"
|
|
||||||
placeholder="请选择"
|
|
||||||
>
|
|
||||||
<el-option v-if="enterpriseStandard" value="1" label="企标"></el-option>
|
|
||||||
<el-option value="INLAND" label="国内"></el-option>
|
|
||||||
<el-option value="FOREIGN" label="海外"></el-option>
|
|
||||||
</el-select>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item class="search-item btn-box">
|
<el-form-item class="search-item btn-box">
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
style="line-height: 30px; font-size: 13px;">{{ getPrcNameFilter(item) }}</span>
|
style="line-height: 30px; font-size: 13px;">{{ getPrcNameFilter(item) }}</span>
|
||||||
<el-tooltip class="item" effect="dark" :content="getPrcNameFilter(item)" placement="left" v-else>
|
<el-tooltip class="item" effect="dark" :content="getPrcNameFilter(item)" placement="left" v-else>
|
||||||
<span @click="dealWith(item)"
|
<span @click="dealWith(item)"
|
||||||
style="line-height: 30px; font-size: 13px;">{{ getPrcNameFilter(item).substring(0, 24) + '...' }}</span>
|
style="line-height: 30px; font-size: 13px;">{{ getPrcNameFilter(item).substring(0, 32) + '...' }}</span>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -368,6 +368,7 @@ export default {
|
|||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//预览
|
||||||
clickButtonToUpload2(file) {
|
clickButtonToUpload2(file) {
|
||||||
const attId = file
|
const attId = file
|
||||||
this.$preview(attId)
|
this.$preview(attId)
|
||||||
|
|||||||
@@ -559,9 +559,14 @@ export default {
|
|||||||
}, res => {
|
}, res => {
|
||||||
this.cbcdOptions = res.data.DEGREESTANDARD //采标程度
|
this.cbcdOptions = res.data.DEGREESTANDARD //采标程度
|
||||||
this.BZList = res.data.ENERGYTYPES //适用车型
|
this.BZList = res.data.ENERGYTYPES //适用车型
|
||||||
this.standSortOptions = res.data.BUSSSTANDCLASS // 标准类别
|
// this.standSortOptions = res.data.BUSSSTANDCLASS // 标准类别
|
||||||
this.standSystemOptions = res.data.TXLBBUSS // 体系结构
|
this.standSystemOptions = res.data.TXLBBUSS // 体系结构
|
||||||
this.qcdwOptions = res.data.QCDW // 起草单位
|
this.qcdwOptions = res.data.QCDW // 起草单位
|
||||||
|
res.data.BUSSSTANDCLASS.forEach(item => {
|
||||||
|
if(item.label){
|
||||||
|
this.standSortOptions.push(item) //企标类别
|
||||||
|
}
|
||||||
|
})
|
||||||
})
|
})
|
||||||
if(this.$route.query.bpnId === undefined && this.$route.query.taskIds === undefined){
|
if(this.$route.query.bpnId === undefined && this.$route.query.taskIds === undefined){
|
||||||
this.$http.get('/lawss/activiti/saveEditFile', {
|
this.$http.get('/lawss/activiti/saveEditFile', {
|
||||||
|
|||||||
@@ -740,7 +740,7 @@ export default {
|
|||||||
this.standInfoTableLoading = true
|
this.standInfoTableLoading = true
|
||||||
if(this.sarAccessEO.sortKey === '1'){
|
if(this.sarAccessEO.sortKey === '1'){
|
||||||
this.$http.get("sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById", {
|
this.$http.get("sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById", {
|
||||||
...this.standardFormList,
|
...this.sarAccessInfo,
|
||||||
...this.standardForm,
|
...this.standardForm,
|
||||||
id: this.pageId,
|
id: this.pageId,
|
||||||
types: '1',
|
types: '1',
|
||||||
@@ -762,13 +762,13 @@ export default {
|
|||||||
item.zrbm = null
|
item.zrbm = null
|
||||||
}
|
}
|
||||||
if (item.zccssrqgj === "undefined") {
|
if (item.zccssrqgj === "undefined") {
|
||||||
item.zccssrqgj = '-'
|
item.zccssrqgj = ''
|
||||||
}
|
}
|
||||||
if (item.xcxssrqgj === "undefined") {
|
if (item.xcxssrqgj === "undefined") {
|
||||||
item.xcxssrqgj = '-'
|
item.xcxssrqgj = ''
|
||||||
}
|
}
|
||||||
if (item.ssrq === "undefined") {
|
if (item.ssrq === "undefined" || item.ssrq === 'null' || item.ssrq) {
|
||||||
item.ssrq = '-'
|
item.ssrq = ''
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.standinfoList = res.data.records;
|
this.standinfoList = res.data.records;
|
||||||
@@ -791,7 +791,7 @@ export default {
|
|||||||
});
|
});
|
||||||
}else{
|
}else{
|
||||||
this.$http.get("sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById", {
|
this.$http.get("sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById", {
|
||||||
...this.standardFormList,
|
...this.sarAccessInfo,
|
||||||
...this.standardForm,
|
...this.standardForm,
|
||||||
id: this.pageId
|
id: this.pageId
|
||||||
}, {
|
}, {
|
||||||
@@ -833,7 +833,7 @@ export default {
|
|||||||
},
|
},
|
||||||
selectInfoMore() {
|
selectInfoMore() {
|
||||||
this.$http.get("sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById", {
|
this.$http.get("sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById", {
|
||||||
...this.standardFormList,
|
...this.sarAccessInfo,
|
||||||
id: this.pageId
|
id: this.pageId
|
||||||
}, {
|
}, {
|
||||||
_this: this
|
_this: this
|
||||||
@@ -1077,7 +1077,7 @@ export default {
|
|||||||
this.showQueryMore = true;
|
this.showQueryMore = true;
|
||||||
this.page = 1;
|
this.page = 1;
|
||||||
this.standardForm.page = 1;
|
this.standardForm.page = 1;
|
||||||
this.selectInfoMore();
|
// this.selectInfoMore();
|
||||||
},
|
},
|
||||||
queryInfo() {
|
queryInfo() {
|
||||||
this.page = 1;
|
this.page = 1;
|
||||||
@@ -1086,11 +1086,11 @@ export default {
|
|||||||
this.isAdvancedSearch = false;
|
this.isAdvancedSearch = false;
|
||||||
},
|
},
|
||||||
backInfo() {
|
backInfo() {
|
||||||
this.standardFormList.standName = "";
|
this.sarAccessInfo.standName = "";
|
||||||
this.standardFormList.typeApplicable = "";
|
this.sarAccessInfo.typeApplicable = "";
|
||||||
this.standardFormList.nylx = "";
|
this.sarAccessInfo.nylx = "";
|
||||||
this.standardFormList.zrbm = "";
|
this.sarAccessInfo.zrbm = "";
|
||||||
this.standardFormList.sycpx = "";
|
this.sarAccessInfo.sycpx = "";
|
||||||
this.isAdvancedSearch = false;
|
this.isAdvancedSearch = false;
|
||||||
},
|
},
|
||||||
// 获取工作组信息下拉框信息
|
// 获取工作组信息下拉框信息
|
||||||
|
|||||||
Reference in New Issue
Block a user