|
@@ -24,16 +24,16 @@
|
|
|
<el-table-column
|
|
|
label="共享类型">
|
|
|
<template #default="scope">
|
|
|
- <span v-if="scope.row.SHARING_TOOLKIT == '2'">
|
|
|
- 工具包共享
|
|
|
+ <span v-if="scope.row.SHARING_INTERFACE == '1'">
|
|
|
+ 不共享
|
|
|
</span>
|
|
|
<span v-if="scope.row.SHARING_INTERFACE == '2'">
|
|
|
- 接口共享
|
|
|
+ 共享
|
|
|
</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
- prop="RELEASE_TIMERELEASE_TIME"
|
|
|
+ prop="INSERT_TIME"
|
|
|
label="发布时间">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
@@ -56,7 +56,7 @@
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="共享频率" prop="RESOURCE_NAME">
|
|
|
- <el-input v-model="applyData.SHARED_FREQUENCY" placeholder="请输入共享频率" clearable
|
|
|
+ <el-input v-model="formData.SHARED_FREQUENCY" placeholder="请输入共享频率" clearable
|
|
|
:style="{width: '100%'}">
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
@@ -105,14 +105,14 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
- <el-form-item label="申请人" prop="APPLY_USER_NAME">
|
|
|
+ <el-form-item label="申请人">
|
|
|
<el-input disabled v-model="applyData.APPLY_USER_NAME" placeholder="请输入申请人" clearable
|
|
|
:style="{width: '100%'}">
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
- <el-form-item label="申请单位" prop="APPLY_UNIT_NAME">
|
|
|
+ <el-form-item label="申请单位">
|
|
|
<el-input disabled v-model="applyData.APPLY_UNIT_NAME" placeholder="请输入申请单位" clearable
|
|
|
:style="{width: '100%'}">
|
|
|
</el-input>
|
|
@@ -288,6 +288,7 @@ export default {
|
|
|
|
|
|
function openHandler() {
|
|
|
let data = localStorage.getItem('gis-map-tool')
|
|
|
+
|
|
|
if (data) {
|
|
|
tableData.value = JSON.parse(data)
|
|
|
tableData.value.forEach(t => {
|
|
@@ -436,16 +437,23 @@ export default {
|
|
|
//提交资源申请信息
|
|
|
|
|
|
function onSave() {
|
|
|
+ if(!ids.value){
|
|
|
+ showMessage({
|
|
|
+ type: 'error',
|
|
|
+ message: '保存失败!'
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }
|
|
|
batchInterfaceKoolkitApply(
|
|
|
{
|
|
|
ids: ids.value,
|
|
|
- sharedFrequency: applyData.value.SHARED_FREQUENCY,
|
|
|
- sharedStarTime: applyData.value.SHARED_STARTTIME,
|
|
|
- sharedEndTime: applyData.value.SHARED_ENDTIME,
|
|
|
- useTerm: applyData.value.USE_TERM,
|
|
|
- ipAddress: applyData.value.IP_ADDRESS,
|
|
|
- concurrency: applyData.value.CONCURRENCY,
|
|
|
- dayLimit: applyData.value.DAY_LIMIT,
|
|
|
+ sharedFrequency: formData.value.SHARED_FREQUENCY,
|
|
|
+ sharedStarTime: formData.value.SHARED_STARTTIME,
|
|
|
+ sharedEndTime: formData.value.SHARED_ENDTIME,
|
|
|
+ useTerm: formData.value.USE_TERM,
|
|
|
+ ipAddress: formData.value.IP_ADDRESS,
|
|
|
+ concurrency: formData.value.CONCURRENCY,
|
|
|
+ dayLimit: formData.value.DAY_LIMIT,
|
|
|
applyUser: applyData.value.APPLY_USER,
|
|
|
applyUnit: applyData.value.APPLY_UNIT,
|
|
|
applyTime: applyData.value.APPLY_TIME,
|