bug问题修复
This commit is contained in:
parent
2a202b3882
commit
f634e3069a
|
|
@ -140,6 +140,7 @@
|
|||
style="width: 100%"
|
||||
placeholder="请选择往来单位"
|
||||
v-model="addAndEditForm.unitId"
|
||||
:disabled="addAndEditTitle === '修改二级库配置'"
|
||||
>
|
||||
<el-option
|
||||
filterable
|
||||
|
|
|
|||
|
|
@ -450,14 +450,14 @@
|
|||
type="primary"
|
||||
icon="el-icon-zoom-in"
|
||||
@click="repairRecord(scope.row)"
|
||||
>维修记录</el-button>
|
||||
>维修记录</el-button
|
||||
>
|
||||
<!-- <el-button
|
||||
size="mini"
|
||||
type="warning"
|
||||
icon="el-icon-circle-check"
|
||||
@click="partRecord(scope.row)"
|
||||
>配件详情</el-button> -->
|
||||
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
|
@ -579,14 +579,17 @@
|
|||
label="配件数量"
|
||||
align="center"
|
||||
prop="partNum"
|
||||
:show-overflow-tooltip="true">
|
||||
:show-overflow-tooltip="true"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<span @click="partRecord(scope.row)"
|
||||
style="color: blue;text-decoration: underline;">{{ scope.row.partNum }}</span>
|
||||
<span
|
||||
@click="partRecord(scope.row)"
|
||||
style="color: blue; text-decoration: underline"
|
||||
>{{ scope.row.partNum }}</span
|
||||
>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
|
||||
<!-- <el-table-column-->
|
||||
<!-- label="配件单价"-->
|
||||
<!-- align="center"-->
|
||||
|
|
@ -746,8 +749,9 @@
|
|||
style="width: 600px"
|
||||
type="textarea"
|
||||
v-model="form.remark"
|
||||
maxlength="100"
|
||||
:autosize="{ minRows: 2, maxRows: 4 }"
|
||||
show-word-limit
|
||||
maxlength="100"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
|
|
@ -872,6 +876,13 @@ export default {
|
|||
message: '原因不能为空',
|
||||
trigger: 'blur',
|
||||
},
|
||||
|
||||
{
|
||||
min: 1,
|
||||
max: 100,
|
||||
message: '长度在 1 到 100 个字符',
|
||||
trigger: 'blur',
|
||||
},
|
||||
],
|
||||
},
|
||||
repairId: '',
|
||||
|
|
|
|||
|
|
@ -348,6 +348,9 @@
|
|||
:options="deptOptions"
|
||||
:show-count="true"
|
||||
placeholder="请选择归属部门"
|
||||
noChildrenText="没有数据了"
|
||||
noOptionsText="没有数据"
|
||||
noResultsText="没有搜索结果"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
|
@ -548,7 +551,7 @@ import {
|
|||
changeUserStatus,
|
||||
deptTreeSelect,
|
||||
resetUserPwdNwApi,
|
||||
resetUserPwdCqApi
|
||||
resetUserPwdCqApi,
|
||||
} from '@/api/system/user'
|
||||
import { getToken } from '@/utils/auth'
|
||||
import Treeselect from '@riophae/vue-treeselect'
|
||||
|
|
@ -844,7 +847,11 @@ export default {
|
|||
.then(({ value }) => {
|
||||
const password = encrypt(value)
|
||||
/* 判断当前环境是否为南网环境,如是则走南网接口 不是则走重庆接口 */
|
||||
const API_FUN = (process.env.VUE_APP_ENV === 'development-nw' || process.env.VUE_APP_ENV === 'production-nw')? resetUserPwdNwApi : resetUserPwdCqApi
|
||||
const API_FUN =
|
||||
process.env.VUE_APP_ENV === 'development-nw' ||
|
||||
process.env.VUE_APP_ENV === 'production-nw'
|
||||
? resetUserPwdNwApi
|
||||
: resetUserPwdCqApi
|
||||
API_FUN(row.userId, password).then((response) => {
|
||||
this.$modal.msgSuccess('修改成功')
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue