Prechádzať zdrojové kódy

经销商新增科室tab

qymljy 5 mesiacov pred
rodič
commit
4dbe70f02f

+ 3 - 1
prsx/activity/Doctors/index.js

@@ -99,11 +99,13 @@ Component({
                             console.log("添加医生", res)
                             wx.showToast({
                                 title: res.code == 1 ? '添加成功' : res.data,
-                                icon: 'none'
+                                icon: 'none',
+                                mask:res.code == 1
                             })
                             if (res.code == 1) {
                                 that.getList("", true)
                                 getCurrentPages().find(v => v.__route__ == 'prsx/select/docter/index').uploadList()
+                                wx.navigateBack()
                             }
                         })
 

+ 170 - 98
prsx/dealer/Department/index.js

@@ -1,109 +1,181 @@
 const _Http = getApp().globalData.http;
 
 Component({
-    properties: {
-        disabled: {
-            type: Boolean,
-            value: true
-        }
-    },
-    options: {
-        addGlobalClass: true
-    },
-    data: {
-      sa_agentsid: 0,
-        content: {
-            nocache: true,
-            pageNumber: 1,
-            pageSize: 10,
-            pageTotal: 1,
-            total: null,
-            where: {
-                condition: ""
-            }
-        },
-        list: [],
-        showSearch: false,
-        focus: false,
+  properties: {
+    disabled: {
+      type: Boolean,
+      value: true
+    }
+  },
+  options: {
+    addGlobalClass: true
+  },
+  data: {
+    sa_agentsid: 0,
+    content: {
+      nocache: true,
+      pageNumber: 1,
+      pageSize: 10,
+      pageTotal: 1,
+      total: null,
+      where: {
         condition: ""
+      }
     },
-    lifetimes: {
-        attached: function () {
-            getApp().globalData.Language.getLanguagePackage(this)
-        }
+    list: [],
+    showSearch: false,
+    focus: false,
+    condition: "",
+  },
+  lifetimes: {
+    attached: function () {
+      getApp().globalData.Language.getLanguagePackage(this)
+    }
+  },
+  methods: {
+    getList(id, init = false) {
+      let content = {
+        ...this.data.content,
+        sa_agentsid: id || this.data.sa_agentsid
+      };
+      if (init) {
+        content.pageNumber = 1
+        content.pageTotal = 1
+      }
+      _Http.basic({
+        "id": 2025111909582402,
+        content
+      }).then(res => {
+        console.log("科室", res)
+        if (res.code != '1') return wx.showToast({
+          title: res.data,
+          icon: "none"
+        });
+        let list = res.data.map(v => {
+          v.totalstage = v.stages.length
+          v.stage = v.stages.findIndex(s => s.stagename == v.stagename) + 1
+          v.progress = v.stage / v.totalstage * 100;
+          return v
+        })
+
+        this.setData({
+          "content.pageNumber": res.pageNumber + 1,
+          "content.pageTotal": res.pageTotal,
+          "content.total": res.total,
+          list: res.pageNumber == 1 ? list : this.data.list.concat(list),
+          sa_agentsid: content.sa_agentsid
+        })
+      })
     },
-    methods: {
-        getList(id, init = false) {
-            let content = {
-                ...this.data.content,
-                sa_agentsid: id || this.data.sa_agentsid
-            };
-            if (init) {
-                content.pageNumber = 1
-                content.pageTotal = 1
-            }
-            _Http.basic({
-                "id": 2025111909582402,
-                content
+    insetr() {
+      let params = {
+        "id": 2025111914425902,
+        "content": {
+          "sa_agentsid": this.data.sa_agentsid,
+          pageNumber: 1,
+          pageSize: 20,
+          "where": {
+            "condition": ""
+          }
+        }
+      };
+      wx.navigateTo({
+        url: '/prsx/select/department/index?params=' + JSON.stringify(params),
+      })
+      let that = this;
+      getApp().globalData.handleSelect = function ({
+        result
+      }) {
+        wx.showModal({
+          content: `是否确定添加`,
+          complete: ({
+            confirm
+          }) => {
+            console.log(result, '数据')
+            if (confirm) _Http.basic({
+              "id": 2025111914313002,
+              "content": {
+                "sa_agentsid": that.data.sa_agentsid,
+                "sa_hospitaldepids": result
+              },
             }).then(res => {
-                console.log("科室", res)
-                if (res.code != '1') return wx.showToast({
-                    title: res.data,
-                    icon: "none"
-                });
-                let list = res.data.map(v => {
-                    v.totalstage = v.stages.length
-                    v.stage = v.stages.findIndex(s => s.stagename == v.stagename) + 1
-                    v.progress = v.stage / v.totalstage * 100;
-                    return v
-                })
-
-                this.setData({
-                    "content.pageNumber": res.pageNumber + 1,
-                    "content.pageTotal": res.pageTotal,
-                    "content.total": res.total,
-                    list: res.pageNumber == 1 ? list : this.data.list.concat(list),
-                    sa_agentsid: content.sa_agentsid
-                })
+              console.log("添加科室", res)
+              wx.showToast({
+                title: res.code == 1 ? '添加成功' : res.data,
+                icon: 'none',
+                mask: res.code == 1
+              })
+              if (res.code == 1) {
+                that.getList("", true)
+                getCurrentPages().find(v => v.__route__ == 'prsx/dealer/detail').getDetail()
+                wx.navigateBack()
+              }
             })
-        },
-        insetr() {
-            const page = getCurrentPages().find(v => v.__route__ == 'prsx/dealer/detail'),
-                detail = page.data.detail;
-            wx.navigateTo({
-                url: `/prsx/department/insert?sa_customersid=${detail.sa_customersid}&name=${detail.name}`
-            })
-        },
-        toSearch() {
-            if (this.data.showSearch && this.data.content.where.condition) {
-                this.data.content.where.condition = '';
-                this.getList("", true);
-            } else if (this.data.condition) {
-                this.data.content.where.condition = this.data.condition;
-                this.setData({
-                    condition: this.data.condition
-                })
-                this.getList("", true);
-            }
-            this.setData({
-                showSearch: !this.data.showSearch
-            })
-            setTimeout(() => {
-                this.setData({
-                    focus: this.data.showSearch
-                })
-            }, 300)
-        },
-        onChange({
-            detail
-        }) {
-            this.data.condition = detail;
-        },
-        onSearch({
-            detail
-        }) {
-            this.data.content.where.condition = detail;
-            this.getList("", true)
+
+          }
+        })
+
+        console.log(result)
+      }.bind(this)
+    },
+    deleteItem(e) {
+      console.log(e)
+      const {
+        item
+      } = e.currentTarget.dataset,
+        that = this;
+
+      wx.showModal({
+        content: `是否确定删除“${item.hospitaldepname}”`,
+        complete: ({
+          confirm
+        }) => {
+          if (confirm) _Http.basic({
+            "id": 2025102713243702,
+            "content": {
+              sa_agents_hospitalid: item.sa_agents_hospitalid
+            },
+          }).then(res => {
+            console.log("删除科室", res)
+            wx.showToast({
+              title: res.code == 1 ? '删除成功' : res.msg,
+              icon: "none"
+            });
+            if (res.code == 1) that.getList("", true)
+          })
         }
+      })
+    },
+    toSearch() {
+      if (this.data.showSearch && this.data.content.where.condition) {
+        this.data.content.where.condition = '';
+        this.getList("", true);
+      } else if (this.data.condition) {
+        this.data.content.where.condition = this.data.condition;
+        this.setData({
+          condition: this.data.condition
+        })
+        this.getList("", true);
+      }
+      this.setData({
+        showSearch: !this.data.showSearch
+      })
+      setTimeout(() => {
+        this.setData({
+          focus: this.data.showSearch
+        })
+      }, 300)
+    },
+    onChange({
+      detail
+    }) {
+      this.data.condition = detail;
+    },
+    onSearch({
+      detail
+    }) {
+      this.data.content.where.condition = detail;
+      this.getList("", true)
     }
+  }
 })

+ 182 - 169
prsx/dealer/Department/index.scss

@@ -1,179 +1,192 @@
 .head {
-	display: flex;
-	align-items: center;
-	width: 100vw;
-	height: 120rpx;
-	padding: 0 20rpx 0 30rpx;
-	box-sizing: border-box;
-
-	.count {
-		font-size: 28rpx;
-		font-family: PingFang SC-Regular, PingFang SC;
-		color: #333333;
-	}
-
-	.expand {
-		flex: 1;
-		display: flex;
-		align-items: center;
-		justify-content: flex-end;
-
-		.but {
-			display: flex;
-			align-items: center;
-			justify-content: center;
-			flex-shrink: 0;
-			width: 80rpx;
-			height: 80rpx;
-			background: #FFFFFF;
-			border-radius: 8rpx;
-			border: 2rpx solid #CCCCCC;
-			margin-left: 20rpx;
-			color: #666666;
-		}
-	}
+  display: flex;
+  align-items: center;
+  width: 100vw;
+  height: 120rpx;
+  padding: 0 20rpx 0 30rpx;
+  box-sizing: border-box;
+
+  .count {
+    font-size: 28rpx;
+    font-family: PingFang SC-Regular, PingFang SC;
+    color: #333333;
+  }
+
+  .expand {
+    flex: 1;
+    display: flex;
+    align-items: center;
+    justify-content: flex-end;
+
+    .but {
+      display: flex;
+      align-items: center;
+      justify-content: center;
+      flex-shrink: 0;
+      width: 80rpx;
+      height: 80rpx;
+      background: #FFFFFF;
+      border-radius: 8rpx;
+      border: 2rpx solid #CCCCCC;
+      margin-left: 20rpx;
+      color: #666666;
+    }
+  }
 }
 
 .custom-class {
-	--search-background-color: #fff !important;
-	padding-right: 10rpx !important;
+  --search-background-color: #fff !important;
+  padding-right: 10rpx !important;
 }
+
 .project-item {
-	display: flex;
-	align-items: center;
-	background-color: #fff;
-	width: 690rpx;
-	border-radius: 8rpx;
-	margin: 0 auto 20rpx;
-
-	.chart {
-		margin: 0 30rpx;
-		width: 100rpx;
-		flex-shrink: 0;
-
-		.circle {
-			width: 100rpx;
-			height: 100rpx;
-			position: relative;
-			border-radius: 50%;
-			box-shadow: inset 0 0 0 8rpx var(--assist);
-
-			.ab {
-				position: absolute;
-				left: 0;
-				right: 0;
-				top: 0;
-				bottom: 0;
-				margin: auto;
-			}
-
-			&_left {
-				border: 8rpx solid #ccc;
-				border-radius: 50%;
-				clip: rect(0, 50rpx, 100rpx, 0);
-			}
-
-			&_right {
-				border: 8rpx solid #ccc;
-				border-radius: 50%;
-				clip: rect(0, 100rpx, 100rpx, 50rpx);
-			}
-
-			&_text {
-				height: 100%;
-				display: flex;
-				flex-direction: column;
-				justify-content: center;
-				align-items: center;
-				font-size: 16rpx;
-				font-family: PingFang SC-Regular, PingFang SC;
-				color: #666666;
-
-				.value {
-					margin-top: -6rpx;
-				}
-
-				.name {
-					margin-top: 6rpx;
-				}
-			}
-		}
-	}
-
-	.main {
-		position: relative;
-		box-sizing: border-box;
-		padding: 20rpx 0;
-		overflow: hidden;
-
-		.label {
-			display: flex;
-			height: 42rpx;
-
-			.title {
-				flex: 1;
-				width: 0;
-				font-size: 30rpx;
-				font-family: PingFang SC-Regular, PingFang SC;
-				color: #333333;
-				margin-right: 20rpx;
-			}
-
-			.state {
-				flex-shrink: 0;
-				width: 132rpx;
-				height: 40rpx;
-				line-height: 40rpx;
-				border-radius: 20rpx 0px 0px 20rpx;
-				font-size: 24rpx;
-				font-family: PingFang SC-Regular, PingFang SC;
-				color: #FFFFFF;
-				text-align: center;
-			}
-
-		}
-
-		.tag-box {
-			display: flex;
-			align-items: center;
-			width: 100%;
-
-			.datatag,
-			.systemtag {
-				flex-shrink: 0;
-				margin-top: 6rpx;
-				background: #3874f6;
-				color: #ffffff;
-				margin-right: 10rpx;
-				display: flex;
-				align-items: center;
-				height: 40rpx;
-				font-size: 20rpx;
-				padding: 0 10rpx;
-				border-radius: 20rpx;
-				font-family: PingFang SC-Regular, PingFang SC;
-			}
-
-			.datatag {
-				background: #FA8C16;
-			}
-		}
-
-		.replenish {
-			display: flex;
-			min-height: 34rpx;
-			font-size: 24rpx;
-			font-family: PingFang SC-Regular, PingFang SC;
-			color: #333333;
-			margin-top: 8rpx;
-			word-break: break-all;
-			white-space: pre-wrap;
-		}
-	}
+  display: flex;
+  align-items: center;
+  background-color: #fff;
+  width: 690rpx;
+  border-radius: 8rpx;
+  margin: 0 auto 20rpx;
+
+
+  .chart {
+    margin: 0 30rpx;
+    width: 100rpx;
+    flex-shrink: 0;
+
+    .circle {
+      width: 100rpx;
+      height: 100rpx;
+      position: relative;
+      border-radius: 50%;
+      box-shadow: inset 0 0 0 8rpx var(--assist);
+
+      .ab {
+        position: absolute;
+        left: 0;
+        right: 0;
+        top: 0;
+        bottom: 0;
+        margin: auto;
+      }
+
+      &_left {
+        border: 8rpx solid #ccc;
+        border-radius: 50%;
+        clip: rect(0, 50rpx, 100rpx, 0);
+      }
+
+      &_right {
+        border: 8rpx solid #ccc;
+        border-radius: 50%;
+        clip: rect(0, 100rpx, 100rpx, 50rpx);
+      }
+
+      &_text {
+        height: 100%;
+        display: flex;
+        flex-direction: column;
+        justify-content: center;
+        align-items: center;
+        font-size: 16rpx;
+        font-family: PingFang SC-Regular, PingFang SC;
+        color: #666666;
+
+        .value {
+          margin-top: -6rpx;
+        }
+
+        .name {
+          margin-top: 6rpx;
+        }
+      }
+    }
+  }
+
+  .main {
+    position: relative;
+    box-sizing: border-box;
+    width: 300px;
+    padding: 20rpx 0;
+    overflow: hidden;
+
+    .delete {
+      padding: 20rpx;
+      border-radius: 8rpx;
+      position: absolute;
+      right: 0;
+      top: 0;
+      color: #999;
+    }
+
+    .label {
+      display: flex;
+      height: 42rpx;
+
+      .title {
+        flex: 1;
+        width: 0;
+        font-size: 30rpx;
+        font-family: PingFang SC-Regular, PingFang SC;
+        color: #333333;
+        margin-right: 20rpx;
+      }
+
+      .state {
+        flex-shrink: 0;
+        width: 132rpx;
+        height: 40rpx;
+        line-height: 40rpx;
+        border-radius: 20rpx 0px 0px 20rpx;
+        font-size: 24rpx;
+        font-family: PingFang SC-Regular, PingFang SC;
+        color: #FFFFFF;
+        text-align: center;
+      }
+
+    }
+
+    .tag-box {
+      display: flex;
+      align-items: center;
+      width: 100%;
+
+      .datatag,
+      .systemtag {
+        flex-shrink: 0;
+        margin-top: 6rpx;
+        background: #3874f6;
+        color: #ffffff;
+        margin-right: 10rpx;
+        display: flex;
+        align-items: center;
+        height: 40rpx;
+        font-size: 20rpx;
+        padding: 0 10rpx;
+        border-radius: 20rpx;
+        font-family: PingFang SC-Regular, PingFang SC;
+      }
+
+      .datatag {
+        background: #FA8C16;
+      }
+    }
+
+    .replenish {
+      display: flex;
+      min-height: 34rpx;
+      font-size: 24rpx;
+      font-family: PingFang SC-Regular, PingFang SC;
+      color: #333333;
+      margin-top: 8rpx;
+      word-break: break-all;
+      white-space: pre-wrap;
+    }
+  }
+
 }
 
 .line-1 {
-	overflow: hidden;
-	white-space: nowrap;
-	text-overflow: ellipsis;
+  overflow: hidden;
+  white-space: nowrap;
+  text-overflow: ellipsis;
 }

+ 68 - 65
prsx/dealer/Department/index.wxml

@@ -1,74 +1,77 @@
 <view class="head">
-	<view class="count">
-		科室
-	</view>
-	<view class="expand">
-		<van-search wx:if="{{showSearch}}" custom-class='custom-class' focus='{{focus}}' value="{{ condition }}" shape="round" bind:change='onChange' bind:search='onSearch' bind:clear='onSearch' placeholder="搜索关键词" background='#F4F5F7' />
-		<navigator url="#" class="but" bindtap="toSearch">
-			<van-icon name="search" />
-		</navigator>
-		<navigator wx:if="{{disabled}}" url="#" class="but" bindtap="insetr">
-			<van-icon name="plus" />
-		</navigator>
-	</view>
+  <view class="count">
+    科室
+  </view>
+  <view class="expand">
+    <van-search wx:if="{{showSearch}}" custom-class='custom-class' focus='{{focus}}' value="{{ condition }}" shape="round" bind:change='onChange' bind:search='onSearch' bind:clear='onSearch' placeholder="搜索关键词" background='#F4F5F7' />
+    <navigator url="#" class="but" bindtap="toSearch">
+      <van-icon name="search" />
+    </navigator>
+    <navigator wx:if="{{disabled}}" url="#" class="but" bindtap="insetr">
+      <van-icon name="plus" />
+    </navigator>
+  </view>
 </view>
 <navigator url="/prsx/department/detail?id={{item.sa_hospitaldepid}}" class="project-item" wx:for="{{list}}" wx:key="sa_hospitaldepid">
-	<view class="chart">
-		<view class="circle">
-			<view class="circle_left ab" style="{{render.leftRate(item.progress)}}" />
-			<view class="circle_right ab" style="{{render.rightRate(item.progress)}}" />
-			<view class="circle_text">
-				<text class="value">{{item.stage+'/'+item.totalstage}}</text>
-				<text class="name">{{item.stagename}}</text>
-			</view>
-		</view>
-	</view>
-	<view class="main">
-		<view class="label">
-			<view class="title line-1">{{item.hospitaldepname}}</view>
-		</view>
-		<view class="tag-box">
-			<view class="systemtag" wx:for="{{item.tag_sys}}" wx:key="item">{{item}}</view>
-			<view class="datatag" wx:for="{{item.tag}}" wx:key="item">{{item}}</view>
-		</view>
-		<view class="replenish">
-			<text style="color: #666;">科室类别:</text>
-			<text>{{item.type}}</text>
-		</view>
-		<view class="replenish">
-			<text style="color: #666;">所属医院:</text>
-			<text>{{item.enterprisename || ' --'}}</text>
-		</view>
-		<view class="replenish">
-			<text style="color: #666;">科室负责人:</text>
-			<text>{{item.doctors || '--'}}</text>
-		</view>
-		<view class="replenish">
-			<text style="color: #666;">负责人:</text>
-			<text>{{item.leader[0].name}}</text>
-		</view>
-		<view class="replenish">
-			<text style="color: #666;">备注:</text>
-			<text>{{item.remarks || '--'}}</text>
-		</view>
-	</view>
+  <view class="chart">
+    <view class="circle">
+      <view class="circle_left ab" style="{{render.leftRate(item.progress)}}" />
+      <view class="circle_right ab" style="{{render.rightRate(item.progress)}}" />
+      <view class="circle_text">
+        <text class="value">{{item.stage+'/'+item.totalstage}}</text>
+        <text class="name">{{item.stagename}}</text>
+      </view>
+    </view>
+  </view>
+  <view class="main">
+    <navigator wx:if="{{disabled}}" class="delete" url="#" data-item="{{item}}" catch:tap="deleteItem">
+      <text class="iconfont icon-shanchu1"></text>
+    </navigator>
+    <view class="label">
+      <view class="title line-1">{{item.hospitaldepname}}</view>
+    </view>
+    <view class="tag-box">
+      <view class="systemtag" wx:for="{{item.tag_sys}}" wx:key="item">{{item}}</view>
+      <view class="datatag" wx:for="{{item.tag}}" wx:key="item">{{item}}</view>
+    </view>
+    <view class="replenish">
+      <text style="color: #666;">科室类别:</text>
+      <text>{{item.type}}</text>
+    </view>
+    <view class="replenish">
+      <text style="color: #666;">所属医院:</text>
+      <text>{{item.enterprisename || ' --'}}</text>
+    </view>
+    <view class="replenish">
+      <text style="color: #666;">科室负责人:</text>
+      <text>{{item.doctors || '--'}}</text>
+    </view>
+    <view class="replenish">
+      <text style="color: #666;">负责人:</text>
+      <text>{{item.leader[0].name}}</text>
+    </view>
+    <view class="replenish">
+      <text style="color: #666;">备注:</text>
+      <text>{{item.remarks || '--'}}</text>
+    </view>
+  </view>
 </navigator>
 <My_empty wx:if="{{list.length==0}}" />
 
 
 <wxs module="render">
-	module.exports = {
-		rightRate: function (rate) {
-			if (rate - 0 < 50) {
-				return 'transform: rotate(' + 3.6 * (rate - 0) + 'deg);';
-			} else {
-				return 'transform: rotate(0);border-color: var(--assist);';
-			}
-		},
-		leftRate: function (rate) {
-			if (rate - 0 >= 50) {
-				return 'transform: rotate(' + 3.6 * (rate - 50) + 'deg);';
-			}
-		}
-	}
+  module.exports = {
+    rightRate: function (rate) {
+      if (rate - 0 < 50) {
+        return 'transform: rotate(' + 3.6 * (rate - 0) + 'deg);';
+      } else {
+        return 'transform: rotate(0);border-color: var(--assist);';
+      }
+    },
+    leftRate: function (rate) {
+      if (rate - 0 >= 50) {
+        return 'transform: rotate(' + 3.6 * (rate - 50) + 'deg);';
+      }
+    }
+  }
 </wxs>

+ 2 - 2
prsx/hospital/Dealer/index.wxml

@@ -13,9 +13,9 @@
   </view>
 </view>
 <navigator url="/prsx/dealer/detail?id={{item.sa_agentsid}}" class="project-item global-card" wx:for="{{list}}" wx:key="sa_agentsid">
-  <navigator class="delete" url="#" data-item="{{item}}" catch:tap="deleteItem">
+  <!-- <navigator class="delete" url="#" data-item="{{item}}" catch:tap="deleteItem">
     <text class="iconfont icon-shanchu1"></text>
-  </navigator>
+  </navigator> -->
   <view class="label">
     <view class="title line-1">{{item.enterprisename}}</view>
     <!-- <view class="state" style="background-color: {{sColors[item.status]}}">{{item.status}}</view> -->

+ 27 - 3
prsx/select/department/index.scss

@@ -127,7 +127,10 @@
 			color: #333333;
 			margin-top: 8rpx;
 			word-break: break-all;
-			white-space: pre-wrap;
+      white-space: pre-wrap;
+      .text {
+        color: #666;
+      }
 		}
 	}
 }
@@ -160,7 +163,7 @@
 		font-family: PingFang SC-Bold, PingFang SC;
 		font-weight: bold;
 		color: #FFFFFF;
-	}
+  }
 }
 
 .iconfont {
@@ -168,4 +171,25 @@
 	font-family: PingFang SC-Regular, PingFang SC;
 	color: #666666;
 	padding: 0 10rpx;
-}
+}
+.active {
+  background-color: #5788f1;
+  .circle {
+    &_text {
+      color: #fff !important;
+    }
+  }
+  .main {
+    .label {
+      .title {
+        color: #fff !important;
+      }
+    }
+    .replenish {
+      color: #fff !important;
+      .text {
+        color: #fff !important;
+      }
+    }
+  }
+}

+ 6 - 6
prsx/select/department/index.wxml

@@ -2,7 +2,7 @@
 </van-search>
 <view class="global-total">总共{{params.content.total}}个</view>
 <Yl_ListBox id='ListBox' bind:getlist='getList'>
-	<navigator url="#" class="project-item" wx:for="{{list}}" wx:key="sa_hospitaldepid" data-id="{{item.sa_hospitaldepid}}" bind:tap="changeResult">
+	<navigator url="#" class="{{handle.isCheck(item.sa_hospitaldepid,result)?'global-card project-item active':'global-card project-item'}}"  wx:for="{{list}}" wx:key="sa_hospitaldepid" data-id="{{item.sa_hospitaldepid}}" bind:tap="changeResult">
 		<view class="chart">
 			<view class="circle">
 				<view class="circle_left ab" style="{{render.leftRate(item.progress)}}" />
@@ -22,23 +22,23 @@
 				<view class="datatag" wx:for="{{item.tag}}" wx:key="item">{{item}}</view>
 			</view>
 			<view class="replenish">
-				<text style="color: #666;">科室类别:</text>
+				<text class="text">科室类别:</text>
 				<text>{{item.type}}</text>
 			</view>
 			<view class="replenish">
-				<text style="color: #666;">所属医院:</text>
+				<text class="text">所属医院:</text>
 				<text>{{item.enterprisename || ' --'}}</text>
 			</view>
 			<view class="replenish">
-				<text style="color: #666;">科室负责人:</text>
+				<text class="text">科室负责人:</text>
 				<text>{{item.doctors || '--'}}</text>
 			</view>
 			<view class="replenish">
-				<text style="color: #666;">负责人:</text>
+				<text class="text">负责人:</text>
 				<text>{{item.leader[0].name}}</text>
 			</view>
 			<view class="replenish">
-				<text style="color: #666;">备注:</text>
+				<text class="text">备注:</text>
 				<text>{{item.remarks || '--'}}</text>
 			</view>
 		</view>