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

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) => { }).then((res) => {
if (res.success) { if (res.success) {
step.value = res.result.records 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 step = ref([])
/**审批步骤*/ /**审批步骤*/
const processHistoryList = (processInstanceId) => { const processHistoryList = (processInstanceId) => {
console.log('000', processInstanceId);
processHistoryListApi({ processHistoryListApi({
processInstanceId processInstanceId
}).then((res) => { }).then((res) => {

View File

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