feat: There is no way the,Laws

This commit is contained in:
super_liu
2021-11-03 12:58:14 +08:00
parent 5a66653370
commit 899cae1e37
@@ -240,7 +240,7 @@
</template>
</el-table-column>
<el-table-column
prop="putTime"
prop="XCXSSRQLAWS"
label="新车实施日期"
sortable
width="130"
@@ -684,9 +684,9 @@
<!-- <el-input v-model="sarConfigStandSearch.standName" @keyup.enter.native="searchConfiguraStand"-->
<!-- placeholder="根据标准名称查找" clearable/>-->
<!-- </el-formItem>-->
<el-formItem label="企标编号" prop="standCode" class="search-item">
<el-input v-model="sarConfigStandSearch.standCode" @keyup.enter.native="searchConfiguraStand"
placeholder="根据企标编号查找" clearable/>
<el-formItem label="政策编号" prop="lawsNumber" class="search-item">
<el-input v-model="sarConfigStandSearch.lawsNumber" @keyup.enter.native="searchConfiguraStand"
placeholder="根据政策编号查找" clearable/>
</el-formItem>
<!-- <el-formItem label="企标类别" prop="standSort" class="search-item">-->
<!-- <el-select v-model="sarConfigStandSearch.standSort" placeholder="根据企标类别查找"-->
@@ -695,9 +695,10 @@
<!-- </el-option>-->
<!-- </el-select>-->
<!-- </el-formItem>-->
<el-formItem label="代替企标编号" prop="replaceStandNum" class="search-item">
<el-input v-model="sarConfigStandSearch.replaceStandNum" @keyup.enter.native="searchConfiguraStand" placeholder="根据代替企标编号查找" clearable :maxlength="100"/>
<el-formItem label="政策名称" prop="numberName" class="search-item">
<el-input v-model="sarConfigStandSearch.numberName" @keyup.enter.native="searchConfiguraStand" placeholder="根据政策名称查找" clearable :maxlength="100"/>
</el-formItem>
<el-form-item class="search-item btn-box">
<el-button
icon="el-icon-search"
@@ -735,17 +736,23 @@
</el-table-column>
<el-table-column
show-overflow-tooltip
prop="standCode"
label="标准"
prop="lawsNumber"
label="政策编"
align="center"
>
</el-table-column>
<el-table-column
prop="standName"
label="标准名称"
prop="lawsName"
label="中文名称"
width="200"
align="center">
</el-table-column>
<el-table-column
prop="lawsEnName"
label="英文名称"
width="200"
align="center">
</el-table-column>
<el-table-column
prop="issueTime"
label="发布日期"
@@ -754,18 +761,17 @@
align="center">
</el-table-column>
<el-table-column
prop="putTime"
prop="XCXSSRQLAWS"
label="实施日期"
width="180"
sortable
align="center">
<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.XCXSSRQLAWS ? scope.row.XCXSSRQLAWS.slice(0, 10) : ''}}</span>
</template>
</el-table-column>
<!-- <el-table-column-->
<!-- prop="standNatrueShow"-->
<!-- label="标准性质"-->
<!-- width="200"-->
<!-- align="center">-->
<!-- </el-table-column>-->
<el-table-column
prop="standStatusShow"
label="标准状态"
@@ -1964,6 +1970,8 @@
validFlag: '0',
menuId: '',
classifyCode: '',
numberName: '',
lawsNumber: '',
quoteStand: '',
standCode: '',
standName: '',
@@ -2611,9 +2619,8 @@
// 取消配置标准
cancelConfigStand () {
this.configStandFlag = false
this.sarConfigStandSearch.standCode = ''
this.sarConfigStandSearch.standSort = ''
this.sarConfigStandSearch.replaceStandNum = ''
this.sarConfigStandSearch.lawsNumber=''
this.sarConfigStandSearch.numberName=''
this.configPage = 1
this.selectConfigStand = []
},
@@ -3238,7 +3245,7 @@
for (let i = 0; i < this.selectedList.length; i++) {
search.idlist.push(this.selectedList[i])
}
this.$http.putData('lawss/sarBussStandMenu/removeStandInfo', search, {
this.$http.putData('lawss/sarLawsMenu/removeStandInfo', search, {
_this: this
}, res => {
// this.$message({
@@ -3499,17 +3506,8 @@
// this.$refs['configEnterPriseForm'].resetFields()
// this.selectConfiguraStand()
// })
this.sarConfigStandSearch.standCode = ''
this.sarConfigStandSearch.standName = ''
this.sarConfigStandSearch.standSort = ''
this.sarConfigStandSearch.standGenera = ''
this.sarConfigStandSearch.standSubclass = ''
this.sarConfigStandSearch.classifyCode = ''
this.sarConfigStandSearch.synopsis = ''
this.sarConfigStandSearch.quoteStand = ''
this.sarConfigStandSearch.replaceStandNum = ''
this.sarConfigStandSearch.responsibleUnit = ''
this.sarConfigStandSearch.orgName = ''
this.sarConfigStandSearch.lawsNumber=''
this.sarConfigStandSearch.numberName=''
this.configPage = 1
this.sarConfigStandSearch.page = 1
this.selectConfiguraStand()
@@ -3539,7 +3537,7 @@
// 查询处于游离态的标准
selectConfiguraStand () {
// this.sarConfigStandSearch.menuId = 'others'
this.$http.get('lawss/sarLawsInfo/Page', this.sarConfigStandSearch, {
this.$http.get('lawss/sarLawsInfo/page', this.sarConfigStandSearch, {
_this: this,
loading: 'configLoading'
}, res => {
@@ -3558,10 +3556,8 @@
if (nodeId !== undefined) {
this.lawsStandInfoSearch.menuId = nodeId
}
if (this.lawsStandInfoSearch.menuId == null || this.lawsStandInfoSearch.menuId === '') {
if (this.countRootId === 1) {
this.lawsStandInfoSearch.menuId = this.parentNode.id
}
if ( (this.lawsStandInfoSearch.menuId == null || this.lawsStandInfoSearch.menuId === '') && this.selectSarMenu.id) {
this.lawsStandInfoSearch.menuId = this.selectSarMenu.id
}
// this.SarExportSearchEo = item === null || item === undefined || item === '' ? this.lawsStandInfoSearch : item
if (!item) {