Compare commits
	
		
			No commits in common. "998b18277d8b60d467eac1ee471d84bf6fc60c49" and "c9cbceb83b73855244df3ae747635b656c2d048c" have entirely different histories.
		
	
	
		
			998b18277d
			...
			c9cbceb83b
		
	
		
@ -37,10 +37,6 @@
 | 
				
			|||||||
				type: String,
 | 
									type: String,
 | 
				
			||||||
				default: ''
 | 
									default: ''
 | 
				
			||||||
			},
 | 
								},
 | 
				
			||||||
			TASK_ORGID: {
 | 
					 | 
				
			||||||
				type: String,
 | 
					 | 
				
			||||||
				default: ''
 | 
					 | 
				
			||||||
			},
 | 
					 | 
				
			||||||
			refuseApi: {
 | 
								refuseApi: {
 | 
				
			||||||
				type: String,
 | 
									type: String,
 | 
				
			||||||
				default: ''
 | 
									default: ''
 | 
				
			||||||
@ -133,9 +129,6 @@
 | 
				
			|||||||
						this.dataSource.CurrentNode = currentNodes[0];
 | 
											this.dataSource.CurrentNode = currentNodes[0];
 | 
				
			||||||
					}
 | 
										}
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
				if(this.TASK_ORGID&&this.TASK_ORGID.length>0){
 | 
					 | 
				
			||||||
					this.dataSource.Parameter22 = this.TASK_ORGID
 | 
					 | 
				
			||||||
				}
 | 
					 | 
				
			||||||
				const params = {
 | 
									const params = {
 | 
				
			||||||
					...this.dataSource,
 | 
										...this.dataSource,
 | 
				
			||||||
					CurrentNode: {
 | 
										CurrentNode: {
 | 
				
			||||||
 | 
				
			|||||||
@ -103,7 +103,7 @@
 | 
				
			|||||||
			<!-- <view style="padding: 10px 16px;display: flex;flex-direction: row;" class="bottom-button" v-if="isLoadOK&&tableKey==='1'&&!isAudit">
 | 
								<!-- <view style="padding: 10px 16px;display: flex;flex-direction: row;" class="bottom-button" v-if="isLoadOK&&tableKey==='1'&&!isAudit">
 | 
				
			||||||
				<u-button type="primary" @click="submit" color="#3d4b70">确认</u-button>
 | 
									<u-button type="primary" @click="submit" color="#3d4b70">确认</u-button>
 | 
				
			||||||
			</view> -->
 | 
								</view> -->
 | 
				
			||||||
			<check-action v-if="isLoadOK && tableKey === '1'&&isAudit==='true' " :okApi="okApi" :TASK_ORGID="TASK_ORGID" :refuseApi="refuseApi" :dataSource="$store.state.auditModel"></check-action>
 | 
								<check-action v-if="isLoadOK && tableKey === '1'&&isAudit==='true' " :okApi="okApi" :refuseApi="refuseApi" :dataSource="$store.state.auditModel"></check-action>
 | 
				
			||||||
		</view>
 | 
							</view>
 | 
				
			||||||
	</view>
 | 
						</view>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
@ -154,7 +154,6 @@
 | 
				
			|||||||
				listPropUpload: ['NOTIFY_ID'],
 | 
									listPropUpload: ['NOTIFY_ID'],
 | 
				
			||||||
				listPropValUpload: [],
 | 
									listPropValUpload: [],
 | 
				
			||||||
				ORG_ID: uni.getStorageSync('orgId'),
 | 
									ORG_ID: uni.getStorageSync('orgId'),
 | 
				
			||||||
				TASK_ORGID:'',
 | 
					 | 
				
			||||||
				stepLoad: true,
 | 
									stepLoad: true,
 | 
				
			||||||
				dataModel: {
 | 
									dataModel: {
 | 
				
			||||||
					Nav_ApplyDepartment: {
 | 
										Nav_ApplyDepartment: {
 | 
				
			||||||
@ -228,7 +227,6 @@
 | 
				
			|||||||
		onLoad(option) {
 | 
							onLoad(option) {
 | 
				
			||||||
			this.TaskID = option.taskID ? option.taskID : '';
 | 
								this.TaskID = option.taskID ? option.taskID : '';
 | 
				
			||||||
			this.ID = option.ID? option.ID:''
 | 
								this.ID = option.ID? option.ID:''
 | 
				
			||||||
			this.TASK_ORGID = option.TASK_ORGID? option.TASK_ORGID:''
 | 
					 | 
				
			||||||
			this.model.ID = option.ID ? option.ID : '';
 | 
								this.model.ID = option.ID ? option.ID : '';
 | 
				
			||||||
			this.tableKey = option.tableKey ? option.tableKey : '0'
 | 
								this.tableKey = option.tableKey ? option.tableKey : '0'
 | 
				
			||||||
			this.isAudit = option.isAudit
 | 
								this.isAudit = option.isAudit
 | 
				
			||||||
@ -257,9 +255,6 @@
 | 
				
			|||||||
				extendInclude(json, 'Nav_Files');
 | 
									extendInclude(json, 'Nav_Files');
 | 
				
			||||||
				extendInclude(json, 'Nav_Files.Nav_ImgFile');
 | 
									extendInclude(json, 'Nav_Files.Nav_ImgFile');
 | 
				
			||||||
				extendIgnoreDataRule(json)
 | 
									extendIgnoreDataRule(json)
 | 
				
			||||||
				if(this.TASK_ORGID&& this.TASK_ORGID!=null){
 | 
					 | 
				
			||||||
					json.Parameter22 = this.TASK_ORGID
 | 
					 | 
				
			||||||
				}
 | 
					 | 
				
			||||||
				// extendRule(json, 'TASK_ID', 1, this.TaskID);
 | 
									// extendRule(json, 'TASK_ID', 1, this.TaskID);
 | 
				
			||||||
				EvaIdentifyPlanGet(json).then(res => {
 | 
									EvaIdentifyPlanGet(json).then(res => {
 | 
				
			||||||
					this.dataModel = res;
 | 
										this.dataModel = res;
 | 
				
			||||||
 | 
				
			|||||||
@ -7,14 +7,12 @@
 | 
				
			|||||||
			<!-- <view class="status-bar" :style="{'width': screenWidth + 'px'}"></view> -->
 | 
								<!-- <view class="status-bar" :style="{'width': screenWidth + 'px'}"></view> -->
 | 
				
			||||||
			<view class="main">
 | 
								<view class="main">
 | 
				
			||||||
				<view class="swiper-wrap">
 | 
									<view class="swiper-wrap">
 | 
				
			||||||
					<u-swiper :list="banners" height="110" radius="8" circular indicator indicatorActiveColor="#2979ff"
 | 
										<u-swiper :list="banners" height="110" radius="8" circular indicator indicatorActiveColor="#2979ff" indicatorInactiveColor="#D7D7D7" indicatorMode="dot" indicatorStyle="right: 20px;"
 | 
				
			||||||
						indicatorInactiveColor="#D7D7D7" indicatorMode="dot" indicatorStyle="right: 20px;"
 | 
					 | 
				
			||||||
						@change="e => currentBanner = e.current">
 | 
											@change="e => currentBanner = e.current">
 | 
				
			||||||
					</u-swiper>
 | 
										</u-swiper>
 | 
				
			||||||
				</view>
 | 
									</view>
 | 
				
			||||||
				<view style="display: flex;flex-direction: row;height: 40px;align-items: center;margin-left: 10px;">
 | 
									<view style="display: flex;flex-direction: row;height: 40px;align-items: center;margin-left: 10px;">
 | 
				
			||||||
					<view @click="handleTab('1')"
 | 
										<view @click="handleTab('1')" style="height: 100%;display: flex;border-radius: 15px;margin-right: 10px;flex-direction: column;">
 | 
				
			||||||
						style="height: 100%;display: flex;border-radius: 15px;margin-right: 10px;flex-direction: column;">
 | 
					 | 
				
			||||||
						<view style="display: flex;flex-direction: row;height: 100%;">
 | 
											<view style="display: flex;flex-direction: row;height: 100%;">
 | 
				
			||||||
							<view style="display: flex;flex-direction: column;height: 100%;justify-content: center;">
 | 
												<view style="display: flex;flex-direction: column;height: 100%;justify-content: center;">
 | 
				
			||||||
								<text style="margin: 0px 5px;display: flex;align-items: center;margin-bottom: 5px;"
 | 
													<text style="margin: 0px 5px;display: flex;align-items: center;margin-bottom: 5px;"
 | 
				
			||||||
@ -22,8 +20,7 @@
 | 
				
			|||||||
								<view v-if="currentTab === '1'" class="bottom-widget"></view>
 | 
													<view v-if="currentTab === '1'" class="bottom-widget"></view>
 | 
				
			||||||
							</view>
 | 
												</view>
 | 
				
			||||||
							<view style="display: flex;align-items: flex-start;">
 | 
												<view style="display: flex;align-items: flex-start;">
 | 
				
			||||||
								<u-badge type="error" max="99" :value="todoTotal"
 | 
													<u-badge type="error" max="99" :value="todoTotal" style="font-weight: bold;z-index: 999;display:flex;align-items: flex-start;"></u-badge>
 | 
				
			||||||
									style="font-weight: bold;z-index: 999;display:flex;align-items: flex-start;"></u-badge>
 | 
					 | 
				
			||||||
							</view>
 | 
												</view>
 | 
				
			||||||
						</view>
 | 
											</view>
 | 
				
			||||||
					</view>
 | 
										</view>
 | 
				
			||||||
@ -39,8 +36,7 @@
 | 
				
			|||||||
						</view>
 | 
											</view>
 | 
				
			||||||
					</view> -->
 | 
										</view> -->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
					<view @click="handleTab('3')"
 | 
										<view @click="handleTab('3')" style="height: 100%;margin-right: 10px;display: flex;border-radius: 15px;">
 | 
				
			||||||
						style="height: 100%;margin-right: 10px;display: flex;border-radius: 15px;">
 | 
					 | 
				
			||||||
						<view style="display: flex;flex-direction: row;height: 100%;">
 | 
											<view style="display: flex;flex-direction: row;height: 100%;">
 | 
				
			||||||
							<view style="display: flex;flex-direction: column;height: 100%;justify-content: center;">
 | 
												<view style="display: flex;flex-direction: column;height: 100%;justify-content: center;">
 | 
				
			||||||
								<text style="margin: 0px 5px;display: flex;align-items: center;margin-bottom: 5px;"
 | 
													<text style="margin: 0px 5px;display: flex;align-items: center;margin-bottom: 5px;"
 | 
				
			||||||
@ -49,8 +45,7 @@
 | 
				
			|||||||
							</view>
 | 
												</view>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
							<view style="display: flex;align-items: flex-start;">
 | 
												<view style="display: flex;align-items: flex-start;">
 | 
				
			||||||
								<u-badge type="error" max="99" :value="noticeTotal"
 | 
													<u-badge type="error" max="99" :value="noticeTotal" style="font-weight: bold;z-index: 999;display:flex;align-items: flex-start;"></u-badge>
 | 
				
			||||||
									style="font-weight: bold;z-index: 999;display:flex;align-items: flex-start;"></u-badge>
 | 
					 | 
				
			||||||
							</view>
 | 
												</view>
 | 
				
			||||||
						</view>
 | 
											</view>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -405,8 +400,6 @@
 | 
				
			|||||||
				if (item.SOURCE_FORMCODE == 'PF119') {
 | 
									if (item.SOURCE_FORMCODE == 'PF119') {
 | 
				
			||||||
					const orgId = uni.getStorageSync('orgId')
 | 
										const orgId = uni.getStorageSync('orgId')
 | 
				
			||||||
					const json = initFilter(orgId)
 | 
										const json = initFilter(orgId)
 | 
				
			||||||
					json.Parameter22 = item.ORG_ID
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
					extendRule(json, 'ID', 1, item.SOURCE_DATA_ID);
 | 
										extendRule(json, 'ID', 1, item.SOURCE_DATA_ID);
 | 
				
			||||||
					extendInclude(json, "Nav_ApproveDetails")
 | 
										extendInclude(json, "Nav_ApproveDetails")
 | 
				
			||||||
					extendInclude(json, "Nav_ApproveDetails.Nav_ApproveUser")
 | 
										extendInclude(json, "Nav_ApproveDetails.Nav_ApproveUser")
 | 
				
			||||||
@ -434,7 +427,7 @@
 | 
				
			|||||||
								item
 | 
													item
 | 
				
			||||||
								.SOURCE_DATA_ID + "&taskID=" +
 | 
													.SOURCE_DATA_ID + "&taskID=" +
 | 
				
			||||||
								item.ID + '&isAudit=true&okApi=' + okApi + '&refuseApi=' + res
 | 
													item.ID + '&isAudit=true&okApi=' + okApi + '&refuseApi=' + res
 | 
				
			||||||
								.REJECT_INTERFACE + "&TASK_ORGID=" + item.ORG_ID
 | 
													.REJECT_INTERFACE
 | 
				
			||||||
							this.$store.commit('updateAuditModel', res)
 | 
												this.$store.commit('updateAuditModel', res)
 | 
				
			||||||
							uni.navigateTo({
 | 
												uni.navigateTo({
 | 
				
			||||||
								url: linkToUrl
 | 
													url: linkToUrl
 | 
				
			||||||
@ -449,8 +442,7 @@
 | 
				
			|||||||
					if (linkToUrl != '') {
 | 
										if (linkToUrl != '') {
 | 
				
			||||||
						linkToUrl += "?tableKey=" + this.affairType + "&ID=" + item.SOURCE_DATA_ID + "&taskID=" + item.ID
 | 
											linkToUrl += "?tableKey=" + this.affairType + "&ID=" + item.SOURCE_DATA_ID + "&taskID=" + item.ID
 | 
				
			||||||
 | 
					
 | 
				
			||||||
						if (item.SOURCE_FORMCODE == 'SC034' || item.SOURCE_FORMCODE == 'SC030' || item.SOURCE_FORMCODE ==
 | 
											if (item.SOURCE_FORMCODE == 'SC034' || item.SOURCE_FORMCODE == 'SC030' || item.SOURCE_FORMCODE == 'SE050_SHOWPRINT') {
 | 
				
			||||||
							'SE050_SHOWPRINT') {
 | 
					 | 
				
			||||||
							linkToUrl += "&FORMCODE=" + item.SOURCE_FORMCODE //会议 纪要 load时 添加标识
 | 
												linkToUrl += "&FORMCODE=" + item.SOURCE_FORMCODE //会议 纪要 load时 添加标识
 | 
				
			||||||
						}
 | 
											}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -454,7 +454,6 @@ export function initQueryFilter(OrgId, PageIndex, Limit, Sort, Order) {
 | 
				
			|||||||
		IncludeCount: 0,
 | 
							IncludeCount: 0,
 | 
				
			||||||
		OrderCount: 0,
 | 
							OrderCount: 0,
 | 
				
			||||||
		FilterGroupCount: 0,
 | 
							FilterGroupCount: 0,
 | 
				
			||||||
		IgnoreOrgRule: true,
 | 
					 | 
				
			||||||
		Include: [],
 | 
							Include: [],
 | 
				
			||||||
		Orders: [],
 | 
							Orders: [],
 | 
				
			||||||
		FilterGroup: {
 | 
							FilterGroup: {
 | 
				
			||||||
@ -477,7 +476,6 @@ export function initFilter(OrgId, Keyword = "", Sort, Order, PageIndex = 1, Para
 | 
				
			|||||||
		OrgId,
 | 
							OrgId,
 | 
				
			||||||
		PageIndex,
 | 
							PageIndex,
 | 
				
			||||||
		Limit: 10,
 | 
							Limit: 10,
 | 
				
			||||||
		IgnoreOrgRule: true,
 | 
					 | 
				
			||||||
		Start: (PageIndex - 1) * 10,
 | 
							Start: (PageIndex - 1) * 10,
 | 
				
			||||||
		Sort,
 | 
							Sort,
 | 
				
			||||||
		Order: (Order === '' ? 0 : Order),
 | 
							Order: (Order === '' ? 0 : Order),
 | 
				
			||||||
 | 
				
			|||||||
@ -7,7 +7,7 @@ export default {
 | 
				
			|||||||
		// return config.uni_app_web_api_url.replace('api', '')
 | 
							// return config.uni_app_web_api_url.replace('api', '')
 | 
				
			||||||
		return config.uni_app_web_local_api_url.replace('api', '')
 | 
							return config.uni_app_web_local_api_url.replace('api', '')
 | 
				
			||||||
	},
 | 
						},
 | 
				
			||||||
	getRequestHeaders(url, type = 'post', data, isIgnoreTenant) {
 | 
						getRequestHeaders(url, type = 'post', isIgnoreTenant) {
 | 
				
			||||||
		const auth = 'Bearer ' + uni.getStorageSync('accessToken')
 | 
							const auth = 'Bearer ' + uni.getStorageSync('accessToken')
 | 
				
			||||||
		// const user = uni.getStorageSync('loginUserVerify')
 | 
							// const user = uni.getStorageSync('loginUserVerify')
 | 
				
			||||||
		// const RootOrgId = uni.getStorageSync('RootOrgId')
 | 
							// const RootOrgId = uni.getStorageSync('RootOrgId')
 | 
				
			||||||
@ -64,11 +64,6 @@ export default {
 | 
				
			|||||||
		  } else if (url.indexOf('OP') != 0 && !isIgnoreTenant) {
 | 
							  } else if (url.indexOf('OP') != 0 && !isIgnoreTenant) {
 | 
				
			||||||
		    headers.Tenant = Tenant
 | 
							    headers.Tenant = Tenant
 | 
				
			||||||
		  }
 | 
							  }
 | 
				
			||||||
		//wyw
 | 
					 | 
				
			||||||
		if (Tenant && Tenant == '003' && data && data.Parameter22 && data.Parameter22.length > 20) {
 | 
					 | 
				
			||||||
			//总公司 Parameter22 存入子公司的ORG_ID 自动切换数据库链接
 | 
					 | 
				
			||||||
			headers.Tenant = data.Parameter22.substring(0, 3)
 | 
					 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
		return headers
 | 
							return headers
 | 
				
			||||||
	},
 | 
						},
 | 
				
			||||||
	send(options = {}, onlyData, isShowLoading) {
 | 
						send(options = {}, onlyData, isShowLoading) {
 | 
				
			||||||
@ -207,7 +202,7 @@ export default {
 | 
				
			|||||||
		return this.send({
 | 
							return this.send({
 | 
				
			||||||
			url: url,
 | 
								url: url,
 | 
				
			||||||
			data: data,
 | 
								data: data,
 | 
				
			||||||
			header: this.getRequestHeaders(url, 'get', data)
 | 
								header: this.getRequestHeaders(url, 'get')
 | 
				
			||||||
		}, onlyData)
 | 
							}, onlyData)
 | 
				
			||||||
	},
 | 
						},
 | 
				
			||||||
	post(url = '', data = {}, onlyData = true, isShowLoading = true) {
 | 
						post(url = '', data = {}, onlyData = true, isShowLoading = true) {
 | 
				
			||||||
@ -223,7 +218,7 @@ export default {
 | 
				
			|||||||
		return this.send({
 | 
							return this.send({
 | 
				
			||||||
			url: url,
 | 
								url: url,
 | 
				
			||||||
			data: data,
 | 
								data: data,
 | 
				
			||||||
			header: this.getRequestHeaders(url, 'post', data),
 | 
								header: this.getRequestHeaders(url, 'post'),
 | 
				
			||||||
			method: 'POST'
 | 
								method: 'POST'
 | 
				
			||||||
		}, onlyData, isShowLoading)
 | 
							}, onlyData, isShowLoading)
 | 
				
			||||||
	},
 | 
						},
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user