Merge branch 'main' of http://192.168.0.75:3000/bonus/gs_real_name_system_web
This commit is contained in:
commit
51e3f881fc
|
|
@ -114,7 +114,7 @@ export default {
|
||||||
this.$store.dispatch('LogOut').then(() => {
|
this.$store.dispatch('LogOut').then(() => {
|
||||||
location.href =
|
location.href =
|
||||||
process.env.VUE_APP_ENV === 'production'
|
process.env.VUE_APP_ENV === 'production'
|
||||||
? '/gs-real-name/index'
|
? '/gs-realname/index'
|
||||||
: '/index'
|
: '/index'
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -201,7 +201,10 @@ export default {
|
||||||
},
|
},
|
||||||
close() {
|
close() {
|
||||||
this.$store.dispatch('LogOut').then(() => {
|
this.$store.dispatch('LogOut').then(() => {
|
||||||
location.href = '/index'
|
location.href =
|
||||||
|
process.env.VUE_APP_ENV === 'production'
|
||||||
|
? '/gs-realname/index'
|
||||||
|
: '/index'
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -221,7 +221,7 @@ service.interceptors.response.use(
|
||||||
// location.href = '/index'
|
// location.href = '/index'
|
||||||
location.href =
|
location.href =
|
||||||
process.env.VUE_APP_ENV === 'production'
|
process.env.VUE_APP_ENV === 'production'
|
||||||
? '/gs-real-name/index'
|
? '/gs-realname/index'
|
||||||
: '/index'
|
: '/index'
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,7 @@ export const columnsList = [
|
||||||
t_props: 'subEinTime',
|
t_props: 'subEinTime',
|
||||||
t_label: '分包入场时间',
|
t_label: '分包入场时间',
|
||||||
},
|
},
|
||||||
{ t_label: '授权委托书', t_slot: 'file-1' },
|
// { t_label: '授权委托书', t_slot: 'file-1' },
|
||||||
{
|
{
|
||||||
t_props: 'subExitTime',
|
t_props: 'subExitTime',
|
||||||
t_label: '分包出场时间',
|
t_label: '分包出场时间',
|
||||||
|
|
|
||||||
|
|
@ -78,27 +78,12 @@
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<el-row>
|
<!-- <el-row>
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<el-form-item
|
<el-form-item
|
||||||
label="法定代表人授权书"
|
label="法定代表人授权书"
|
||||||
prop="businessLicense"
|
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
|
<div
|
||||||
:key="item.id"
|
:key="item.id"
|
||||||
class="files-content"
|
class="files-content"
|
||||||
|
|
@ -120,7 +105,7 @@
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row> -->
|
||||||
|
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
|
|
|
||||||
|
|
@ -76,7 +76,7 @@
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<el-row>
|
<!-- <el-row>
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<el-form-item
|
<el-form-item
|
||||||
label="法定代表人授权书"
|
label="法定代表人授权书"
|
||||||
|
|
@ -99,7 +99,7 @@
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row> -->
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -221,35 +221,35 @@ export default {
|
||||||
if (id) {
|
if (id) {
|
||||||
params.id = id
|
params.id = id
|
||||||
let reserveFileList = []
|
let reserveFileList = []
|
||||||
businessLicense.forEach((item) => {
|
// businessLicense.forEach((item) => {
|
||||||
if (item.id) {
|
// if (item.id) {
|
||||||
reserveFileList.push(item.id)
|
// reserveFileList.push(item.id)
|
||||||
}
|
// }
|
||||||
})
|
// })
|
||||||
|
|
||||||
if (reserveFileList.length > 0) {
|
// if (reserveFileList.length > 0) {
|
||||||
fileIdList = this.editUploadFileList
|
// fileIdList = this.editUploadFileList
|
||||||
.filter(
|
// .filter(
|
||||||
(item) =>
|
// (item) =>
|
||||||
!reserveFileList.includes(item.id),
|
// !reserveFileList.includes(item.id),
|
||||||
)
|
// )
|
||||||
.map((j) => j.id)
|
// .map((j) => j.id)
|
||||||
|
|
||||||
if (fileIdList.length > 0) {
|
// if (fileIdList.length > 0) {
|
||||||
params.fileIdList = fileIdList
|
// params.fileIdList = fileIdList
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
businessLicense.forEach((item) => {
|
// businessLicense.forEach((item) => {
|
||||||
if (!item.id) {
|
// if (!item.id) {
|
||||||
formData.append('files', item.raw)
|
// formData.append('files', item.raw)
|
||||||
fileMsg.push({
|
// fileMsg.push({
|
||||||
type: 1,
|
// type: 1,
|
||||||
name: '法定代表人授权书',
|
// name: '法定代表人授权书',
|
||||||
})
|
// })
|
||||||
}
|
// }
|
||||||
})
|
// })
|
||||||
|
|
||||||
formData.append('fileMsg', JSON.stringify(fileMsg))
|
formData.append('fileMsg', JSON.stringify(fileMsg))
|
||||||
formData.append('params', JSON.stringify(params))
|
formData.append('params', JSON.stringify(params))
|
||||||
|
|
|
||||||
|
|
@ -317,7 +317,7 @@ export default {
|
||||||
// 判断是否为测试环境
|
// 判断是否为测试环境
|
||||||
if (process.env.VUE_APP_ENV === 'production') {
|
if (process.env.VUE_APP_ENV === 'production') {
|
||||||
window.open(
|
window.open(
|
||||||
window.origin + '/gs-real-name' + '/人员入场-模版.xlsx',
|
window.origin + '/gs-realname' + '/人员入场-模版.xlsx',
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
window.open(window.origin + '/人员入场-模版.xlsx')
|
window.open(window.origin + '/人员入场-模版.xlsx')
|
||||||
|
|
|
||||||
|
|
@ -478,7 +478,7 @@ export default {
|
||||||
// 判断是否为测试环境
|
// 判断是否为测试环境
|
||||||
if (process.env.VUE_APP_ENV === 'production') {
|
if (process.env.VUE_APP_ENV === 'production') {
|
||||||
window.open(
|
window.open(
|
||||||
window.origin + '/gs-real-name' + '/失信人员-模板.xlsx',
|
window.origin + '/gs-realname' + '/失信人员-模板.xlsx',
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
window.open(window.origin + '/失信人员-模板.xlsx')
|
window.open(window.origin + '/失信人员-模板.xlsx')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue