|
@@ -2,31 +2,31 @@
|
|
|
<my-dialog
|
|
|
:visible="visible"
|
|
|
header="调配"
|
|
|
- :width="900"
|
|
|
+ :width="600"
|
|
|
attach="body"
|
|
|
:closeOnOverlayClick="false"
|
|
|
@close="emit('update:visible', false)"
|
|
|
@opened="dialogOpened"
|
|
|
>
|
|
|
- <t-form ref="formRef" :labelWidth="120">
|
|
|
- <t-row :gutter="[0, 0]">
|
|
|
- <t-col :span="4">
|
|
|
+ <t-form ref="formRef" :labelWidth="66" colon>
|
|
|
+ <t-row :gutter="[20, 0]">
|
|
|
+ <t-col :span="6">
|
|
|
<t-form-item label="服务单元"
|
|
|
>{{ formData.serviceUnitName }}
|
|
|
</t-form-item>
|
|
|
</t-col>
|
|
|
- <t-col :span="4">
|
|
|
+ <t-col :span="6">
|
|
|
<t-form-item label="项目单号">{{ formData.crmNo }} </t-form-item>
|
|
|
</t-col>
|
|
|
- <t-col :span="4">
|
|
|
+ <t-col :span="6">
|
|
|
<t-form-item label="客户类型"
|
|
|
>{{ customerTypeFilter(formData.customType) }}
|
|
|
</t-form-item>
|
|
|
</t-col>
|
|
|
- <t-col :span="8">
|
|
|
+ <t-col :span="6">
|
|
|
<t-form-item label="客户名称">{{ formData.customName }} </t-form-item>
|
|
|
</t-col>
|
|
|
- <t-col :span="4">
|
|
|
+ <t-col :span="6">
|
|
|
<t-form-item label="服务档位">{{ formData.level }} </t-form-item>
|
|
|
</t-col>
|
|
|
<t-col :span="12">
|
|
@@ -40,7 +40,7 @@
|
|
|
</t-form-item>
|
|
|
</t-col>
|
|
|
<t-col :span="12">
|
|
|
- <t-form-item label="人员调配">
|
|
|
+ <t-form-item label="人员调配" labelAlign="top">
|
|
|
<div>
|
|
|
<t-table
|
|
|
size="small"
|
|
@@ -59,6 +59,7 @@
|
|
|
v-model="row.userIdList"
|
|
|
:type="row.roleType"
|
|
|
:unit-id="curRow.serviceUnitId"
|
|
|
+ :crm-no="curRow.crmNo"
|
|
|
multiple
|
|
|
:min-collapsed-num="3"
|
|
|
:filterable="false"
|
|
@@ -78,26 +79,27 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</t-table>
|
|
|
- </div>
|
|
|
- </t-form-item>
|
|
|
- <t-form-item>
|
|
|
- <div class="flex justify-between items-center" style="width: 100%">
|
|
|
- <t-select v-model="selectedRoleId" @change="roleChange">
|
|
|
- <t-option
|
|
|
- v-for="item in roleList"
|
|
|
- :key="item.id"
|
|
|
- :value="item.id"
|
|
|
- :label="item.name"
|
|
|
- :disabled="configRoleIds.includes(item.id)"
|
|
|
- ></t-option>
|
|
|
- </t-select>
|
|
|
- <t-button
|
|
|
- class="m-l-10px"
|
|
|
- theme="primary"
|
|
|
- :disabled="!selectedRole"
|
|
|
- @click="toAddRole"
|
|
|
- >添加</t-button
|
|
|
+ <div
|
|
|
+ class="flex justify-between items-center"
|
|
|
+ style="width: 100%; margin-top: 16px"
|
|
|
>
|
|
|
+ <t-select v-model="selectedRoleId" @change="roleChange">
|
|
|
+ <t-option
|
|
|
+ v-for="item in roleList"
|
|
|
+ :key="item.id"
|
|
|
+ :value="item.id"
|
|
|
+ :label="item.name"
|
|
|
+ :disabled="configRoleIds.includes(item.id)"
|
|
|
+ ></t-option>
|
|
|
+ </t-select>
|
|
|
+ <t-button
|
|
|
+ class="m-l-10px"
|
|
|
+ theme="primary"
|
|
|
+ :disabled="!selectedRole"
|
|
|
+ @click="toAddRole"
|
|
|
+ >添加</t-button
|
|
|
+ >
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</t-form-item>
|
|
|
</t-col>
|