变更项目缩写
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
icon="el-icon-plus"
|
||||
size="mini"
|
||||
@click="handleAdd"
|
||||
v-hasPermi="['dpc:employee:add']"
|
||||
v-hasPermi="['ccdi:employee:add']"
|
||||
>新增</el-button>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
@@ -62,7 +62,7 @@
|
||||
icon="el-icon-upload2"
|
||||
size="mini"
|
||||
@click="handleImport"
|
||||
v-hasPermi="['dpc:employee:import']"
|
||||
v-hasPermi="['ccdi:employee:import']"
|
||||
>导入</el-button>
|
||||
</el-col>
|
||||
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||
@@ -93,21 +93,21 @@
|
||||
type="text"
|
||||
icon="el-icon-view"
|
||||
@click="handleDetail(scope.row)"
|
||||
v-hasPermi="['dpc:employee:query']"
|
||||
v-hasPermi="['ccdi:employee:query']"
|
||||
>详情</el-button>
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-edit"
|
||||
@click="handleUpdate(scope.row)"
|
||||
v-hasPermi="['dpc:employee:edit']"
|
||||
v-hasPermi="['ccdi:employee:edit']"
|
||||
>编辑</el-button>
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-delete"
|
||||
@click="handleDelete(scope.row)"
|
||||
v-hasPermi="['dpc:employee:remove']"
|
||||
v-hasPermi="['ccdi:employee:remove']"
|
||||
>删除</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@@ -315,7 +315,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {addEmployee, delEmployee, getEmployee, listEmployee, updateEmployee} from "@/api/dpcEmployee";
|
||||
import {addEmployee, delEmployee, getEmployee, listEmployee, updateEmployee} from "@/api/ccdiEmployee";
|
||||
import {deptTreeSelect} from "@/api/system/user";
|
||||
import {getToken} from "@/utils/auth";
|
||||
import Treeselect from "@riophae/vue-treeselect";
|
||||
@@ -403,7 +403,7 @@ export default {
|
||||
// 设置上传的请求头部
|
||||
headers: { Authorization: "Bearer " + getToken() },
|
||||
// 上传的地址
|
||||
url: process.env.VUE_APP_BASE_API + "/dpc/employee/importData"
|
||||
url: process.env.VUE_APP_BASE_API + "/ccdi/employee/importData"
|
||||
}
|
||||
};
|
||||
},
|
||||
@@ -29,14 +29,14 @@
|
||||
type="text"
|
||||
icon="el-icon-edit"
|
||||
@click="$emit('update', scope.row)"
|
||||
v-hasPermi="['dpc:intermediary:edit']"
|
||||
v-hasPermi="['ccdi:intermediary:edit']"
|
||||
>修改</el-button>
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-delete"
|
||||
@click="$emit('delete', scope.row)"
|
||||
v-hasPermi="['dpc:intermediary:remove']"
|
||||
v-hasPermi="['ccdi:intermediary:remove']"
|
||||
>删除</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@@ -118,9 +118,9 @@ export default {
|
||||
const baseUrl = process.env.VUE_APP_BASE_API;
|
||||
const updateSupport = this.formData.updateSupport ? 1 : 0;
|
||||
if (this.formData.importType === 'person') {
|
||||
return `${baseUrl}/dpc/intermediary/importPersonData?updateSupport=${updateSupport}`;
|
||||
return `${baseUrl}/ccdi/intermediary/importPersonData?updateSupport=${updateSupport}`;
|
||||
} else {
|
||||
return `${baseUrl}/dpc/intermediary/importEntityData?updateSupport=${updateSupport}`;
|
||||
return `${baseUrl}/ccdi/intermediary/importEntityData?updateSupport=${updateSupport}`;
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -16,7 +16,7 @@
|
||||
icon="el-icon-plus"
|
||||
size="mini"
|
||||
@click="handleAdd"
|
||||
v-hasPermi="['dpc:intermediary:add']"
|
||||
v-hasPermi="['ccdi:intermediary:add']"
|
||||
>新增</el-button>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
@@ -26,7 +26,7 @@
|
||||
icon="el-icon-upload2"
|
||||
size="mini"
|
||||
@click="handleImport"
|
||||
v-hasPermi="['dpc:intermediary:import']"
|
||||
v-hasPermi="['ccdi:intermediary:import']"
|
||||
>导入</el-button>
|
||||
</el-col>
|
||||
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||
@@ -86,7 +86,7 @@ import {
|
||||
listIntermediary,
|
||||
updateEntityIntermediary,
|
||||
updatePersonIntermediary
|
||||
} from "@/api/dpcIntermediary";
|
||||
} from "@/api/ccdiIntermediary";
|
||||
import {
|
||||
getCertTypeOptions,
|
||||
getCorpNatureOptions,
|
||||
@@ -95,7 +95,7 @@ import {
|
||||
getIndivSubTypeOptions,
|
||||
getIndivTypeOptions,
|
||||
getRelationTypeOptions
|
||||
} from "@/api/dpcEnum";
|
||||
} from "@/api/ccdiEnum";
|
||||
import SearchForm from "./components/SearchForm";
|
||||
import DataTable from "./components/DataTable";
|
||||
import EditDialog from "./components/EditDialog";
|
||||
@@ -135,7 +135,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {getMockHistoryProjects} from '@/api/dpcProject'
|
||||
import {getMockHistoryProjects} from '@/api/ccdiProject'
|
||||
|
||||
export default {
|
||||
name: 'ImportHistoryDialog',
|
||||
@@ -63,7 +63,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {getMockProjectList} from '@/api/dpcProject'
|
||||
import {getMockProjectList} from '@/api/ccdiProject'
|
||||
import SearchBar from './components/SearchBar'
|
||||
import ProjectTable from './components/ProjectTable'
|
||||
import QuickEntry from './components/QuickEntry'
|
||||
Reference in New Issue
Block a user