企标高级查询
This commit is contained in:
+157
-69
@@ -144,7 +144,9 @@
|
||||
<el-col :span="8">
|
||||
<el-form-item label="标准状态" class="search-item">
|
||||
<el-select v-model="sarBussionessSearch.standStatus" placeholder="根据标准状态查找" clearable @keyup.enter.native="getBussionStandTableBtn(sarBussionessSearch)">
|
||||
<el-option v-for="(opt,index) in standStateOptions" :value="opt.value" :key="index" :label="opt.label">{{ opt.label}}</el-option>
|
||||
<el-option v-for="(opt,index) in standStateOptions" :value="opt.value" :key="index" :label="opt.label">
|
||||
{{ opt.label }}
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
@@ -158,14 +160,18 @@
|
||||
<el-col :span="8">
|
||||
<el-form-item label="密级" class="search-item">
|
||||
<el-select v-model="sarBussionessSearch.MJ" placeholder="根据密级查找" clearable @keyup.enter.native="getBussionStandTableBtn(sarBussionessSearch)">
|
||||
<el-option v-for="(opt,index) in allSelectOptions['MJ']" :value="opt.value" :key="index" :label="opt.label">{{ opt.label}}</el-option>
|
||||
<el-option v-for="(opt,index) in allSelectOptions['MJ']" :value="opt.value" :key="index" :label="opt.label">
|
||||
{{ opt.label }}
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="授权" class="search-item">
|
||||
<el-select v-model="sarBussionessSearch.SQ" placeholder="根据授权查找" clearable @keyup.enter.native="getBussionStandTableBtn(sarBussionessSearch)">
|
||||
<el-option v-for="(opt,index) in allSelectOptions['SHIFOU']" :value="opt.value" :key="index" :label="opt.label">{{ opt.label}}</el-option>
|
||||
<el-option v-for="(opt,index) in allSelectOptions['SHIFOU']" :value="opt.value" :key="index" :label="opt.label">
|
||||
{{ opt.label }}
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
@@ -237,7 +243,8 @@
|
||||
@click="exportStandard"
|
||||
title="不勾选时默认导出所有筛选项;勾选时仅导出勾选项"
|
||||
v-btn-permission="'784d26f527a659eefe84d5e5a53deb96'"
|
||||
><i class="iconfont"></i>导出</el-button>
|
||||
><i class="iconfont"></i>导出
|
||||
</el-button>
|
||||
<!-- <el-button-->
|
||||
<!-- class="common-button-default"-->
|
||||
<!-- round-->
|
||||
@@ -257,13 +264,15 @@
|
||||
size="mini"
|
||||
@click="configurationStandard"
|
||||
v-btn-permission="'381d34443196ca840118ae577ff30d5e'"
|
||||
><i class="iconfont"></i>配置标准</el-button>
|
||||
><i class="iconfont"></i>配置标准
|
||||
</el-button>
|
||||
<el-button
|
||||
class="common-button-default"
|
||||
size="mini"
|
||||
@click="deleteEnterStandFromKind(2)"
|
||||
v-btn-permission="'2d41ebdb6150ba1af52fd753086d77dc'"
|
||||
><i class="iconfont"></i>移除标准</el-button>
|
||||
><i class="iconfont"></i>移除标准
|
||||
</el-button>
|
||||
<el-button class="common-button-default"
|
||||
size="mini" @click="OCRAdd('2')"
|
||||
v-btn-permission="'247cebaefa7cf1683092af160af11502'"><i class="iconfont"></i>编辑
|
||||
@@ -307,9 +316,15 @@
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<!-- <a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a>-->
|
||||
<a v-if="scope.row.standStatusShow === '作废'" style="color: #F56C6C" @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standCode }}</a>
|
||||
<a v-if="scope.row.standStatusShow === '参考'" style="color: #E6A23C" @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standCode }}</a>
|
||||
<a v-if="scope.row.standStatusShow !== '作废' && scope.row.standStatusShow !== '参考'" style="color: #333333" @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standCode }}</a>
|
||||
<a v-if="scope.row.standStatusShow === '作废'" style="color: #F56C6C" @click="handlePreview(scope.row)" class="table-jump">{{
|
||||
scope.row.standCode
|
||||
}}</a>
|
||||
<a v-if="scope.row.standStatusShow === '参考'" style="color: #E6A23C" @click="handlePreview(scope.row)" class="table-jump">{{
|
||||
scope.row.standCode
|
||||
}}</a>
|
||||
<a v-if="scope.row.standStatusShow !== '作废' && scope.row.standStatusShow !== '参考'" style="color: #333333" @click="handlePreview(scope.row)" class="table-jump">{{
|
||||
scope.row.standCode
|
||||
}}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -319,9 +334,15 @@
|
||||
min-width="300"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<a v-if="scope.row.standStatusShow === '作废'" style="color: #F56C6C" @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
||||
<a v-if="scope.row.standStatusShow === '参考' " style="color: #E6A23C" @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
||||
<a v-if="scope.row.standStatusShow !== '作废' && scope.row.standStatusShow !== '参考'" style="color: #333333" @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
||||
<a v-if="scope.row.standStatusShow === '作废'" style="color: #F56C6C" @click="handlePreview(scope.row)" class="table-jump">{{
|
||||
scope.row.standName
|
||||
}}</a>
|
||||
<a v-if="scope.row.standStatusShow === '参考' " style="color: #E6A23C" @click="handlePreview(scope.row)" class="table-jump">{{
|
||||
scope.row.standName
|
||||
}}</a>
|
||||
<a v-if="scope.row.standStatusShow !== '作废' && scope.row.standStatusShow !== '参考'" style="color: #333333" @click="handlePreview(scope.row)" class="table-jump">{{
|
||||
scope.row.standName
|
||||
}}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- <el-table-column-->
|
||||
@@ -343,9 +364,15 @@
|
||||
width="120"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<span v-if="scope.row.standStatusShow === '作废'" style="color: #F56C6C">{{scope.row.issueTime ? scope.row.issueTime.slice(0, 10) : ''}}</span>
|
||||
<span v-if="scope.row.standStatusShow === '参考' " style="color: #E6A23C">{{scope.row.issueTime ? scope.row.issueTime.slice(0, 10) : ''}}</span>
|
||||
<span v-if="scope.row.standStatusShow !== '作废' && scope.row.standStatusShow !== '参考'">{{scope.row.issueTime ? scope.row.issueTime.slice(0, 10) : ''}}</span>
|
||||
<span v-if="scope.row.standStatusShow === '作废'" style="color: #F56C6C">{{
|
||||
scope.row.issueTime ? scope.row.issueTime.slice(0, 10) : ''
|
||||
}}</span>
|
||||
<span v-if="scope.row.standStatusShow === '参考' " style="color: #E6A23C">{{
|
||||
scope.row.issueTime ? scope.row.issueTime.slice(0, 10) : ''
|
||||
}}</span>
|
||||
<span v-if="scope.row.standStatusShow !== '作废' && scope.row.standStatusShow !== '参考'">{{
|
||||
scope.row.issueTime ? scope.row.issueTime.slice(0, 10) : ''
|
||||
}}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -355,9 +382,15 @@
|
||||
width="120"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<span v-if="scope.row.standStatusShow === '作废'" style="color: #F56C6C">{{scope.row.putTime ? scope.row.putTime.slice(0, 10) : ''}}</span>
|
||||
<span v-if="scope.row.standStatusShow === '参考'" style="color: #E6A23C">{{scope.row.putTime ? scope.row.putTime.slice(0, 10) : ''}}</span>
|
||||
<span v-if="scope.row.standStatusShow !== '作废' && scope.row.standStatusShow !== '参考'">{{scope.row.putTime ? scope.row.putTime.slice(0, 10) : ''}}</span>
|
||||
<span v-if="scope.row.standStatusShow === '作废'" style="color: #F56C6C">{{
|
||||
scope.row.putTime ? scope.row.putTime.slice(0, 10) : ''
|
||||
}}</span>
|
||||
<span v-if="scope.row.standStatusShow === '参考'" style="color: #E6A23C">{{
|
||||
scope.row.putTime ? scope.row.putTime.slice(0, 10) : ''
|
||||
}}</span>
|
||||
<span v-if="scope.row.standStatusShow !== '作废' && scope.row.standStatusShow !== '参考'">{{
|
||||
scope.row.putTime ? scope.row.putTime.slice(0, 10) : ''
|
||||
}}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -426,13 +459,6 @@
|
||||
</el-table-column>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</el-table>
|
||||
<pagination :page="tableFlag === '' ? sarBussionessSearch.page : tableFlag.page " :total="total"
|
||||
@pageChange="pageChange" @pageSizeChange="pageSizeChange"></pagination>
|
||||
@@ -614,7 +640,10 @@
|
||||
class="add-form-item"
|
||||
>
|
||||
<template slot="label">关联模块--乘用车VPPS编码</template>
|
||||
<el-input v-model="sarBussionessStandEO.CYCVPPSBMBUSS" placeholder="选择VPPS编码" @click.native="choiceZRR2('car', '乘用车VPPS编码', sarBussionessStandEO.KCVPPSBMBUSS,true)"></el-input>
|
||||
<el-input
|
||||
v-model="sarBussionessStandEO.CYCVPPSBMBUSS"
|
||||
placeholder="选择VPPS编码"
|
||||
@click.native="choiceZRR2('car', '乘用车VPPS编码', sarBussionessStandEO.KCVPPSBMBUSS,true)"></el-input>
|
||||
</el-form-item>
|
||||
</el-tooltip>
|
||||
</template>
|
||||
@@ -635,7 +664,10 @@
|
||||
class="add-form-item"
|
||||
>
|
||||
<template slot="label">关联模块--卡车VPPS编码</template>
|
||||
<el-input v-model="sarBussionessStandEO.KCVPPSBMBUSS" placeholder="选择VPPS编码" @click.native="choiceZRR3('struck', '卡车VPPS编码', sarBussionessStandEO.KCVPPSBMBUSS,true)"></el-input>
|
||||
<el-input
|
||||
v-model="sarBussionessStandEO.KCVPPSBMBUSS"
|
||||
placeholder="选择VPPS编码"
|
||||
@click.native="choiceZRR3('struck', '卡车VPPS编码', sarBussionessStandEO.KCVPPSBMBUSS,true)"></el-input>
|
||||
</el-form-item>
|
||||
</el-tooltip>
|
||||
</template>
|
||||
@@ -655,8 +687,10 @@
|
||||
class="add-form-item"
|
||||
>
|
||||
<template slot="label">模块结构单元变型号</template>
|
||||
<el-input v-model="sarBussionessStandEO.DYBXHBUSS" placeholder="选择模块结构单元变型号"
|
||||
@click.native="choiceZRR4('dybxhbuss', '模块结构单元', sarBussionessStandEO.dybxh)"></el-input>
|
||||
<el-input
|
||||
v-model="sarBussionessStandEO.DYBXHBUSS" placeholder="选择模块结构单元变型号"
|
||||
@click.native="choiceZRR4('dybxhbuss', '模块结构单元', sarBussionessStandEO.dybxh)">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
</template>
|
||||
<template v-else-if="field.attrField === 'DYMCBUSS'">
|
||||
@@ -772,7 +806,9 @@
|
||||
</el-form>
|
||||
</div>
|
||||
<div class="demo-drawer-footer">
|
||||
<el-button class="common-button-primary" icon="el-icon-check" type="primary" @click="saveOrUpdateStands" :loading="isSubmit">提交</el-button>
|
||||
<el-button class="common-button-primary" icon="el-icon-check" type="primary" @click="saveOrUpdateStands" :loading="isSubmit">
|
||||
提交
|
||||
</el-button>
|
||||
<el-button class="common-button-default" icon="el-icon-close" @click="resetForm">取消</el-button>
|
||||
</div>
|
||||
</el-drawer>
|
||||
@@ -920,9 +956,11 @@
|
||||
icon="el-icon-check"
|
||||
@click="saveConfigStand"
|
||||
:loading="isSubmit"
|
||||
>提交</el-button>
|
||||
>提交
|
||||
</el-button>
|
||||
<el-button class="common-button-default" style="padding: 7px 12px;" icon="el-icon-close" type="primary"
|
||||
round @click="cancelConfigStand">取消</el-button>
|
||||
round @click="cancelConfigStand">取消
|
||||
</el-button>
|
||||
</div>
|
||||
</el-drawer>
|
||||
<!-- 树---新增二级菜单模态窗 -->
|
||||
@@ -947,7 +985,9 @@
|
||||
</el-formItem>
|
||||
</el-form>
|
||||
<div slot="footer" class="demo-drawer-footer">
|
||||
<el-button type="primary" round class="common-button-primary" icon="el-icon-check" @click="newMenu" :loading="isSubmit">提交</el-button>
|
||||
<el-button type="primary" round class="common-button-primary" icon="el-icon-check" @click="newMenu" :loading="isSubmit">
|
||||
提交
|
||||
</el-button>
|
||||
<el-button class="common-button-default" icon="el-icon-close" @click="resetTreeDialog">取消</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
@@ -989,7 +1029,9 @@
|
||||
</dept-tree>
|
||||
</div>
|
||||
<div class="demo-drawer-footer">
|
||||
<el-button type="primary" round class="common-button-primary" icon="el-icon-check" @click="shareStandardBt">提交</el-button>
|
||||
<el-button type="primary" round class="common-button-primary" icon="el-icon-check" @click="shareStandardBt">
|
||||
提交
|
||||
</el-button>
|
||||
<el-button class="common-button-default" icon="el-icon-close" @click="treeCancel">取消</el-button>
|
||||
</div>
|
||||
</el-drawer>
|
||||
@@ -1002,7 +1044,9 @@
|
||||
<p v-html="importForm.content"></p>
|
||||
</div>
|
||||
<div slot="footer" class="demo-drawer-footer">
|
||||
<el-button type="primary" round class="common-button-default" icon="el-icon-check" @click="importFailed = false">确认</el-button>
|
||||
<el-button type="primary" round class="common-button-default" icon="el-icon-check" @click="importFailed = false">
|
||||
确认
|
||||
</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
@@ -1184,9 +1228,12 @@
|
||||
<el-form-item label="体系类别" class="add-form-item form-item-disabled">
|
||||
<el-input v-model="sarBussionessSearch.TXLBBUSS" placeholder="选择体系类别" clearable @click.native="choiceZRR1('TXLBBUSS', '体系类别', sarBussionessStandEO.TXLBBUSS)"></el-input>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item label="模块VPPS编码" title="模块VPPS编码" class="add-form-item form-item-disabled">
|
||||
<el-input v-model="sarBussionessSearch.VPPSBMBUSS" placeholder="选择VPPS编码" @click.native="choiceZRR2('VPPSBMBUSS', 'VPPS编码', sarBussionessStandEO.VPPSBMBUSS,false)"></el-input>
|
||||
</el-form-item>-->
|
||||
<el-form-item label="模块VPPS编码" title="模块VPPS编码" class="add-form-item form-item-disabled">
|
||||
<el-input
|
||||
v-model="sarBussionessSearch.VPPSBMBUSS"
|
||||
placeholder="选择VPPS编码"
|
||||
@click.native="choiceZRR2('car', 'VPPS编码', sarBussionessStandEO.VPPSBMBUSS,true)"></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item
|
||||
@@ -1288,20 +1335,6 @@
|
||||
</el-button>
|
||||
</div>
|
||||
</el-drawer>
|
||||
<!--高级查询-->
|
||||
<!-- <AdvancedQuery-->
|
||||
<!-- :isAdvancedSearch.sync="isAdvancedSearch"-->
|
||||
<!-- :twoOptions="twoOptions"-->
|
||||
<!-- :threeOptions="threeOptions"-->
|
||||
<!-- @twoSelectChange="twoSelectChange"-->
|
||||
<!-- @getDomesticStandardTableBtn="(advancedSearch) => getBussionStandTableBtn(sarBussionessSearch, advancedSearch)"-->
|
||||
<!-- ></AdvancedQuery>-->
|
||||
<!--企标编号生成组件-->
|
||||
<!-- <GenerationNumber-->
|
||||
<!-- :is-show.sync="isShow"-->
|
||||
<!-- @isOk="isOk"-->
|
||||
<!-- ></GenerationNumber>-->
|
||||
|
||||
<Role-tree
|
||||
:is-title="drawerTitle"
|
||||
:is-visible.sync="modalShowRoleFlag"
|
||||
@@ -1389,11 +1422,13 @@
|
||||
class="common-button-primary"
|
||||
icon="el-icon-check"
|
||||
type="primary"
|
||||
@click="saveProduct('productModelAdd')">提交</el-button>
|
||||
@click="saveProduct('productModelAdd')">提交
|
||||
</el-button>
|
||||
<el-button
|
||||
class="common-button-default"
|
||||
icon="el-icon-close"
|
||||
@click="closeModal">取消</el-button>
|
||||
@click="closeModal">取消
|
||||
</el-button>
|
||||
</div>
|
||||
</el-drawer>
|
||||
<!-- 组件树-->
|
||||
@@ -1409,7 +1444,7 @@
|
||||
<tree-select-new
|
||||
width="500"
|
||||
:lazy=true
|
||||
:multiple="multipleFlag2"
|
||||
:multiple ='modalShowFlag2'
|
||||
:check-strictly=true
|
||||
:modalShowFlag="modalShowFlag2"
|
||||
:drawerTitle="drawerTitle2"
|
||||
@@ -1484,8 +1519,7 @@ export default {
|
||||
treeSelectModule,
|
||||
ProcessTitle
|
||||
},
|
||||
props: {
|
||||
},
|
||||
props: {},
|
||||
data() {
|
||||
return {
|
||||
OCRType: '',
|
||||
@@ -2031,13 +2065,13 @@ export default {
|
||||
NYLXCLASS: '',
|
||||
SYCPXCLASS: '',
|
||||
TXLBBUSS: '',
|
||||
VPPSBMBUSS:'',
|
||||
KCVPPSBMBUSS: '',
|
||||
KCVPPSCNBUSS: '',
|
||||
CYCVPPSBMBUSS: '',
|
||||
CYCVPPSCNBUSS: '',
|
||||
DYBXHBUSS: '',
|
||||
DYMCBUSS: '',
|
||||
VPPSBMBUSS: '',
|
||||
VPPSCNBUSS: '',
|
||||
// 关联信息
|
||||
DTQBBHBUSS: '',
|
||||
@@ -2278,12 +2312,22 @@ export default {
|
||||
popoverHideBusVs(checkedIds, checkedData, isShow, isLoadChild, topId) {
|
||||
if (checkedData && checkedData.length != 0) {
|
||||
if (checkedData.length > 0) {
|
||||
if (this.drawerTitle2 === 'VPPS编码') {
|
||||
this.sarBussionessSearch.VPPSBMBUSS = checkedData.map(item => item.code).join(",")
|
||||
this.sarBussionessSearch.VPPSCNBUSS = checkedData.map(item => item.chineseName).join(",")
|
||||
} else {
|
||||
this.sarBussionessStandEO.CYCVPPSBMBUSS = checkedData.map(item => item.code).join(",")
|
||||
this.sarBussionessStandEO.CYCVPPSCNBUSS = checkedData.map(item => item.chineseName).join(",")
|
||||
}
|
||||
} else {
|
||||
if (this.drawerTitle2 === 'VPPS编码') {
|
||||
this.sarBussionessSearch.VPPSBMBUSS = checkedData.code
|
||||
this.sarBussionessSearch.VPPSCNBUSS = checkedData.chineseName
|
||||
} else {
|
||||
this.sarBussionessStandEO.CYCVPPSBMBUSS = checkedData.code
|
||||
this.sarBussionessStandEO.CYCVPPSCNBUSS = checkedData.chineseName
|
||||
}
|
||||
}
|
||||
this.modalShowFlag2 = false
|
||||
}
|
||||
this.$forceUpdate()
|
||||
@@ -2394,7 +2438,8 @@ export default {
|
||||
} else {
|
||||
this.productModal = true
|
||||
}
|
||||
}, e => {})
|
||||
}, e => {
|
||||
})
|
||||
} else if (this.modalType === 2) {
|
||||
this.$http.putData('sarResource/ts-resource', this.productModelAdd, {
|
||||
_this: this
|
||||
@@ -2551,12 +2596,15 @@ export default {
|
||||
* @time: 2021-03-17 16:47:41
|
||||
*/
|
||||
getQCRName(dataItem) {
|
||||
if (dataItem.attrInfoMap === null){return ''}
|
||||
if (dataItem.attrInfoMap === null) {
|
||||
return ''
|
||||
}
|
||||
const testName = dataItem.attrInfoMap.ZYQCRName || dataItem.attrInfoMap.QTQCRName || dataItem.attrInfoMap.QTQCR || ''
|
||||
if (testName !== '') {
|
||||
const NAME_LIST = testName.split(',')
|
||||
const _SHOW_NAME_LIST = []
|
||||
NAME_LIST.map(item => {})
|
||||
NAME_LIST.map(item => {
|
||||
})
|
||||
NAME_LIST.map(userName => {
|
||||
_SHOW_NAME_LIST.push(userName.split(' ')[userName.split(' ').length - 1])
|
||||
})
|
||||
@@ -3177,7 +3225,6 @@ export default {
|
||||
this.modalShowRoleFlag = true
|
||||
},
|
||||
checkedRole2(data) {
|
||||
console.log('1712',data)
|
||||
let idList = ''
|
||||
let nameList = ''
|
||||
data.forEach(item => {
|
||||
@@ -3712,7 +3759,8 @@ export default {
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
this.sureDeleteSarMenu()
|
||||
}).catch(() => {})
|
||||
}).catch(() => {
|
||||
})
|
||||
}
|
||||
}, e => {
|
||||
})
|
||||
@@ -3930,16 +3978,23 @@ export default {
|
||||
formFieldList.forEach((item) => {
|
||||
const value = this.sarBussionessSearch[item.attrField]
|
||||
// 时间格式处理
|
||||
if (value !== undefined && value !== null && value !== "") {
|
||||
if (value !== undefined && value !== null && value !== "" && item.attrField === 'VPPSBMBUSS') {
|
||||
advanceSearchVOList.push({
|
||||
connect: "and",
|
||||
field: 'CYCVPPSBM',
|
||||
type: 'like',
|
||||
value: value
|
||||
});
|
||||
}else if (value !== undefined && value !== null && value !== "") {
|
||||
advanceSearchVOList.push({
|
||||
connect: advanceSearchVOList.length > 0 ? "and" : "",
|
||||
field: item.attrField || "",
|
||||
type: "between",
|
||||
value: value.join(',')
|
||||
value: value
|
||||
});
|
||||
}
|
||||
})
|
||||
if (formData.BARQ !== null){
|
||||
if (formData.BARQ !== undefined && formData.BARQ !== null && formData.BARQ !== '') {
|
||||
advanceSearchVOList.push({
|
||||
connect: "and",
|
||||
field: 'BARQ',
|
||||
@@ -4232,7 +4287,8 @@ export default {
|
||||
}
|
||||
})
|
||||
}
|
||||
}, e => {})
|
||||
}, e => {
|
||||
})
|
||||
},
|
||||
/**
|
||||
* 展示位置
|
||||
@@ -4322,7 +4378,6 @@ export default {
|
||||
this.reloadAddForm = false
|
||||
const formFieldList = this.formFieldList
|
||||
const rules = {...this.defaultAddFormFieldRules}
|
||||
console.log(formFieldList);
|
||||
formFieldList.forEach((item) => {
|
||||
const rule = []
|
||||
if (item.isMust === '0') {
|
||||
@@ -4338,7 +4393,12 @@ export default {
|
||||
rule.push({type: 'string', max: 500, message: '代替企标编号不能超过500个字符', trigger: 'change'})
|
||||
}
|
||||
if (item.attrLen && item.attrType !== 'DATE_PICKER' && item.attrType !== 'SEL_OPTION' && item.attrType !== 'SEL_OPTS' && item.attrType !== 'INPUT_STR') {
|
||||
rule.push({type: 'string', max: item.attrLen, message: `${item.attrName}不能超过${item.attrLen}个字符`, trigger: 'change'})
|
||||
rule.push({
|
||||
type: 'string',
|
||||
max: item.attrLen,
|
||||
message: `${item.attrName}不能超过${item.attrLen}个字符`,
|
||||
trigger: 'change'
|
||||
})
|
||||
}
|
||||
if (rule.length > 0) {
|
||||
// this.$set(this.rules, item.attrField, rule)
|
||||
@@ -4637,6 +4697,7 @@ export default {
|
||||
/deep/ .el-table--scrollable-x .el-table__body-wrapper {
|
||||
overflow-x: scroll;
|
||||
}
|
||||
|
||||
#left {
|
||||
width: calc(30% - 5px);
|
||||
height: 100%;
|
||||
@@ -4655,12 +4716,15 @@ export default {
|
||||
width: 70%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
/deep/ .label-input-form .add-form-item .el-form-item__content .el-input .el-input__inner {
|
||||
width: 280px;
|
||||
}
|
||||
|
||||
/deep/ .contentTitle {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/deep/ .el-drawer__container {
|
||||
.prc-content-border {
|
||||
/*border: none;*/
|
||||
@@ -4668,20 +4732,24 @@ export default {
|
||||
padding: 0 20px 0;
|
||||
}
|
||||
}
|
||||
|
||||
/deep/ .icon-tree {
|
||||
margin: 0 5px 0 10px;
|
||||
position: relative;
|
||||
background: url('~@/assets/images/shangqi/img/tree-add.png');
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
/deep/ .expanded {
|
||||
background: url('~@/assets/images/shangqi/img/tree-sub.png');
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
/deep/ .is-leaf {
|
||||
background-image: none;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
/deep/ .is-leaf-none {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
@@ -4690,6 +4758,7 @@ export default {
|
||||
background: url('~@/assets/images/shangqi/img/none-file.png');
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
/deep/ .is-show {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
@@ -4698,12 +4767,14 @@ export default {
|
||||
background: url('~@/assets/images/shangqi/img/tree.png');
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
/deep/ .tree-line {
|
||||
.el-tree-node {
|
||||
position: relative;
|
||||
padding-left: 0px; // 缩进量
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
.el-tree-node__children {
|
||||
padding-left: 16px; // 缩进量
|
||||
}
|
||||
@@ -4719,6 +4790,7 @@ export default {
|
||||
border-width: 1px;
|
||||
border-left: 1px dashed #858990e0;
|
||||
}
|
||||
|
||||
// 当前层最后一个节点的竖线高度固定
|
||||
.el-tree-node:last-child::before {
|
||||
height: 38px; // 可以自己调节到合适数值
|
||||
@@ -4740,6 +4812,7 @@ export default {
|
||||
& > .el-tree-node::after {
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
& > .el-tree-node::before {
|
||||
border-left: none;
|
||||
}
|
||||
@@ -4758,6 +4831,7 @@ export default {
|
||||
<style lang="less" scoped>
|
||||
@import '~@/assets/styles/mixins';
|
||||
@import '~@/assets/styles/style';
|
||||
|
||||
#EnterpriseStandardDatabase {
|
||||
display: flex;
|
||||
position: relative;
|
||||
@@ -4773,12 +4847,14 @@ export default {
|
||||
/deep/ .el-card__body {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.el-card {
|
||||
width: 500px;
|
||||
min-width: 2000px;
|
||||
max-width: 100%;
|
||||
//min-width: min-content;
|
||||
}
|
||||
|
||||
height: 95%;
|
||||
width: 95%;
|
||||
position: absolute;
|
||||
@@ -4790,6 +4866,7 @@ export default {
|
||||
right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.tree-right {
|
||||
overflow-y: hidden;
|
||||
padding: 0 0;
|
||||
@@ -4805,6 +4882,7 @@ export default {
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
flex: auto;
|
||||
|
||||
.collection-btn {
|
||||
padding: 0;
|
||||
border: none;
|
||||
@@ -4820,29 +4898,36 @@ export default {
|
||||
//}
|
||||
|
||||
}
|
||||
|
||||
.pagination {
|
||||
position: static;
|
||||
|
||||
/deep/ .pagination-slot {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.tree-close {
|
||||
.tree {
|
||||
left: -200px !important;
|
||||
}
|
||||
|
||||
.tree-right {
|
||||
width: calc(~'100% - 15px') !important;
|
||||
}
|
||||
|
||||
.side-bar-collapse {
|
||||
background: #5596CC !important;
|
||||
color: #FFF;
|
||||
}
|
||||
}
|
||||
|
||||
.tree-closed {
|
||||
width: 15px !important;
|
||||
}
|
||||
|
||||
.el-drawer__wrapper {
|
||||
.demo-drawer-content {
|
||||
.drawer-content {
|
||||
@@ -4853,6 +4938,7 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.searchAngNewBtn {
|
||||
margin-top: 10px !important;
|
||||
}
|
||||
@@ -4864,11 +4950,13 @@ export default {
|
||||
align-items: start;
|
||||
}
|
||||
}
|
||||
|
||||
::v-deep .el-drawer__header {
|
||||
& > span:first-child {
|
||||
outline: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
::v-deep .el-drawer {
|
||||
outline: none !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user