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

调项目列表接口

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