This commit is contained in:
@jyuhsin
2025-08-25 10:26:01 +08:00
parent fcd57ead6c
commit dde0dc9610
70 changed files with 1863 additions and 2739 deletions
@@ -105,5 +105,15 @@ const condolenceInfo = {
openChart(){
this.$refs.snakerChartRef.onOpenFull(this.row.instanceProcessDefineId, this.row.instanceId)
}
}
},
style: /*language=CSS*/ `
.el-descriptions-item__label {
width: 200px;
min-width: 200px;
max-width: 200px;
}
.el-tabs__header {
margin: 0;
}
`
}
@@ -62,7 +62,10 @@ layout("/layouts/platform.html"){
<el-button @click="onView(row)" size="mini" type="primary">查看</el-button>
<el-button v-if="row.taskKey === 'startTask' || !row.instanceId" @click="onEdit(row)" size="mini" type="primary">编辑</el-button>
<el-button v-if="row.canRevoke" size="mini" type="danger" @click="onRevoke(row)">撤回</el-button>
<el-button v-if="row.taskKey === 'startTask' || !row.instanceId" @click="onDelete(row.id)" size="mini" type="danger">
<el-button v-if="$auth.hasRoleOr('SYSADMIN, SCHOOL_UNION_ADMIN')" @click="onDelete(row.id)" size="mini" type="danger">
删除
</el-button>
<el-button v-else-if="row.taskKey === 'startTask' || !row.instanceId" @click="onDelete(row.id)" size="mini" type="danger">
删除
</el-button>
</template>
@@ -244,7 +244,7 @@ layout("/layouts/platform.html"){
type: 'warning'
})
if (confirm !== 'confirm') return
const resp = await this.$axios.post(loc() + '/deSelect', {lineId, unionId})
const resp = await this.$axios.post('/platform/recuperation/lineSelect/deSelect', {lineId, unionId})
if (resp.code === 0) {
this.doSearch()
this.$message.success(resp.msg)
@@ -277,7 +277,7 @@ layout("/layouts/platform.html"){
this.$refs.batchSelectRef.onOpen(this.multipleSelection, this.pageForm.year)
},
pageData() {
this.$axios.post(loc() + "/pageData", this.pageForm).then((res) => {
this.$axios.post("/platform/recuperation/lineSelect/pageData", this.pageForm).then((res) => {
if (res.code === 0) {
this.tableData = res.data.list
this.pageForm.totalCount = res.data.totalCount
@@ -285,7 +285,7 @@ layout("/layouts/platform.html"){
})
},
async getTravelAgencyOptions() {
const {data} = await this.$axios.post(loc() + '/getTravelAgencyOptions')
const {data} = await this.$axios.post('/platform/recuperation/lineSelect/getTravelAgencyOptions')
this.travelAgencyOptions = data
},
async getEnumOptions(enumName) {
@@ -294,7 +294,7 @@ layout("/layouts/platform.html"){
},
},
async created() {
this.$set(this.pageForm, 'mode', Number(GetQueryString('mode')))
this.$set(this.pageForm, 'mode', Number(`${mode}`))
if(this.pageForm.mode === 2) {
this.$set(this.pageForm, 'regionalNature', '全部')
}