Browse Source

拉取最新代码

maotao 11 months ago
parent
commit
167b95bf3f
2 changed files with 2 additions and 10 deletions
  1. 2 8
      pages/repository/repository.vue
  2. 0 2
      pages/repositoryDetails/repositoryDetails.vue

+ 2 - 8
pages/repository/repository.vue

@@ -1,7 +1,7 @@
1
 <template>
1
 <template>
2
   <view class="categoryOne">
2
   <view class="categoryOne">
3
     <view class="body" v-if="dataInfo.list.length">
3
     <view class="body" v-if="dataInfo.list.length">
4
-      <view class="body_item ellipsis" v-for="data in dataInfo.list" :key="data.id">
4
+      <view class="body_item" v-for="data in dataInfo.list" :key="data.id">
5
 				<view @click="toCategoryTwo(data)">
5
 				<view @click="toCategoryTwo(data)">
6
 					<view class="title">{{data.title}}</view>
6
 					<view class="title">{{data.title}}</view>
7
 					<view class="content">
7
 					<view class="content">
@@ -13,7 +13,7 @@
13
 					</view>
13
 					</view>
14
 				</view>
14
 				</view>
15
 				<view class="btn-style">
15
 				<view class="btn-style">
16
-					<button @click="importData(data)" @touchmove.stop.prevent type="default" class="primaryButton btn">引入</button>
16
+					<button @click.stop="importData(data)" type="default" class="primaryButton btn">引入</button>
17
 				</view>
17
 				</view>
18
       </view>
18
       </view>
19
     </view>
19
     </view>
@@ -27,21 +27,15 @@
27
   import { ref, reactive} from 'vue'
27
   import { ref, reactive} from 'vue'
28
   import { onLoad, onPullDownRefresh, onReachBottom } from '@dcloudio/uni-app'
28
   import { onLoad, onPullDownRefresh, onReachBottom } from '@dcloudio/uni-app'
29
   import { api_getSolution } from "@/http/api.js"
29
   import { api_getSolution } from "@/http/api.js"
30
-  import { defaultColor } from '@/static/js/theme.js'
31
   import { useSetTitle } from '@/share/useSetTitle.js'
30
   import { useSetTitle } from '@/share/useSetTitle.js'
32
-  import { useLoginUserStore } from '@/stores/loginUser'
33
   import { useGoBack } from '@/share/useGoBack.js'
31
   import { useGoBack } from '@/share/useGoBack.js'
34
   
32
   
35
   useSetTitle();
33
   useSetTitle();
36
-  const loginUserStore = useLoginUserStore();
37
   const { goBack }  = useGoBack();
34
   const { goBack }  = useGoBack();
38
   
35
   
39
 	// 操作类型
36
 	// 操作类型
40
 	const operateType = ref(null)
37
 	const operateType = ref(null)
41
 	
38
 	
42
-  // 主题颜色
43
-  const primaryColor = ref(defaultColor)
44
-  
45
   // 数据
39
   // 数据
46
   const dataInfo = reactive({
40
   const dataInfo = reactive({
47
     list: [],//工单列表
41
     list: [],//工单列表

+ 0 - 2
pages/repositoryDetails/repositoryDetails.vue

@@ -21,11 +21,9 @@
21
   import { onLoad } from '@dcloudio/uni-app'
21
   import { onLoad } from '@dcloudio/uni-app'
22
   import { api_getSolution, api_listAttachment} from "@/http/api.js"
22
   import { api_getSolution, api_listAttachment} from "@/http/api.js"
23
   import { useSetTitle } from '@/share/useSetTitle.js'
23
   import { useSetTitle } from '@/share/useSetTitle.js'
24
-  import { useLoginUserStore } from '@/stores/loginUser'
25
   import { useGoBack } from '@/share/useGoBack.js'
24
   import { useGoBack } from '@/share/useGoBack.js'
26
   
25
   
27
   useSetTitle();
26
   useSetTitle();
28
-  const loginUserStore = useLoginUserStore();
29
   const { goBack }  = useGoBack();
27
   const { goBack }  = useGoBack();
30
   
28
   
31
   // 故障类型
29
   // 故障类型