Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
super_liu
2022-01-12 16:41:22 +08:00
7 changed files with 494 additions and 455 deletions
@@ -269,10 +269,16 @@
<!-- <p class="half" v-if="saveStandType === 'INLAND_STAND'"><label style=" margin-right: 150px;">标准性质</label><span>{{-->
<!-- standMap[sarStandardsInfoEO.standNature] || '-'-->
<!-- }}</span></p>-->
<p class="half" v-if="saveStandType === 'INLAND_STAND'"><label
<!--<p class="half" v-if="saveStandType === 'INLAND_STAND'"><label
style=" margin-right: 150px;">标准体系</label><span>{{
sarStandardsInfoEO.standSystem || '-'
}}</span></p>
}}</span>
</p>-->
<p class="half"><label
style=" margin-right: 150px;">标准体系</label><span>{{
sarStandardsInfoEO.standSystem || '-'
}}</span>
</p>
<p class="half">
<label style=" margin-right: 84px;">是否纳入认证清单</label><span>{{
sarStandardsInfoEO.isRelateAccess ? (sarStandardsInfoEO.isRelateAccess === '1' ? '是' : '否') : '-'
+11 -8
View File
@@ -152,39 +152,40 @@
<a @click="handlePreview(scope.row)">{{ scope.row.standName }}</a>
</template>
</el-table-column>
<el-table-column prop="itemsNum" label="条款编号" width="200" align="center">
<el-table-column prop="itemsNum" label="条款编号" width="120" align="center">
<template slot-scope="scope">
<a @click="handlePreview(scope.row)">{{ scope.row.itemsNum }}</a>
</template>
</el-table-column>
<el-table-column prop="itemsName" width="320" label="条款名称" align="center">
<el-table-column prop="itemsName" width="320" label="条款名称" align="center" show-overflow-tooltip>
<template slot-scope="scope">
<a @click="handlePreview(scope.row)">{{ scope.row.itemsName }}</a>
</template>
</el-table-column>
<el-table-column prop="termsConditions" label="条款内容" width="400" align="center" show-overflow-tooltip></el-table-column>
<el-table-column prop="issueTime" label="发布日期" width="120" align="center">
<template slot-scope="scope">
<span>{{ scope.row.issueTime ? scope.row.issueTime.substring(0, 10) : '' }}</span>
</template>
</el-table-column>
<el-table-column prop="ssrq" label="实施日期" width="120" align="center">
<el-table-column prop="ssrq" label="实施日期" width="200" align="center">
<template slot-scope="scope">
<span>{{ scope.row.ssrq }}</span>
</template>
</el-table-column>
<el-table-column prop="xcxssrq" label="新车型实施日期" width="150" align="center">
<el-table-column prop="xcxssrq" label="新车型实施日期" width="200" align="center">
<template slot-scope="scope">
<span>{{ scope.row.xcxssrq }}</span>
</template>
</el-table-column>
<el-table-column prop="zccssrq" label="在产车实施日期" width="150" align="center">
<el-table-column prop="zccssrq" label="在产车实施日期" width="200" align="center">
<template slot-scope="scope">
<span>{{ scope.row.zccssrq }}</span>
</template>
</el-table-column>
<el-table-column prop="applyType" label="适用车型" align="center">
<el-table-column prop="applyType" label="适用车型" width="150" align="center">
</el-table-column>
<!-- <el-table-column label="操作" width="100" align="center" v-if="isShowBtn" fixed="right">
<el-table-column label="操作" width="100" align="center" v-if="isShowBtn" fixed="right">
<template slot-scope="scope">
<el-button
size="mini"
@@ -192,7 +193,7 @@
@click="cancelWarning(scope.$index, scope.row)">取消预警
</el-button>
</template>
</el-table-column>-->
</el-table-column>
</el-table>
<pagination
style="position: static;"
@@ -549,12 +550,14 @@ export default {
this.$http.get('sys/EarlyWarning/ChangePermissions', {
id: row.id,
}, {}, res => {
if (res.ok === true) {
this.pageConfig.page = 1
this.pageConfig.newPolicyPage = 1
this.pageConfig.oldPolicyPage = 1
this.searchBtnClick()
this.getEarlyDate()
}
}
)
}).catch(() => {
this.$message.warning('取消事件')
@@ -128,7 +128,8 @@
</el-radio-group>
<el-button @click="form.isRelateAccess = ''" v-show="form.isRelateAccess !== null>0" size="mini" type="primary" circle icon="el-icon-close" style="margin-left: 10px;margin-bottom: 3px"></el-button>
</el-form-item>
<el-form-item v-if="verifySarStandard && form.standInData === '0' " label="标准体系" prop="standSystem" class="add-form-item form-item-disabled">
<!--v-if="verifySarStandard && form.standInData === '0' " -->
<el-form-item label="标准体系" prop="standSystem" class="add-form-item form-item-disabled">
<el-input v-model="form.standSystem" clearable placeholder="选择标准体系" @click.native="choiceZRR1('standSystem', '标准体系', form.standSystem)"></el-input>
<tree-select-new
:key="key"
@@ -132,7 +132,7 @@
<el-radio label="2"></el-radio>
</el-radio-group>
</el-form-item>
<el-form-item v-if="form.standInData === '0'" label="标准体系" prop="standSystem" class="add-form-item form-item-disabled">
<el-form-item label="标准体系" prop="standSystem" class="add-form-item form-item-disabled">
<el-input v-model="form.standSystem" disabled></el-input>
</el-form-item>
<el-form-item v-if="form.standInData === '1'" label="标签" prop="gxhbq" class="add-form-item form-item-disabled">
@@ -131,7 +131,7 @@
<el-radio label="2"></el-radio>
</el-radio-group>
</el-form-item>
<el-form-item v-if="form.standInData === '0'" label="标准体系" prop="standSystem" class="add-form-item form-item-disabled">
<el-form-item label="标准体系" prop="standSystem" class="add-form-item form-item-disabled">
<el-input v-model="form.standSystem" disabled></el-input>
</el-form-item>
<el-form-item v-if="form.standInData === '1'" label="标签" prop="gxhbq" class="add-form-item form-item-disabled">
@@ -127,7 +127,7 @@
</el-radio-group>
<el-button @click="form.isRelateAccess = ''" v-show="form.isRelateAccess !== null>0" size="mini" type="primary" circle icon="el-icon-close" style="margin-left: 10px;margin-bottom: 3px"></el-button>
</el-form-item>
<el-form-item v-if="form.standInData === '0'" label="标准体系" prop="standSystem" class="add-form-item form-item-disabled">
<el-form-item label="标准体系" prop="standSystem" class="add-form-item form-item-disabled">
<el-input v-model="form.standSystem" placeholder="选择标准体系" @click.native="choiceZRR1('standSystem', '标准体系', form.standSystem)"></el-input>
<tree-select-new
:key="key"
@@ -997,17 +997,15 @@
<el-option value="2" label="否" key="2"></el-option>
</el-select>
</el-form-item>
<!-- <el-form-item
<el-form-item
prop="standSystem"
label-width="150px"
class="add-form-item"
>
<template slot="label">标准体系</template>
<tree-select
:data="standSystemOptions"
:defaultProps="defaultProps" :checkedKeys="defaultCheckedKeys"
:nodeKey="nodeKey" @popoverHide="popoverHide"></tree-select>
</el-form-item>-->
<el-input v-model="sarStandardsInfoEO.standSystem" placeholder="选择标准体系"
@click.native="choiceZRR1('standSystem', '标准体系', sarStandardsInfoEO.standSystem)"></el-input>
</el-form-item>
</template>
<template v-for="field in displayLocation.child">
<template v-if="field.attrField === 'EOPSSRQ'">
@@ -1717,6 +1715,16 @@
:nodeList="nodeListZRBM"
@checkedRole="drawerCheckZRBM"
/>
<tree-select-new
:multiple=false
:lazy=false
:modalShowFlag="modalShowFlag1"
:drawerTitle="drawerTitle"
width="500"
:data="standSystemOptions"
:defaultProps="defaultProps" :checkedKeys="defaultCheckedKeys"
:nodeKey="nodeKey" @popoverHide="popoverHide" @popoverHideCancel="popoverHideCancel"></tree-select-new>
</div>
</template>
@@ -2453,7 +2461,7 @@ export default {
orgData: [],
delLoading: false,
standState: '',
filterText: ''
filterText: '',
}
},
props: {},
@@ -2649,8 +2657,18 @@ export default {
},
popoverHide(checkedIds, checkedData) {
if (checkedData) {
this.sarStandardsInfoEO.standSystem = checkedData.id
if (checkedData.length > 0) {
this.sarStandardsInfoEO.standSystem = checkedData.map(item => item.menuName).join(",")
} else {
this.sarStandardsInfoEO.standSystem = checkedData.menuName
}
}
this.modalShowFlag1 = false
this.$forceUpdate()
},
popoverHideCancel() {
this.modalShowFlag1 = false
},
closeModal() {
this.productModal = false
@@ -5053,6 +5071,11 @@ export default {
this.advanceSearchMapping['ZRBM'] = nameList
}
},
choiceZRR1(type, title, id) {
this.drawerTitle = title
this.modalShowFlag1 = true
},
},
computed: {
// 是否拥有拖拽权限
@@ -5154,6 +5177,7 @@ export default {
/deep/ .el-table--scrollable-x .el-table__body-wrapper {
overflow-x: scroll;
}
#left {
width: calc(30% - 5px);
height: 100%;
@@ -5172,9 +5196,11 @@ export default {
width: 70%;
height: 100%;
}
/deep/ .contentTitle {
width: 100%;
}
/deep/ .el-drawer__container {
.prc-content-border {
/*border: none;*/
@@ -5182,6 +5208,7 @@ export default {
padding: 0 20px 0;
}
}
/deep/ .icon-tree {
margin: 0 5px 0 10px;
position: relative;
@@ -5286,6 +5313,7 @@ export default {
/deep/ .label-input-form .add-form-item .el-form-item__content .el-input .el-input__inner {
width: 280px;
}
//background: #fff;
display: flex;
height: 100%;
@@ -5340,6 +5368,7 @@ export default {
overflow: hidden;
display: flex;
flex-direction: column;
.collection-btn {
padding: 0;
border: none;