提交 dba3b2c8 编写于 作者: zhentian.jia's avatar zhentian.jia

调项目列表接口

上级 1fc22a6a
......@@ -8,8 +8,8 @@ export const envConfig = {
// baseUrl: 'https://test1-sc.yunqueyi.com/',
// baseUrl: 'https://uat-sc.yunqueyi.com/',
baseUrl: 'http://10.177.15.150:10401/',
// baseUrl: 'http://10.177.15.150:11905/',
// baseUrl: 'http://10.177.15.150:10401/',
baseUrl: 'http://10.177.15.150:11905/',
// baseUrl: 'https://dev-sc.yunqueyi.com/',
apiUrl: 'https://dev-api.yunqueyi.com/',
qiniuFileUrl: "https://dev-sc.yunqueyi.com/contents/admin/qiniu/token1",
......
......@@ -313,7 +313,7 @@ export function getRegionOption() {
}
export function getLearnOrganization(data) {
if(data.length == 0) {
arr = [];
let arr = [];
return arr;
}
let organization = [
......
......@@ -63,9 +63,6 @@ export default {
dialogData: {
type: Object
},
organizationNum: {
type: Number
},
organizationList: {
type: Array
}
......
......@@ -44,9 +44,6 @@ export default {
activeName: {
type: String
},
organizationNum: {
type: Number
},
organizationList: {
type: Array
}
......
......@@ -64,9 +64,6 @@ export default {
dialogData: {
type: Object
},
organizationNum: {
type: Number
},
organizationList: {
type: Array
}
......
......@@ -72,7 +72,6 @@
ref="childCrowd"
:formInline="formInline"
:activeName="activeName"
:organizationNum="organizationNum"
:organizationList="organizationList"
></crowd-analysis>
</el-tab-pane>
......@@ -82,7 +81,6 @@
:formInline="formInline"
:activeName="activeName"
:dialogData="dialogData"
:organizationNum="organizationNum"
:organizationList="organizationList"
></course-analysis>
</el-tab-pane>
......@@ -92,7 +90,6 @@
:formInline="formInline"
:activeName="activeName"
:dialogData="dialogData"
:organizationNum="organizationNum"
:organizationList="organizationList"
></examination-analysisfrom>
</el-tab-pane>
......@@ -232,7 +229,10 @@ export default {
methods: {
handleClick(tab, event) {
//console.log(tab, event);
console.log("activeName", this.activeName);
// if(tab.name == this.activeName) {
// return;
// }
console.log("activeName", this.activeName, tab.name);
if (tab.name == "first") {
this.$refs.childPart.$emit("init");
} else if (tab.name == "second") {
......@@ -381,7 +381,6 @@ export default {
this.organizationList = operationData.getLearnOrganization(
res.data.hospitalList
);
debugger;
}
});
},
......
......@@ -29,7 +29,7 @@
</el-form-item>
</el-col>
<el-col :span="12" style="padding:0;text-align:right;padding-right:15px;">
<el-button type="primary" size="small" @click="search()">查询</el-button>
<el-button type="primary" size="small" @click="searchData()">查询</el-button>
<el-button type="default" size="small" @click="resetMessage" style="margin-left:0;">重置</el-button>
</el-col>
</el-form>
......@@ -135,6 +135,10 @@ export default {
commonUtil.resizeHeight();
},
methods: {
searchData() {
vm.formData.pageNo = 1;
vm.search();
},
// 搜索列表
search() {
let req = {};
......@@ -143,8 +147,8 @@ export default {
vm.GET("portal/portalInfo/getPortalReportProject", req).then(res => {
closeLoading(vm);
if (res.code == "000000") {
vm.tableData = res.data;
vm.totalRows = res.totalRows;
vm.tableData = res.data.projectList;
vm.totalRows = res.data.totalRows;
}
});
},
......@@ -165,7 +169,7 @@ export default {
// 换页
handleCurrentChange(val) {
console.log(`当前页: ${val}`);
vm.formData.pageNo = value;
vm.formData.pageNo = val;
vm.search();
},
//跳转到报告详情页
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册