This commit is contained in:
方亮 2025-11-17 10:44:50 +08:00
commit 51e3f881fc
8 changed files with 38 additions and 50 deletions

View File

@ -114,7 +114,7 @@ export default {
this.$store.dispatch('LogOut').then(() => {
location.href =
process.env.VUE_APP_ENV === 'production'
? '/gs-real-name/index'
? '/gs-realname/index'
: '/index'
})
})

View File

@ -201,7 +201,10 @@ export default {
},
close() {
this.$store.dispatch('LogOut').then(() => {
location.href = '/index'
location.href =
process.env.VUE_APP_ENV === 'production'
? '/gs-realname/index'
: '/index'
})
},

View File

@ -221,7 +221,7 @@ service.interceptors.response.use(
// location.href = '/index'
location.href =
process.env.VUE_APP_ENV === 'production'
? '/gs-real-name/index'
? '/gs-realname/index'
: '/index'
})
})

View File

@ -52,7 +52,7 @@ export const columnsList = [
t_props: 'subEinTime',
t_label: '分包入场时间',
},
{ t_label: '授权委托书', t_slot: 'file-1' },
// { t_label: '授权委托书', t_slot: 'file-1' },
{
t_props: 'subExitTime',
t_label: '分包出场时间',

View File

@ -78,27 +78,12 @@
</el-col>
</el-row>
<el-row>
<!-- <el-row>
<el-col :span="24">
<el-form-item
label="法定代表人授权书"
prop="businessLicense"
>
<!-- <UploadFileFormData
uploadTip=" "
:is-detail="true"
:is-uploaded="true"
:file-list.sync="addOrEditForm.fileList_1"
/> -->
<!-- <el-tag
type="primary"
:key="item.id"
v-for="item in addOrEditForm.fileList_1"
>
{{ item.name }}
</el-tag> -->
<div
:key="item.id"
class="files-content"
@ -120,7 +105,7 @@
</div>
</el-form-item>
</el-col>
</el-row>
</el-row> -->
<el-row>
<el-col :span="24">

View File

@ -76,7 +76,7 @@
</el-col>
</el-row>
<el-row>
<!-- <el-row>
<el-col :span="24">
<el-form-item
label="法定代表人授权书"
@ -99,7 +99,7 @@
/>
</el-form-item>
</el-col>
</el-row>
</el-row> -->
</el-form>
</div>
</template>
@ -221,35 +221,35 @@ export default {
if (id) {
params.id = id
let reserveFileList = []
businessLicense.forEach((item) => {
if (item.id) {
reserveFileList.push(item.id)
}
})
// businessLicense.forEach((item) => {
// if (item.id) {
// reserveFileList.push(item.id)
// }
// })
if (reserveFileList.length > 0) {
fileIdList = this.editUploadFileList
.filter(
(item) =>
!reserveFileList.includes(item.id),
)
.map((j) => j.id)
// if (reserveFileList.length > 0) {
// fileIdList = this.editUploadFileList
// .filter(
// (item) =>
// !reserveFileList.includes(item.id),
// )
// .map((j) => j.id)
if (fileIdList.length > 0) {
params.fileIdList = fileIdList
}
}
// if (fileIdList.length > 0) {
// params.fileIdList = fileIdList
// }
// }
}
businessLicense.forEach((item) => {
if (!item.id) {
formData.append('files', item.raw)
fileMsg.push({
type: 1,
name: '法定代表人授权书',
})
}
})
// businessLicense.forEach((item) => {
// if (!item.id) {
// formData.append('files', item.raw)
// fileMsg.push({
// type: 1,
// name: '',
// })
// }
// })
formData.append('fileMsg', JSON.stringify(fileMsg))
formData.append('params', JSON.stringify(params))

View File

@ -317,7 +317,7 @@ export default {
//
if (process.env.VUE_APP_ENV === 'production') {
window.open(
window.origin + '/gs-real-name' + '/人员入场-模版.xlsx',
window.origin + '/gs-realname' + '/人员入场-模版.xlsx',
)
} else {
window.open(window.origin + '/人员入场-模版.xlsx')

View File

@ -478,7 +478,7 @@ export default {
//
if (process.env.VUE_APP_ENV === 'production') {
window.open(
window.origin + '/gs-real-name' + '/失信人员-模板.xlsx',
window.origin + '/gs-realname' + '/失信人员-模板.xlsx',
)
} else {
window.open(window.origin + '/失信人员-模板.xlsx')