添加数据自动解密
This commit is contained in:
parent
3b07a9fc13
commit
fc60289c32
|
|
@ -37,7 +37,7 @@ service.interceptors.request.use(config => {
|
||||||
let iscUserId=getIscId();
|
let iscUserId=getIscId();
|
||||||
console.log("iscUserId==="+iscUserId);
|
console.log("iscUserId==="+iscUserId);
|
||||||
// 是否需要加密
|
// 是否需要加密
|
||||||
let aqEnnable = true;
|
let aqEnnable = false;
|
||||||
// 是否需要设置 token
|
// 是否需要设置 token
|
||||||
const isToken = (config.headers || {}).isToken === false
|
const isToken = (config.headers || {}).isToken === false
|
||||||
// 是否需要防止数据重复提交
|
// 是否需要防止数据重复提交
|
||||||
|
|
|
||||||
|
|
@ -287,8 +287,10 @@ export default {
|
||||||
// 编辑
|
// 编辑
|
||||||
handleUpdate(row) {
|
handleUpdate(row) {
|
||||||
this.checkRow = _.cloneDeep(row);
|
this.checkRow = _.cloneDeep(row);
|
||||||
this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
this.isOpenEditDialog();
|
||||||
|
|
||||||
|
// this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
||||||
|
|
||||||
},
|
},
|
||||||
isOpenEditDialog(){
|
isOpenEditDialog(){
|
||||||
let row = this.checkRow;
|
let row = this.checkRow;
|
||||||
|
|
@ -319,7 +321,7 @@ export default {
|
||||||
this.getList()
|
this.getList()
|
||||||
this.dialogFormVisible = false
|
this.dialogFormVisible = false
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 删除数据
|
// 删除数据
|
||||||
|
|
|
||||||
|
|
@ -300,8 +300,10 @@ export default {
|
||||||
// 编辑
|
// 编辑
|
||||||
handleUpdate(row) {
|
handleUpdate(row) {
|
||||||
this.checkRow = _.cloneDeep(row);
|
this.checkRow = _.cloneDeep(row);
|
||||||
this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
this.isOpenEditDialog();
|
||||||
|
|
||||||
|
// this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
||||||
|
|
||||||
},
|
},
|
||||||
isOpenEditDialog(){
|
isOpenEditDialog(){
|
||||||
let row = this.checkRow;
|
let row = this.checkRow;
|
||||||
|
|
|
||||||
|
|
@ -239,7 +239,7 @@ export default {
|
||||||
this.list = response.rows
|
this.list = response.rows
|
||||||
this.total = response.total
|
this.total = response.total
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
|
|
||||||
})
|
})
|
||||||
setTimeout(()=>{
|
setTimeout(()=>{
|
||||||
this.listLoading = false
|
this.listLoading = false
|
||||||
|
|
@ -253,8 +253,10 @@ export default {
|
||||||
|
|
||||||
async handleUpdate(row) {
|
async handleUpdate(row) {
|
||||||
this.checkRow = _.cloneDeep(row);
|
this.checkRow = _.cloneDeep(row);
|
||||||
this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
this.isOpenEditDialog();
|
||||||
|
|
||||||
|
// this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
||||||
|
|
||||||
},
|
},
|
||||||
async isOpenEditDialog(){
|
async isOpenEditDialog(){
|
||||||
let row = this.checkRow;
|
let row = this.checkRow;
|
||||||
|
|
@ -263,7 +265,7 @@ export default {
|
||||||
// this.$set(this.bidCode,res.data.bidCode)
|
// this.$set(this.bidCode,res.data.bidCode)
|
||||||
// this.$set(this.titleTwo,this.processType === '线路' ? '杆塔' : '工序计划')
|
// this.$set(this.titleTwo,this.processType === '线路' ? '杆塔' : '工序计划')
|
||||||
// this.temp = Object.assign({}, res.data)
|
// this.temp = Object.assign({}, res.data)
|
||||||
|
|
||||||
this.processType = res.data.proType
|
this.processType = res.data.proType
|
||||||
this.titleTwo = this.processType === '线路' ? '杆塔' : '工序计划'
|
this.titleTwo = this.processType === '线路' ? '杆塔' : '工序计划'
|
||||||
this.bidCode = res.data.bidCode
|
this.bidCode = res.data.bidCode
|
||||||
|
|
@ -276,7 +278,7 @@ export default {
|
||||||
this.$set(this.temp,'bidCode',res.data.bidCode)
|
this.$set(this.temp,'bidCode',res.data.bidCode)
|
||||||
// this.dialogStatus = 'update'
|
// this.dialogStatus = 'update'
|
||||||
// this.dialogFormVisible = true
|
// this.dialogFormVisible = true
|
||||||
|
|
||||||
// this.temp = Object.assign({}, res.data)
|
// this.temp = Object.assign({}, res.data)
|
||||||
})
|
})
|
||||||
await this.getTowerList();
|
await this.getTowerList();
|
||||||
|
|
@ -287,7 +289,7 @@ export default {
|
||||||
this.loadWaterMark();
|
this.loadWaterMark();
|
||||||
})
|
})
|
||||||
},300)
|
},300)
|
||||||
|
|
||||||
},
|
},
|
||||||
updateData() {
|
updateData() {
|
||||||
this.$refs['dataForm'].validate((valid) => {
|
this.$refs['dataForm'].validate((valid) => {
|
||||||
|
|
@ -308,7 +310,7 @@ export default {
|
||||||
this.getList()
|
this.getList()
|
||||||
this.dialogFormVisible = false
|
this.dialogFormVisible = false
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 删除数据
|
// 删除数据
|
||||||
|
|
|
||||||
|
|
@ -59,9 +59,9 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column key="org" label="建管单位" align="center" prop="org" />
|
<el-table-column key="org" label="建管单位" align="center" prop="org" />
|
||||||
<el-table-column key="proName" label="工程名称" prop="proName" align="center" :show-overflow-tooltip="true" />
|
<el-table-column key="proName" label="工程名称" prop="proName" align="center" :show-overflow-tooltip="true" />
|
||||||
<el-table-column key="bidCode" label="标段编码" prop="bidCode" align="center" />
|
<el-table-column key="bidCode" label="工程编码" prop="bidCode" align="center" />
|
||||||
<el-table-column key="proCode" label="工程编码" prop="proCode" align="center" />
|
<!-- <el-table-column key="proCode" label="工程编码" prop="proCode" align="center" />-->
|
||||||
<el-table-column key="signCode" label="单项编码" prop="signCode" align="center" />
|
<!-- <el-table-column key="signCode" label="工程编码" prop="signCode" align="center" />-->
|
||||||
<el-table-column key="proType" label="工程类型" align="center" prop="proType" />
|
<el-table-column key="proType" label="工程类型" align="center" prop="proType" />
|
||||||
<el-table-column prop="proScale" label="规模" align="center" />
|
<el-table-column prop="proScale" label="规模" align="center" />
|
||||||
<el-table-column prop="jlUnit" label="监理单位" align="center" :show-overflow-tooltip="true" />
|
<el-table-column prop="jlUnit" label="监理单位" align="center" :show-overflow-tooltip="true" />
|
||||||
|
|
@ -71,7 +71,7 @@
|
||||||
<el-table-column prop="startTime" label="实际开始时间" align="center" />
|
<el-table-column prop="startTime" label="实际开始时间" align="center" />
|
||||||
<el-table-column prop="planEndTime" label="计划结束时间" align="center" />
|
<el-table-column prop="planEndTime" label="计划结束时间" align="center" />
|
||||||
<el-table-column prop="endTime" label="实际结束时间" align="center" />
|
<el-table-column prop="endTime" label="实际结束时间" align="center" />
|
||||||
<el-table-column prop="proCost" label="项目总成本" align="center" />
|
<!-- <el-table-column prop="proCost" label="项目总成本" align="center" />-->
|
||||||
<!-- <el-table-column prop="bidType" label="标段类型" align="center" /> -->
|
<!-- <el-table-column prop="bidType" label="标段类型" align="center" /> -->
|
||||||
<el-table-column prop="sgManage" label="施工项目经理" align="center" />
|
<el-table-column prop="sgManage" label="施工项目经理" align="center" />
|
||||||
<el-table-column prop="jlManage" label="监理工程师" align="center" />
|
<el-table-column prop="jlManage" label="监理工程师" align="center" />
|
||||||
|
|
@ -642,8 +642,10 @@ export default {
|
||||||
// 编辑工程
|
// 编辑工程
|
||||||
handleUpdate(row) {
|
handleUpdate(row) {
|
||||||
this.checkRow = _.cloneDeep(row);
|
this.checkRow = _.cloneDeep(row);
|
||||||
this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
this.isOpenEditDialog();
|
||||||
|
|
||||||
|
// this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
||||||
|
|
||||||
},
|
},
|
||||||
isOpenEditDialog(){
|
isOpenEditDialog(){
|
||||||
let row = this.checkRow;
|
let row = this.checkRow;
|
||||||
|
|
|
||||||
|
|
@ -209,20 +209,20 @@ export default {
|
||||||
this.dialogFormVisible = false
|
this.dialogFormVisible = false
|
||||||
},
|
},
|
||||||
loadWaterMark() {
|
loadWaterMark() {
|
||||||
//设置水印内容,这段代码实现的是两行文本内容的水印。
|
// //设置水印内容,这段代码实现的是两行文本内容的水印。
|
||||||
const nickName = sessionStorage.getItem('nickName');
|
// const nickName = sessionStorage.getItem('nickName');
|
||||||
const roleName = sessionStorage.getItem('roleName');
|
// const roleName = sessionStorage.getItem('roleName');
|
||||||
let str1 = nickName ? decryptData(nickName) : '';
|
// let str1 = nickName ? decryptData(nickName) : '';
|
||||||
let str2 = roleName ? decryptData(roleName) : '';
|
// let str2 = roleName ? decryptData(roleName) : '';
|
||||||
let str3 = '建设部';
|
// let str3 = '建设部';
|
||||||
if (nickName || roleName) {
|
// if (nickName || roleName) {
|
||||||
setWaterMark(str1, str2, str3,this.$refs.content);
|
// setWaterMark(str1, str2, str3,this.$refs.content);
|
||||||
}
|
// }
|
||||||
},
|
},
|
||||||
phoneFormatter(row, column, cellValue, index){
|
phoneFormatter(row, column, cellValue, index){
|
||||||
if(row.teamLeaderPhone){
|
if(row.teamLeaderPhone){
|
||||||
let teamLeaderPhone = decryptData(row.teamLeaderPhone).replace(/\/g, '');
|
// let teamLeaderPhone = decryptData(row.teamLeaderPhone).replace(/\/g, '');
|
||||||
const formatPhone = desensitize(teamLeaderPhone,'phone').replace(/\/g, '');
|
const formatPhone = desensitize(row.teamLeaderPhone,'phone').replace(/\/g, '');
|
||||||
return formatPhone;
|
return formatPhone;
|
||||||
}else{
|
}else{
|
||||||
return '';
|
return '';
|
||||||
|
|
@ -266,15 +266,17 @@ export default {
|
||||||
getList() {
|
getList() {
|
||||||
this.listLoading = true
|
this.listLoading = true
|
||||||
getQualityList(this.listQuery).then((response) => {
|
getQualityList(this.listQuery).then((response) => {
|
||||||
|
console.log(response)
|
||||||
this.list = response.rows.map(item => {
|
this.list = response.rows.map(item => {
|
||||||
|
console.log(item)
|
||||||
const { score } = item
|
const { score } = item
|
||||||
item.score = Number(score)
|
item.score = Number(score)
|
||||||
if (item.score > 5) item.score = 5
|
if (item.score > 5) item.score = 5
|
||||||
return item
|
return item
|
||||||
})
|
})
|
||||||
this.total = response.total
|
this.total = response.total
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
|
|
||||||
})
|
})
|
||||||
setTimeout(()=>{
|
setTimeout(()=>{
|
||||||
this.listLoading = false
|
this.listLoading = false
|
||||||
|
|
@ -303,7 +305,7 @@ export default {
|
||||||
this.getList()
|
this.getList()
|
||||||
this.dialogFormVisible = false
|
this.dialogFormVisible = false
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
@ -311,8 +313,10 @@ export default {
|
||||||
// 编辑
|
// 编辑
|
||||||
handleUpdate(row) {
|
handleUpdate(row) {
|
||||||
this.checkRow = _.cloneDeep(row);
|
this.checkRow = _.cloneDeep(row);
|
||||||
this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
this.isOpenEditDialog();
|
||||||
|
|
||||||
|
// this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
||||||
|
|
||||||
},
|
},
|
||||||
isOpenEditDialog(){
|
isOpenEditDialog(){
|
||||||
let row = this.checkRow;
|
let row = this.checkRow;
|
||||||
|
|
@ -352,7 +356,7 @@ export default {
|
||||||
this.getList()
|
this.getList()
|
||||||
this.dialogFormVisible = false
|
this.dialogFormVisible = false
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 删除数据
|
// 删除数据
|
||||||
|
|
|
||||||
|
|
@ -393,8 +393,11 @@ export default {
|
||||||
// 编辑
|
// 编辑
|
||||||
handleUpdate(row) {
|
handleUpdate(row) {
|
||||||
this.checkRow = _.cloneDeep(row);
|
this.checkRow = _.cloneDeep(row);
|
||||||
this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
this.isOpenEditDialog();
|
||||||
|
|
||||||
|
|
||||||
|
// this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
||||||
|
|
||||||
},
|
},
|
||||||
isOpenEditDialog(){
|
isOpenEditDialog(){
|
||||||
let row = this.checkRow;
|
let row = this.checkRow;
|
||||||
|
|
@ -428,7 +431,7 @@ export default {
|
||||||
this.getList()
|
this.getList()
|
||||||
this.dialogFormVisible = false
|
this.dialogFormVisible = false
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 删除数据
|
// 删除数据
|
||||||
|
|
|
||||||
|
|
@ -295,8 +295,10 @@ export default {
|
||||||
// 编辑
|
// 编辑
|
||||||
handleUpdate(row) {
|
handleUpdate(row) {
|
||||||
this.checkRow = _.cloneDeep(row);
|
this.checkRow = _.cloneDeep(row);
|
||||||
this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
this.isOpenEditDialog();
|
||||||
|
|
||||||
|
// this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
||||||
|
|
||||||
},
|
},
|
||||||
isOpenEditDialog(){
|
isOpenEditDialog(){
|
||||||
let row = this.checkRow;
|
let row = this.checkRow;
|
||||||
|
|
|
||||||
|
|
@ -300,8 +300,10 @@ export default {
|
||||||
// 编辑
|
// 编辑
|
||||||
handleUpdate(row) {
|
handleUpdate(row) {
|
||||||
this.checkRow = _.cloneDeep(row);
|
this.checkRow = _.cloneDeep(row);
|
||||||
this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
this.isOpenEditDialog();
|
||||||
|
|
||||||
|
// this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
||||||
|
|
||||||
},
|
},
|
||||||
isOpenEditDialog(){
|
isOpenEditDialog(){
|
||||||
let row = this.checkRow;
|
let row = this.checkRow;
|
||||||
|
|
@ -334,7 +336,7 @@ export default {
|
||||||
this.getList()
|
this.getList()
|
||||||
this.dialogFormVisible = false
|
this.dialogFormVisible = false
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 删除数据
|
// 删除数据
|
||||||
|
|
|
||||||
|
|
@ -295,8 +295,10 @@ export default {
|
||||||
// 编辑
|
// 编辑
|
||||||
handleUpdate(row) {
|
handleUpdate(row) {
|
||||||
this.checkRow = _.cloneDeep(row);
|
this.checkRow = _.cloneDeep(row);
|
||||||
this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
this.isOpenEditDialog();
|
||||||
|
|
||||||
|
// this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
||||||
|
|
||||||
},
|
},
|
||||||
isOpenEditDialog(){
|
isOpenEditDialog(){
|
||||||
let row = this.checkRow;
|
let row = this.checkRow;
|
||||||
|
|
|
||||||
|
|
@ -220,7 +220,7 @@ export default {
|
||||||
this.loadWaterMark();
|
this.loadWaterMark();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
closeDialog(){
|
closeDialog(){
|
||||||
removeWatermark(this.$refs.content);
|
removeWatermark(this.$refs.content);
|
||||||
|
|
@ -267,7 +267,7 @@ export default {
|
||||||
this.list = response.rows
|
this.list = response.rows
|
||||||
this.total = response.total
|
this.total = response.total
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
|
|
||||||
})
|
})
|
||||||
setTimeout(()=>{
|
setTimeout(()=>{
|
||||||
this.listLoading = false
|
this.listLoading = false
|
||||||
|
|
@ -298,7 +298,7 @@ export default {
|
||||||
this.dialogFormVisible = false
|
this.dialogFormVisible = false
|
||||||
this.getList()
|
this.getList()
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
@ -306,8 +306,10 @@ export default {
|
||||||
// 编辑
|
// 编辑
|
||||||
handleUpdate(row) {
|
handleUpdate(row) {
|
||||||
this.checkRow = _.cloneDeep(row);
|
this.checkRow = _.cloneDeep(row);
|
||||||
this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
this.isOpenEditDialog();
|
||||||
|
|
||||||
|
// this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
||||||
|
|
||||||
},
|
},
|
||||||
isOpenEditDialog(){
|
isOpenEditDialog(){
|
||||||
let row = this.checkRow;
|
let row = this.checkRow;
|
||||||
|
|
@ -345,7 +347,7 @@ export default {
|
||||||
this.dialogFormVisible = false
|
this.dialogFormVisible = false
|
||||||
this.getList()
|
this.getList()
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 删除数据
|
// 删除数据
|
||||||
|
|
|
||||||
|
|
@ -296,8 +296,10 @@ export default {
|
||||||
// 编辑
|
// 编辑
|
||||||
handleUpdate(row) {
|
handleUpdate(row) {
|
||||||
this.checkRow = _.cloneDeep(row);
|
this.checkRow = _.cloneDeep(row);
|
||||||
this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
this.isOpenEditDialog();
|
||||||
|
|
||||||
|
// this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
||||||
|
|
||||||
},
|
},
|
||||||
isOpenEditDialog(){
|
isOpenEditDialog(){
|
||||||
let row = this.checkRow;
|
let row = this.checkRow;
|
||||||
|
|
@ -347,7 +349,7 @@ export default {
|
||||||
this.getList()
|
this.getList()
|
||||||
this.dialogFormVisible = false
|
this.dialogFormVisible = false
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 删除数据
|
// 删除数据
|
||||||
|
|
|
||||||
|
|
@ -472,9 +472,10 @@ export default {
|
||||||
},
|
},
|
||||||
// 编辑
|
// 编辑
|
||||||
handleUpdate(row) {
|
handleUpdate(row) {
|
||||||
this.checkRow = _.cloneDeep(row);
|
this.checkRow = _.cloneDeep(row);
|
||||||
this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
this.isOpenEditDialog();
|
||||||
|
// this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
||||||
|
|
||||||
},
|
},
|
||||||
isOpenEditDialog(){
|
isOpenEditDialog(){
|
||||||
let row = this.checkRow;
|
let row = this.checkRow;
|
||||||
|
|
@ -544,7 +545,7 @@ export default {
|
||||||
this.getList()
|
this.getList()
|
||||||
this.dialogFormVisible = false
|
this.dialogFormVisible = false
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 删除数据
|
// 删除数据
|
||||||
|
|
@ -600,7 +601,7 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
beforeAvatarUpload(file){
|
beforeAvatarUpload(file){
|
||||||
|
|
||||||
},
|
},
|
||||||
handleRemoveImageItem(file) {
|
handleRemoveImageItem(file) {
|
||||||
if (!file?.hasOwnProperty('raw')) {
|
if (!file?.hasOwnProperty('raw')) {
|
||||||
|
|
@ -640,7 +641,7 @@ export default {
|
||||||
this.getList()
|
this.getList()
|
||||||
this.bindVisible = false
|
this.bindVisible = false
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
@ -659,7 +660,7 @@ export default {
|
||||||
this.getList()
|
this.getList()
|
||||||
this.bindVisible = false
|
this.bindVisible = false
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -263,7 +263,7 @@ export default {
|
||||||
})
|
})
|
||||||
this.total = response.total
|
this.total = response.total
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
|
|
||||||
})
|
})
|
||||||
setTimeout(()=>{
|
setTimeout(()=>{
|
||||||
this.listLoading = false
|
this.listLoading = false
|
||||||
|
|
@ -300,7 +300,7 @@ export default {
|
||||||
this.getList()
|
this.getList()
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
@ -308,8 +308,10 @@ export default {
|
||||||
// 编辑
|
// 编辑
|
||||||
handleUpdate(row) {
|
handleUpdate(row) {
|
||||||
this.checkRow = _.cloneDeep(row);
|
this.checkRow = _.cloneDeep(row);
|
||||||
this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
this.isOpenEditDialog();
|
||||||
|
|
||||||
|
// this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
||||||
|
|
||||||
},
|
},
|
||||||
isOpenEditDialog(){
|
isOpenEditDialog(){
|
||||||
let row = this.checkRow;
|
let row = this.checkRow;
|
||||||
|
|
@ -347,7 +349,7 @@ export default {
|
||||||
if(this.temp.teamLeaderPhone.indexOf('*') > -1){
|
if(this.temp.teamLeaderPhone.indexOf('*') > -1){
|
||||||
obj.teamLeaderPhone = this.temp.newTeamLeaderPhone;
|
obj.teamLeaderPhone = this.temp.newTeamLeaderPhone;
|
||||||
}
|
}
|
||||||
|
|
||||||
updateTeamItem(obj).then((response) => {
|
updateTeamItem(obj).then((response) => {
|
||||||
if(response.code==200){
|
if(response.code==200){
|
||||||
this.$message({
|
this.$message({
|
||||||
|
|
@ -358,10 +360,10 @@ export default {
|
||||||
})
|
})
|
||||||
this.checkRow = {};
|
this.checkRow = {};
|
||||||
this.dialogFormVisible = false
|
this.dialogFormVisible = false
|
||||||
this.getList()
|
this.getList()
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 删除数据
|
// 删除数据
|
||||||
|
|
|
||||||
|
|
@ -100,7 +100,7 @@
|
||||||
<component :is="componentDialog.modulName" />
|
<component :is="componentDialog.modulName" />
|
||||||
</modul-dialog>
|
</modul-dialog>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
@ -244,8 +244,10 @@ export default {
|
||||||
},
|
},
|
||||||
// 编辑排班
|
// 编辑排班
|
||||||
handleEdit(val) {
|
handleEdit(val) {
|
||||||
this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
// this.checkRow = _.cloneDeep(row);
|
||||||
|
this.planEditMode = true
|
||||||
|
//this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
||||||
|
|
||||||
},
|
},
|
||||||
// 获取日期列表
|
// 获取日期列表
|
||||||
getList() {
|
getList() {
|
||||||
|
|
|
||||||
|
|
@ -263,8 +263,10 @@ export default {
|
||||||
// 编辑
|
// 编辑
|
||||||
handleUpdate(row) {
|
handleUpdate(row) {
|
||||||
this.checkRow = _.cloneDeep(row);
|
this.checkRow = _.cloneDeep(row);
|
||||||
this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
this.isOpenEditDialog();
|
||||||
|
|
||||||
|
// this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
||||||
|
|
||||||
},
|
},
|
||||||
isOpenEditDialog(){
|
isOpenEditDialog(){
|
||||||
let row = this.checkRow;
|
let row = this.checkRow;
|
||||||
|
|
@ -311,7 +313,7 @@ export default {
|
||||||
this.getList()
|
this.getList()
|
||||||
this.dialogFormVisible = false
|
this.dialogFormVisible = false
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 删除数据
|
// 删除数据
|
||||||
|
|
|
||||||
|
|
@ -172,8 +172,8 @@ export default {
|
||||||
phoneFormatter(row, column, cellValue, index){
|
phoneFormatter(row, column, cellValue, index){
|
||||||
if(row.emergencySource){ console.log(1111)
|
if(row.emergencySource){ console.log(1111)
|
||||||
// console.log(row.emergencySource)
|
// console.log(row.emergencySource)
|
||||||
let en= decryptData(row.emergencySource);
|
// let en= decryptData(row.emergencySource);
|
||||||
let phone =en.replace(/\/g, '');
|
let phone =row.emergencySource.replace(/\/g, '');
|
||||||
const formatPhone = desensitize(phone,'phone');
|
const formatPhone = desensitize(phone,'phone');
|
||||||
// return row.emergencySource;
|
// return row.emergencySource;
|
||||||
return formatPhone;
|
return formatPhone;
|
||||||
|
|
@ -245,8 +245,9 @@ export default {
|
||||||
// 编辑
|
// 编辑
|
||||||
handleUpdate(row) {
|
handleUpdate(row) {
|
||||||
this.checkRow = _.cloneDeep(row);
|
this.checkRow = _.cloneDeep(row);
|
||||||
this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
this.isOpenEditDialog();
|
||||||
|
// this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
||||||
|
|
||||||
},
|
},
|
||||||
isOpenEditDialog(){
|
isOpenEditDialog(){
|
||||||
let row = this.checkRow;
|
let row = this.checkRow;
|
||||||
|
|
|
||||||
|
|
@ -263,9 +263,11 @@ export default {
|
||||||
},
|
},
|
||||||
// 编辑
|
// 编辑
|
||||||
handleUpdate(row) {
|
handleUpdate(row) {
|
||||||
this.checkRow = _.cloneDeep(row);
|
|
||||||
this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
this.checkRow = _.cloneDeep(row);
|
||||||
|
this.isOpenEditDialog();
|
||||||
|
// this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
||||||
|
|
||||||
},
|
},
|
||||||
isOpenEditDialog(){
|
isOpenEditDialog(){
|
||||||
let row = this.checkRow;
|
let row = this.checkRow;
|
||||||
|
|
@ -312,7 +314,7 @@ export default {
|
||||||
this.getList()
|
this.getList()
|
||||||
this.dialogFormVisible = false
|
this.dialogFormVisible = false
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 删除数据
|
// 删除数据
|
||||||
|
|
|
||||||
|
|
@ -238,7 +238,9 @@ export default {
|
||||||
},
|
},
|
||||||
handleUpdate(row) { // 修改之前
|
handleUpdate(row) { // 修改之前
|
||||||
this.checkRow = _.cloneDeep(row);
|
this.checkRow = _.cloneDeep(row);
|
||||||
this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
this.isOpenEditDialog();
|
||||||
|
|
||||||
|
// this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
||||||
},
|
},
|
||||||
isOpenEditDialog(){
|
isOpenEditDialog(){
|
||||||
let row = this.checkRow;
|
let row = this.checkRow;
|
||||||
|
|
|
||||||
|
|
@ -345,8 +345,10 @@ export default {
|
||||||
},
|
},
|
||||||
handleUpdate(row) {
|
handleUpdate(row) {
|
||||||
this.checkRow = _.cloneDeep(row);
|
this.checkRow = _.cloneDeep(row);
|
||||||
this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
this.isOpenEditDialog();
|
||||||
|
|
||||||
|
// this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
||||||
|
|
||||||
},
|
},
|
||||||
isOpenEditDialog(){
|
isOpenEditDialog(){
|
||||||
let row = this.checkRow;
|
let row = this.checkRow;
|
||||||
|
|
|
||||||
|
|
@ -224,7 +224,9 @@ export default {
|
||||||
},
|
},
|
||||||
handleUpdate(row) { // 新增之前
|
handleUpdate(row) { // 新增之前
|
||||||
this.checkRow = _.cloneDeep(row);
|
this.checkRow = _.cloneDeep(row);
|
||||||
this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
this.isOpenEditDialog();
|
||||||
|
|
||||||
|
// this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
||||||
},
|
},
|
||||||
isOpenEditDialog(){
|
isOpenEditDialog(){
|
||||||
let row = this.checkRow;
|
let row = this.checkRow;
|
||||||
|
|
|
||||||
|
|
@ -310,7 +310,9 @@ export default {
|
||||||
},
|
},
|
||||||
handleUpdate(row) {
|
handleUpdate(row) {
|
||||||
this.checkRow = _.cloneDeep(row);
|
this.checkRow = _.cloneDeep(row);
|
||||||
this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
this.isOpenEditDialog();
|
||||||
|
|
||||||
|
// this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
||||||
},
|
},
|
||||||
isOpenEditDialog(){
|
isOpenEditDialog(){
|
||||||
let row = this.checkRow;
|
let row = this.checkRow;
|
||||||
|
|
|
||||||
|
|
@ -100,14 +100,14 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="closeDialog"> 关闭 </el-button>
|
<el-button @click="closeDialog"> 关闭 </el-button>
|
||||||
<el-button type="primary" @click="dialogStatus === 'create' ? createData() : updateData()">
|
<el-button type="primary" @click="dialogStatus === 'create' ? createData() : updateData()">
|
||||||
提交
|
提交
|
||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
<el-dialog title="重置密码" :visible.sync="dialogFormVisible2" width="600px">
|
<el-dialog title="重置密码" :visible.sync="dialogFormVisible2" width="600px">
|
||||||
|
|
@ -440,10 +440,12 @@ export default {
|
||||||
},
|
},
|
||||||
handleUpdate(row) {
|
handleUpdate(row) {
|
||||||
this.checkRow = _.cloneDeep(row);
|
this.checkRow = _.cloneDeep(row);
|
||||||
this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
this.isOpenEditDialog();
|
||||||
|
|
||||||
|
// this.openModulDialog('验证密码', 'pwdVerifiers', '600px', true)
|
||||||
},
|
},
|
||||||
isOpenEditDialog(){
|
isOpenEditDialog(){
|
||||||
|
|
||||||
let row = this.checkRow;
|
let row = this.checkRow;
|
||||||
getUserById({ userId: row.userId }).then((response) => {
|
getUserById({ userId: row.userId }).then((response) => {
|
||||||
this.temp = Object.assign({}, response.data)
|
this.temp = Object.assign({}, response.data)
|
||||||
|
|
|
||||||
|
|
@ -36,8 +36,9 @@ module.exports = {
|
||||||
proxy: {
|
proxy: {
|
||||||
[process.env.VUE_APP_BASE_API]: {
|
[process.env.VUE_APP_BASE_API]: {
|
||||||
// target: `http://36.33.26.201:19090/zhgd`,
|
// target: `http://36.33.26.201:19090/zhgd`,
|
||||||
// target: `http://27.50.49.56:8000/zhgd`,
|
// target: `http://27.50.49.56:8000/zhgd`,
|
||||||
target: `http://11.158.16.194:21624/zhgd`,
|
target: `http://192.168.0.14:13030/zhgd`,
|
||||||
|
// target: `http://11.158.16.194:21624/zhgd`,
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
['^' + process.env.VUE_APP_BASE_API]: ''
|
['^' + process.env.VUE_APP_BASE_API]: ''
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue