企标库 - 代替企标编号撑开
This commit is contained in:
@@ -12,6 +12,9 @@
|
|||||||
:value="value"
|
:value="value"
|
||||||
:placeholder="placeholder"
|
:placeholder="placeholder"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
|
type="textarea"
|
||||||
|
resize="none"
|
||||||
|
:autosize="true"
|
||||||
clearable
|
clearable
|
||||||
@input="handleChange"
|
@input="handleChange"
|
||||||
></el-input>
|
></el-input>
|
||||||
@@ -63,6 +66,15 @@ export default {
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style lang="less" scoped>
|
||||||
|
.add-form-item{
|
||||||
|
/deep/.el-form-item__content{
|
||||||
|
.el-textarea{
|
||||||
|
width: calc(~'100% - 90px');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/deep/.el-dialog__body{
|
||||||
|
padding: 15px 20px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -9,6 +9,9 @@
|
|||||||
:class="{'form-item-disabled': disabled}"
|
:class="{'form-item-disabled': disabled}"
|
||||||
>
|
>
|
||||||
<el-input
|
<el-input
|
||||||
|
type="textarea"
|
||||||
|
resize="none"
|
||||||
|
:autosize="true"
|
||||||
:value="value"
|
:value="value"
|
||||||
:placeholder="placeholder"
|
:placeholder="placeholder"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
@@ -22,7 +25,8 @@
|
|||||||
style="position:absolute;top: 10px;right: 0;"
|
style="position:absolute;top: 10px;right: 0;"
|
||||||
@click="selectLaws"
|
@click="selectLaws"
|
||||||
v-if="(processModel && !disabled) || !processModel"
|
v-if="(processModel && !disabled) || !processModel"
|
||||||
>手动查找</el-button>
|
>手动查找
|
||||||
|
</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-dialog
|
<el-dialog
|
||||||
:title="config.attrName"
|
:title="config.attrName"
|
||||||
@@ -34,7 +38,8 @@
|
|||||||
>
|
>
|
||||||
<div class="search-area">
|
<div class="search-area">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<el-form :modal="replaceLawsNumForm" :inline="true" class="label-input-form" @keyup.enter.native="getReplaceLawsNumRowSearch">
|
<el-form :modal="replaceLawsNumForm" :inline="true" class="label-input-form"
|
||||||
|
@keyup.enter.native="getReplaceLawsNumRowSearch">
|
||||||
<!-- <el-form-item label="数据来源" class="search-item">-->
|
<!-- <el-form-item label="数据来源" class="search-item">-->
|
||||||
<!-- <el-select v-model="replaceLawsNumForm.dataSource" filterable>-->
|
<!-- <el-select v-model="replaceLawsNumForm.dataSource" filterable>-->
|
||||||
<!-- <el-option-->
|
<!-- <el-option-->
|
||||||
@@ -100,12 +105,19 @@
|
|||||||
min-width="130">
|
min-width="130">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span v-if="dataSource === 'BUSINESS'">
|
<span v-if="dataSource === 'BUSINESS'">
|
||||||
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standCode }}-{{ scope.row.standYear }}</a>
|
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{
|
||||||
|
scope.row.standCode
|
||||||
|
}}-{{ scope.row.standYear }}</a>
|
||||||
<a v-else class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standCode }}</a>
|
<a v-else class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standCode }}</a>
|
||||||
</span>
|
</span>
|
||||||
<span v-else>
|
<span v-else>
|
||||||
<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"
|
||||||
<a v-else @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}</a>
|
@click="handlePreview(scope.row)">{{ scope.row.standSortShow }} {{
|
||||||
|
scope.row.standNumber
|
||||||
|
}}-{{ scope.row.standYear }}</a>
|
||||||
|
<a v-else @click="handlePreview(scope.row)" class="table-jump">{{
|
||||||
|
scope.row.standSortShow
|
||||||
|
}} {{ scope.row.standNumber }}</a>
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -139,8 +151,11 @@
|
|||||||
@pageChange="pageChangeReplace"
|
@pageChange="pageChangeReplace"
|
||||||
@pageSizeChange="pageSizeChangeReplace"></pagination>
|
@pageSizeChange="pageSizeChangeReplace"></pagination>
|
||||||
<div slot="footer" class="demo-drawer-footer">
|
<div slot="footer" class="demo-drawer-footer">
|
||||||
<el-button class="common-button-default" round icon="el-icon-close" @click="replaceLawsNumModel = false">取消</el-button>
|
<el-button class="common-button-default" round icon="el-icon-close" @click="replaceLawsNumModel = false">取消
|
||||||
<el-button type="primary" round class="common-button-primary" icon="el-icon-check" @click="replaceLawsNumModelBt">提交</el-button>
|
</el-button>
|
||||||
|
<el-button type="primary" round class="common-button-primary" icon="el-icon-check"
|
||||||
|
@click="replaceLawsNumModelBt">提交
|
||||||
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
@@ -390,9 +405,19 @@ export default {
|
|||||||
/deep/ .el-dialog__body {
|
/deep/ .el-dialog__body {
|
||||||
padding: 0 20px 0;
|
padding: 0 20px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/ .el-dialog__footer {
|
/deep/ .el-dialog__footer {
|
||||||
padding: 0 20px 20px;
|
padding: 0 20px 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.add-form-item {
|
||||||
|
/deep/ .el-form-item__content {
|
||||||
|
.el-textarea {
|
||||||
|
width: calc(~'100% - 90px');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/deep/ .input-width input.el-input__inner {
|
/deep/ .input-width input.el-input__inner {
|
||||||
width: 220px;
|
width: 220px;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user