基地校初选
This commit is contained in:
parent
af38853083
commit
eb309cbe5a
@ -13,13 +13,9 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="选择教师" prop="jsid">
|
<el-form-item label="选择教师" prop="jsid">
|
||||||
<el-input
|
<el-select v-model="queryParams.jsid" filterable placeholder="请选择教师">
|
||||||
v-model="queryParams.jsid"
|
<el-option v-for="item in jsOptions" :key="item.id" :label="item.name" :value="item.id"></el-option>
|
||||||
placeholder="请输入教师"
|
</el-select>
|
||||||
clearable
|
|
||||||
size="small"
|
|
||||||
@keyup.enter.native="handleQuery"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button type="cyan" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
<el-button type="cyan" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
||||||
@ -64,7 +60,7 @@
|
|||||||
<el-table-column type="selection" width="55" align="center" />
|
<el-table-column type="selection" width="55" align="center" />
|
||||||
<el-table-column label="编号" align="center" prop="id" />
|
<el-table-column label="编号" align="center" prop="id" />
|
||||||
<el-table-column label="方案名称" align="center" prop="faid" :formatter="faFormat" />
|
<el-table-column label="方案名称" align="center" prop="faid" :formatter="faFormat" />
|
||||||
<el-table-column label="教师姓名" align="center" prop="jsid" />
|
<el-table-column label="教师姓名" align="center" prop="jsid" :formatter="jsFormat" />
|
||||||
<el-table-column label="当前状态" align="center" prop="dqzt" :formatter="dqztFormat" />
|
<el-table-column label="当前状态" align="center" prop="dqzt" :formatter="dqztFormat" />
|
||||||
<el-table-column label="基地校审核状态" align="center" prop="jdxshzt" :formatter="jdxshztFormat" />
|
<el-table-column label="基地校审核状态" align="center" prop="jdxshzt" :formatter="jdxshztFormat" />
|
||||||
<el-table-column label="区级审核状态" align="center" prop="qjshzt" :formatter="qjshztFormat" />
|
<el-table-column label="区级审核状态" align="center" prop="qjshzt" :formatter="qjshztFormat" />
|
||||||
@ -253,6 +249,8 @@ import {
|
|||||||
|
|
||||||
import { listJxzxpxfa } from "@/api/jxjs/jxzxpxfa";
|
import { listJxzxpxfa } from "@/api/jxjs/jxzxpxfa";
|
||||||
|
|
||||||
|
import { listJxjsjbxx, getJxjsjbxx } from "@/api/jxjs/jxjsjbxx";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "Jdcx",
|
name: "Jdcx",
|
||||||
data() {
|
data() {
|
||||||
@ -285,6 +283,8 @@ export default {
|
|||||||
qjshyjOptions: [],
|
qjshyjOptions: [],
|
||||||
//方案
|
//方案
|
||||||
faOptions: [],
|
faOptions: [],
|
||||||
|
//教师
|
||||||
|
jsOptions: [],
|
||||||
// 查询参数
|
// 查询参数
|
||||||
queryParams: {
|
queryParams: {
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
@ -353,6 +353,7 @@ export default {
|
|||||||
created() {
|
created() {
|
||||||
this.getFaList();
|
this.getFaList();
|
||||||
this.getList();
|
this.getList();
|
||||||
|
this.getJsList();
|
||||||
this.getDicts("sys_dm_shzt").then((response) => {
|
this.getDicts("sys_dm_shzt").then((response) => {
|
||||||
this.dqztOptions = response.data;
|
this.dqztOptions = response.data;
|
||||||
});
|
});
|
||||||
@ -373,7 +374,6 @@ export default {
|
|||||||
var actions = [];
|
var actions = [];
|
||||||
var datas = this.faOptions;
|
var datas = this.faOptions;
|
||||||
Object.keys(datas).map((key) => {
|
Object.keys(datas).map((key) => {
|
||||||
console.log(row.faid);
|
|
||||||
if (datas[key].id == "" + row.faid) {
|
if (datas[key].id == "" + row.faid) {
|
||||||
actions.push(datas[key].name);
|
actions.push(datas[key].name);
|
||||||
return false;
|
return false;
|
||||||
@ -381,12 +381,30 @@ export default {
|
|||||||
});
|
});
|
||||||
return actions.join("");
|
return actions.join("");
|
||||||
},
|
},
|
||||||
|
// 字典翻译
|
||||||
|
jsFormat(row, column) {
|
||||||
|
// return this.selectDictLabel(this.classOptions, row.classid);
|
||||||
|
var actions = [];
|
||||||
|
var datas = this.jsOptions;
|
||||||
|
Object.keys(datas).map((key) => {
|
||||||
|
if (datas[key].id == "" + row.jsid) {
|
||||||
|
actions.push(datas[key].name);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
return actions.join("");
|
||||||
|
},
|
||||||
getFaList() {
|
getFaList() {
|
||||||
this.queryParams_fa.fazt = "1";
|
this.queryParams_fa.fazt = "1";
|
||||||
listJxzxpxfa(this.queryParams_fa).then((response) => {
|
listJxzxpxfa(this.queryParams_fa).then((response) => {
|
||||||
this.faOptions = response.rows;
|
this.faOptions = response.rows;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
getJsList() {
|
||||||
|
listJxjsjbxx(null).then((response) => {
|
||||||
|
this.jsOptions = response.rows;
|
||||||
|
});
|
||||||
|
},
|
||||||
/** 查询基地区级审核列表 */
|
/** 查询基地区级审核列表 */
|
||||||
getList() {
|
getList() {
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user