|
@@ -142,7 +142,21 @@
|
|
|
@close="onFormClose('ruleForm')"
|
|
|
width="1060px"
|
|
|
>
|
|
|
- <el-form :model="form" :rules="rules" ref="ruleForm" :inline="true">
|
|
|
+ <el-form
|
|
|
+ :model="form"
|
|
|
+ :rules="rules"
|
|
|
+ ref="ruleForm"
|
|
|
+ :inline="true"
|
|
|
+ class="eidtForm"
|
|
|
+ label-position="left"
|
|
|
+ >
|
|
|
+ <el-alert
|
|
|
+ style="margin: 10px 0"
|
|
|
+ title="合作单位信息"
|
|
|
+ :closable="false"
|
|
|
+ type="info"
|
|
|
+ >
|
|
|
+ </el-alert>
|
|
|
<el-row>
|
|
|
<el-form-item
|
|
|
label="单位名称"
|
|
@@ -153,7 +167,6 @@
|
|
|
v-model.trim="form.name"
|
|
|
:disabled="basdisabled"
|
|
|
autocomplete="off"
|
|
|
- style="width: 180px !important"
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item
|
|
@@ -163,7 +176,6 @@
|
|
|
>
|
|
|
<el-select
|
|
|
:disabled="basdisabled"
|
|
|
- style="width: 180px !important"
|
|
|
v-model.trim="form.organId"
|
|
|
@change="changeOrgan"
|
|
|
filterable
|
|
@@ -186,7 +198,6 @@
|
|
|
:rules="[{ required: true, message: '乐团主管不能为空' }]"
|
|
|
>
|
|
|
<el-select
|
|
|
- style="width: 180px !important"
|
|
|
:disabled="!form.organId || basdisabled"
|
|
|
v-model.trim="form.educationUserId"
|
|
|
filterable
|
|
@@ -215,7 +226,6 @@
|
|
|
v-model.trim="form.isEnable"
|
|
|
filterable
|
|
|
clearable
|
|
|
- style="width: 180px !important"
|
|
|
>
|
|
|
<el-option label="开启" :value="true"></el-option>
|
|
|
<el-option label="关闭" :value="false"></el-option>
|
|
@@ -229,16 +239,23 @@
|
|
|
<el-select
|
|
|
:disabled="basdisabled"
|
|
|
v-model.trim="form.fullJobResource"
|
|
|
- style="width: 180px !important"
|
|
|
>
|
|
|
<el-option label="是" :value="1"></el-option>
|
|
|
<el-option label="否" :value="0"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-row>
|
|
|
+ <el-alert
|
|
|
+ style="margin: 10px 0"
|
|
|
+ title="合作单位联系人"
|
|
|
+ :closable="false"
|
|
|
+ type="info"
|
|
|
+ >
|
|
|
+ </el-alert>
|
|
|
<el-row
|
|
|
v-for="(item, index) in form.cooperationOrganLinkmanList"
|
|
|
:key="index"
|
|
|
+ class="greyRow"
|
|
|
>
|
|
|
<el-form-item
|
|
|
:rules="[
|
|
@@ -252,7 +269,6 @@
|
|
|
:disabled="basdisabled"
|
|
|
v-model.trim="item.linkman"
|
|
|
autocomplete="off"
|
|
|
- style="width: 180px !important"
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item
|
|
@@ -267,7 +283,6 @@
|
|
|
:disabled="basdisabled"
|
|
|
v-model.trim="item.job"
|
|
|
autocomplete="off"
|
|
|
- style="width: 180px !important"
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item
|
|
@@ -288,25 +303,30 @@
|
|
|
:disabled="basdisabled"
|
|
|
v-model.trim="item.mobileNo"
|
|
|
autocomplete="off"
|
|
|
- style="width: 180px !important"
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
|
<i
|
|
|
- class="el-icon-remove-outline marginLeft10 iconStyle"
|
|
|
+ class="el-icon-delete-solid marginLeft10 iconStyle"
|
|
|
v-if="form.cooperationOrganLinkmanList.length > 1 && !basdisabled"
|
|
|
@click="deleteLinkMan(index)"
|
|
|
style="font-size: 20px; cursor: pointer"
|
|
|
></i>
|
|
|
- <i
|
|
|
+ <!-- <i
|
|
|
class="el-icon-circle-plus-outline marginLeft10 iconStyle"
|
|
|
- v-if="
|
|
|
- !basdisabled &&
|
|
|
- index + 1 == form.cooperationOrganLinkmanList.length
|
|
|
- "
|
|
|
- @click="addLinkMan"
|
|
|
+
|
|
|
+
|
|
|
style="font-size: 20px; cursor: pointer"
|
|
|
- ></i>
|
|
|
+ ></i> -->
|
|
|
</el-row>
|
|
|
+ <!-- index + 1 == form.cooperationOrganLinkmanList.length -->
|
|
|
+ <el-button
|
|
|
+ v-if="!basdisabled"
|
|
|
+ class="greyRow"
|
|
|
+ style="width: 100%"
|
|
|
+ icon="el-icon-plus"
|
|
|
+ @click="addLinkMan"
|
|
|
+ >添加联系人</el-button
|
|
|
+ >
|
|
|
</el-form>
|
|
|
|
|
|
<span slot="footer" class="dialog-footer">
|
|
@@ -590,7 +610,7 @@ export default {
|
|
|
id: val,
|
|
|
});
|
|
|
this.educationList = ruselt?.data?.educationId;
|
|
|
- if (!this.educationList ||this.educationList?.length <= 0) {
|
|
|
+ if (!this.educationList || this.educationList?.length <= 0) {
|
|
|
this.$bus.$emit("showguide", ["teamManager"]);
|
|
|
}
|
|
|
} catch (e) {
|
|
@@ -633,6 +653,33 @@ export default {
|
|
|
};
|
|
|
</script>
|
|
|
<style lang="scss" scoped>
|
|
|
+.eidtForm {
|
|
|
+ /deep/.el-form--inline {
|
|
|
+ .el-form-item__content {
|
|
|
+ display: block;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /deep/.el-select {
|
|
|
+ width: 300px !important;
|
|
|
+ }
|
|
|
+ /deep/.el-date-editor {
|
|
|
+ width: 300px !important;
|
|
|
+ }
|
|
|
+ /deep/.el-checkbox {
|
|
|
+ margin-left: 15px !important;
|
|
|
+ }
|
|
|
+ /deep/.el-input {
|
|
|
+ position: relative;
|
|
|
+ font-size: 14px;
|
|
|
+ display: inline-block;
|
|
|
+ width: 300px !important;
|
|
|
+ }
|
|
|
+}
|
|
|
+.greyRow {
|
|
|
+ background-color: #f9f9f9;
|
|
|
+ padding: 10px;
|
|
|
+ margin-bottom: 10px;
|
|
|
+}
|
|
|
|
|
|
/deep/.el-select {
|
|
|
width: 100% !important;
|