将流程信息开始结束节点改成中文

This commit is contained in:
yangzhq68909 2025-01-13 08:24:57 +08:00
parent 23e4f9f409
commit 5be34bd578
4 changed files with 17 additions and 10 deletions

View File

@ -1,3 +1,3 @@
# 开发环境
# 请求接口地址
VITE_REQUEST_BASE_URL = http://10.75.15.249:8080
VITE_REQUEST_BASE_URL = https://36.112.48.190

View File

@ -182,6 +182,14 @@
}).then((res) => {
if (res.success) {
step.value = res.result.records
step.value = step.value.map(item => {
if (item.name === 'start') {
item.name = '开始';
} else if (item.name === 'end') {
item.name = '结束';
}
return item;
});
}
})
}

View File

@ -196,7 +196,6 @@
const step = ref([])
/**审批步骤*/
const processHistoryList = (processInstanceId) => {
console.log('000', processInstanceId);
processHistoryListApi({
processInstanceId
}).then((res) => {

View File

@ -98,17 +98,17 @@
});
/*生产环境 begin */
loginApi({
username: un,
password: pw,
ip: getDeviceIp()
// loginApi({
// username: un,
// password: pw,
// ip: getDeviceIp()
/*生产环境 end */
/*开发环境 begin */
// localLoginApi({
// username: username.value,
// password: password.value,
// captcha: 'app'
localLoginApi({
username: username.value,
password: password.value,
captcha: 'app'
/*开发环境 end */
}).then((loginres) => {
if (loginres.success) {