|
@@ -7,7 +7,10 @@
|
|
<transition name="el-fade-in-linear">
|
|
<transition name="el-fade-in-linear">
|
|
<div
|
|
<div
|
|
class="m-core"
|
|
class="m-core"
|
|
- v-if="((tableList.length > 0 || pageInfo.page > 1) && contextFlag) || !isSearch"
|
|
|
|
|
|
+ v-if="
|
|
|
|
+ ((tableList.length > 0 || pageInfo.page > 1) && contextFlag) ||
|
|
|
|
+ !isSearch
|
|
|
|
+ "
|
|
>
|
|
>
|
|
<!-- 搜索类型 -->
|
|
<!-- 搜索类型 -->
|
|
<save-form
|
|
<save-form
|
|
@@ -78,7 +81,8 @@
|
|
:data="tableList"
|
|
:data="tableList"
|
|
:header-cell-style="{ background: '#EDEEF0', color: '#444' }"
|
|
:header-cell-style="{ background: '#EDEEF0', color: '#444' }"
|
|
>
|
|
>
|
|
- <el-table-column align="center" prop="id" label="单位编号"> </el-table-column>
|
|
|
|
|
|
+ <el-table-column align="center" prop="id" label="单位编号">
|
|
|
|
+ </el-table-column>
|
|
<el-table-column align="center" prop="name" label="单位名称">
|
|
<el-table-column align="center" prop="name" label="单位名称">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column align="center" prop="logo" label="logo">
|
|
<el-table-column align="center" prop="logo" label="logo">
|
|
@@ -106,7 +110,11 @@
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column align="center" prop="mobileNo" label="手机号">
|
|
<el-table-column align="center" prop="mobileNo" label="手机号">
|
|
</el-table-column> -->
|
|
</el-table-column> -->
|
|
- <el-table-column align="center" label="是否全职资源" v-if="tenantId == 1">
|
|
|
|
|
|
+ <el-table-column
|
|
|
|
+ align="center"
|
|
|
|
+ label="是否全职资源"
|
|
|
|
+ v-if="tenantId == 1"
|
|
|
|
+ >
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
{{ scope.row.fullJobResource ? "是" : "否" }}
|
|
{{ scope.row.fullJobResource ? "是" : "否" }}
|
|
</template>
|
|
</template>
|
|
@@ -136,7 +144,9 @@
|
|
type="text"
|
|
type="text"
|
|
>删除</el-button
|
|
>删除</el-button
|
|
> -->
|
|
> -->
|
|
- <el-button @click="rejuest(scope.row)" type="text">领队注册</el-button>
|
|
|
|
|
|
+ <el-button @click="rejuest(scope.row)" type="text"
|
|
|
|
+ >领队注册</el-button
|
|
|
|
+ >
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
@@ -156,7 +166,11 @@
|
|
title="合作单位"
|
|
title="合作单位"
|
|
btnTitle="新建合作单位"
|
|
btnTitle="新建合作单位"
|
|
:context="context"
|
|
:context="context"
|
|
- v-if="!(tableList.length > 0 || pageInfo.page > 1) && contextFlag && isSearch"
|
|
|
|
|
|
+ v-if="
|
|
|
|
+ !(tableList.length > 0 || pageInfo.page > 1) &&
|
|
|
|
+ contextFlag &&
|
|
|
|
+ isSearch
|
|
|
|
+ "
|
|
/>
|
|
/>
|
|
</transition>
|
|
</transition>
|
|
<el-dialog
|
|
<el-dialog
|
|
@@ -181,14 +195,22 @@
|
|
>
|
|
>
|
|
</el-alert>
|
|
</el-alert>
|
|
<el-row>
|
|
<el-row>
|
|
- <el-form-item label="单位名称" prop="name" :label-width="formLabelWidth">
|
|
|
|
|
|
+ <el-form-item
|
|
|
|
+ label="单位名称"
|
|
|
|
+ prop="name"
|
|
|
|
+ :label-width="formLabelWidth"
|
|
|
|
+ >
|
|
<el-input
|
|
<el-input
|
|
v-model.trim="form.name"
|
|
v-model.trim="form.name"
|
|
:disabled="basdisabled"
|
|
:disabled="basdisabled"
|
|
autocomplete="off"
|
|
autocomplete="off"
|
|
></el-input>
|
|
></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <el-form-item label="所属分部" prop="organId" :label-width="formLabelWidth">
|
|
|
|
|
|
+ <el-form-item
|
|
|
|
+ label="所属分部"
|
|
|
|
+ prop="organId"
|
|
|
|
+ :label-width="formLabelWidth"
|
|
|
|
+ >
|
|
<el-select
|
|
<el-select
|
|
:disabled="basdisabled"
|
|
:disabled="basdisabled"
|
|
v-model.trim="form.organId"
|
|
v-model.trim="form.organId"
|
|
@@ -252,7 +274,10 @@
|
|
prop="fullJobResource"
|
|
prop="fullJobResource"
|
|
:label-width="formLabelWidth"
|
|
:label-width="formLabelWidth"
|
|
>
|
|
>
|
|
- <el-select :disabled="basdisabled" v-model.trim="form.fullJobResource">
|
|
|
|
|
|
+ <el-select
|
|
|
|
+ :disabled="basdisabled"
|
|
|
|
+ v-model.trim="form.fullJobResource"
|
|
|
|
+ >
|
|
<el-option label="是" :value="1"></el-option>
|
|
<el-option label="是" :value="1"></el-option>
|
|
<el-option label="否" :value="0"></el-option>
|
|
<el-option label="否" :value="0"></el-option>
|
|
</el-select>
|
|
</el-select>
|
|
@@ -293,7 +318,9 @@
|
|
></i>
|
|
></i>
|
|
</div>
|
|
</div>
|
|
<el-form-item
|
|
<el-form-item
|
|
- :rules="[{ required: true, message: '请输入联系人', trigger: 'blur' }]"
|
|
|
|
|
|
+ :rules="[
|
|
|
|
+ { required: true, message: '请输入联系人', trigger: 'blur' }
|
|
|
|
+ ]"
|
|
:label="'联系人姓名'"
|
|
:label="'联系人姓名'"
|
|
:prop="'cooperationOrganLinkmanList.' + index + '.linkman'"
|
|
:prop="'cooperationOrganLinkmanList.' + index + '.linkman'"
|
|
:label-width="formLabelWidth"
|
|
:label-width="formLabelWidth"
|
|
@@ -305,7 +332,9 @@
|
|
></el-input>
|
|
></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item
|
|
<el-form-item
|
|
- :rules="[{ required: true, message: '请输入职位', trigger: 'blur' }]"
|
|
|
|
|
|
+ :rules="[
|
|
|
|
+ { required: true, message: '请输入职位', trigger: 'blur' }
|
|
|
|
+ ]"
|
|
:label="'联系人职位'"
|
|
:label="'联系人职位'"
|
|
:prop="'cooperationOrganLinkmanList.' + index + '.job'"
|
|
:prop="'cooperationOrganLinkmanList.' + index + '.job'"
|
|
:label-width="formLabelWidth"
|
|
:label-width="formLabelWidth"
|
|
@@ -323,8 +352,8 @@
|
|
{
|
|
{
|
|
pattern: /^1[3456789]\d{9}$/,
|
|
pattern: /^1[3456789]\d{9}$/,
|
|
message: '请输入正确的手机号',
|
|
message: '请输入正确的手机号',
|
|
- trigger: 'blur',
|
|
|
|
- },
|
|
|
|
|
|
+ trigger: 'blur'
|
|
|
|
+ }
|
|
]"
|
|
]"
|
|
:label="'联系人手机号'"
|
|
:label="'联系人手机号'"
|
|
:prop="'cooperationOrganLinkmanList.' + index + '.mobileNo'"
|
|
:prop="'cooperationOrganLinkmanList.' + index + '.mobileNo'"
|
|
@@ -379,11 +408,15 @@
|
|
<el-radio-group v-model="radio" @change="changeRadio" class="groupWrap">
|
|
<el-radio-group v-model="radio" @change="changeRadio" class="groupWrap">
|
|
<el-radio label="SCHOOL_LEADER">分管领导</el-radio>
|
|
<el-radio label="SCHOOL_LEADER">分管领导</el-radio>
|
|
<el-radio label="TEACHER">负责老师</el-radio>
|
|
<el-radio label="TEACHER">负责老师</el-radio>
|
|
- <el-radio :disabled="staffStat.orchestraLeaderNums > 0" label="ORCHESTRA_LEADER"
|
|
|
|
|
|
+ <el-radio
|
|
|
|
+ :disabled="staffStat.orchestraLeaderNums > 0"
|
|
|
|
+ label="ORCHESTRA_LEADER"
|
|
>乐团领队</el-radio
|
|
>乐团领队</el-radio
|
|
>
|
|
>
|
|
|
|
|
|
- <el-radio :disabled="staffStat.schoolmasterNums > 0" label="SCHOOLMASTER"
|
|
|
|
|
|
+ <el-radio
|
|
|
|
+ :disabled="staffStat.schoolmasterNums > 0"
|
|
|
|
+ label="SCHOOLMASTER"
|
|
>学校校长</el-radio
|
|
>学校校长</el-radio
|
|
>
|
|
>
|
|
</el-radio-group>
|
|
</el-radio-group>
|
|
@@ -396,7 +429,7 @@ import {
|
|
cooperationOrganAdd,
|
|
cooperationOrganAdd,
|
|
cooperationOrganUpdate,
|
|
cooperationOrganUpdate,
|
|
cooperationOrganDel,
|
|
cooperationOrganDel,
|
|
- queryPage,
|
|
|
|
|
|
+ queryPage
|
|
} from "@/api/systemManage";
|
|
} from "@/api/systemManage";
|
|
import cleanDeep from "clean-deep";
|
|
import cleanDeep from "clean-deep";
|
|
import { isvalidPhone } from "@/utils/validate";
|
|
import { isvalidPhone } from "@/utils/validate";
|
|
@@ -407,7 +440,7 @@ import qs from "qs";
|
|
import { isBoolean } from "@rongcloud/engine";
|
|
import { isBoolean } from "@rongcloud/engine";
|
|
import ImageCropper from "@/components/ImageCropper";
|
|
import ImageCropper from "@/components/ImageCropper";
|
|
import qrCode from "@/components/QrCode/index";
|
|
import qrCode from "@/components/QrCode/index";
|
|
-import { vaildTeachingUrl } from "@/utils/validate";
|
|
|
|
|
|
+import { vaildSchoolUrl } from "@/utils/validate";
|
|
import { getCooperation } from "./api";
|
|
import { getCooperation } from "./api";
|
|
let validPhone = (rule, value, callback) => {
|
|
let validPhone = (rule, value, callback) => {
|
|
if (!value) {
|
|
if (!value) {
|
|
@@ -426,7 +459,7 @@ export default {
|
|
searchForm: {
|
|
searchForm: {
|
|
organId: null,
|
|
organId: null,
|
|
isEnable: null,
|
|
isEnable: null,
|
|
- search: null,
|
|
|
|
|
|
+ search: null
|
|
},
|
|
},
|
|
validPhone,
|
|
validPhone,
|
|
searchLsit: [],
|
|
searchLsit: [],
|
|
@@ -437,14 +470,14 @@ export default {
|
|
limit: 10, // 限制显示条数
|
|
limit: 10, // 限制显示条数
|
|
page: 1, // 当前页
|
|
page: 1, // 当前页
|
|
total: 0, // 总条数
|
|
total: 0, // 总条数
|
|
- page_size: [10, 20, 40, 50], // 选择限制显示条数
|
|
|
|
|
|
+ page_size: [10, 20, 40, 50] // 选择限制显示条数
|
|
},
|
|
},
|
|
teachingStatus: false, // 添加教学点
|
|
teachingStatus: false, // 添加教学点
|
|
formActionTitle: "create",
|
|
formActionTitle: "create",
|
|
formTitle: {
|
|
formTitle: {
|
|
create: "添加合作单位",
|
|
create: "添加合作单位",
|
|
update: "修改合作单位",
|
|
update: "修改合作单位",
|
|
- look: "查看合作单位",
|
|
|
|
|
|
+ look: "查看合作单位"
|
|
},
|
|
},
|
|
formLabelWidth: "120px",
|
|
formLabelWidth: "120px",
|
|
form: {
|
|
form: {
|
|
@@ -458,20 +491,24 @@ export default {
|
|
educationUserId: null,
|
|
educationUserId: null,
|
|
logo: null,
|
|
logo: null,
|
|
cooperationOrganLinkmanList: [
|
|
cooperationOrganLinkmanList: [
|
|
- { cooperationOrganId: "", job: "", linkman: "", mobileNo: "" },
|
|
|
|
- ],
|
|
|
|
|
|
+ { cooperationOrganId: "", job: "", linkman: "", mobileNo: "" }
|
|
|
|
+ ]
|
|
},
|
|
},
|
|
rules: {
|
|
rules: {
|
|
- name: [{ required: true, message: "请输入教学点名称", trigger: "blur" }],
|
|
|
|
|
|
+ name: [
|
|
|
|
+ { required: true, message: "请输入教学点名称", trigger: "blur" }
|
|
|
|
+ ],
|
|
|
|
|
|
- organId: [{ required: true, message: "请选择所属分部", trigger: "change" }],
|
|
|
|
|
|
+ organId: [
|
|
|
|
+ { required: true, message: "请选择所属分部", trigger: "change" }
|
|
|
|
+ ],
|
|
educationUserId: [
|
|
educationUserId: [
|
|
- { required: true, message: "请选择乐团主管", trigger: "change" },
|
|
|
|
|
|
+ { required: true, message: "请选择乐团主管", trigger: "change" }
|
|
],
|
|
],
|
|
fullJobResource: [
|
|
fullJobResource: [
|
|
- { required: true, message: "请选择是否全职资源", trigger: "change" },
|
|
|
|
|
|
+ { required: true, message: "请选择是否全职资源", trigger: "change" }
|
|
],
|
|
],
|
|
- isEnable: [{ required: true, message: "请选择状态", trigger: "change" }],
|
|
|
|
|
|
+ isEnable: [{ required: true, message: "请选择状态", trigger: "change" }]
|
|
},
|
|
},
|
|
basdisabled: false,
|
|
basdisabled: false,
|
|
actionRow: null,
|
|
actionRow: null,
|
|
@@ -487,7 +524,7 @@ export default {
|
|
previewsCircle: false, //预览图是否是圆形
|
|
previewsCircle: false, //预览图是否是圆形
|
|
full: true, // 是否输出原图比例的截图
|
|
full: true, // 是否输出原图比例的截图
|
|
enlarge: 2,
|
|
enlarge: 2,
|
|
- title: "logo", //模态框上显示的标题
|
|
|
|
|
|
+ title: "logo" //模态框上显示的标题
|
|
},
|
|
},
|
|
codeStatus: false,
|
|
codeStatus: false,
|
|
codeUrl: "www.baidu.com",
|
|
codeUrl: "www.baidu.com",
|
|
@@ -498,8 +535,8 @@ export default {
|
|
schoolLeaderNums: 0,
|
|
schoolLeaderNums: 0,
|
|
schoolmasterNums: 0,
|
|
schoolmasterNums: 0,
|
|
studentNums: 0,
|
|
studentNums: 0,
|
|
- teacherNums: 0,
|
|
|
|
- },
|
|
|
|
|
|
+ teacherNums: 0
|
|
|
|
+ }
|
|
};
|
|
};
|
|
},
|
|
},
|
|
async mounted() {
|
|
async mounted() {
|
|
@@ -517,10 +554,10 @@ export default {
|
|
this.$confirm("您确定删除合作单位?", "提示", {
|
|
this.$confirm("您确定删除合作单位?", "提示", {
|
|
confirmButtonText: "确定",
|
|
confirmButtonText: "确定",
|
|
cancelButtonText: "取消",
|
|
cancelButtonText: "取消",
|
|
- type: "warning",
|
|
|
|
|
|
+ type: "warning"
|
|
})
|
|
})
|
|
.then(() => {
|
|
.then(() => {
|
|
- cooperationOrganDel(rows.id).then((res) => {
|
|
|
|
|
|
+ cooperationOrganDel(rows.id).then(res => {
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
this.$message.success("删除成功");
|
|
this.$message.success("删除成功");
|
|
this.teachingStatus = false;
|
|
this.teachingStatus = false;
|
|
@@ -540,7 +577,7 @@ export default {
|
|
this.searchForm = {
|
|
this.searchForm = {
|
|
organId: null,
|
|
organId: null,
|
|
isEnable: null,
|
|
isEnable: null,
|
|
- search: null,
|
|
|
|
|
|
+ search: null
|
|
};
|
|
};
|
|
|
|
|
|
this.$refs.searchForm.resetFields();
|
|
this.$refs.searchForm.resetFields();
|
|
@@ -550,7 +587,7 @@ export default {
|
|
},
|
|
},
|
|
changeRadio() {
|
|
changeRadio() {
|
|
this.$refs.qrCode.resetImage();
|
|
this.$refs.qrCode.resetImage();
|
|
- this.codeUrl = `${vaildTeachingUrl()}/school/#/school-register?id=${
|
|
|
|
|
|
+ this.codeUrl = `${vaildSchoolUrl()}/#/school-register?id=${
|
|
this.activeRow.id
|
|
this.activeRow.id
|
|
}&type=${this.radio}`;
|
|
}&type=${this.radio}`;
|
|
},
|
|
},
|
|
@@ -561,21 +598,21 @@ export default {
|
|
url: "/api-web/export/cooperationOrgan",
|
|
url: "/api-web/export/cooperationOrgan",
|
|
fileName: "合作单位.xls",
|
|
fileName: "合作单位.xls",
|
|
method: "post",
|
|
method: "post",
|
|
- params: qs.stringify(cleanDeep(this.searchForm)),
|
|
|
|
|
|
+ params: qs.stringify(cleanDeep(this.searchForm))
|
|
},
|
|
},
|
|
"您确定导出合作单位?"
|
|
"您确定导出合作单位?"
|
|
);
|
|
);
|
|
},
|
|
},
|
|
onTeachingSubmit(formName) {
|
|
onTeachingSubmit(formName) {
|
|
// 添加数据
|
|
// 添加数据
|
|
- this.$refs[formName].validate((valid) => {
|
|
|
|
|
|
+ this.$refs[formName].validate(valid => {
|
|
if (valid) {
|
|
if (valid) {
|
|
if (this.formActionTitle == "create") {
|
|
if (this.formActionTitle == "create") {
|
|
if (this.form.id) {
|
|
if (this.form.id) {
|
|
// 判断有没有Id,如果有则删除
|
|
// 判断有没有Id,如果有则删除
|
|
delete this.form.id;
|
|
delete this.form.id;
|
|
}
|
|
}
|
|
- cooperationOrganAdd(this.form).then((res) => {
|
|
|
|
|
|
+ cooperationOrganAdd(this.form).then(res => {
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
this.$message.success("创建成功");
|
|
this.$message.success("创建成功");
|
|
this.teachingStatus = false;
|
|
this.teachingStatus = false;
|
|
@@ -585,7 +622,7 @@ export default {
|
|
}
|
|
}
|
|
});
|
|
});
|
|
} else if (this.formActionTitle == "update") {
|
|
} else if (this.formActionTitle == "update") {
|
|
- cooperationOrganUpdate(this.form).then((res) => {
|
|
|
|
|
|
+ cooperationOrganUpdate(this.form).then(res => {
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
this.$message.success("修改成功");
|
|
this.$message.success("修改成功");
|
|
this.teachingStatus = false;
|
|
this.teachingStatus = false;
|
|
@@ -605,8 +642,8 @@ export default {
|
|
queryPage({
|
|
queryPage({
|
|
rows: this.pageInfo.limit,
|
|
rows: this.pageInfo.limit,
|
|
page: this.pageInfo.page,
|
|
page: this.pageInfo.page,
|
|
- ...this.searchForm,
|
|
|
|
- }).then((res) => {
|
|
|
|
|
|
+ ...this.searchForm
|
|
|
|
+ }).then(res => {
|
|
if (res.code == 200 && res.data) {
|
|
if (res.code == 200 && res.data) {
|
|
// this.contextFlag = res.data.rows.length>0?true:false
|
|
// this.contextFlag = res.data.rows.length>0?true:false
|
|
this.contextFlag = true;
|
|
this.contextFlag = true;
|
|
@@ -635,7 +672,7 @@ export default {
|
|
fullJobResource: rows.fullJobResource,
|
|
fullJobResource: rows.fullJobResource,
|
|
isEnable: rows.isEnable,
|
|
isEnable: rows.isEnable,
|
|
educationUserId: rows.educationUserId,
|
|
educationUserId: rows.educationUserId,
|
|
- logo: rows.logo,
|
|
|
|
|
|
+ logo: rows.logo
|
|
};
|
|
};
|
|
|
|
|
|
let cooperationOrganLinkmanList =
|
|
let cooperationOrganLinkmanList =
|
|
@@ -646,10 +683,14 @@ export default {
|
|
cooperationOrganId: rows.id,
|
|
cooperationOrganId: rows.id,
|
|
job: "",
|
|
job: "",
|
|
linkman: "",
|
|
linkman: "",
|
|
- mobileNo: "",
|
|
|
|
- },
|
|
|
|
|
|
+ mobileNo: ""
|
|
|
|
+ }
|
|
];
|
|
];
|
|
- this.$set(this.form, "cooperationOrganLinkmanList", cooperationOrganLinkmanList);
|
|
|
|
|
|
+ this.$set(
|
|
|
|
+ this.form,
|
|
|
|
+ "cooperationOrganLinkmanList",
|
|
|
|
+ cooperationOrganLinkmanList
|
|
|
|
+ );
|
|
this.basdisabled = false;
|
|
this.basdisabled = false;
|
|
} else if (type == "look") {
|
|
} else if (type == "look") {
|
|
this.changeOrgan(rows.organId);
|
|
this.changeOrgan(rows.organId);
|
|
@@ -664,13 +705,17 @@ export default {
|
|
fullJobResource: rows.fullJobResource,
|
|
fullJobResource: rows.fullJobResource,
|
|
isEnable: rows.isEnable,
|
|
isEnable: rows.isEnable,
|
|
educationUserId: rows.educationUserId,
|
|
educationUserId: rows.educationUserId,
|
|
- logo: rows.logo,
|
|
|
|
|
|
+ logo: rows.logo
|
|
};
|
|
};
|
|
let cooperationOrganLinkmanList =
|
|
let cooperationOrganLinkmanList =
|
|
rows.cooperationOrganLinkmanList.length > 0
|
|
rows.cooperationOrganLinkmanList.length > 0
|
|
? [...rows.cooperationOrganLinkmanList]
|
|
? [...rows.cooperationOrganLinkmanList]
|
|
: [];
|
|
: [];
|
|
- this.$set(this.form, "cooperationOrganLinkmanList", cooperationOrganLinkmanList);
|
|
|
|
|
|
+ this.$set(
|
|
|
|
+ this.form,
|
|
|
|
+ "cooperationOrganLinkmanList",
|
|
|
|
+ cooperationOrganLinkmanList
|
|
|
|
+ );
|
|
this.basdisabled = true;
|
|
this.basdisabled = true;
|
|
// 查看
|
|
// 查看
|
|
} else {
|
|
} else {
|
|
@@ -683,7 +728,7 @@ export default {
|
|
if (val) {
|
|
if (val) {
|
|
try {
|
|
try {
|
|
const ruselt = await getOrganRole({
|
|
const ruselt = await getOrganRole({
|
|
- id: val,
|
|
|
|
|
|
+ id: val
|
|
});
|
|
});
|
|
this.educationList = ruselt?.data?.EDUCATION;
|
|
this.educationList = ruselt?.data?.EDUCATION;
|
|
|
|
|
|
@@ -705,7 +750,7 @@ export default {
|
|
cooperationOrganId: this.actionRow.id,
|
|
cooperationOrganId: this.actionRow.id,
|
|
job: "",
|
|
job: "",
|
|
linkman: "",
|
|
linkman: "",
|
|
- mobileNo: "",
|
|
|
|
|
|
+ mobileNo: ""
|
|
});
|
|
});
|
|
} else {
|
|
} else {
|
|
// 新增
|
|
// 新增
|
|
@@ -713,7 +758,7 @@ export default {
|
|
cooperationOrganId: "",
|
|
cooperationOrganId: "",
|
|
job: "",
|
|
job: "",
|
|
linkman: "",
|
|
linkman: "",
|
|
- mobileNo: "",
|
|
|
|
|
|
+ mobileNo: ""
|
|
});
|
|
});
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -734,12 +779,12 @@ export default {
|
|
console.log(res, "rejuest");
|
|
console.log(res, "rejuest");
|
|
this.staffStat = { ...res.data.staffStat };
|
|
this.staffStat = { ...res.data.staffStat };
|
|
this.activeRow = row;
|
|
this.activeRow = row;
|
|
- this.codeUrl = `${vaildTeachingUrl()}/school/#/school-register?id=${
|
|
|
|
|
|
+ this.codeUrl = `${vaildSchoolUrl()}/#/school-register?id=${
|
|
row.id
|
|
row.id
|
|
}&type=${this.radio}`;
|
|
}&type=${this.radio}`;
|
|
this.codeStatus = true;
|
|
this.codeStatus = true;
|
|
} catch (e) {}
|
|
} catch (e) {}
|
|
- },
|
|
|
|
|
|
+ }
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|
|
teachingStatus(val) {
|
|
teachingStatus(val) {
|
|
@@ -754,11 +799,11 @@ export default {
|
|
organId: null,
|
|
organId: null,
|
|
isEnable: null,
|
|
isEnable: null,
|
|
educationUserId: null,
|
|
educationUserId: null,
|
|
- cooperationOrganLinkmanList: [],
|
|
|
|
|
|
+ cooperationOrganLinkmanList: []
|
|
};
|
|
};
|
|
this.$refs.ruleForm.resetFields();
|
|
this.$refs.ruleForm.resetFields();
|
|
}
|
|
}
|
|
- },
|
|
|
|
|
|
+ }
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
isSearch() {
|
|
isSearch() {
|
|
@@ -768,8 +813,8 @@ export default {
|
|
!isBoolean(this.searchForm.isEnable) &&
|
|
!isBoolean(this.searchForm.isEnable) &&
|
|
!this.searchForm.isEnable
|
|
!this.searchForm.isEnable
|
|
);
|
|
);
|
|
- },
|
|
|
|
- },
|
|
|
|
|
|
+ }
|
|
|
|
+ }
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|