|
@@ -44,7 +44,6 @@
|
|
|
icon="el-icon-plus"
|
|
icon="el-icon-plus"
|
|
|
size="mini"
|
|
size="mini"
|
|
|
@click="handleAdd"
|
|
@click="handleAdd"
|
|
|
- v-hasPermi="['company:companyWorkflow:add']"
|
|
|
|
|
>新增</el-button>
|
|
>新增</el-button>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="1.5">
|
|
<el-col :span="1.5">
|
|
@@ -55,7 +54,6 @@
|
|
|
size="mini"
|
|
size="mini"
|
|
|
:disabled="multiple"
|
|
:disabled="multiple"
|
|
|
@click="handleDelete"
|
|
@click="handleDelete"
|
|
|
- v-hasPermi="['company:companyWorkflow:remove']"
|
|
|
|
|
>删除</el-button>
|
|
>删除</el-button>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="1.5">
|
|
<el-col :span="1.5">
|
|
@@ -66,7 +64,6 @@
|
|
|
size="mini"
|
|
size="mini"
|
|
|
:loading="exportLoading"
|
|
:loading="exportLoading"
|
|
|
@click="handleExport"
|
|
@click="handleExport"
|
|
|
- v-hasPermi="['company:companyWorkflow:export']"
|
|
|
|
|
>导出</el-button>
|
|
>导出</el-button>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
|
@@ -105,7 +102,6 @@
|
|
|
type="text"
|
|
type="text"
|
|
|
icon="el-icon-edit"
|
|
icon="el-icon-edit"
|
|
|
@click="handleEdit(scope.row)"
|
|
@click="handleEdit(scope.row)"
|
|
|
- v-hasPermi="['company:companyWorkflow:edit']"
|
|
|
|
|
>设计</el-button>
|
|
>设计</el-button>
|
|
|
<el-button
|
|
<el-button
|
|
|
size="mini"
|
|
size="mini"
|
|
@@ -118,14 +114,12 @@
|
|
|
type="text"
|
|
type="text"
|
|
|
icon="el-icon-document-copy"
|
|
icon="el-icon-document-copy"
|
|
|
@click="handleCopy(scope.row)"
|
|
@click="handleCopy(scope.row)"
|
|
|
- v-hasPermi="['company:companyWorkflow:add']"
|
|
|
|
|
>复制</el-button>
|
|
>复制</el-button>
|
|
|
<el-button
|
|
<el-button
|
|
|
size="mini"
|
|
size="mini"
|
|
|
type="text"
|
|
type="text"
|
|
|
icon="el-icon-delete"
|
|
icon="el-icon-delete"
|
|
|
@click="handleDelete(scope.row)"
|
|
@click="handleDelete(scope.row)"
|
|
|
- v-hasPermi="['company:companyWorkflow:remove']"
|
|
|
|
|
>删除</el-button>
|
|
>删除</el-button>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -145,9 +139,9 @@
|
|
|
<div class="current-sales">
|
|
<div class="current-sales">
|
|
|
<div class="section-title">当前绑定销售</div>
|
|
<div class="section-title">当前绑定销售</div>
|
|
|
<div v-if="currentBindUserList && currentBindUserList.length > 0" class="bind-info">
|
|
<div v-if="currentBindUserList && currentBindUserList.length > 0" class="bind-info">
|
|
|
- <el-tag
|
|
|
|
|
- v-for="(user, index) in currentBindUserList"
|
|
|
|
|
- :key="index"
|
|
|
|
|
|
|
+ <el-tag
|
|
|
|
|
+ v-for="(user, index) in currentBindUserList"
|
|
|
|
|
+ :key="index"
|
|
|
type="success"
|
|
type="success"
|
|
|
style="margin-right: 8px; margin-bottom: 8px;"
|
|
style="margin-right: 8px; margin-bottom: 8px;"
|
|
|
>
|
|
>
|
|
@@ -429,7 +423,7 @@ export default {
|
|
|
|
|
|
|
|
const workflowId = this.currentWorkflow.workflowId
|
|
const workflowId = this.currentWorkflow.workflowId
|
|
|
const companyUserIds = this.selectedSalesList.map(item => item.userId || item.companyUserId)
|
|
const companyUserIds = this.selectedSalesList.map(item => item.userId || item.companyUserId)
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
this.doBindSales(workflowId, companyUserIds)
|
|
this.doBindSales(workflowId, companyUserIds)
|
|
|
},
|
|
},
|
|
|
/** 执行绑定销售 */
|
|
/** 执行绑定销售 */
|
|
@@ -491,7 +485,7 @@ export default {
|
|
|
.el-table .disabled-row {
|
|
.el-table .disabled-row {
|
|
|
background-color: #f5f5f5;
|
|
background-color: #f5f5f5;
|
|
|
color: #999;
|
|
color: #999;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
&:hover > td {
|
|
&:hover > td {
|
|
|
background-color: #f5f5f5 !important;
|
|
background-color: #f5f5f5 !important;
|
|
|
}
|
|
}
|