panchengyong
2024-11-06 fa7a5121691bb9bf754ffce4ee96df72e065e9d6
大V账号模块修改
4 files modified
91 ■■■■ changed files
src/views/engine/vuser/addVUserIndex.vue 28 ●●●● patch | view | raw | blame | history
src/views/engine/vuser/vUserInfoIndex.vue 33 ●●●● patch | view | raw | blame | history
src/views/rpa/addTaskIndex.vue 8 ●●●● patch | view | raw | blame | history
src/views/rpa/taskIndex.vue 22 ●●●●● patch | view | raw | blame | history
src/views/engine/vuser/addVUserIndex.vue
@@ -30,17 +30,6 @@
          ></el-input>
        </el-form-item>
        <el-form-item prop="secId">
          <span slot="label" class="form-label">用户API标识</span>
          <el-input
            v-model="ruleForm.secId"
            class="form-input"
            style="width: 500px"
            placeholder="请输入"
            :maxlength="maxlength"
          ></el-input>
        </el-form-item>
        <el-form-item prop="platform">
          <span slot="label" class="form-label">所属平台</span>
          <el-select v-model="ruleForm.platform" clearable placeholder="请选择">
@@ -58,8 +47,19 @@
          <el-input
            v-model="ruleForm.uniqueNo"
            class="form-input"
            style="width: 220px"
            style="width: 250px"
            placeholder="请输入账号"
            :maxlength="maxlength"
          ></el-input>
        </el-form-item>
        <el-form-item prop="secId">
          <span slot="label" class="form-label">用户API标识</span>
          <el-input
            v-model="ruleForm.secId"
            class="form-input"
            style="width: 500px"
            placeholder="请输入"
            :maxlength="maxlength"
          ></el-input>
        </el-form-item>
@@ -195,7 +195,7 @@
        url: "",//主页地址
        // requireDesc: "",//需求名称
        platform: "", // 平台
        uniqueNo:"",
        uniqueNo:"",  //账号
        secId:"", //平台api用户标识
        nickname:"",
        avatar:"",
@@ -210,7 +210,7 @@
      },
      rules: {
        url: [{ required: true, message: "请输入主页地址", trigger: "blur" }],
        // requireDesc: [{ required: true, message: "请输入任务名称", trigger: "blur" }],
        uniqueNo: [{ required: true, message: "请输入", trigger: "blur" }],
        platform: [{ required: true, message: "请选择评平台", trigger: "blur" }],
      },
      headers: { Authorization: "Bearer " + getAccessToken() }, // 设置上传的请求头部
src/views/engine/vuser/vUserInfoIndex.vue
@@ -46,29 +46,30 @@
        size="mini"
        highlight-current-row
      >
        <el-table-column prop="url" label="主页地址" show-overflow-tooltip min-width="180">
        <!-- <el-table-column prop="platform" label="平台" min-width="60"/> -->
        <el-table-column label="账号" show-overflow-tooltip min-width="120">
          <template slot-scope="scope">
            <el-button type="text" size="small" @click="jumpGo(scope.row.url)">{{scope.row.url}}</el-button>
            <el-button type="text" size="small" @click="jumpGo(scope.row.url)">{{ scope.row.platform }}: {{ scope.row.uniqueNo }}</el-button>
          </template>
        </el-table-column>
        <el-table-column prop="platform" label="平台" min-width="60"/>
        <el-table-column prop="uniqueNo" label="账号" show-overflow-tooltip min-width="120" />
        <el-table-column prop="nickname" label="昵称" min-width="120"/>
        <el-table-column prop="avatar" label="头像" show-overflow-tooltip min-width="80">
        <!-- <el-table-column prop="nickname" label="昵称" /> -->
        <el-table-column prop="nickname" label="昵称" show-overflow-tooltip min-width="180">
          <template slot-scope="scope">
            <img class="avatar" :src="scope.row.avatar">
            <!-- <el-button type="text" size="small" @click="jumpGo(scope.row.url)"></el-button> -->
            <div class="img-column">
              <img class="avatar" :src="scope.row.avatar"> &nbsp;
              <div>{{ scope.row.nickname }}</div>
            </div>
          </template>
        </el-table-column>
        <el-table-column prop="introduction" label="简介" show-overflow-tooltip />
        <el-table-column prop="ip" label="IP" />
        <el-table-column prop="post" label="作品数" />
        <el-table-column prop="" label="获赞/关注/粉丝" show-overflow-tooltip min-width="120">
        <el-table-column prop="introduction" label="简介" show-overflow-tooltip min-width="250"/>
        <el-table-column prop="ip" label="IP" min-width="80"/>
        <el-table-column prop="post" label="作品数" min-width="80"/>
        <el-table-column prop="" label="获赞/关注/粉丝" show-overflow-tooltip>
          <template slot-scope="scope">
            {{scope.row.praise ? scope.row.praise : 0}} / {{scope.row.follow ? scope.row.follow : 0}} / {{scope.row.fans ? scope.row.fans : 0}}
          </template>
        </el-table-column>
        <el-table-column label="操作" min-width="120" fixed="right" align="center">
        <el-table-column label="操作" min-width="150" fixed="right" align="center">
          <template slot-scope="scope">
            <el-button
              type="primary"
@@ -251,8 +252,10 @@
  margin-left: 0px;
  margin-top: 10px;
}
.avatar {
  width: 35%; height: 35%; border-radius: 800px;
.img-column  { line-height: 35px;}
.img-column  .avatar {
  width: 30px; height: 30px; border-radius: 800px;  float: left; margin-right: 10px;
}
.img-column  div{ float: left;}
</style>
src/views/rpa/addTaskIndex.vue
@@ -168,10 +168,10 @@
      }],
      executeOptions: [{
        value: 1,
        label: 'EC'
        label: '手机设备'
      }, {
        value: 2,
        label: 'PY'
        label: '云服务'
      }],
      spiderScript:[
        {
@@ -191,6 +191,10 @@
          label: '抖音大V作品采集'
        },
        {
          value: 'douyin_v_user_profile_spider',
          label: '抖音大V账号信息同步'
        },
        {
          value: 'kuaishou_search_spider',
          label: '快手作品采集'
        }, {
src/views/rpa/taskIndex.vue
@@ -77,8 +77,8 @@
        highlight-current-row
      >
        <el-table-column prop="id" label="ID" min-width="80" />
        <el-table-column prop="name" label="任务名" show-overflow-tooltip min-width="100" />
        <el-table-column prop="platformName" label="平台" min-width="100" />
        <el-table-column prop="name" label="任务名" show-overflow-tooltip min-width="160" />
        <el-table-column prop="platformName" label="平台" min-width="60" />
<!--        <el-table-column prop="scriptName" label="脚本" show-overflow-tooltip min-width="100" />-->
        <el-table-column prop="devices" label="设备" min-width="100">
          <template slot-scope="scope">
@@ -86,7 +86,7 @@
            <span v-if="(scope.row.execPlatform == 2)">{{scope.row.devices}}</span>
          </template>
        </el-table-column>
        <el-table-column prop="scheduleType" label="定时类型" min-width="100">
        <el-table-column prop="scheduleType" label="定时类型" min-width="80">
          <template slot-scope="scope">
            <span v-if="(scope.row.scheduleType == 0 || scope.row.scheduleType == null)">立刻</span>
            <span v-if="(scope.row.scheduleType == 1)">定时</span>
@@ -98,25 +98,21 @@
<!--        <el-table-column prop="start" label="开始下发时间" min-width="150" />-->
<!--        <el-table-column prop="end" label="停止下发时间" min-width="150" />-->
        <el-table-column prop="demandName" label="需求名 " min-width="150" />
        <el-table-column prop="execPlatform" align="center" label="运行平台" min-width="80" >
        <el-table-column prop="demandName" label="需求名 " min-width="120" />
        <el-table-column prop="pyScript" label="运行脚本" show-overflow-tooltip="true" min-width="210">
          <template slot-scope="scope">
            <span v-if="(scope.row.execPlatform == 1)">EC</span>
            <span v-if="(scope.row.execPlatform == 2)">PY</span>
          </template>
        </el-table-column>
        <el-table-column prop="pyScript" label="运行脚本" show-overflow-tooltip="true" min-width="150">
          <template slot-scope="scope">
            <span v-if="(scope.row.execPlatform == 2)">PY</span> &nbsp;
            <span v-if="(scope.row.execPlatform == 1)">{{scope.row.scriptName}}</span>
            <span v-if="(scope.row.execPlatform == 2)">{{scope.row.pyScript}}</span>
            <span> {{scope.row.version}}</span>
          </template>
        </el-table-column>
        <!--   <el-table-column prop="version" label="脚本版本" min-width="100" /> -->
        <el-table-column prop="cluePostNum" label="线索作品数" align="center" min-width="100" />
        <el-table-column prop="cluePostNum" label="线索作品数" align="center" min-width="90" />
        <!--        <el-table-column prop="clueNum" label="线索分析数" align="center" min-width="100" />-->
        <el-table-column prop="clueCustomerNum" label="线索粉丝数" align="center" min-width="100" />
        <el-table-column prop="status" label="状态" align="center" min-width="80">
        <el-table-column prop="clueCustomerNum" label="线索粉丝数" align="center" min-width="90" />
        <el-table-column prop="status" label="状态" align="center" min-width="70">
          <template slot-scope="scope">
            <span v-if="(scope.row.status == 1)"><el-button type="danger" plain size="small">停用</el-button></span>
            <span v-if="(scope.row.status == 0)"><el-button type="success" plain size="small">正常</el-button></span>