youhua
This commit is contained in:
@ -6,7 +6,7 @@ VITE_APP_ENV = 'development'
|
|||||||
|
|
||||||
# 开发环境
|
# 开发环境
|
||||||
# 李陈杰 209
|
# 李陈杰 209
|
||||||
VITE_APP_BASE_API = 'http://192.168.110.188:8899'
|
VITE_APP_BASE_API = 'http://192.168.110.149:8899'
|
||||||
# 曾涛
|
# 曾涛
|
||||||
# VITE_APP_BASE_API = 'http://192.168.110.180:8899'
|
# VITE_APP_BASE_API = 'http://192.168.110.180:8899'
|
||||||
# 罗成
|
# 罗成
|
||||||
|
@ -314,14 +314,14 @@ let volumeMap = new Map();
|
|||||||
|
|
||||||
const handleSelect = (val) => {
|
const handleSelect = (val) => {
|
||||||
let obj = volumeMap.get(val);
|
let obj = volumeMap.get(val);
|
||||||
console.log('🚀 ~ handleSelect ~ obj:', obj);
|
|
||||||
|
|
||||||
fileVoList.value = obj.fileVoList;
|
fileVoList.value = obj.fileVoList;
|
||||||
designId.value = obj.design;
|
designId.value = obj.design;
|
||||||
form.value.volumeName = obj.volumeName;
|
form.value.volumeName = obj.volumeName;
|
||||||
form.value.specialty = obj.specialty;
|
form.value.specialty = obj.specialty;
|
||||||
form.value.specialtyName = obj.specialtyName;
|
form.value.specialtyName = obj.specialtyName;
|
||||||
form.value.extendDetail.subName = obj.designSubitem;
|
form.value.extendDetail.subName = obj.designSubitem;
|
||||||
|
form.value.saveFile = [];
|
||||||
|
getBlueprintList();
|
||||||
};
|
};
|
||||||
// 获取图纸列表
|
// 获取图纸列表
|
||||||
const blueprintListAll = ref([]);
|
const blueprintListAll = ref([]);
|
||||||
@ -331,9 +331,6 @@ const getBlueprintList = async () => {
|
|||||||
};
|
};
|
||||||
const handleRadio = (val) => {
|
const handleRadio = (val) => {
|
||||||
form.value.saveFile = [];
|
form.value.saveFile = [];
|
||||||
if (val == 2) {
|
|
||||||
getBlueprintList();
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/** 表单重置 */
|
/** 表单重置 */
|
||||||
@ -351,8 +348,15 @@ const getInfo = () => {
|
|||||||
let id = routeParams.value.id.split('_')[0];
|
let id = routeParams.value.id.split('_')[0];
|
||||||
const res = await getDesignChange(id);
|
const res = await getDesignChange(id);
|
||||||
Object.assign(form.value, res.data);
|
Object.assign(form.value, res.data);
|
||||||
console.log(form.value);
|
if (form.value.status != 'draft') {
|
||||||
|
form.value.id = id + '_audit';
|
||||||
|
}
|
||||||
|
if (form.value.extendDetail.designDisposal == 2) {
|
||||||
|
let obj = volumeMap.get(form.value.volumeNo);
|
||||||
|
designId.value = obj.design;
|
||||||
|
form.value.saveFile = form.value.saveFile.split(',');
|
||||||
|
getBlueprintList();
|
||||||
|
}
|
||||||
if (form.value.changeReason.length > 0) {
|
if (form.value.changeReason.length > 0) {
|
||||||
form.value.changeReason = form.value.changeReason.split(',');
|
form.value.changeReason = form.value.changeReason.split(',');
|
||||||
}
|
}
|
||||||
@ -504,9 +508,7 @@ onMounted(() => {
|
|||||||
.el-input__inner,
|
.el-input__inner,
|
||||||
.el-select .el-input__inner {
|
.el-select .el-input__inner {
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
transition:
|
transition: border-color 0.2s, box-shadow 0.2s;
|
||||||
border-color 0.2s,
|
|
||||||
box-shadow 0.2s;
|
|
||||||
|
|
||||||
&:focus {
|
&:focus {
|
||||||
border-color: var(--primary-light);
|
border-color: var(--primary-light);
|
||||||
@ -516,9 +518,7 @@ onMounted(() => {
|
|||||||
|
|
||||||
.el-textarea__inner {
|
.el-textarea__inner {
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
transition:
|
transition: border-color 0.2s, box-shadow 0.2s;
|
||||||
border-color 0.2s,
|
|
||||||
box-shadow 0.2s;
|
|
||||||
|
|
||||||
&:focus {
|
&:focus {
|
||||||
border-color: var(--primary-light);
|
border-color: var(--primary-light);
|
||||||
|
Reference in New Issue
Block a user