标准详情,标准分解单查询

This commit is contained in:
zhaokaiyao@91isoft.com
2021-08-08 22:38:59 +08:00
parent 9af8203bf3
commit f862b5fc88
@@ -418,28 +418,52 @@
trigger="click" trigger="click"
:value="false" :value="false"
> >
<el-input <!-- <el-input-->
v-model="standItemSearch.orgName" <!-- v-model="standItemSearch.orgName"-->
slot="reference" <!-- slot="reference"-->
placeholder="请选择部门" <!-- placeholder="请选择部门"-->
readonly <!-- readonly-->
id="searchInlandDeptBtn" <!-- id="searchInlandDeptBtn"-->
@on-change="inputChange" <!-- @on-change="inputChange"-->
style="margin-right: 0;"/> <!-- style="margin-right: 0;"/>-->
<div class="api"> <div class="api">
<laws-tree :zNodes="searchInlandNodes" <!-- <laws-tree :zNodes="searchInlandNodes"-->
treeDivId="domesticTree1" <!-- treeDivId="domesticTree1"-->
ref="reloadTree2" <!-- ref="reloadTree2"-->
deptSelect <!-- deptSelect-->
showRMenu <!-- showRMenu-->
@treeDblClick="searchInlandNodesClick" <!-- @treeDblClick="searchInlandNodesClick"-->
class="ztree" style="width: 200px;height: 400px;overflow: auto"> <!-- class="ztree" style="width: 200px;height: 400px;overflow: auto">-->
</laws-tree> <!-- </laws-tree>-->
</div> </div>
</el-popover> </el-popover>
</el-form-item> </el-form-item>
<el-form-item class="search-item"> <el-form-item class="search-item">
<el-input v-model="standItemSearch.nameOrRequest" size="small" placeholder="根据条款名称/内容查找" clearable maxlength="100"></el-input> <el-input v-model="standItemSearch.itemsName" size="small" placeholder="根据条款名称查找" clearable maxlength="100"></el-input>
</el-form-item>
<!-- 新车实施日期-->
<el-form-item class="search-item">
<div class="block">
<el-date-picker
v-model="standItemSearch.XCXSSRQ"
type="date"
placeholder="新车实施日期">
</el-date-picker>
</div>
</el-form-item>
<!-- //在产车实施日期-->
<el-form-item class="search-item">
<div class="block">
<el-date-picker
v-model="standItemSearch.ZCCSSRQ"
type="date"
placeholder="在产车实施日期">
</el-date-picker>
</div>
</el-form-item> </el-form-item>
<!-- <el-form-item class="search-item">--> <!-- <el-form-item class="search-item">-->
<!-- <el-input v-model="standItemSearch.parts" size="small" placeholder="根据涉及零部件查找" clearable maxlength="100"></el-input>--> <!-- <el-input v-model="standItemSearch.parts" size="small" placeholder="根据涉及零部件查找" clearable maxlength="100"></el-input>-->
@@ -507,7 +531,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
show-overflow-tooltip show-overflow-tooltip
prop="itemsName" prop="itemsTitle"
label="条款内容" label="条款内容"
> >
</el-table-column> </el-table-column>
@@ -533,30 +557,30 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
show-overflow-tooltip show-overflow-tooltip
prop="putTime" prop="applyArctic"
label="适用车型" label="适用车型"
> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="responsibleUnitShow" prop="responsibleUnit"
label="责任部门"> label="责任部门">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="zrgcs" prop="dutyEngineer"
label="责任工程师"> label="责任工程师">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="dutyEngineerShow" prop="comparedWithPrevious"
label="基于上一版本差异" label="基于上一版本差异"
width="150"> width="150">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
show-overflow-tooltip show-overflow-tooltip
prop="svppsShow" prop="complianceRequire"
label="符合性状态"> label="符合性状态">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="applyArcticShow" prop="complianceState"
label="合规性分析"> label="合规性分析">
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" width="50" fixed="right"> <el-table-column label="操作" align="center" width="50" fixed="right">
@@ -1247,15 +1271,13 @@ export default {
modalStandItemflag: false, modalStandItemflag: false,
tableLoading: false, tableLoading: false,
standItemSearch: { standItemSearch: {
XCXSSRQ:'',
ZCCSSRQ:'',
standId: '', standId: '',
fileType: '', fileType: '',
responsibleUnit: '', itemsName:'',
orgName: '',
validFlag: '0',
pageSize: this.$store.getters.userInfo.configContent, pageSize: this.$store.getters.userInfo.configContent,
page: 1, page: 1,
nameOrRequest: '',
parts: ''
}, },
standitemTotal: 0, standitemTotal: 0,
searching: false, searching: false,
@@ -2231,11 +2253,14 @@ export default {
selectSarStandItems (id, flag) { selectSarStandItems (id, flag) {
this.standItemSearch.standId = this.sarStandardsInfoEO.id this.standItemSearch.standId = this.sarStandardsInfoEO.id
this.standItemSearch.fileType = this.fileType this.standItemSearch.fileType = this.fileType
this.$http.get('lawss/sarStandItems/getSarStandItemsList', this.standItemSearch, { this.$http.get('SarStandItems/sar-stand-items/querySarItemAndInterpretation', this.standItemSearch, {}, res => {
_this: this, loading: 'tableLoading'
}, res => {
this.selectedItemList = [] this.selectedItemList = []
this.standItemList = res.data.list if (res.ok) {
this.standItemList = res.data;
console.log("hello"+this.standItemList+res.data);
this.standitemTotal = res.data.count // 分页需要
}
// if (this.standItemList != null && this.standItemList.length > 0) { // if (this.standItemList != null && this.standItemList.length > 0) {
// for (let ind = 0; ind < this.standItemList.length; ind++) { // for (let ind = 0; ind < this.standItemList.length; ind++) {
// // 去掉html标签 // // 去掉html标签
@@ -2244,7 +2269,7 @@ export default {
// this.standItemList[ind].termsConditions = itemContent // this.standItemList[ind].termsConditions = itemContent
// } // }
// } // }
this.standitemTotal = res.data.count // 分页需要
}, e => { }, e => {
}) })
}, },