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