标准清单 检索中心
This commit is contained in:
@@ -214,6 +214,8 @@ export default {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow-y: auto;
|
||||
background: url('~@/assets/images/shangqi/home/BG.png') no-repeat;
|
||||
background-size: 100%;
|
||||
& > div{
|
||||
position: absolute;
|
||||
top: 0;
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
#app{
|
||||
&.theme-one {
|
||||
//background: url('~@/assets/images/shangqi/home/home-bg.png') no-repeat;
|
||||
background: url('~@/assets/images/shangqi/home/BG.png') no-repeat;
|
||||
//background: url('~@/assets/images/shangqi/home/BG.png') no-repeat;
|
||||
background-size: cover;
|
||||
}
|
||||
input:focus{
|
||||
|
||||
@@ -101,7 +101,7 @@ export default {
|
||||
display: inline-block;
|
||||
width: 160px;
|
||||
height: 61px;
|
||||
background: url("~@/assets/images/shangqi/home/logo-bg.png") no-repeat;
|
||||
background: url("~@/assets/images/shangqi/home/logo2.png") no-repeat;
|
||||
background-size: cover;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
<div class="nav-menu">
|
||||
<div class="lattice">
|
||||
<div class="menu-wrap">
|
||||
<enter-card label="高级检索" path="/" style="margin-left:0px;"></enter-card>
|
||||
<enter-card label="个人中心" path="/"></enter-card>
|
||||
<enter-card label="高级检索" path="/advancedSearch" style="margin-left:0px;"></enter-card>
|
||||
<enter-card label="个人中心" path="/collection"></enter-card>
|
||||
<enter-card label="统计图表" path="/"></enter-card>
|
||||
</div>
|
||||
<div class="menu-wrap">
|
||||
|
||||
@@ -346,7 +346,7 @@ export default {
|
||||
editTable(item) {
|
||||
sessionStorage.setItem("accessRow", JSON.stringify(item));
|
||||
this.$router.push({
|
||||
name: "ListOfStandardsAndRegulationsDetails",
|
||||
name: "OtherAddEit",
|
||||
query: {
|
||||
id: item.id
|
||||
}
|
||||
|
||||
@@ -349,7 +349,7 @@ export default {
|
||||
editTable(item) {
|
||||
sessionStorage.setItem("accessRow", JSON.stringify(item));
|
||||
this.$router.push({
|
||||
name: "ListOfStandardsAndRegulationsDetails",
|
||||
name: "ProjectAddEit",
|
||||
query: {
|
||||
id: item.id
|
||||
}
|
||||
|
||||
@@ -544,6 +544,7 @@ export default {
|
||||
// region: '', // 区域
|
||||
countryArea: '', // 国家
|
||||
keywords: '', // 关键字
|
||||
detailedListName: '', //清单名称
|
||||
applyArctic: '', // 能源种类
|
||||
// category: '', // 所属专业领域
|
||||
// applyArctic: '', // 适用车型
|
||||
@@ -917,12 +918,7 @@ export default {
|
||||
// 点击清空查询条件 按钮事件
|
||||
clearSearchLaws () {
|
||||
this.sarAccessInfoSearch.advanceSearchVOStr = ''
|
||||
// this.sarAccessInfoSearch.applyArctic = '' // 适用车型
|
||||
this.sarAccessInfoSearch.applyArctic = '' // 能源种类
|
||||
// this.sarAccessInfoSearch.category = '' // 所属专业领域
|
||||
// this.sarAccessInfoSearch.applyAuth = '' // 认证类型
|
||||
// this.sarAccessInfoSearch.country = '' // 国家
|
||||
// this.sarAccessInfoSearch.region = '' // 区域
|
||||
this.sarAccessInfoSearch.keywords = '' // 关键字
|
||||
this.sarAccessInfoSearch.accessSarType = 'SKILL' // 清单类型
|
||||
this.sarAccessInfoSearch.askType = '' // 监管类型
|
||||
@@ -935,7 +931,6 @@ export default {
|
||||
dataSourceChange (val) {
|
||||
this.isListType = val === 'TEMP'
|
||||
this.sarAccessInfoSearch.advanceSearchVOStr = ''
|
||||
this.$refs.advancedQuery.clearAllSearch()
|
||||
// 国内标准法规可查字段
|
||||
if (val === 'INLAND_STAND'){
|
||||
this.twoOptions=[
|
||||
@@ -1459,6 +1454,7 @@ export default {
|
||||
sarAccessEO.inforlist = JSON.stringify(rowlist)
|
||||
sarAccessEO.adminInfoList = JSON.stringify(rowList2)
|
||||
sarAccessEO.countryArea = sarAccessEO.countryArea.join(',')
|
||||
sarAccessEO.detailedListName = sarAccessEO.detailedListName.join(',')
|
||||
// 判断是否有附件
|
||||
if (this.fileInfoList.length > 0) {
|
||||
let relateFile = []
|
||||
@@ -2215,7 +2211,7 @@ export default {
|
||||
this.$nextTick(() => {
|
||||
this.sarAccessEO.type = accessRow.type
|
||||
this.sarAccessEO.countryArea = accessRow.countryArea.split(',')
|
||||
this.sarAccessEO.accessContent = accessRow.accessContent
|
||||
this.sarAccessEO.detailedListName = accessRow.detailedListName
|
||||
this.sarAccessEO.id = accessRow.id
|
||||
this.sarAccessEO.remark = accessRow.remark || ''
|
||||
this.sarAccessEO.relateFile = accessRow.relateFile
|
||||
|
||||
@@ -190,7 +190,7 @@
|
||||
</el-form>
|
||||
<span slot="footer" class="demo-drawer-footer">
|
||||
<el-button class="common-button-default" icon="el-icon-close" @click="cancal">取消</el-button>
|
||||
<el-button type="primary" round class="common-button-primary" icon="el-icon-check"
|
||||
<el-button type="primary" class="common-button-primary" icon="el-icon-check"
|
||||
@click="exportTestItem">提交</el-button>
|
||||
</span>
|
||||
</el-dialog>
|
||||
@@ -222,6 +222,8 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { interfaceUrl } from "@/sysConfig";
|
||||
|
||||
export default {
|
||||
name: "AccessStandardDetails",
|
||||
data() {
|
||||
@@ -234,19 +236,18 @@ export default {
|
||||
heightShow: true,
|
||||
dataLoading: false,
|
||||
standardForm: {
|
||||
standNumber: '',
|
||||
standName: '',
|
||||
responseUnit:'',
|
||||
|
||||
standNumber: "",
|
||||
standName: "",
|
||||
responseUnit: "",
|
||||
page: 1,
|
||||
pageSize: this.$store.getters.userInfo.configContent,
|
||||
pageSize: this.$store.getters.userInfo.configContent
|
||||
},
|
||||
page: 1,
|
||||
// pageSize: this.$store.getters.userInfo.configContent,
|
||||
total: 0,
|
||||
stateList: [], // 标准状态列表
|
||||
activeName: "SKILL", // 当前激活
|
||||
// 导出文件模态框控制,和文件名称
|
||||
saveExportType: "",
|
||||
exportModelFlag: false,
|
||||
exportName: "",
|
||||
standType: "INLAND",
|
||||
@@ -255,6 +256,9 @@ export default {
|
||||
loading: false,
|
||||
accessSarType: "",
|
||||
selectedList: [],
|
||||
pageId: '',
|
||||
// 导出文件模态框控制,和文件名称
|
||||
saveExportType: "",
|
||||
depNode: [], // 部门树
|
||||
sarAccessEO: {},
|
||||
fileInfoList: [],
|
||||
@@ -302,14 +306,16 @@ export default {
|
||||
},
|
||||
// 根据准入id查询标准法规详情
|
||||
selectInfobyAccid() {
|
||||
console.log('309',this.pageId);
|
||||
this.$http.get("sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById", {
|
||||
...this.standardForm,
|
||||
id: this.pageId,
|
||||
}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
this.standinfoList = res.data
|
||||
this.total = res.data.total
|
||||
},e => {
|
||||
this.standinfoList = res.data;
|
||||
this.total = res.data.total;
|
||||
}, e => {
|
||||
|
||||
});
|
||||
},
|
||||
@@ -330,12 +336,17 @@ export default {
|
||||
// 重置搜索
|
||||
resetSelect() {
|
||||
this.standardForm = {
|
||||
standName: '',
|
||||
responseUnit:'',
|
||||
}
|
||||
standName: "",
|
||||
responseUnit: ""
|
||||
};
|
||||
this.selectInfobyAccid();
|
||||
},
|
||||
exportStandard() {
|
||||
if (this.selectedList.length > 0) {
|
||||
this.saveExportType = "apart";
|
||||
} else {
|
||||
this.saveExportType = "all";
|
||||
}
|
||||
this.exportName = "";
|
||||
this.exportModelFlag = true;
|
||||
},
|
||||
@@ -344,7 +355,23 @@ export default {
|
||||
this.exportModelFlag = false;
|
||||
},
|
||||
// 导出确定功能
|
||||
exportTestItem() {
|
||||
//确认导出
|
||||
exportTestItem () {
|
||||
if(this.saveExportType === 'apart') {
|
||||
if (this.selectedList != null && this.selectedList != ''){
|
||||
const exportURL = interfaceUrl + 'sarLawsAttrDetailedList/sar-laws-attr-detailed-list/ExportLawsById?' +
|
||||
'exportType' + this.saveExportType + '&ids=' + this.selectedList.join(',') + '&exportName=' + this.exportName
|
||||
window.open(exportURL)
|
||||
this.$message.success('导出信息成功')
|
||||
}
|
||||
} else if (this.saveExportType === 'all') {
|
||||
const exportURL = interfaceUrl + 'sarLawsAttrDetailedList/sar-laws-attr-detailed-list/ExportLawsById?' +
|
||||
'exportType' + this.saveExportType + '&id=' + this.pageId + '&exportName=' + this.exportName
|
||||
window.open(exportURL)
|
||||
this.$message.success('导出信息成功')
|
||||
}
|
||||
this.exportModelFlag = false
|
||||
this.selectedList = []
|
||||
},
|
||||
// tab页切换
|
||||
handleClick(tab, event) {
|
||||
@@ -355,8 +382,11 @@ export default {
|
||||
this.selectInfobyAccid();
|
||||
},
|
||||
// 修改成表格样式后,选择项勾选改变
|
||||
standSelectChange(selected) {
|
||||
this.selectedList = selected;
|
||||
standSelectChange (data) {
|
||||
this.selectedList = []
|
||||
for (let i = 0; i < data.length; i++) {
|
||||
this.selectedList.push(data[i].id)
|
||||
}
|
||||
},
|
||||
pageChange(page) {
|
||||
this.standardForm.page = page;
|
||||
@@ -506,12 +536,12 @@ export default {
|
||||
},
|
||||
mounted() {
|
||||
this.$nextTick(() => {
|
||||
let accessRow = JSON.parse(sessionStorage.getItem("accessRow"));
|
||||
this.pageId = accessRow.id
|
||||
this.sarAccessEO = accessRow;
|
||||
this.selectInfobyAccid();
|
||||
this.getOrgTreeSource();
|
||||
let accessRow = JSON.parse(sessionStorage.getItem("accessRow"));
|
||||
this.sarAccessEO = accessRow;
|
||||
this.getFileInfo();
|
||||
console.log("1818", this.selectInfobyAccid());
|
||||
});
|
||||
|
||||
// 从数据库中查询各下拉框数据
|
||||
|
||||
@@ -920,7 +920,6 @@ export default {
|
||||
dataSourceChange (val) {
|
||||
this.isListType = val === 'TEMP'
|
||||
this.sarAccessInfoSearch.advanceSearchVOStr = ''
|
||||
this.$refs.advancedQuery.clearAllSearch()
|
||||
// 国内标准法规可查字段
|
||||
if (val === 'INLAND_STAND'){
|
||||
this.twoOptions=[
|
||||
@@ -1441,9 +1440,6 @@ export default {
|
||||
rowList2.push(this.sarAccessInfoListADMIN[i])
|
||||
}
|
||||
let sarAccessEO = JSON.parse(JSON.stringify(this.sarAccessEO))
|
||||
sarAccessEO.inforlist = JSON.stringify(rowlist)
|
||||
sarAccessEO.adminInfoList = JSON.stringify(rowList2)
|
||||
sarAccessEO.country = sarAccessEO.countryArea.join(',')
|
||||
// 判断是否有附件
|
||||
if (this.fileInfoList.length > 0) {
|
||||
let relateFile = []
|
||||
@@ -1486,6 +1482,7 @@ export default {
|
||||
this.$message.error('请检查表单是否填写正确')
|
||||
}
|
||||
})
|
||||
|
||||
},
|
||||
// 查询数据搜索 table 数据
|
||||
selectLawsStands () {
|
||||
@@ -2199,8 +2196,10 @@ export default {
|
||||
let accessRow = JSON.parse(sessionStorage.getItem('accessRow'))
|
||||
this.$nextTick(() => {
|
||||
this.sarAccessEO.type = accessRow.type
|
||||
this.sarAccessEO.countryArea = accessRow.countryArea.split(',')
|
||||
this.sarAccessEO.accessContent = accessRow.accessContent
|
||||
// this.sarAccessEO.countryArea = accessRow.countryArea.split(',')
|
||||
// this.sarAccessEO.accessContent = accessRow.accessContent
|
||||
this.sarAccessEO.detailedListName = accessRow.detailedListName //清单名称
|
||||
this.sarAccessEO.detailedList = accessRow.detailedList //清单类别
|
||||
this.sarAccessEO.id = accessRow.id
|
||||
this.sarAccessEO.remark = accessRow.remark || ''
|
||||
this.sarAccessEO.relateFile = accessRow.relateFile
|
||||
|
||||
+5
-6
@@ -920,7 +920,6 @@ export default {
|
||||
dataSourceChange (val) {
|
||||
this.isListType = val === 'TEMP'
|
||||
this.sarAccessInfoSearch.advanceSearchVOStr = ''
|
||||
this.$refs.advancedQuery.clearAllSearch()
|
||||
// 国内标准法规可查字段
|
||||
if (val === 'INLAND_STAND'){
|
||||
this.twoOptions=[
|
||||
@@ -1443,7 +1442,6 @@ export default {
|
||||
let sarAccessEO = JSON.parse(JSON.stringify(this.sarAccessEO))
|
||||
sarAccessEO.inforlist = JSON.stringify(rowlist)
|
||||
sarAccessEO.adminInfoList = JSON.stringify(rowList2)
|
||||
sarAccessEO.country = sarAccessEO.countryArea.join(',')
|
||||
// 判断是否有附件
|
||||
if (this.fileInfoList.length > 0) {
|
||||
let relateFile = []
|
||||
@@ -1709,7 +1707,7 @@ export default {
|
||||
this.addEntryForm.XGBMName = this.addEntryForm.XGBMName || this.addEntryForm.xgbmname
|
||||
this.addEntryForm.XGBM = this.addEntryForm.XGBM || this.addEntryForm.xgbm
|
||||
// this.addEntryForm.GXHBQ = this.addEntryForm.GXHBQ || this.addEntryForm.gxhbq
|
||||
this.addEntryForm.applyArctic = this.addEntryForm.applyArctic ? this.addEntryForm.applyArctic.split(',') : []
|
||||
// this.addEntryForm.applyArctic = this.addEntryForm.applyArctic ? this.addEntryForm.applyArctic.split(',') : []
|
||||
// this.addEntryForm.GXHBQ = this.addEntryForm.gxhbq ? this.addEntryForm.gxhbq.split(',') : []
|
||||
// this.addEntryForm.GXHBQ = ''
|
||||
// delete this.addEntryForm.gxhbq
|
||||
@@ -1932,7 +1930,7 @@ export default {
|
||||
this.sarStandardsInfoEO.XMPGJSName = item.proEssessUser // 项目评估人员
|
||||
this.sarStandardsInfoEO.standNature = item.natureId // 标准性质
|
||||
this.sarStandardsInfoEO.NRDBZFGQD = this.sarAccessEO.country // 国家地区
|
||||
this.sarStandardsInfoEO.CLLX = item.applyArctic ? item.applyArctic.split(',') : []
|
||||
// this.sarStandardsInfoEO.CLLX = item.applyArctic ? item.applyArctic.split(',') : []
|
||||
this.sarStandardsInfoEO.YQLX = item.askType
|
||||
this.sarStandardsInfoEO.GXHBQ = item.GXHBQ ? item.GXHBQ.split(',') : []
|
||||
this.sarStandardsInfoEO.ZRLX = item.askNature ? item.askNature.split(',') : []
|
||||
@@ -2199,8 +2197,9 @@ export default {
|
||||
let accessRow = JSON.parse(sessionStorage.getItem('accessRow'))
|
||||
this.$nextTick(() => {
|
||||
this.sarAccessEO.type = accessRow.type
|
||||
this.sarAccessEO.countryArea = accessRow.countryArea.split(',')
|
||||
this.sarAccessEO.accessContent = accessRow.accessContent
|
||||
// this.sarAccessEO.countryArea = accessRow.countryArea.split(',')
|
||||
this.sarAccessEO.detailedListName = accessRow.detailedListName //清单名称
|
||||
this.sarAccessEO.projectName = accessRow.projectName //项目名称
|
||||
this.sarAccessEO.id = accessRow.id
|
||||
this.sarAccessEO.remark = accessRow.remark || ''
|
||||
this.sarAccessEO.relateFile = accessRow.relateFile
|
||||
|
||||
@@ -151,6 +151,11 @@
|
||||
width="180"
|
||||
label="项目名称">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="reason"
|
||||
width="180"
|
||||
label="不合规原因">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="responsibleUnit"
|
||||
width="180"
|
||||
@@ -185,7 +190,6 @@
|
||||
<i class="iconfont"></i>
|
||||
<el-dropdown-menu slot="dropdown">
|
||||
<el-dropdown-item :command="[scope.row, '查看']" v-btn-permission="'R4FTCUQSXFUZPUSN3W63'">查看</el-dropdown-item>
|
||||
<el-dropdown-item :command="[scope.row, '编辑']" v-btn-permission="'G7GL8ZAZ5EYK6LRXW5MT'">编辑</el-dropdown-item>
|
||||
</el-dropdown-menu>
|
||||
</el-dropdown>
|
||||
</div>
|
||||
@@ -231,6 +235,9 @@
|
||||
<el-form-item class="add-form-item" label="项目名称:">
|
||||
<div class="seeItem">{{historySeeForm.productName}}</div>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="不合规原因:">
|
||||
<div class="seeItem">{{historySeeForm.reason}}</div>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="责任部门:">
|
||||
<div class="seeItem">{{historySeeForm.responsibleUnit}}</div>
|
||||
</el-form-item>
|
||||
@@ -243,8 +250,8 @@
|
||||
<el-form-item class="add-form-item" label="质量工程师:">
|
||||
<div class="seeItem">{{historySeeForm.qaEngineer}}</div>
|
||||
</el-form-item>
|
||||
<el-form-item class="add-form-item" label="要求关闭时间:">
|
||||
<div class="seeItem">{{historySeeForm.actualCloseTime}}</div>
|
||||
<el-form-item class="add-form-item" label="计划关闭时间:">
|
||||
<div class="seeItem">{{historySeeForm.planCloseTime}}</div>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</div>
|
||||
@@ -461,14 +468,16 @@ export default {
|
||||
exportTestItem () {
|
||||
if(this.saveExportType === 'apart') {
|
||||
if (this.selectedList != null && this.selectedList != ''){
|
||||
console.log(this.selectedList);
|
||||
const exportURL = interfaceUrl + 'sarStandUnqualified/sar-stand-unqualified/exportStandUnqulifiedExcel?' +
|
||||
'exportType' + this.saveExportType + '&exportContent=' + this.selectedList.join(',') + '&exportName=' + this.exportName
|
||||
'exportType' + this.saveExportType + '&ids=' + this.selectedList.join(',') + '&exportName=' + this.exportName
|
||||
window.open(exportURL)
|
||||
this.$message.success('导出信息成功')
|
||||
}
|
||||
} else if (this.saveExportType === 'all') {
|
||||
console.log(this.selectedList);
|
||||
const exportURL = interfaceUrl + 'sarStandUnqualified/sar-stand-unqualified/exportStandUnqulifiedExcel?' +
|
||||
'exportType' + this.saveExportType + '&exportContent=' + this.selectedList.join(',') + '&exportName=' + this.exportName + '&standType=' + this.standType
|
||||
'exportType' + this.saveExportType + '&ids=' + this.selectedList.join(',') + '&exportName=' + this.exportName
|
||||
window.open(exportURL)
|
||||
this.$message.success('导出信息成功')
|
||||
}
|
||||
@@ -525,9 +534,6 @@ export default {
|
||||
case '查看':
|
||||
this.showUser(command[0])
|
||||
break
|
||||
case '编辑':
|
||||
this.openEditModal(command[0])
|
||||
break
|
||||
}
|
||||
},
|
||||
//点击查看按钮事件
|
||||
@@ -553,6 +559,36 @@ export default {
|
||||
openEditModal(item) {
|
||||
console.log(item)
|
||||
},
|
||||
detailsStandard (item) {
|
||||
this.$http.post('lawss/sarTestItem/validateStandNumber', {
|
||||
standnumber: item.standNum
|
||||
}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
this.pageType = res.data.standType
|
||||
let name = ''
|
||||
switch (this.pageType) {
|
||||
case 'FOREIGN_LAWS':
|
||||
name = 'OtherLawsDetails'
|
||||
break
|
||||
case 'INLAND_STAND':
|
||||
name = 'OtherStandardDetails'
|
||||
break
|
||||
case 'FOREIGN_STAND':
|
||||
name = 'OtherStandardDetails'
|
||||
break
|
||||
}
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: name,
|
||||
params: {
|
||||
id: res.data.standid,
|
||||
pageType: this.pageType
|
||||
}
|
||||
})
|
||||
window.open(routeUrl.href, '_blank')
|
||||
}, e => {
|
||||
})
|
||||
},
|
||||
// 分页事件
|
||||
pageChange (page) {
|
||||
this.pageNo = page
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -42,7 +42,7 @@
|
||||
</ul>
|
||||
<div class="open-btn" v-if="condition.showOpenBtn" @click="condition.isClose = !condition.isClose">{{ condition.isClose ? '展开' : '收缩' }}</div>
|
||||
</div>
|
||||
<!-- <loading :loading="conditionLoading">{{ $t('m.Loading') }}...</loading>-->
|
||||
<!-- <loading :loading="conditionLoading">{{ $t('m.Loading') }}...</loading>-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -115,9 +115,8 @@
|
||||
:label="selectIndex === 'stand'||'bussstand' ? $t('m.standStateShow') : (selectIndex === 'laws' ? $t('m.fileStatus') : $t('m.enterpriseStandardStatus'))"
|
||||
width="200">
|
||||
<template slot-scope="scope">
|
||||
<div>
|
||||
{{ scope.row.standstateshow }}
|
||||
</div>
|
||||
<span v-if="selectIndex === 'laws'">{{ getLawsState(scope.row.statecode) }}</span>
|
||||
<div v-else>{{ scope.row.standstateshow }}</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -252,7 +251,7 @@
|
||||
</div>
|
||||
<div class="demo-drawer-footer">
|
||||
<el-button type="primary" round class="common-button-primary" icon="el-icon-check" @click="sureShareStandardLaws">提交</el-button>
|
||||
<el-button class="common-button-default" icon="el-icon-close" @click="treeCancel">取消</el-button>
|
||||
<el-button round class="common-button-default" icon="el-icon-close" @click="treeCancel">取消</el-button>
|
||||
</div>
|
||||
</el-drawer>
|
||||
<!-- 分享 全部选人 -->
|
||||
@@ -366,6 +365,7 @@ export default {
|
||||
resultLoading: false,
|
||||
saveAllSortOptions: [],
|
||||
saveAllFineOptions: [],
|
||||
lawssStateOptions: [],
|
||||
page: 1,
|
||||
pageAll: 1,
|
||||
total: 0,
|
||||
@@ -1005,6 +1005,7 @@ export default {
|
||||
this.searchOriginOptions = this.searchOptions
|
||||
this.saveAllSortOptions = res.data.STANDCLASSIFY
|
||||
this.saveAllFineOptions = res.data.BUSSFINECLASSSHOW
|
||||
this.lawssStateOptions = res.data.LAWSSTATE // 文本状态数组
|
||||
this.filterOptions(this.selectIndex)
|
||||
}
|
||||
}, e => {})
|
||||
@@ -1059,7 +1060,7 @@ export default {
|
||||
filterOptions.ZRLX.title = '准入类型'
|
||||
filterOptions.ZRLX.index = 3
|
||||
// 我司参与状态
|
||||
filterOptions.CYSD = originOptions.CYSD
|
||||
filterOptions.CYSD = originOptions.SHIFOU
|
||||
filterOptions.CYSD.title = '我司是否参与'
|
||||
filterOptions.CYSD.index = 4
|
||||
break
|
||||
@@ -1074,9 +1075,9 @@ export default {
|
||||
filterOptions.standState.title = '标准状态'
|
||||
filterOptions.standState.index = 2
|
||||
// 我司参与状态
|
||||
filterOptions.CYSD = originOptions.CYSD
|
||||
filterOptions.CYSD.title = '我司参与深度'
|
||||
filterOptions.CYSD.index = 3
|
||||
// filterOptions.CYSD = originOptions.CYSD
|
||||
// filterOptions.CYSD.title = '我司参与深度'
|
||||
// filterOptions.CYSD.index = 3
|
||||
// 监管类型
|
||||
filterOptions.ZRLX = originOptions.ZRLX
|
||||
filterOptions.ZRLX.title = '监管类型'
|
||||
@@ -1085,8 +1086,8 @@ export default {
|
||||
filterOptions.CLLX = originOptions.CLLX
|
||||
filterOptions.CLLX.index = 5
|
||||
// 采标程度
|
||||
filterOptions.CBCD = originOptions.CBCD
|
||||
filterOptions.CBCD.index = 6
|
||||
// filterOptions.CBCD = originOptions.CBCD
|
||||
// filterOptions.CBCD.index = 6
|
||||
break
|
||||
// 企业标准
|
||||
case 'enterprise':
|
||||
@@ -2365,6 +2366,17 @@ export default {
|
||||
handleSearchReset() {
|
||||
this.resultKeyword = ''
|
||||
this.searchSarByInputKey()
|
||||
},
|
||||
// 回显政策状态
|
||||
getLawsState (val) {
|
||||
if (!val) {
|
||||
val = ''
|
||||
}
|
||||
let lawsStateName = this.lawssStateOptions.filter(item => {
|
||||
return val.indexOf(item.value) > -1
|
||||
}).map(item => item.label)
|
||||
|
||||
return lawsStateName.join(',')
|
||||
}
|
||||
},
|
||||
components: {
|
||||
@@ -2482,27 +2494,28 @@ export default {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="less">
|
||||
@import '~@/assets/styles/mixins';
|
||||
@import '~@/assets/styles/style';
|
||||
.standard-search {
|
||||
<style lang="less" scoped>
|
||||
@import '~@/assets/styles/mixins';
|
||||
@import '~@/assets/styles/style';
|
||||
.standard-search {
|
||||
padding: 6px 26px;
|
||||
@borderColor: #BFBFBF;
|
||||
height: auto !important;
|
||||
min-height: 100%;
|
||||
height: 100%;
|
||||
font-size: 14px;
|
||||
background: #0c91e5;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
/deep/.el-button--mini {
|
||||
height: 29px;
|
||||
}
|
||||
.AllBox {
|
||||
margin-top: 20px;
|
||||
background-color: #fff;
|
||||
border-radius: 20px;
|
||||
padding: 10px;
|
||||
&:last-child {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.highlight-class {
|
||||
/deep/.highlight-class {
|
||||
color: red;
|
||||
}
|
||||
.AllBoxTitle {
|
||||
@@ -2515,6 +2528,7 @@ export default {
|
||||
height: 20px;
|
||||
line-height: 20px;
|
||||
padding: 0 5px;
|
||||
border-radius: 6px;
|
||||
color: #fff;
|
||||
background: #3391CE;
|
||||
}
|
||||
@@ -2557,11 +2571,12 @@ export default {
|
||||
}
|
||||
}
|
||||
.standard-search-content{
|
||||
min-height: 768px;
|
||||
//min-height: 768px;
|
||||
overflow-y: auto;
|
||||
padding: 15px 10px;
|
||||
margin: 0 auto;
|
||||
//margin: 0 auto;
|
||||
position: relative;
|
||||
flex: 1;
|
||||
.flex();
|
||||
.content-left {
|
||||
width: 100%;
|
||||
@@ -2635,6 +2650,7 @@ export default {
|
||||
.ivu-input{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
.flex();
|
||||
align-items: center;
|
||||
@@ -2656,7 +2672,7 @@ export default {
|
||||
|
||||
margin-top: 15px;
|
||||
//background-color: hsla(0,0%,100%,.9);
|
||||
//20px;
|
||||
//border-radius: 20px;
|
||||
padding: 10px;
|
||||
.condition-btn{
|
||||
width: 75px;
|
||||
@@ -2708,6 +2724,7 @@ export default {
|
||||
span{
|
||||
/*padding: 3px 7px;*/
|
||||
padding: 0 0 0 3px;
|
||||
border-radius: 2px;
|
||||
transition: all .3s ease;
|
||||
.un-select();
|
||||
&:hover{
|
||||
@@ -2718,6 +2735,7 @@ export default {
|
||||
padding: 3px 7px 3px 7px;
|
||||
background: @baseColor;
|
||||
color: #FFF;
|
||||
border-radius: 4px;
|
||||
& span {
|
||||
font {
|
||||
color: #fff !important;
|
||||
@@ -2941,15 +2959,19 @@ export default {
|
||||
.home-input{
|
||||
width: 509px;
|
||||
//padding: 9px 0 10px 10px;
|
||||
input.el-input__inner{
|
||||
height: 48px;
|
||||
/deep/.el-input__inner{
|
||||
font-size: 16px;
|
||||
border-radius: 24px 0 0 24px;
|
||||
font-family: PingFang-SC-Medium;
|
||||
color: #666;
|
||||
height: 48px;
|
||||
}
|
||||
}
|
||||
.search-btn-box {
|
||||
width: 55px;
|
||||
height: 48px;
|
||||
border-radius: 0 24px 24px 0;
|
||||
background-color: #fff;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
@@ -2967,6 +2989,7 @@ export default {
|
||||
}
|
||||
.el-input__inner {
|
||||
height: 48px;
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
padding: 0 34px;
|
||||
}
|
||||
@@ -2997,6 +3020,7 @@ export default {
|
||||
}
|
||||
.el-input--suffix .el-input__inner {
|
||||
padding-right: 30px;
|
||||
border-radius: 20px;
|
||||
}
|
||||
.fixed-clean {
|
||||
/deep/.el-input__inner {
|
||||
@@ -3008,9 +3032,10 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.search-content__wrap {
|
||||
}
|
||||
.search-content__wrap {
|
||||
background-color: hsla(0, 0%, 100%, .9);
|
||||
border-radius: 20px;
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
margin-top: 20px;
|
||||
@@ -3026,8 +3051,8 @@ export default {
|
||||
background-color: transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
.reset-btn {
|
||||
}
|
||||
.reset-btn {
|
||||
color: #fff;
|
||||
position: relative;
|
||||
top: 17px;
|
||||
@@ -3036,5 +3061,5 @@ export default {
|
||||
font-size: 16px;
|
||||
text-decoration: underline;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// 服务器地址
|
||||
// const devIp = '39.98.140.126'
|
||||
// const devInterfacePORT = '10005'
|
||||
const devIp = '192.168.10.47'
|
||||
const devIp = '192.168.10.178'
|
||||
const devInterfacePORT = '9999'
|
||||
// 云端端口号
|
||||
const DEV_CLOUD_RES_INTERFACE_PORT = '7777'
|
||||
|
||||
Reference in New Issue
Block a user