标准清单 检索中心
This commit is contained in:
@@ -214,6 +214,8 @@ export default {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
background: url('~@/assets/images/shangqi/home/BG.png') no-repeat;
|
||||||
|
background-size: 100%;
|
||||||
& > div{
|
& > div{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
|||||||
@@ -50,7 +50,7 @@
|
|||||||
#app{
|
#app{
|
||||||
&.theme-one {
|
&.theme-one {
|
||||||
//background: url('~@/assets/images/shangqi/home/home-bg.png') no-repeat;
|
//background: url('~@/assets/images/shangqi/home/home-bg.png') no-repeat;
|
||||||
background: url('~@/assets/images/shangqi/home/BG.png') no-repeat;
|
//background: url('~@/assets/images/shangqi/home/BG.png') no-repeat;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
}
|
}
|
||||||
input:focus{
|
input:focus{
|
||||||
|
|||||||
@@ -101,7 +101,7 @@ export default {
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 160px;
|
width: 160px;
|
||||||
height: 61px;
|
height: 61px;
|
||||||
background: url("~@/assets/images/shangqi/home/logo-bg.png") no-repeat;
|
background: url("~@/assets/images/shangqi/home/logo2.png") no-repeat;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
<div class="nav-menu">
|
<div class="nav-menu">
|
||||||
<div class="lattice">
|
<div class="lattice">
|
||||||
<div class="menu-wrap">
|
<div class="menu-wrap">
|
||||||
<enter-card label="高级检索" path="/" style="margin-left:0px;"></enter-card>
|
<enter-card label="高级检索" path="/advancedSearch" style="margin-left:0px;"></enter-card>
|
||||||
<enter-card label="个人中心" path="/"></enter-card>
|
<enter-card label="个人中心" path="/collection"></enter-card>
|
||||||
<enter-card label="统计图表" path="/"></enter-card>
|
<enter-card label="统计图表" path="/"></enter-card>
|
||||||
</div>
|
</div>
|
||||||
<div class="menu-wrap">
|
<div class="menu-wrap">
|
||||||
|
|||||||
@@ -346,7 +346,7 @@ export default {
|
|||||||
editTable(item) {
|
editTable(item) {
|
||||||
sessionStorage.setItem("accessRow", JSON.stringify(item));
|
sessionStorage.setItem("accessRow", JSON.stringify(item));
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: "ListOfStandardsAndRegulationsDetails",
|
name: "OtherAddEit",
|
||||||
query: {
|
query: {
|
||||||
id: item.id
|
id: item.id
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -349,7 +349,7 @@ export default {
|
|||||||
editTable(item) {
|
editTable(item) {
|
||||||
sessionStorage.setItem("accessRow", JSON.stringify(item));
|
sessionStorage.setItem("accessRow", JSON.stringify(item));
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: "ListOfStandardsAndRegulationsDetails",
|
name: "ProjectAddEit",
|
||||||
query: {
|
query: {
|
||||||
id: item.id
|
id: item.id
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -544,6 +544,7 @@ export default {
|
|||||||
// region: '', // 区域
|
// region: '', // 区域
|
||||||
countryArea: '', // 国家
|
countryArea: '', // 国家
|
||||||
keywords: '', // 关键字
|
keywords: '', // 关键字
|
||||||
|
detailedListName: '', //清单名称
|
||||||
applyArctic: '', // 能源种类
|
applyArctic: '', // 能源种类
|
||||||
// category: '', // 所属专业领域
|
// category: '', // 所属专业领域
|
||||||
// applyArctic: '', // 适用车型
|
// applyArctic: '', // 适用车型
|
||||||
@@ -917,12 +918,7 @@ export default {
|
|||||||
// 点击清空查询条件 按钮事件
|
// 点击清空查询条件 按钮事件
|
||||||
clearSearchLaws () {
|
clearSearchLaws () {
|
||||||
this.sarAccessInfoSearch.advanceSearchVOStr = ''
|
this.sarAccessInfoSearch.advanceSearchVOStr = ''
|
||||||
// this.sarAccessInfoSearch.applyArctic = '' // 适用车型
|
|
||||||
this.sarAccessInfoSearch.applyArctic = '' // 能源种类
|
this.sarAccessInfoSearch.applyArctic = '' // 能源种类
|
||||||
// this.sarAccessInfoSearch.category = '' // 所属专业领域
|
|
||||||
// this.sarAccessInfoSearch.applyAuth = '' // 认证类型
|
|
||||||
// this.sarAccessInfoSearch.country = '' // 国家
|
|
||||||
// this.sarAccessInfoSearch.region = '' // 区域
|
|
||||||
this.sarAccessInfoSearch.keywords = '' // 关键字
|
this.sarAccessInfoSearch.keywords = '' // 关键字
|
||||||
this.sarAccessInfoSearch.accessSarType = 'SKILL' // 清单类型
|
this.sarAccessInfoSearch.accessSarType = 'SKILL' // 清单类型
|
||||||
this.sarAccessInfoSearch.askType = '' // 监管类型
|
this.sarAccessInfoSearch.askType = '' // 监管类型
|
||||||
@@ -935,7 +931,6 @@ export default {
|
|||||||
dataSourceChange (val) {
|
dataSourceChange (val) {
|
||||||
this.isListType = val === 'TEMP'
|
this.isListType = val === 'TEMP'
|
||||||
this.sarAccessInfoSearch.advanceSearchVOStr = ''
|
this.sarAccessInfoSearch.advanceSearchVOStr = ''
|
||||||
this.$refs.advancedQuery.clearAllSearch()
|
|
||||||
// 国内标准法规可查字段
|
// 国内标准法规可查字段
|
||||||
if (val === 'INLAND_STAND'){
|
if (val === 'INLAND_STAND'){
|
||||||
this.twoOptions=[
|
this.twoOptions=[
|
||||||
@@ -1459,6 +1454,7 @@ export default {
|
|||||||
sarAccessEO.inforlist = JSON.stringify(rowlist)
|
sarAccessEO.inforlist = JSON.stringify(rowlist)
|
||||||
sarAccessEO.adminInfoList = JSON.stringify(rowList2)
|
sarAccessEO.adminInfoList = JSON.stringify(rowList2)
|
||||||
sarAccessEO.countryArea = sarAccessEO.countryArea.join(',')
|
sarAccessEO.countryArea = sarAccessEO.countryArea.join(',')
|
||||||
|
sarAccessEO.detailedListName = sarAccessEO.detailedListName.join(',')
|
||||||
// 判断是否有附件
|
// 判断是否有附件
|
||||||
if (this.fileInfoList.length > 0) {
|
if (this.fileInfoList.length > 0) {
|
||||||
let relateFile = []
|
let relateFile = []
|
||||||
@@ -2215,7 +2211,7 @@ export default {
|
|||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.sarAccessEO.type = accessRow.type
|
this.sarAccessEO.type = accessRow.type
|
||||||
this.sarAccessEO.countryArea = accessRow.countryArea.split(',')
|
this.sarAccessEO.countryArea = accessRow.countryArea.split(',')
|
||||||
this.sarAccessEO.accessContent = accessRow.accessContent
|
this.sarAccessEO.detailedListName = accessRow.detailedListName
|
||||||
this.sarAccessEO.id = accessRow.id
|
this.sarAccessEO.id = accessRow.id
|
||||||
this.sarAccessEO.remark = accessRow.remark || ''
|
this.sarAccessEO.remark = accessRow.remark || ''
|
||||||
this.sarAccessEO.relateFile = accessRow.relateFile
|
this.sarAccessEO.relateFile = accessRow.relateFile
|
||||||
|
|||||||
@@ -190,7 +190,7 @@
|
|||||||
</el-form>
|
</el-form>
|
||||||
<span slot="footer" class="demo-drawer-footer">
|
<span slot="footer" class="demo-drawer-footer">
|
||||||
<el-button class="common-button-default" icon="el-icon-close" @click="cancal">取消</el-button>
|
<el-button class="common-button-default" icon="el-icon-close" @click="cancal">取消</el-button>
|
||||||
<el-button type="primary" round class="common-button-primary" icon="el-icon-check"
|
<el-button type="primary" class="common-button-primary" icon="el-icon-check"
|
||||||
@click="exportTestItem">提交</el-button>
|
@click="exportTestItem">提交</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
@@ -222,6 +222,8 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { interfaceUrl } from "@/sysConfig";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "AccessStandardDetails",
|
name: "AccessStandardDetails",
|
||||||
data() {
|
data() {
|
||||||
@@ -234,19 +236,18 @@ export default {
|
|||||||
heightShow: true,
|
heightShow: true,
|
||||||
dataLoading: false,
|
dataLoading: false,
|
||||||
standardForm: {
|
standardForm: {
|
||||||
standNumber: '',
|
|
||||||
standName: '',
|
standNumber: "",
|
||||||
responseUnit:'',
|
standName: "",
|
||||||
|
responseUnit: "",
|
||||||
page: 1,
|
page: 1,
|
||||||
pageSize: this.$store.getters.userInfo.configContent,
|
pageSize: this.$store.getters.userInfo.configContent
|
||||||
},
|
},
|
||||||
page: 1,
|
page: 1,
|
||||||
// pageSize: this.$store.getters.userInfo.configContent,
|
// pageSize: this.$store.getters.userInfo.configContent,
|
||||||
total: 0,
|
total: 0,
|
||||||
stateList: [], // 标准状态列表
|
stateList: [], // 标准状态列表
|
||||||
activeName: "SKILL", // 当前激活
|
activeName: "SKILL", // 当前激活
|
||||||
// 导出文件模态框控制,和文件名称
|
|
||||||
saveExportType: "",
|
|
||||||
exportModelFlag: false,
|
exportModelFlag: false,
|
||||||
exportName: "",
|
exportName: "",
|
||||||
standType: "INLAND",
|
standType: "INLAND",
|
||||||
@@ -255,6 +256,9 @@ export default {
|
|||||||
loading: false,
|
loading: false,
|
||||||
accessSarType: "",
|
accessSarType: "",
|
||||||
selectedList: [],
|
selectedList: [],
|
||||||
|
pageId: '',
|
||||||
|
// 导出文件模态框控制,和文件名称
|
||||||
|
saveExportType: "",
|
||||||
depNode: [], // 部门树
|
depNode: [], // 部门树
|
||||||
sarAccessEO: {},
|
sarAccessEO: {},
|
||||||
fileInfoList: [],
|
fileInfoList: [],
|
||||||
@@ -302,13 +306,15 @@ export default {
|
|||||||
},
|
},
|
||||||
// 根据准入id查询标准法规详情
|
// 根据准入id查询标准法规详情
|
||||||
selectInfobyAccid() {
|
selectInfobyAccid() {
|
||||||
|
console.log('309',this.pageId);
|
||||||
this.$http.get("sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById", {
|
this.$http.get("sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById", {
|
||||||
...this.standardForm,
|
...this.standardForm,
|
||||||
|
id: this.pageId,
|
||||||
}, {
|
}, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.standinfoList = res.data
|
this.standinfoList = res.data;
|
||||||
this.total = res.data.total
|
this.total = res.data.total;
|
||||||
}, e => {
|
}, e => {
|
||||||
|
|
||||||
});
|
});
|
||||||
@@ -330,12 +336,17 @@ export default {
|
|||||||
// 重置搜索
|
// 重置搜索
|
||||||
resetSelect() {
|
resetSelect() {
|
||||||
this.standardForm = {
|
this.standardForm = {
|
||||||
standName: '',
|
standName: "",
|
||||||
responseUnit:'',
|
responseUnit: ""
|
||||||
}
|
};
|
||||||
this.selectInfobyAccid();
|
this.selectInfobyAccid();
|
||||||
},
|
},
|
||||||
exportStandard() {
|
exportStandard() {
|
||||||
|
if (this.selectedList.length > 0) {
|
||||||
|
this.saveExportType = "apart";
|
||||||
|
} else {
|
||||||
|
this.saveExportType = "all";
|
||||||
|
}
|
||||||
this.exportName = "";
|
this.exportName = "";
|
||||||
this.exportModelFlag = true;
|
this.exportModelFlag = true;
|
||||||
},
|
},
|
||||||
@@ -344,7 +355,23 @@ export default {
|
|||||||
this.exportModelFlag = false;
|
this.exportModelFlag = false;
|
||||||
},
|
},
|
||||||
// 导出确定功能
|
// 导出确定功能
|
||||||
|
//确认导出
|
||||||
exportTestItem () {
|
exportTestItem () {
|
||||||
|
if(this.saveExportType === 'apart') {
|
||||||
|
if (this.selectedList != null && this.selectedList != ''){
|
||||||
|
const exportURL = interfaceUrl + 'sarLawsAttrDetailedList/sar-laws-attr-detailed-list/ExportLawsById?' +
|
||||||
|
'exportType' + this.saveExportType + '&ids=' + this.selectedList.join(',') + '&exportName=' + this.exportName
|
||||||
|
window.open(exportURL)
|
||||||
|
this.$message.success('导出信息成功')
|
||||||
|
}
|
||||||
|
} else if (this.saveExportType === 'all') {
|
||||||
|
const exportURL = interfaceUrl + 'sarLawsAttrDetailedList/sar-laws-attr-detailed-list/ExportLawsById?' +
|
||||||
|
'exportType' + this.saveExportType + '&id=' + this.pageId + '&exportName=' + this.exportName
|
||||||
|
window.open(exportURL)
|
||||||
|
this.$message.success('导出信息成功')
|
||||||
|
}
|
||||||
|
this.exportModelFlag = false
|
||||||
|
this.selectedList = []
|
||||||
},
|
},
|
||||||
// tab页切换
|
// tab页切换
|
||||||
handleClick(tab, event) {
|
handleClick(tab, event) {
|
||||||
@@ -355,8 +382,11 @@ export default {
|
|||||||
this.selectInfobyAccid();
|
this.selectInfobyAccid();
|
||||||
},
|
},
|
||||||
// 修改成表格样式后,选择项勾选改变
|
// 修改成表格样式后,选择项勾选改变
|
||||||
standSelectChange(selected) {
|
standSelectChange (data) {
|
||||||
this.selectedList = selected;
|
this.selectedList = []
|
||||||
|
for (let i = 0; i < data.length; i++) {
|
||||||
|
this.selectedList.push(data[i].id)
|
||||||
|
}
|
||||||
},
|
},
|
||||||
pageChange(page) {
|
pageChange(page) {
|
||||||
this.standardForm.page = page;
|
this.standardForm.page = page;
|
||||||
@@ -506,12 +536,12 @@ export default {
|
|||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
|
let accessRow = JSON.parse(sessionStorage.getItem("accessRow"));
|
||||||
|
this.pageId = accessRow.id
|
||||||
|
this.sarAccessEO = accessRow;
|
||||||
this.selectInfobyAccid();
|
this.selectInfobyAccid();
|
||||||
this.getOrgTreeSource();
|
this.getOrgTreeSource();
|
||||||
let accessRow = JSON.parse(sessionStorage.getItem("accessRow"));
|
|
||||||
this.sarAccessEO = accessRow;
|
|
||||||
this.getFileInfo();
|
this.getFileInfo();
|
||||||
console.log("1818", this.selectInfobyAccid());
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// 从数据库中查询各下拉框数据
|
// 从数据库中查询各下拉框数据
|
||||||
|
|||||||
@@ -920,7 +920,6 @@ export default {
|
|||||||
dataSourceChange (val) {
|
dataSourceChange (val) {
|
||||||
this.isListType = val === 'TEMP'
|
this.isListType = val === 'TEMP'
|
||||||
this.sarAccessInfoSearch.advanceSearchVOStr = ''
|
this.sarAccessInfoSearch.advanceSearchVOStr = ''
|
||||||
this.$refs.advancedQuery.clearAllSearch()
|
|
||||||
// 国内标准法规可查字段
|
// 国内标准法规可查字段
|
||||||
if (val === 'INLAND_STAND'){
|
if (val === 'INLAND_STAND'){
|
||||||
this.twoOptions=[
|
this.twoOptions=[
|
||||||
@@ -1441,9 +1440,6 @@ export default {
|
|||||||
rowList2.push(this.sarAccessInfoListADMIN[i])
|
rowList2.push(this.sarAccessInfoListADMIN[i])
|
||||||
}
|
}
|
||||||
let sarAccessEO = JSON.parse(JSON.stringify(this.sarAccessEO))
|
let sarAccessEO = JSON.parse(JSON.stringify(this.sarAccessEO))
|
||||||
sarAccessEO.inforlist = JSON.stringify(rowlist)
|
|
||||||
sarAccessEO.adminInfoList = JSON.stringify(rowList2)
|
|
||||||
sarAccessEO.country = sarAccessEO.countryArea.join(',')
|
|
||||||
// 判断是否有附件
|
// 判断是否有附件
|
||||||
if (this.fileInfoList.length > 0) {
|
if (this.fileInfoList.length > 0) {
|
||||||
let relateFile = []
|
let relateFile = []
|
||||||
@@ -1486,6 +1482,7 @@ export default {
|
|||||||
this.$message.error('请检查表单是否填写正确')
|
this.$message.error('请检查表单是否填写正确')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
},
|
},
|
||||||
// 查询数据搜索 table 数据
|
// 查询数据搜索 table 数据
|
||||||
selectLawsStands () {
|
selectLawsStands () {
|
||||||
@@ -2199,8 +2196,10 @@ export default {
|
|||||||
let accessRow = JSON.parse(sessionStorage.getItem('accessRow'))
|
let accessRow = JSON.parse(sessionStorage.getItem('accessRow'))
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.sarAccessEO.type = accessRow.type
|
this.sarAccessEO.type = accessRow.type
|
||||||
this.sarAccessEO.countryArea = accessRow.countryArea.split(',')
|
// this.sarAccessEO.countryArea = accessRow.countryArea.split(',')
|
||||||
this.sarAccessEO.accessContent = accessRow.accessContent
|
// this.sarAccessEO.accessContent = accessRow.accessContent
|
||||||
|
this.sarAccessEO.detailedListName = accessRow.detailedListName //清单名称
|
||||||
|
this.sarAccessEO.detailedList = accessRow.detailedList //清单类别
|
||||||
this.sarAccessEO.id = accessRow.id
|
this.sarAccessEO.id = accessRow.id
|
||||||
this.sarAccessEO.remark = accessRow.remark || ''
|
this.sarAccessEO.remark = accessRow.remark || ''
|
||||||
this.sarAccessEO.relateFile = accessRow.relateFile
|
this.sarAccessEO.relateFile = accessRow.relateFile
|
||||||
|
|||||||
+5
-6
@@ -920,7 +920,6 @@ export default {
|
|||||||
dataSourceChange (val) {
|
dataSourceChange (val) {
|
||||||
this.isListType = val === 'TEMP'
|
this.isListType = val === 'TEMP'
|
||||||
this.sarAccessInfoSearch.advanceSearchVOStr = ''
|
this.sarAccessInfoSearch.advanceSearchVOStr = ''
|
||||||
this.$refs.advancedQuery.clearAllSearch()
|
|
||||||
// 国内标准法规可查字段
|
// 国内标准法规可查字段
|
||||||
if (val === 'INLAND_STAND'){
|
if (val === 'INLAND_STAND'){
|
||||||
this.twoOptions=[
|
this.twoOptions=[
|
||||||
@@ -1443,7 +1442,6 @@ export default {
|
|||||||
let sarAccessEO = JSON.parse(JSON.stringify(this.sarAccessEO))
|
let sarAccessEO = JSON.parse(JSON.stringify(this.sarAccessEO))
|
||||||
sarAccessEO.inforlist = JSON.stringify(rowlist)
|
sarAccessEO.inforlist = JSON.stringify(rowlist)
|
||||||
sarAccessEO.adminInfoList = JSON.stringify(rowList2)
|
sarAccessEO.adminInfoList = JSON.stringify(rowList2)
|
||||||
sarAccessEO.country = sarAccessEO.countryArea.join(',')
|
|
||||||
// 判断是否有附件
|
// 判断是否有附件
|
||||||
if (this.fileInfoList.length > 0) {
|
if (this.fileInfoList.length > 0) {
|
||||||
let relateFile = []
|
let relateFile = []
|
||||||
@@ -1709,7 +1707,7 @@ export default {
|
|||||||
this.addEntryForm.XGBMName = this.addEntryForm.XGBMName || this.addEntryForm.xgbmname
|
this.addEntryForm.XGBMName = this.addEntryForm.XGBMName || this.addEntryForm.xgbmname
|
||||||
this.addEntryForm.XGBM = this.addEntryForm.XGBM || this.addEntryForm.xgbm
|
this.addEntryForm.XGBM = this.addEntryForm.XGBM || this.addEntryForm.xgbm
|
||||||
// this.addEntryForm.GXHBQ = this.addEntryForm.GXHBQ || this.addEntryForm.gxhbq
|
// this.addEntryForm.GXHBQ = this.addEntryForm.GXHBQ || this.addEntryForm.gxhbq
|
||||||
this.addEntryForm.applyArctic = this.addEntryForm.applyArctic ? this.addEntryForm.applyArctic.split(',') : []
|
// this.addEntryForm.applyArctic = this.addEntryForm.applyArctic ? this.addEntryForm.applyArctic.split(',') : []
|
||||||
// this.addEntryForm.GXHBQ = this.addEntryForm.gxhbq ? this.addEntryForm.gxhbq.split(',') : []
|
// this.addEntryForm.GXHBQ = this.addEntryForm.gxhbq ? this.addEntryForm.gxhbq.split(',') : []
|
||||||
// this.addEntryForm.GXHBQ = ''
|
// this.addEntryForm.GXHBQ = ''
|
||||||
// delete this.addEntryForm.gxhbq
|
// delete this.addEntryForm.gxhbq
|
||||||
@@ -1932,7 +1930,7 @@ export default {
|
|||||||
this.sarStandardsInfoEO.XMPGJSName = item.proEssessUser // 项目评估人员
|
this.sarStandardsInfoEO.XMPGJSName = item.proEssessUser // 项目评估人员
|
||||||
this.sarStandardsInfoEO.standNature = item.natureId // 标准性质
|
this.sarStandardsInfoEO.standNature = item.natureId // 标准性质
|
||||||
this.sarStandardsInfoEO.NRDBZFGQD = this.sarAccessEO.country // 国家地区
|
this.sarStandardsInfoEO.NRDBZFGQD = this.sarAccessEO.country // 国家地区
|
||||||
this.sarStandardsInfoEO.CLLX = item.applyArctic ? item.applyArctic.split(',') : []
|
// this.sarStandardsInfoEO.CLLX = item.applyArctic ? item.applyArctic.split(',') : []
|
||||||
this.sarStandardsInfoEO.YQLX = item.askType
|
this.sarStandardsInfoEO.YQLX = item.askType
|
||||||
this.sarStandardsInfoEO.GXHBQ = item.GXHBQ ? item.GXHBQ.split(',') : []
|
this.sarStandardsInfoEO.GXHBQ = item.GXHBQ ? item.GXHBQ.split(',') : []
|
||||||
this.sarStandardsInfoEO.ZRLX = item.askNature ? item.askNature.split(',') : []
|
this.sarStandardsInfoEO.ZRLX = item.askNature ? item.askNature.split(',') : []
|
||||||
@@ -2199,8 +2197,9 @@ export default {
|
|||||||
let accessRow = JSON.parse(sessionStorage.getItem('accessRow'))
|
let accessRow = JSON.parse(sessionStorage.getItem('accessRow'))
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.sarAccessEO.type = accessRow.type
|
this.sarAccessEO.type = accessRow.type
|
||||||
this.sarAccessEO.countryArea = accessRow.countryArea.split(',')
|
// this.sarAccessEO.countryArea = accessRow.countryArea.split(',')
|
||||||
this.sarAccessEO.accessContent = accessRow.accessContent
|
this.sarAccessEO.detailedListName = accessRow.detailedListName //清单名称
|
||||||
|
this.sarAccessEO.projectName = accessRow.projectName //项目名称
|
||||||
this.sarAccessEO.id = accessRow.id
|
this.sarAccessEO.id = accessRow.id
|
||||||
this.sarAccessEO.remark = accessRow.remark || ''
|
this.sarAccessEO.remark = accessRow.remark || ''
|
||||||
this.sarAccessEO.relateFile = accessRow.relateFile
|
this.sarAccessEO.relateFile = accessRow.relateFile
|
||||||
|
|||||||
@@ -151,6 +151,11 @@
|
|||||||
width="180"
|
width="180"
|
||||||
label="项目名称">
|
label="项目名称">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="reason"
|
||||||
|
width="180"
|
||||||
|
label="不合规原因">
|
||||||
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="responsibleUnit"
|
prop="responsibleUnit"
|
||||||
width="180"
|
width="180"
|
||||||
@@ -185,7 +190,6 @@
|
|||||||
<i class="iconfont"></i>
|
<i class="iconfont"></i>
|
||||||
<el-dropdown-menu slot="dropdown">
|
<el-dropdown-menu slot="dropdown">
|
||||||
<el-dropdown-item :command="[scope.row, '查看']" v-btn-permission="'R4FTCUQSXFUZPUSN3W63'">查看</el-dropdown-item>
|
<el-dropdown-item :command="[scope.row, '查看']" v-btn-permission="'R4FTCUQSXFUZPUSN3W63'">查看</el-dropdown-item>
|
||||||
<el-dropdown-item :command="[scope.row, '编辑']" v-btn-permission="'G7GL8ZAZ5EYK6LRXW5MT'">编辑</el-dropdown-item>
|
|
||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</div>
|
</div>
|
||||||
@@ -231,6 +235,9 @@
|
|||||||
<el-form-item class="add-form-item" label="项目名称:">
|
<el-form-item class="add-form-item" label="项目名称:">
|
||||||
<div class="seeItem">{{historySeeForm.productName}}</div>
|
<div class="seeItem">{{historySeeForm.productName}}</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item class="add-form-item" label="不合规原因:">
|
||||||
|
<div class="seeItem">{{historySeeForm.reason}}</div>
|
||||||
|
</el-form-item>
|
||||||
<el-form-item class="add-form-item" label="责任部门:">
|
<el-form-item class="add-form-item" label="责任部门:">
|
||||||
<div class="seeItem">{{historySeeForm.responsibleUnit}}</div>
|
<div class="seeItem">{{historySeeForm.responsibleUnit}}</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -243,8 +250,8 @@
|
|||||||
<el-form-item class="add-form-item" label="质量工程师:">
|
<el-form-item class="add-form-item" label="质量工程师:">
|
||||||
<div class="seeItem">{{historySeeForm.qaEngineer}}</div>
|
<div class="seeItem">{{historySeeForm.qaEngineer}}</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item class="add-form-item" label="要求关闭时间:">
|
<el-form-item class="add-form-item" label="计划关闭时间:">
|
||||||
<div class="seeItem">{{historySeeForm.actualCloseTime}}</div>
|
<div class="seeItem">{{historySeeForm.planCloseTime}}</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
@@ -461,14 +468,16 @@ export default {
|
|||||||
exportTestItem () {
|
exportTestItem () {
|
||||||
if(this.saveExportType === 'apart') {
|
if(this.saveExportType === 'apart') {
|
||||||
if (this.selectedList != null && this.selectedList != ''){
|
if (this.selectedList != null && this.selectedList != ''){
|
||||||
|
console.log(this.selectedList);
|
||||||
const exportURL = interfaceUrl + 'sarStandUnqualified/sar-stand-unqualified/exportStandUnqulifiedExcel?' +
|
const exportURL = interfaceUrl + 'sarStandUnqualified/sar-stand-unqualified/exportStandUnqulifiedExcel?' +
|
||||||
'exportType' + this.saveExportType + '&exportContent=' + this.selectedList.join(',') + '&exportName=' + this.exportName
|
'exportType' + this.saveExportType + '&ids=' + this.selectedList.join(',') + '&exportName=' + this.exportName
|
||||||
window.open(exportURL)
|
window.open(exportURL)
|
||||||
this.$message.success('导出信息成功')
|
this.$message.success('导出信息成功')
|
||||||
}
|
}
|
||||||
} else if (this.saveExportType === 'all') {
|
} else if (this.saveExportType === 'all') {
|
||||||
|
console.log(this.selectedList);
|
||||||
const exportURL = interfaceUrl + 'sarStandUnqualified/sar-stand-unqualified/exportStandUnqulifiedExcel?' +
|
const exportURL = interfaceUrl + 'sarStandUnqualified/sar-stand-unqualified/exportStandUnqulifiedExcel?' +
|
||||||
'exportType' + this.saveExportType + '&exportContent=' + this.selectedList.join(',') + '&exportName=' + this.exportName + '&standType=' + this.standType
|
'exportType' + this.saveExportType + '&ids=' + this.selectedList.join(',') + '&exportName=' + this.exportName
|
||||||
window.open(exportURL)
|
window.open(exportURL)
|
||||||
this.$message.success('导出信息成功')
|
this.$message.success('导出信息成功')
|
||||||
}
|
}
|
||||||
@@ -525,9 +534,6 @@ export default {
|
|||||||
case '查看':
|
case '查看':
|
||||||
this.showUser(command[0])
|
this.showUser(command[0])
|
||||||
break
|
break
|
||||||
case '编辑':
|
|
||||||
this.openEditModal(command[0])
|
|
||||||
break
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//点击查看按钮事件
|
//点击查看按钮事件
|
||||||
@@ -553,6 +559,36 @@ export default {
|
|||||||
openEditModal(item) {
|
openEditModal(item) {
|
||||||
console.log(item)
|
console.log(item)
|
||||||
},
|
},
|
||||||
|
detailsStandard (item) {
|
||||||
|
this.$http.post('lawss/sarTestItem/validateStandNumber', {
|
||||||
|
standnumber: item.standNum
|
||||||
|
}, {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
this.pageType = res.data.standType
|
||||||
|
let name = ''
|
||||||
|
switch (this.pageType) {
|
||||||
|
case 'FOREIGN_LAWS':
|
||||||
|
name = 'OtherLawsDetails'
|
||||||
|
break
|
||||||
|
case 'INLAND_STAND':
|
||||||
|
name = 'OtherStandardDetails'
|
||||||
|
break
|
||||||
|
case 'FOREIGN_STAND':
|
||||||
|
name = 'OtherStandardDetails'
|
||||||
|
break
|
||||||
|
}
|
||||||
|
let routeUrl = this.$router.resolve({
|
||||||
|
name: name,
|
||||||
|
params: {
|
||||||
|
id: res.data.standid,
|
||||||
|
pageType: this.pageType
|
||||||
|
}
|
||||||
|
})
|
||||||
|
window.open(routeUrl.href, '_blank')
|
||||||
|
}, e => {
|
||||||
|
})
|
||||||
|
},
|
||||||
// 分页事件
|
// 分页事件
|
||||||
pageChange (page) {
|
pageChange (page) {
|
||||||
this.pageNo = page
|
this.pageNo = page
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -115,9 +115,8 @@
|
|||||||
:label="selectIndex === 'stand'||'bussstand' ? $t('m.standStateShow') : (selectIndex === 'laws' ? $t('m.fileStatus') : $t('m.enterpriseStandardStatus'))"
|
:label="selectIndex === 'stand'||'bussstand' ? $t('m.standStateShow') : (selectIndex === 'laws' ? $t('m.fileStatus') : $t('m.enterpriseStandardStatus'))"
|
||||||
width="200">
|
width="200">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div>
|
<span v-if="selectIndex === 'laws'">{{ getLawsState(scope.row.statecode) }}</span>
|
||||||
{{ scope.row.standstateshow }}
|
<div v-else>{{ scope.row.standstateshow }}</div>
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -252,7 +251,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="demo-drawer-footer">
|
<div class="demo-drawer-footer">
|
||||||
<el-button type="primary" round class="common-button-primary" icon="el-icon-check" @click="sureShareStandardLaws">提交</el-button>
|
<el-button type="primary" round class="common-button-primary" icon="el-icon-check" @click="sureShareStandardLaws">提交</el-button>
|
||||||
<el-button class="common-button-default" icon="el-icon-close" @click="treeCancel">取消</el-button>
|
<el-button round class="common-button-default" icon="el-icon-close" @click="treeCancel">取消</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-drawer>
|
</el-drawer>
|
||||||
<!-- 分享 全部选人 -->
|
<!-- 分享 全部选人 -->
|
||||||
@@ -366,6 +365,7 @@ export default {
|
|||||||
resultLoading: false,
|
resultLoading: false,
|
||||||
saveAllSortOptions: [],
|
saveAllSortOptions: [],
|
||||||
saveAllFineOptions: [],
|
saveAllFineOptions: [],
|
||||||
|
lawssStateOptions: [],
|
||||||
page: 1,
|
page: 1,
|
||||||
pageAll: 1,
|
pageAll: 1,
|
||||||
total: 0,
|
total: 0,
|
||||||
@@ -1005,6 +1005,7 @@ export default {
|
|||||||
this.searchOriginOptions = this.searchOptions
|
this.searchOriginOptions = this.searchOptions
|
||||||
this.saveAllSortOptions = res.data.STANDCLASSIFY
|
this.saveAllSortOptions = res.data.STANDCLASSIFY
|
||||||
this.saveAllFineOptions = res.data.BUSSFINECLASSSHOW
|
this.saveAllFineOptions = res.data.BUSSFINECLASSSHOW
|
||||||
|
this.lawssStateOptions = res.data.LAWSSTATE // 文本状态数组
|
||||||
this.filterOptions(this.selectIndex)
|
this.filterOptions(this.selectIndex)
|
||||||
}
|
}
|
||||||
}, e => {})
|
}, e => {})
|
||||||
@@ -1059,7 +1060,7 @@ export default {
|
|||||||
filterOptions.ZRLX.title = '准入类型'
|
filterOptions.ZRLX.title = '准入类型'
|
||||||
filterOptions.ZRLX.index = 3
|
filterOptions.ZRLX.index = 3
|
||||||
// 我司参与状态
|
// 我司参与状态
|
||||||
filterOptions.CYSD = originOptions.CYSD
|
filterOptions.CYSD = originOptions.SHIFOU
|
||||||
filterOptions.CYSD.title = '我司是否参与'
|
filterOptions.CYSD.title = '我司是否参与'
|
||||||
filterOptions.CYSD.index = 4
|
filterOptions.CYSD.index = 4
|
||||||
break
|
break
|
||||||
@@ -1074,9 +1075,9 @@ export default {
|
|||||||
filterOptions.standState.title = '标准状态'
|
filterOptions.standState.title = '标准状态'
|
||||||
filterOptions.standState.index = 2
|
filterOptions.standState.index = 2
|
||||||
// 我司参与状态
|
// 我司参与状态
|
||||||
filterOptions.CYSD = originOptions.CYSD
|
// filterOptions.CYSD = originOptions.CYSD
|
||||||
filterOptions.CYSD.title = '我司参与深度'
|
// filterOptions.CYSD.title = '我司参与深度'
|
||||||
filterOptions.CYSD.index = 3
|
// filterOptions.CYSD.index = 3
|
||||||
// 监管类型
|
// 监管类型
|
||||||
filterOptions.ZRLX = originOptions.ZRLX
|
filterOptions.ZRLX = originOptions.ZRLX
|
||||||
filterOptions.ZRLX.title = '监管类型'
|
filterOptions.ZRLX.title = '监管类型'
|
||||||
@@ -1085,8 +1086,8 @@ export default {
|
|||||||
filterOptions.CLLX = originOptions.CLLX
|
filterOptions.CLLX = originOptions.CLLX
|
||||||
filterOptions.CLLX.index = 5
|
filterOptions.CLLX.index = 5
|
||||||
// 采标程度
|
// 采标程度
|
||||||
filterOptions.CBCD = originOptions.CBCD
|
// filterOptions.CBCD = originOptions.CBCD
|
||||||
filterOptions.CBCD.index = 6
|
// filterOptions.CBCD.index = 6
|
||||||
break
|
break
|
||||||
// 企业标准
|
// 企业标准
|
||||||
case 'enterprise':
|
case 'enterprise':
|
||||||
@@ -2365,6 +2366,17 @@ export default {
|
|||||||
handleSearchReset() {
|
handleSearchReset() {
|
||||||
this.resultKeyword = ''
|
this.resultKeyword = ''
|
||||||
this.searchSarByInputKey()
|
this.searchSarByInputKey()
|
||||||
|
},
|
||||||
|
// 回显政策状态
|
||||||
|
getLawsState (val) {
|
||||||
|
if (!val) {
|
||||||
|
val = ''
|
||||||
|
}
|
||||||
|
let lawsStateName = this.lawssStateOptions.filter(item => {
|
||||||
|
return val.indexOf(item.value) > -1
|
||||||
|
}).map(item => item.label)
|
||||||
|
|
||||||
|
return lawsStateName.join(',')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
@@ -2482,27 +2494,28 @@ export default {
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less">
|
<style lang="less" scoped>
|
||||||
@import '~@/assets/styles/mixins';
|
@import '~@/assets/styles/mixins';
|
||||||
@import '~@/assets/styles/style';
|
@import '~@/assets/styles/style';
|
||||||
.standard-search {
|
.standard-search {
|
||||||
padding: 6px 26px;
|
padding: 6px 26px;
|
||||||
@borderColor: #BFBFBF;
|
@borderColor: #BFBFBF;
|
||||||
height: auto !important;
|
height: 100%;
|
||||||
min-height: 100%;
|
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
background: #0c91e5;
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
/deep/.el-button--mini {
|
/deep/.el-button--mini {
|
||||||
height: 29px;
|
height: 29px;
|
||||||
}
|
}
|
||||||
.AllBox {
|
.AllBox {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
border-radius: 20px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
&:last-child {
|
&:last-child {
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
.highlight-class {
|
/deep/.highlight-class {
|
||||||
color: red;
|
color: red;
|
||||||
}
|
}
|
||||||
.AllBoxTitle {
|
.AllBoxTitle {
|
||||||
@@ -2515,6 +2528,7 @@ export default {
|
|||||||
height: 20px;
|
height: 20px;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
padding: 0 5px;
|
padding: 0 5px;
|
||||||
|
border-radius: 6px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background: #3391CE;
|
background: #3391CE;
|
||||||
}
|
}
|
||||||
@@ -2557,11 +2571,12 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.standard-search-content{
|
.standard-search-content{
|
||||||
min-height: 768px;
|
//min-height: 768px;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
padding: 15px 10px;
|
padding: 15px 10px;
|
||||||
margin: 0 auto;
|
//margin: 0 auto;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
flex: 1;
|
||||||
.flex();
|
.flex();
|
||||||
.content-left {
|
.content-left {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -2635,6 +2650,7 @@ export default {
|
|||||||
.ivu-input{
|
.ivu-input{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
border-radius: 0;
|
||||||
border: none;
|
border: none;
|
||||||
.flex();
|
.flex();
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@@ -2656,7 +2672,7 @@ export default {
|
|||||||
|
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
//background-color: hsla(0,0%,100%,.9);
|
//background-color: hsla(0,0%,100%,.9);
|
||||||
//20px;
|
//border-radius: 20px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
.condition-btn{
|
.condition-btn{
|
||||||
width: 75px;
|
width: 75px;
|
||||||
@@ -2708,6 +2724,7 @@ export default {
|
|||||||
span{
|
span{
|
||||||
/*padding: 3px 7px;*/
|
/*padding: 3px 7px;*/
|
||||||
padding: 0 0 0 3px;
|
padding: 0 0 0 3px;
|
||||||
|
border-radius: 2px;
|
||||||
transition: all .3s ease;
|
transition: all .3s ease;
|
||||||
.un-select();
|
.un-select();
|
||||||
&:hover{
|
&:hover{
|
||||||
@@ -2718,6 +2735,7 @@ export default {
|
|||||||
padding: 3px 7px 3px 7px;
|
padding: 3px 7px 3px 7px;
|
||||||
background: @baseColor;
|
background: @baseColor;
|
||||||
color: #FFF;
|
color: #FFF;
|
||||||
|
border-radius: 4px;
|
||||||
& span {
|
& span {
|
||||||
font {
|
font {
|
||||||
color: #fff !important;
|
color: #fff !important;
|
||||||
@@ -2941,15 +2959,19 @@ export default {
|
|||||||
.home-input{
|
.home-input{
|
||||||
width: 509px;
|
width: 509px;
|
||||||
//padding: 9px 0 10px 10px;
|
//padding: 9px 0 10px 10px;
|
||||||
input.el-input__inner{
|
height: 48px;
|
||||||
|
/deep/.el-input__inner{
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
|
border-radius: 24px 0 0 24px;
|
||||||
font-family: PingFang-SC-Medium;
|
font-family: PingFang-SC-Medium;
|
||||||
color: #666;
|
color: #666;
|
||||||
|
height: 48px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.search-btn-box {
|
.search-btn-box {
|
||||||
width: 55px;
|
width: 55px;
|
||||||
height: 48px;
|
height: 48px;
|
||||||
|
border-radius: 0 24px 24px 0;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
@@ -2967,6 +2989,7 @@ export default {
|
|||||||
}
|
}
|
||||||
.el-input__inner {
|
.el-input__inner {
|
||||||
height: 48px;
|
height: 48px;
|
||||||
|
border-radius: 0;
|
||||||
border: none;
|
border: none;
|
||||||
padding: 0 34px;
|
padding: 0 34px;
|
||||||
}
|
}
|
||||||
@@ -2997,6 +3020,7 @@ export default {
|
|||||||
}
|
}
|
||||||
.el-input--suffix .el-input__inner {
|
.el-input--suffix .el-input__inner {
|
||||||
padding-right: 30px;
|
padding-right: 30px;
|
||||||
|
border-radius: 20px;
|
||||||
}
|
}
|
||||||
.fixed-clean {
|
.fixed-clean {
|
||||||
/deep/.el-input__inner {
|
/deep/.el-input__inner {
|
||||||
@@ -3011,6 +3035,7 @@ export default {
|
|||||||
}
|
}
|
||||||
.search-content__wrap {
|
.search-content__wrap {
|
||||||
background-color: hsla(0, 0%, 100%, .9);
|
background-color: hsla(0, 0%, 100%, .9);
|
||||||
|
border-radius: 20px;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
// 服务器地址
|
// 服务器地址
|
||||||
// const devIp = '39.98.140.126'
|
// const devIp = '39.98.140.126'
|
||||||
// const devInterfacePORT = '10005'
|
// const devInterfacePORT = '10005'
|
||||||
const devIp = '192.168.10.47'
|
const devIp = '192.168.10.178'
|
||||||
const devInterfacePORT = '9999'
|
const devInterfacePORT = '9999'
|
||||||
// 云端端口号
|
// 云端端口号
|
||||||
const DEV_CLOUD_RES_INTERFACE_PORT = '7777'
|
const DEV_CLOUD_RES_INTERFACE_PORT = '7777'
|
||||||
|
|||||||
Reference in New Issue
Block a user