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