|
|
@@ -145,7 +145,7 @@ const ruleIds = ref([]);
|
|
145
|
145
|
}
|
|
146
|
146
|
getRuleId()*/
|
|
147
|
147
|
const showRule=ref(false);
|
|
148
|
|
-
|
|
|
148
|
+const showSmit=ref(true);
|
|
149
|
149
|
const distestType=ref(false)
|
|
150
|
150
|
if (planInfo==1) {
|
|
151
|
151
|
console.log(planInfo);
|
|
|
@@ -153,6 +153,11 @@ if (planInfo==1) {
|
|
153
|
153
|
fromVue.value= JSON.parse(route.query.data)
|
|
154
|
154
|
generatedCode.value = fromVue.value.caseNumber || '';
|
|
155
|
155
|
result.value=fromVue.value.fileId
|
|
|
156
|
+ const userIds= localStorage.getItem('userId')
|
|
|
157
|
+ if (userIds == fromVue.value.addId) {
|
|
|
158
|
+ showSmit.value=false
|
|
|
159
|
+ title = '查看管理档案'
|
|
|
160
|
+ }
|
|
156
|
161
|
console.log(result.value);
|
|
157
|
162
|
}
|
|
158
|
163
|
const whether=ref(false)
|
|
|
@@ -496,7 +501,7 @@ const filteredSecondaryList = computed(() =>
|
|
496
|
501
|
</template>
|
|
497
|
502
|
</van-field>
|
|
498
|
503
|
<div style="margin: 16px;">
|
|
499
|
|
- <van-button round block type="primary" native-type="submit">
|
|
|
504
|
+ <van-button round block type="primary" v-show='showSmit' native-type="submit">
|
|
500
|
505
|
{{ isEdit ? '保存' : '提交' }}
|
|
501
|
506
|
</van-button>
|
|
502
|
507
|
</div>
|