Commit c0fd7c84 authored by 沈良进's avatar 沈良进

save

parent 08960432
...@@ -259,7 +259,7 @@ ...@@ -259,7 +259,7 @@
<td align="center" v-if="childIndex==0" :rowspan="CostNumberList.length"> <td align="center" v-if="childIndex==0" :rowspan="CostNumberList.length">
{{subItem.DayNum}} {{subItem.DayNum}}
</td> </td>
<td v-if="childIndex==0" :rowspan="CostNumberList.length" colspan="2"> <td v-if="childIndex==0" :rowspan="CostNumberList.length">
<el-input type="textarea" resize="none" class="w250" v-model="subItem.Title"></el-input> <el-input type="textarea" resize="none" class="w250" v-model="subItem.Title"></el-input>
</td> </td>
<td v-if="childIndex==0" :rowspan="CostNumberList.length"> <td v-if="childIndex==0" :rowspan="CostNumberList.length">
......
...@@ -89,6 +89,17 @@ ...@@ -89,6 +89,17 @@
</el-select> </el-select>
</span> </span>
</li> </li>
<li>
<span>
<span>{{$t('visa.v_czuser')}}</span>
<el-select class="w150" v-model="queryData.CreateBy" filterable :placeholder="$t('pub.pleaseSel')">
<el-option :label="$t('pub.unlimitedSel')" :value="0">
</el-option>
<el-option v-for="(item,index) in EmployeeList" :label="item.EmName"
:value="item.EmployeeId" :key="index"></el-option>
</el-select>
</span>
</li>
<li> <li>
<button class="hollowFixedBtn" @click="getList(),resetPageIndex()">查询</button> <button class="hollowFixedBtn" @click="getList(),resetPageIndex()">查询</button>
<button class="hollowFixedBtn" @click="goMakeQuo('QuotationNewPrice',0)">新增</button> <button class="hollowFixedBtn" @click="goMakeQuo('QuotationNewPrice',0)">新增</button>
...@@ -327,9 +338,11 @@ ...@@ -327,9 +338,11 @@
export default { export default {
data() { data() {
return { return {
EmployeeList: [],
EditBtn:false,//报价单修改权限 EditBtn:false,//报价单修改权限
userInfo: {}, userInfo: {},
queryData: { queryData: {
CreateBy: '',
LineId: 0, LineId: 0,
LineteamId: 0, LineteamId: 0,
TravelState: 0, TravelState: 0,
...@@ -407,6 +420,28 @@ ...@@ -407,6 +420,28 @@
commonTeamInfo: commonTeamInfo commonTeamInfo: commonTeamInfo
}, },
methods: { methods: {
//根据当前员工所在部门获取该部门及子部门员工信息
getEmployeeList() {
let userInfo = this.getLocalStorage();
// console.log('userInfo', userInfo)
this.queryData.CreateBy = userInfo.EmployeeId
let msg = {
GroupId: userInfo.RB_Group_id,
BranchId: "-1",
DepartmentId: "-1",
PostId: "-1",
IsLeave: "0"
};
this.apipost(
"admin_get_EmployeeGetList", {},
res => {
if (res.data.resultCode == 1) {
this.EmployeeList = res.data.data;
}
},
err => {}
);
},
goUrl(path, configId, qType) { goUrl(path, configId, qType) {
if (configId > 0) { if (configId > 0) {
this.$router.push({ this.$router.push({
...@@ -649,6 +684,7 @@ ...@@ -649,6 +684,7 @@
}, },
}, },
mounted() { mounted() {
this.getEmployeeList();
this.GetAuth(); this.GetAuth();
var routeName = this.$route.name; var routeName = this.$route.name;
if (routeName == 'newQuotation') { if (routeName == 'newQuotation') {
......
...@@ -119,8 +119,8 @@ export default { ...@@ -119,8 +119,8 @@ export default {
let crmUrl = ""; //crm API let crmUrl = ""; //crm API
let locationName = window.location.hostname; let locationName = window.location.hostname;
// domainUrl = "http://192.168.10.128"; // domainUrl = "http://192.168.10.128";
domainUrl = "http://192.168.10.9:8083" // 刘东电脑 // domainUrl = "http://192.168.10.9:8083" // 刘东电脑
// domainUrl = "http://192.168.10.226:8015"; domainUrl = "http://192.168.10.226:8015";
// domainUrl = "http://reborn.oytour.com"; // domainUrl = "http://reborn.oytour.com";
let crmLocalFileStreamDownLoadUrl = ""; let crmLocalFileStreamDownLoadUrl = "";
crmLocalFileStreamDownLoadUrl = locationName.indexOf('oytour') !== -1 ? "http://crm.oytour.com" : "http://testcrm.oytour.com"; crmLocalFileStreamDownLoadUrl = locationName.indexOf('oytour') !== -1 ? "http://crm.oytour.com" : "http://testcrm.oytour.com";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment