未符合项整改bug
This commit is contained in:
@@ -1066,8 +1066,10 @@ export default {
|
|||||||
middle.push(item.name);
|
middle.push(item.name);
|
||||||
files.push(item.response.data.id);
|
files.push(item.response.data.id);
|
||||||
});
|
});
|
||||||
this.fileListName = middle;
|
this.listForm.fileName = middle.join(',');
|
||||||
this.fileIds = files;
|
this.listForm.fileId = files.join(',');
|
||||||
|
// this.fileListName = middle;
|
||||||
|
// this.fileIds = files;
|
||||||
},
|
},
|
||||||
fileUpload() {
|
fileUpload() {
|
||||||
this.fileMadel = true;
|
this.fileMadel = true;
|
||||||
@@ -1081,12 +1083,17 @@ export default {
|
|||||||
});
|
});
|
||||||
this.fileListName = middle;
|
this.fileListName = middle;
|
||||||
this.fileIds.push(file.response.data.id);
|
this.fileIds.push(file.response.data.id);
|
||||||
if(this.listForm.fileName === null ){
|
if(this.listForm.fileName === null || this.listForm.fileName == undefined){
|
||||||
this.listForm.fileName = this.fileListName.join(',')
|
this.listForm.fileName = this.fileListName.join(',')
|
||||||
}else {
|
} else {
|
||||||
this.listForm.fileName = this.listForm.fileName + ',' + this.fileListName.join(',');
|
this.listForm.fileName = this.listForm.fileName + ',' + this.fileListName.join(',');
|
||||||
}
|
}
|
||||||
this.listForm.fileId = this.listForm.fileId + ',' + this.fileIds.join(',')
|
if(this.listForm.fileId === null || this.listForm.fileId === undefined){
|
||||||
|
this.listForm.fileId = this.fileIds.join(',')
|
||||||
|
}else {
|
||||||
|
this.listForm.fileId = this.listForm.fileId + ',' + this.fileIds.join(',')
|
||||||
|
}
|
||||||
|
console.log(this.listForm);
|
||||||
this.$message.success("上传成功");
|
this.$message.success("上传成功");
|
||||||
} else {
|
} else {
|
||||||
this.$message.error(res.message);
|
this.$message.error(res.message);
|
||||||
@@ -1205,7 +1212,11 @@ export default {
|
|||||||
exits.push(item.id)
|
exits.push(item.id)
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.listForm.inforlist = this.listForm.inforlist + ',' + exits.join(',')
|
if(this.listForm.inforlist === null || this.listForm.inforlist === undefined){
|
||||||
|
this.listForm.inforlist = exits.join(',')
|
||||||
|
} else {
|
||||||
|
this.listForm.inforlist = this.listForm.inforlist + ',' + exits.join(',')
|
||||||
|
}
|
||||||
this.standardData = [];
|
this.standardData = [];
|
||||||
this.standModel = false;
|
this.standModel = false;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -78,13 +78,8 @@
|
|||||||
width="180px"
|
width="180px"
|
||||||
label="标准号">
|
label="标准号">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<a v-if="scope.row.standYear" class="table-jump"
|
<p v-if="scope.row.standYear">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</p>
|
||||||
@click="handlePreview(scope.row)">{{ scope.row.standSortShow }} {{
|
<p v-else>{{ scope.row.standSortShow }} {{ scope.row.standNumber }}</p>
|
||||||
scope.row.standNumber
|
|
||||||
}}-{{ scope.row.standYear }}</a>
|
|
||||||
<a v-else @click="handlePreview(scope.row)" class="table-jump">{{
|
|
||||||
scope.row.standSortShow }}
|
|
||||||
{{ scope.row.standNumber }}</a>
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -412,17 +407,6 @@ export default {
|
|||||||
},
|
},
|
||||||
selectThree() {
|
selectThree() {
|
||||||
|
|
||||||
},
|
|
||||||
// 点击查看
|
|
||||||
handlePreview(item) {
|
|
||||||
let routeUrl = this.$router.resolve({
|
|
||||||
name: "OtherStandardDetails",
|
|
||||||
params: {
|
|
||||||
id: item.id,
|
|
||||||
pageType: "INLAND_STAND"
|
|
||||||
}
|
|
||||||
});
|
|
||||||
window.open(routeUrl.href, "_blank");
|
|
||||||
},
|
},
|
||||||
pageChange(page) {
|
pageChange(page) {
|
||||||
this.page = page;
|
this.page = page;
|
||||||
|
|||||||
@@ -25,33 +25,39 @@
|
|||||||
:maxlength="100"></el-input>
|
:maxlength="100"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="责任部门" class="search-item">
|
<el-form-item label="责任部门" class="search-item">
|
||||||
<el-input v-model="historySearch.responseUnitShow" v-show="false" />
|
<el-select v-model="historySearch.responsibleUnit" placeholder="根据责任部门查找" clearable>
|
||||||
<el-popover
|
<el-option v-for="opt in zrbmOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">
|
||||||
placement="bottom"
|
{{ opt.label}}</el-option>
|
||||||
popper-class="user-dept-popper"
|
</el-select>
|
||||||
trigger="click"
|
|
||||||
:value="false"
|
|
||||||
>
|
|
||||||
<el-input
|
|
||||||
slot="reference"
|
|
||||||
v-model="historySearch.responseUnitShow"
|
|
||||||
placeholder="根据责任部门查找"
|
|
||||||
readonly
|
|
||||||
clearable
|
|
||||||
id="searchResp"
|
|
||||||
/>
|
|
||||||
<div class="api">
|
|
||||||
<laws-tree
|
|
||||||
:zNodes="zNodesSItem"
|
|
||||||
treeDivId="zNodesSItemSearch"
|
|
||||||
deptSelect
|
|
||||||
showRMenu
|
|
||||||
@treeDblClick="(treeId, treeNode) => treeClickSearch(treeId, treeNode)"
|
|
||||||
class="ztree" style="width: 200px;height: 400px;overflow: auto">
|
|
||||||
</laws-tree>
|
|
||||||
</div>
|
|
||||||
</el-popover>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<!-- <el-form-item label="责任部门" class="search-item">-->
|
||||||
|
<!-- <el-input v-model="historySearch.responseUnitShow" v-show="false" />-->
|
||||||
|
<!-- <el-popover-->
|
||||||
|
<!-- placement="bottom"-->
|
||||||
|
<!-- popper-class="user-dept-popper"-->
|
||||||
|
<!-- trigger="click"-->
|
||||||
|
<!-- :value="false"-->
|
||||||
|
<!-- >-->
|
||||||
|
<!-- <el-input-->
|
||||||
|
<!-- slot="reference"-->
|
||||||
|
<!-- v-model="historySearch.responseUnitShow"-->
|
||||||
|
<!-- placeholder="根据责任部门查找"-->
|
||||||
|
<!-- readonly-->
|
||||||
|
<!-- clearable-->
|
||||||
|
<!-- id="searchResp"-->
|
||||||
|
<!-- />-->
|
||||||
|
<!-- <div class="api">-->
|
||||||
|
<!-- <laws-tree-->
|
||||||
|
<!-- :zNodes="zNodesSItem"-->
|
||||||
|
<!-- treeDivId="zNodesSItemSearch"-->
|
||||||
|
<!-- deptSelect-->
|
||||||
|
<!-- showRMenu-->
|
||||||
|
<!-- @treeDblClick="(treeId, treeNode) => treeClickSearch(treeId, treeNode)"-->
|
||||||
|
<!-- class="ztree" style="width: 200px;height: 400px;overflow: auto">-->
|
||||||
|
<!-- </laws-tree>-->
|
||||||
|
<!-- </div>-->
|
||||||
|
<!-- </el-popover>-->
|
||||||
|
<!-- </el-form-item>-->
|
||||||
<el-form-item class="search-item btn-box">
|
<el-form-item class="search-item btn-box">
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
@@ -374,6 +380,7 @@ export default {
|
|||||||
total: 0,
|
total: 0,
|
||||||
// 当前页数
|
// 当前页数
|
||||||
pageNo: 1,
|
pageNo: 1,
|
||||||
|
zrbmOptions:[],
|
||||||
// 单页数量
|
// 单页数量
|
||||||
pageSize: this.$store.getters.userInfo.configContent,
|
pageSize: this.$store.getters.userInfo.configContent,
|
||||||
// 历史数据查看
|
// 历史数据查看
|
||||||
@@ -652,6 +659,17 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
|
// 从数据库中查询各下拉框数据
|
||||||
|
this.$http.get('sys/dictype/getDicTypeListCode', '', {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
this.allSelectOptions = res.data || {}
|
||||||
|
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
|
||||||
|
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
|
||||||
|
this.getGzzOption()
|
||||||
|
this.setMap(this.standStateOptions)
|
||||||
|
}, e => {
|
||||||
|
})
|
||||||
this.getTableBtn()
|
this.getTableBtn()
|
||||||
this.getOrgTreeSource()
|
this.getOrgTreeSource()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,33 +17,39 @@
|
|||||||
:maxlength="100"></el-input>
|
:maxlength="100"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="责任部门" class="search-item">
|
<el-form-item label="责任部门" class="search-item">
|
||||||
<el-input v-model="nonConformitySearch.responsibleUnit" v-show="false" />
|
<el-select v-model="nonConformitySearch.responsibleUnit" placeholder="根据责任部门查找" clearable>
|
||||||
<el-popover
|
<el-option v-for="opt in zrbmOptions" :value="opt.value === undefined ? '' :opt.value" :key="opt.value" :label="opt.label">
|
||||||
placement="bottom"
|
{{ opt.label}}</el-option>
|
||||||
popper-class="user-dept-popper"
|
</el-select>
|
||||||
trigger="click"
|
|
||||||
:value="false"
|
|
||||||
>
|
|
||||||
<el-input
|
|
||||||
slot="reference"
|
|
||||||
v-model="nonConformitySearch.responsibleUnitShow"
|
|
||||||
placeholder="根据责任部门查找"
|
|
||||||
readonly
|
|
||||||
clearable
|
|
||||||
id="searchResp"
|
|
||||||
/>
|
|
||||||
<div class="api">
|
|
||||||
<laws-tree
|
|
||||||
:zNodes="zNodesSItem"
|
|
||||||
treeDivId="zNodesSItemSearch"
|
|
||||||
deptSelect
|
|
||||||
showRMenu
|
|
||||||
@treeDblClick="(treeId, treeNode) => treeClickSearch(treeId, treeNode)"
|
|
||||||
class="ztree" style="width: 200px;height: 400px;overflow: auto">
|
|
||||||
</laws-tree>
|
|
||||||
</div>
|
|
||||||
</el-popover>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<!-- <el-form-item label="责任部门" class="search-item">-->
|
||||||
|
<!-- <el-input v-model="nonConformitySearch.responsibleUnit" v-show="false" />-->
|
||||||
|
<!-- <el-popover-->
|
||||||
|
<!-- placement="bottom"-->
|
||||||
|
<!-- popper-class="user-dept-popper"-->
|
||||||
|
<!-- trigger="click"-->
|
||||||
|
<!-- :value="false"-->
|
||||||
|
<!-- >-->
|
||||||
|
<!-- <el-input-->
|
||||||
|
<!-- slot="reference"-->
|
||||||
|
<!-- v-model="nonConformitySearch.responsibleUnitShow"-->
|
||||||
|
<!-- placeholder="根据责任部门查找"-->
|
||||||
|
<!-- readonly-->
|
||||||
|
<!-- clearable-->
|
||||||
|
<!-- id="searchResp"-->
|
||||||
|
<!-- />-->
|
||||||
|
<!-- <div class="api">-->
|
||||||
|
<!-- <laws-tree-->
|
||||||
|
<!-- :zNodes="zNodesSItem"-->
|
||||||
|
<!-- treeDivId="zNodesSItemSearch"-->
|
||||||
|
<!-- deptSelect-->
|
||||||
|
<!-- showRMenu-->
|
||||||
|
<!-- @treeDblClick="(treeId, treeNode) => treeClickSearch(treeId, treeNode)"-->
|
||||||
|
<!-- class="ztree" style="width: 200px;height: 400px;overflow: auto">-->
|
||||||
|
<!-- </laws-tree>-->
|
||||||
|
<!-- </div>-->
|
||||||
|
<!-- </el-popover>-->
|
||||||
|
<!-- </el-form-item>-->
|
||||||
<el-form-item class="search-item btn-box">
|
<el-form-item class="search-item btn-box">
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
@@ -427,6 +433,7 @@ export default {
|
|||||||
productName: '', // 项目名称
|
productName: '', // 项目名称
|
||||||
responsibleUnit: '' // 责任部门
|
responsibleUnit: '' // 责任部门
|
||||||
},
|
},
|
||||||
|
zrbmOptions: [], // 责任部门下拉框
|
||||||
// 责任部门
|
// 责任部门
|
||||||
zNodesSItem: [],
|
zNodesSItem: [],
|
||||||
myLoading: {
|
myLoading: {
|
||||||
@@ -654,6 +661,17 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
|
// 从数据库中查询各下拉框数据
|
||||||
|
this.$http.get('sys/dictype/getDicTypeListCode', '', {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
this.allSelectOptions = res.data || {}
|
||||||
|
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
|
||||||
|
this.zrbmOptions = res.data.ZRBMCLASS // 责任部门
|
||||||
|
this.getGzzOption()
|
||||||
|
this.setMap(this.standStateOptions)
|
||||||
|
}, e => {
|
||||||
|
})
|
||||||
this.getTableByPage()
|
this.getTableByPage()
|
||||||
// 加载所有的部门
|
// 加载所有的部门
|
||||||
this.getOrgTreeSource()
|
this.getOrgTreeSource()
|
||||||
|
|||||||
Reference in New Issue
Block a user