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

This commit is contained in:
fanlin
2021-07-26 10:54:44 +08:00
9 changed files with 56 additions and 36 deletions
@@ -1256,7 +1256,7 @@ export default {
this.listForm.standId = bringData[0].id; this.listForm.standId = bringData[0].id;
this.listForm.listName = bringData[0].detailedListName; this.listForm.listName = bringData[0].detailedListName;
this.listForm.descriptionList = bringData[0].remark; this.listForm.descriptionList = bringData[0].remark;
this.listForm.fileId = bringData[0].fileId; this.listForm.fileId = bringData[0].fileIds;
this.ListModel = false; this.ListModel = false;
this.$http.get("sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById", this.$http.get("sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById",
{ id: bringData[0].id, page: this.page, Size:this.pageSize}, { { id: bringData[0].id, page: this.page, Size:this.pageSize}, {
@@ -289,10 +289,8 @@ export default {
this.searchSarAccess(); this.searchSarAccess();
}, },
clearSearch() { clearSearch() {
this.sarSarAccessEOSearch = { this.sarSarAccessEOSearch.countryArea = ''
countryArea: "", this.sarSarAccessEOSearch.detailedListName = ''
detailedListName: ""
};
this.searchSarAccess(); this.searchSarAccess();
}, },
// 新增相关 // 新增相关
@@ -165,12 +165,11 @@ export default {
total: 0, total: 0,
page: 1, page: 1,
rows: 10, rows: 10,
pageSize: this.$store.getters.userInfo.configContent,
// 查询相关参数 // 查询相关参数
sarSarAccessEOSearch: { sarSarAccessEOSearch: {
detailedList: "", detailedList: "",
detailedListName: "", detailedListName: "",
page: 1,
pageSize: this.$store.getters.userInfo.configContent
}, },
sarAccessListDatas: [], sarAccessListDatas: [],
sarAccessListTotal: 0, sarAccessListTotal: 0,
@@ -267,9 +266,9 @@ export default {
//分页查询 //分页查询
searchSarAccess() { searchSarAccess() {
this.$http.get("sarLawsDetailedList/sar-laws-detailed-list/getAllStand", { this.$http.get("sarLawsDetailedList/sar-laws-detailed-list/getAllStand", {
...this.sarSarAccessEOSearch,
page: 1, page: 1,
pageSize: 10, pageSize: this.pageSize,
...this.sarSarAccessEOSearch,
sortKey: 3 sortKey: 3
}, { }, {
_this: this _this: this
@@ -289,10 +288,8 @@ export default {
this.searchSarAccess(); this.searchSarAccess();
}, },
clearSearch() { clearSearch() {
this.sarSarAccessEOSearch = { this.sarSarAccessEOSearch.detailedList = ''
detailedList: "", this.sarSarAccessEOSearch.detailedListName = ''
detailedListName: ""
};
this.searchSarAccess(); this.searchSarAccess();
}, },
// 新增相关 // 新增相关
@@ -165,13 +165,12 @@ export default {
searching: false, searching: false,
total: 0, total: 0,
page: 1, page: 1,
pageSize: this.$store.getters.userInfo.configContent,
rows: 10, rows: 10,
// 查询相关参数 // 查询相关参数
sarSarAccessEOSearch: { sarSarAccessEOSearch: {
projectName: "", projectName: "",
detailedListName: "", detailedListName: "",
page: 1,
pageSize: this.$store.getters.userInfo.configContent
}, },
sarAccessListDatas: [], sarAccessListDatas: [],
sarAccessListTotal: 0, sarAccessListTotal: 0,
@@ -268,9 +267,9 @@ export default {
//分页查询 //分页查询
searchSarAccess() { searchSarAccess() {
this.$http.get("sarLawsDetailedList/sar-laws-detailed-list/getAllStand", { this.$http.get("sarLawsDetailedList/sar-laws-detailed-list/getAllStand", {
page: this.page,
pageSize: this.pageSize,
...this.sarSarAccessEOSearch, ...this.sarSarAccessEOSearch,
page: 1,
pageSize: 10,
sortKey: 2 sortKey: 2
}, { }, {
_this: this _this: this
@@ -291,10 +290,8 @@ export default {
}, },
//清空 //清空
clearSearch() { clearSearch() {
this.sarSarAccessEOSearch = { this.sarSarAccessEOSearch.projectName = ''
projectName: "", this.sarSarAccessEOSearch.detailedListName = ''
detailedListName: "",
};
this.searchSarAccess() this.searchSarAccess()
}, },
@@ -1376,9 +1376,9 @@ export default {
// 清单条目 table select事件 // 清单条目 table select事件
sarAccessInfoSelect (selectData) { sarAccessInfoSelect (selectData) {
this.sarAccessInfoListArry = selectData this.sarAccessInfoListArry = selectData
let sarAccessInfoListArryId = [] /* let sarAccessInfoListArryId = []
for(let i=0; i<this.selectData.length; i++){ for(let i=0; i<this.selectData.length; i++){
} }*/
}, },
// 点击取消按钮 返回事件 // 点击取消按钮 返回事件
backCancal () { backCancal () {
@@ -1580,7 +1580,7 @@ export default {
for (var accessInfo in exportList) { for (var accessInfo in exportList) {
accIdAndrestype.push(exportList[accessInfo].id) accIdAndrestype.push(exportList[accessInfo].id)
} }
const exportURL = interfaceUrl + 'sarLawsAttrDetailedList/sar-laws-attr-detailed-list/ExportLawsById?'+ '&exportType=apart'+ '&ids=' + accIdAndrestype.join(',')+ '&exportName=' + this.exportName const exportURL = interfaceUrl + 'sarLawsAttrDetailedList/sar-laws-attr-detailed-list/ExportLawsById?'+ '&exportType=apart'+ '&id=' + accIdAndrestype.join(',')+ '&exportName=' + this.exportName
window.open(exportURL) window.open(exportURL)
this.$message.success('导出信息成功') this.$message.success('导出信息成功')
} }
@@ -57,7 +57,21 @@
clearable></el-input> clearable></el-input>
</el-form-item> </el-form-item>
<el-form-item label="责任部门" class="search-item" prop="responseUnit"> <el-form-item label="责任部门" class="search-item" prop="responseUnit">
<el-input v-model="standardForm.responseUnit" v-show="false"></el-input> <el-select
class="showBox"
v-model="standardForm.zrbm"
placeholder="请选择"
filterable
size="small"
>
<el-option
v-for="item in zrbmOptions"
:value="item.value"
:key="item.value"
:label="item.label"
/>
</el-select>
<!-- <el-input v-model="standardForm.responseUnit" v-show="false"></el-input>
<el-popover placement="bottom" popper-class="user-dept-popper" trigger="click"> <el-popover placement="bottom" popper-class="user-dept-popper" trigger="click">
<el-input <el-input
v-model="standardForm.responseUnit" v-model="standardForm.responseUnit"
@@ -76,7 +90,7 @@
class="ztree" style="height: 300px;overflow: auto"> class="ztree" style="height: 300px;overflow: auto">
</laws-tree> </laws-tree>
</div> </div>
</el-popover> </el-popover>-->
</el-form-item> </el-form-item>
<el-form-item label="" class="search-item btn-box"> <el-form-item label="" class="search-item btn-box">
<el-button v-btn-permission="'670dd74a8469a6232a0762c69b575775'" class="common-button-primary" type="primary" size="small" @click="selectProductBtn">查询 <el-button v-btn-permission="'670dd74a8469a6232a0762c69b575775'" class="common-button-primary" type="primary" size="small" @click="selectProductBtn">查询
@@ -106,7 +120,7 @@
<el-form :model="standardForm" class="label-input-form" label-width="108px" inline> <el-form :model="standardForm" class="label-input-form" label-width="108px" inline>
<el-form-item label="英文名称" class="search-item"> <el-form-item label="英文名称" class="search-item">
<el-input <el-input
v-model="standardForm.standEnName" v-model="standardForm.standName"
placeholder="请输入" placeholder="请输入"
:maxlength="100" :maxlength="100"
size="small" size="small"
@@ -144,6 +158,22 @@
/> />
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="责任部门" >
<el-select
class="showBox"
v-model="standardForm.zrbm"
placeholder="请选择"
filterable
size="small"
>
<el-option
v-for="item in zrbmOptions"
:value="item.value"
:key="item.value"
:label="item.label"
/>
</el-select>
</el-form-item>
<el-form-item label="适用产品线" > <el-form-item label="适用产品线" >
<el-select <el-select
class="showBox" class="showBox"
@@ -490,11 +520,9 @@ export default {
}, },
// 重置搜索 // 重置搜索
resetSelect() { resetSelect() {
this.standardForm = { this.standardForm.standName = ''
standName: "", this.standardForm.responseUnit = ''
responseUnit: "" this.selectInfobyAccid()
};
this.selectInfobyAccid();
}, },
exportStandard() { exportStandard() {
if (this.selectedList.length > 0) { if (this.selectedList.length > 0) {
@@ -1392,7 +1392,7 @@ export default {
for (var accessInfo in exportList) { for (var accessInfo in exportList) {
accIdAndrestype.push(exportList[accessInfo].id) accIdAndrestype.push(exportList[accessInfo].id)
} }
const exportURL = interfaceUrl + 'sarLawsAttrDetailedList/sar-laws-attr-detailed-list/ExportLawsById?'+ '&exportType=apart'+ '&ids=' + accIdAndrestype.join(',')+ '&exportName=' + this.exportName const exportURL = interfaceUrl + 'sarLawsAttrDetailedList/sar-laws-attr-detailed-list/ExportLawsById?'+ '&exportType=apart'+ '&id=' + accIdAndrestype.join(',')+ '&exportName=' + this.exportName
window.open(exportURL) window.open(exportURL)
// window.location.href = '/api/lawss/sarSarAccessInfo/exportSarSarAccessInfo?idAndSartypeList=' + accIdAndrestype.join(',') + '&exportType=apart' + '&exportName=' + exportNames // window.location.href = '/api/lawss/sarSarAccessInfo/exportSarSarAccessInfo?idAndSartypeList=' + accIdAndrestype.join(',') + '&exportType=apart' + '&exportName=' + exportNames
this.$message.success('导出信息成功') this.$message.success('导出信息成功')
@@ -1390,7 +1390,7 @@ export default {
for (var accessInfo in exportList) { for (var accessInfo in exportList) {
accIdAndrestype.push(exportList[accessInfo].id) accIdAndrestype.push(exportList[accessInfo].id)
} }
const exportURL = interfaceUrl + 'sarLawsAttrDetailedList/sar-laws-attr-detailed-list/ExportLawsById?'+ '&exportType=apart'+ '&ids=' + accIdAndrestype.join(',')+ '&exportName=' + this.exportName const exportURL = interfaceUrl + 'sarLawsAttrDetailedList/sar-laws-attr-detailed-list/ExportLawsById?'+ '&exportType=apart'+ '&id=' + accIdAndrestype.join(',')+ '&exportName=' + this.exportName
window.open(exportURL) window.open(exportURL)
// window.location.href = '/api/lawss/sarSarAccessInfo/exportSarSarAccessInfo?idAndSartypeList=' + accIdAndrestype.join(',') + '&exportType=apart' + '&exportName=' + exportNames // window.location.href = '/api/lawss/sarSarAccessInfo/exportSarSarAccessInfo?idAndSartypeList=' + accIdAndrestype.join(',') + '&exportType=apart' + '&exportName=' + exportNames
this.$message.success('导出信息成功') this.$message.success('导出信息成功')
+2 -2
View File
@@ -7,8 +7,8 @@
// const devIp = '39.98.140.126' // const devIp = '39.98.140.126'
// const devInterfacePORT = '10005' // const devInterfacePORT = '10005'
// const devIp = '192.168.10.248' // const devIp = '192.168.10.248'
const devIp = '10.96.170.173' const devIp = '101.36.227.25'
const devInterfacePORT = '9999' const devInterfacePORT = '8038'
// 云端端口号 // 云端端口号
const DEV_CLOUD_RES_INTERFACE_PORT = '7777' const DEV_CLOUD_RES_INTERFACE_PORT = '7777'
const simpleFilePath = 'att/attFile/upload' const simpleFilePath = 'att/attFile/upload'