同步专业数据修改
This commit is contained in:
@@ -30,3 +30,4 @@ export function listZhuanYe(query) {
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
@click="handleSync">同步数据</el-button>
|
||||
</el-col>
|
||||
</el-col>
|
||||
<right-toolbar :show-search.sync="showSearch" @queryTable="getList" />
|
||||
</el-row>
|
||||
<el-table v-loading="loading" :data="middleList" @selection-change="handleSelectionChange">
|
||||
<el-table-column label="专业代码" align="center" prop="zydm" />
|
||||
@@ -33,7 +34,7 @@
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { listZhuanYe, syncMajorinfo, getzydm } from '@/api/stuCQS/synchronous-data/sync-major'
|
||||
import { listZhuanYe, syncMajorinfo, getzy } from '@/api/stuCQS/synchronous-data/sync-major'
|
||||
|
||||
export default {
|
||||
name: 'Middle',
|
||||
@@ -72,15 +73,7 @@ export default {
|
||||
this.getList()
|
||||
},
|
||||
methods: {
|
||||
/** 关键查询专业代码 */
|
||||
getzydm() {
|
||||
this.loading = true
|
||||
getzydm(this.queryParams.zydm).then(response => {
|
||||
this.middleList = response.row
|
||||
this.total = response.total
|
||||
this.loading = false
|
||||
})
|
||||
},
|
||||
|
||||
/** 查询【请填写功能名称】列表 */
|
||||
getList() {
|
||||
this.loading = true
|
||||
@@ -110,7 +103,7 @@ export default {
|
||||
/** 搜索按钮操作 */
|
||||
handleQuery() {
|
||||
this.queryParams.pageNum = 1
|
||||
this.getzydm()
|
||||
this.getList();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user